Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2005 10:46:40 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-acpi@freebsd.org
Cc:        Zahemszky =?iso-8859-2?q?G=E1bor?= <Gabor@Zahemszky.HU>
Subject:   Re: lockup on SMP machine
Message-ID:  <200506271046.41253.jhb@FreeBSD.org>
In-Reply-To: <42BFE47A.3040907@Zahemszky.HU>
References:  <42BFE47A.3040907@Zahemszky.HU>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 27 June 2005 07:35 am, Zahemszky G=E1bor 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=3D0 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=20
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=20
hint.apic.0.disabled=3D1' from the loader?  If so, does it still work ok if=
 you=20
just do 'set kern.smp.disabled=3D1' from the loader?

=2D-=20
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =3D  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506271046.41253.jhb>