Subject: port-i386/21743: 'MULTIPROCESSOR' kernel cannot power down dual cpu machine (shutdown -p now)
To: None <gnats-bugs@gnats.netbsd.org>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: netbsd-bugs
Date: 06/01/2003 11:45:00
>Number:         21743
>Category:       port-i386
>Synopsis:       'MULTIPROCESSOR' kernel cannot power down dual cpu machine (shutdown -p now)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 01 09:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6T
>Organization:
>Environment:
System: NetBSD 1.6T (QIE.MP) #6: Sun Jun  1 10:25:27 MEST 2003 
Architecture: i386
Machine: i386

total memory = 1023 MB
avail memory = 946 MB
using 6144 buffers containing 52504 KB of memory
BIOS32 rev. 0 found at 0xf1d20
PCI BIOS rev. 2.1 found at 0xf1f20
pcibios: config mechanism [1][x], special cycles [1][x], last bus 2
PCI IRQ Routing Table rev. 1.0 found at 0xf24a0, size 176 bytes (9 entries)
PCI Interrupt Router at 000:07:3 (Advanced Micro Devices AMD768 PCI to ISA/LPC Bridge)
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon MP 2000+ (686-class), 1680.51 MHz, id 0x662
cpu0: features c3cbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features c3cbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu0: features c3cbfbff<FXSR,SSE,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 256 KB 64b/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 268 MHz
cpu0: 8 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: AMD Athlon MP 2000+ (686-class), 1680.40 MHz, id 0x662
cpu1: features c3cbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features c3cbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu1: features c3cbfbff<FXSR,SSE,3DNOW2,3DNOW>
cpu1: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu1: L2 cache 256 KB 64b/line 16-way
cpu1: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0
acpi0: X/RSDT: OemId <ASUS  ,A7M266-D,30303031>, AslId <MSFT,31313031>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
acpi0: fixed-feature sleep button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
    ACPI-0191: *** Error: No object was returned from [\_SB_.PCI0.UAR2._STA] (Node 0xc170c060), AE_NOT_EXIST
[...]
>Description:
	A smp kernel is not able to power down a dual cpu system as a
	single cpu kernel does with recent acpi changes. It simply
	stops at the point/message where a single cpu kernel turns off
	the machine:

	  syncing disk...
	  cpu1: CPU 1 ...

	A single (non 'MULTIPROCESSOR') kernel can power down my
	machine.

	I could not test if a 'MULTIPROCESSOR' kernel would also fail
	in powering down a single cpu board...
>How-To-Repeat:
	Boot a smp kernel (on a supported at least dual cpu ;-)
	machine) and try to 'shutdown -p now'.
>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: