lockup on SMP machine

John Baldwin jhb at FreeBSD.org
Mon Jun 27 18:26:15 GMT 2005


On Monday 27 June 2005 07:35 am, Zahemszky Gábor wrote:
> Hi!
>
> I've got a Dell WS210, 2-processors system (2 P-III/550). (Last BIOS,
> version A10.) As an SMP system, it works prefectly:
>
> $ fgrep -i cpu /var/run/dmesg.boot
> cpu0 BSP:
> cpu0 on motherboard
> cpu1 on motherboard
> SMP: AP CPU #1 Launched!
> cpu1 AP:
>
> But if I switch on acpi (set hint.acpi.0.disabled=0 on loader prompt),
> it locks. Here are the last lines from a verbose ACPI- boot:
>
> Preloaded elf module "/boot/kernel/if_xl0" at ....
> 	snd_cmi
> 	sound
> 	snd_mss
> 	usb
> 	ugen
> 	ulpt
> 	umass
> 	agp
> 	ng_ubt
> 	r128
> 	smbfs
> 	libmchain
> 	libiconv
> 	acpi
> Table 'FACP' at 0xfdf20
> Table 'APIC' at 0cfdf94
> MADT: Found table at 0xfdf94
> MP configuration Table version 1.4 found at 0xc00f0000
> APIC: Using the MADT enumerator.
> MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
> SMP: Added CPU 0 (AP)
> MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
> SMP: Added CPU 1 (AP)
>
> - and now nothing more. I don't know anything about ACPI/SMP, but
> without acpi, the first processor is BSP, and the second is AP. With
> acpi, both of them are named AP.

That's because ACPI's CPU table (MADT) doesn't have a boot CPU flag to let you 
know which CPU is the BSP.  It's a harmless difference.

> Is it possible to use both of the processors, and the ACPI
> implementation on this machine? By the way, OS version is 5-STABLE from
> tomorrow (June 27, 2005, CEST) morning.

It may be bugs with your BIOS.  Does ACPI work ok if you do 'set 
hint.apic.0.disabled=1' from the loader?  If so, does it still work ok if you 
just do 'set kern.smp.disabled=1' from the loader?

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-acpi mailing list