beastie.4th and SMP

From: Walter C. Pelissero (walter_at_pelissero.de)
Date: 08/23/05

  • Next message: kylin: "Enumerating devices and hardware conf from userland"
    Date: Tue, 23 Aug 2005 18:22:12 +0200
    To: freebsd-hackers@freebsd.org
    
    

    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 "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: kylin: "Enumerating devices and hardware conf from userland"

    Relevant Pages

    • RE: x86_86 SMP megaraid_mbox hangups and panics.
      ... If I build a 32-bit SMP OR 64-bit UP kernel, the cards will boot and ... x86_86 SMP megaraid_mbox hangups and panics. ...
      (Linux-Kernel)
    • Re: Linux 2.6.17: PM-Timer bug warning?
      ... SMP PREEMPT Mon Jun 19 10:38:36 BST 2006 ... Simple Boot Flag value 0x87 read from CMOS RAM was invalid ... Machine check exception polling timer started. ... It looks like my chipset is in the kernel's "gray-list" for having a hardware timer bug. ...
      (Linux-Kernel)
    • APIC problem(?)
      ... and built a kernel. ... But I can't boot ... SMP AP CPU#1 Lanched! ... After I type reboot, the system stop ...
      (freebsd-current)
    • Re: 5.3-BETA7 ISO wont load after install (stuck after bootloader)
      ... >> had to disable SMP and APIC in the kernel in order to boot the machine. ... If safe mode is working for you, but normal mode gives you the ... my recommendation is still to compile a custom kernel ...
      (freebsd-current)
    • Re: still spurious interrupts with ICH5 SATA
      ... My system works just fine with HTT and SMP now. ... > If I boot with apic disabled - doesn't make difference ... > HTT is disabled in bios, and SMP not compiled in kernel. ...
      (freebsd-current)