I was wondering if anybody would care for a beastie.4th that included
a boot option which turns off SMP.  I personally believe it could make
sense where a SMP bug or a faulty MP motherboard made a boot
impossible.  It would be easier than having to open up the box and
remove a CPU.

I personally use the following patch to switch conveniently SMP-mode
on and off when I need to try DRI/DRM, which doesn't work with SMP.

-- 
walter pelissero
http://www.pelissero.de



*** /boot/beastie.4th.orig      Tue Aug 23 17:44:44 2005
--- /boot/beastie.4th   Tue Aug 23 18:06:36 2005
***************
*** 44,49 ****
--- 44,50 ----
  variable bootsafekey
  variable bootverbosekey
  variable bootsinglekey
+ variable bootnosmpkey
  variable escapekey
  variable rebootkey
  
***************
*** 161,166 ****
--- 162,168 ----
        then
        printmenuitem ."  Boot FreeBSD in Safe Mode" bootsafekey !
        printmenuitem ."  Boot FreeBSD in single user mode" bootsinglekey !
+       printmenuitem ."  Boot FreeBSD in non-SMP mode" bootnosmpkey !
        printmenuitem ."  Boot FreeBSD with verbose logging" bootverbosekey !
        printmenuitem ."  Escape to loader prompt" escapekey !
        s" arch-i386" environment? if
***************
*** 258,263 ****
--- 260,269 ----
                then
                dup bootsinglekey @ = if
                        s" YES" s" boot_single" setenv
+                       0 boot
+               then
+               dup bootnosmpkey @ = if
+                       s" 1" s" kern.smp.disabled" setenv
                        0 boot
                then
                dup escapekey @ = if
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to