I've just resurrected an old Pentium 3 system with the 22 October i386 snapshot 
of OpenBSD 4.6-current.  It works great, however after issuing "shutdown -hp 
now" (I'm greeted with the message "shutdown: switch -p must be used with -h." 
when using "shutdown -p now"), I'm getting the system message "syncing disks... 
done" followed by "Attempting to power down...".  The system never shuts off.

>From the dmesg (below), this appears to be an old APM-based motherboard.  The 
>shutdown(8) manpage states that  not all hardware supports automatic power 
>down.  That's fine if this hardware doesn't support it, but given the 
>"Attempting to power down..." message, I am curious if it might be possible.

I'm including the dmesg output below along with pcidump -v and pcidump -x.  If 
you would like more information, please let me know.

Thanks!.

# dmesg | more
OpenBSD 4.6-current (GENERIC) #325: Thu Oct 22 20:38:45 MDT 2009
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 599 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
real mem  = 804864000 (767MB)
avail mem = 771416064 (735MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/17/00, BIOS32 rev. 0 @ 0xfd7a0, SMBIOS 
rev. 2.1 @ 0xefbe0 (
42 entries)
bios0: vendor Intel Corp. version "4S4EB2X0.86A.0024.P17" date 08/17/2000
bios0: Intel Corporation SE440BX-2
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd7a0/0x860
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x1000 0xe0000/0x4000! 
0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
cpu0: disabling processor serial number
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Matrox MGA G400/G450 AGP" rev 0x05
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
wired to compatibility
, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST3160815A>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PLEXTOR, DVDR PX-820A, 1.00> ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 9
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMI
iic0 at piixpm0
lmenv0 at iic0 addr 0x2d: adm9240 rev 2, starting scan
spdmem0 at iic0 addr 0x50: 256MB SDRAM ECC PC133CL2
spdmem1 at iic0 addr 0x51: 256MB SDRAM ECC PC133CL2
spdmem2 at iic0 addr 0x52: 256MB SDRAM ECC PC133CL2
em0 at pci0 dev 13 function 0 "Intel PRO/1000GT (82541GI)" rev 0x05: irq 11, 
address 00:1b:21:0f:8b:
43
fxp0 at pci0 dev 14 function 0 "Intel 8255x" rev 0x08, i82559: irq 10, address 
00:90:27:a7:50:80
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ohci0 at pci0 dev 15 function 0 "NEC USB" rev 0x43: irq 5, version 1.0
ohci1 at pci0 dev 15 function 1 "NEC USB" rev 0x43: irq 9, version 1.0
ehci0 at pci0 dev 15 function 2 "NEC USB" rev 0x04: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 "NEC OHCI root hub" rev 1.00/1.00 addr 1
biomask eb65 netmask ef65 ttymask ffff
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

# pcidump -v
Domain /dev/pci0:
 0:0:0: Intel 82443BX AGP
        0x0000: Vendor ID: 8086 Product ID: 7190
        0x0004: Command: 0106 Status ID: 2210
        0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 03
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 00
        0x0010: BAR mem prefetchable 32bit addr: 0xf8000000
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
        0x00a0: Capability 0x02: AGP
 0:1:0: Intel 82443BX AGP
        0x0000: Vendor ID: 8086 Product ID: 7191
        0x0004: Command: 011f Status ID: 0220
        0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 03
        0x000c: BIST: 00 Header Type: 01 Latency Timer: 80 Cache Line Size: 00
        0x0010: 00000000
        0x0014: 00000000
        0x0018: Primary Bus: 0 Secondary Bus: 1 Subordinate Bus: 1 
                Secondary Latency Timer: 40
        0x001c: I/O Base: f0 I/O Limit: 00 Secondary Status: 22a0
        0x0020: Memory Base: f420 Memory Limit: f4f0
        0x0024: Prefetch Memory Base: fc00 Prefetch Memory Limit: fdf0
        0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
        0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
        0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
        0x0038: Expansion ROM Base Address: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Bridge Control: 008c
 0:7:0: Intel 82371AB PIIX4 ISA
        0x0000: Vendor ID: 8086 Product ID: 7110
        0x0004: Command: 000f Status ID: 0280
        0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 02
        0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
 0:7:1: Intel 82371AB IDE
        0x0000: Vendor ID: 8086 Product ID: 7111
        0x0004: Command: 0005 Status ID: 0280
        0x0008: Class: 01 Subclass: 01 Interface: 80 Revision: 01
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR io addr: 0x000010a0
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
 0:7:2: Intel 82371AB USB
        0x0000: Vendor ID: 8086 Product ID: 7112
        0x0004: Command: 0005 Status ID: 0280
        0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 01
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR io addr: 0x00001080
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 04 Line: 09 Min Gnt: 00 Max Lat: 00
 0:7:3: Intel 82371AB Power
        0x0000: Vendor ID: 8086 Product ID: 7113
        0x0004: Command: 0003 Status ID: 0280
        0x0008: Class: 06 Subclass: 80 Interface: 00 Revision: 02
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
 0:13:0: Intel PRO/1000GT (82541GI)
        0x0000: Vendor ID: 8086 Product ID: 107c
        0x0004: Command: 0117 Status ID: 0230
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 05
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08
        0x0010: BAR mem 32bit addr: 0xf4120000
        0x0014: BAR mem 32bit addr: 0xf4100000
        0x0018: BAR io addr: 0x00001000
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 8086 Product ID: 1376
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: ff Max Lat: 00
        0x00dc: Capability 0x01: Power Management
        0x00e4: Capability 0x07: PCI-X
 0:14:0: Intel 8255x
        0x0000: Vendor ID: 8086 Product ID: 1229
        0x0004: Command: 0117 Status ID: 0290
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 08
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 42 Cache Line Size: 08
        0x0010: BAR mem 32bit addr: 0xf4140000
        0x0014: BAR io addr: 0x00001040
        0x0018: BAR mem 32bit addr: 0xf4000000
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 8086 Product ID: 000c
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 08 Max Lat: 38
        0x00dc: Capability 0x01: Power Management
 0:15:0: NEC USB
        0x0000: Vendor ID: 1033 Product ID: 0035
        0x0004: Command: 0116 Status ID: 0210
        0x0008: Class: 0c Subclass: 03 Interface: 10 Revision: 43
        0x000c: BIST: 00 Header Type: 80 Latency Timer: 40 Cache Line Size: 08
        0x0010: BAR mem 32bit addr: 0xf4141000
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1735 Product ID: 0035
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 01 Max Lat: 2a
        0x0040: Capability 0x01: Power Management
 0:15:1: NEC USB
        0x0000: Vendor ID: 1033 Product ID: 0035
        0x0004: Command: 0116 Status ID: 0210
        0x0008: Class: 0c Subclass: 03 Interface: 10 Revision: 43
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08
        0x0010: BAR mem 32bit addr: 0xf4142000
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1735 Product ID: 0035
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 02 Line: 09 Min Gnt: 01 Max Lat: 2a
        0x0040: Capability 0x01: Power Management
 0:15:2: NEC USB
        0x0000: Vendor ID: 1033 Product ID: 00e0
        0x0004: Command: 0116 Status ID: 0210
        0x0008: Class: 0c Subclass: 03 Interface: 20 Revision: 04
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 84 Cache Line Size: 08
        0x0010: BAR mem 32bit addr: 0xf4143000
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1735 Product ID: 00e0
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 03 Line: 0b Min Gnt: 10 Max Lat: 22
        0x0040: Capability 0x01: Power Management
 1:0:0: Matrox MGA G400/G450 AGP
        0x0000: Vendor ID: 102b Product ID: 0525
        0x0004: Command: 0007 Status ID: 0290
        0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 05
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 80 Cache Line Size: 08
        0x0010: BAR mem prefetchable 32bit addr: 0xfc000000
        0x0014: BAR mem 32bit addr: 0xf4200000
        0x0018: BAR mem 32bit addr: 0xf4800000
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)Domain /dev/pci0:
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 102b Product ID: 0338
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 10 Max Lat: 20
        0x00dc: Capability 0x01: Power Management
        0x00f0: Capability 0x02: AGP

# pcidump -x
 0:0:0: Intel 82443BX AGP
        0x0000: 71908086 22100106 06000003 00004000
        0x0010: f8000008 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00000000
        0x0030: 00000000 000000a0 00000000 00000000
 0:1:0: Intel 82443BX AGP
        0x0000: 71918086 0220011f 06040003 00018000
        0x0010: 00000000 00000000 40010100 22a000f0
        0x0020: f4f0f420 fdf0fc00 00000000 00000000
        0x0030: 00000000 00000000 00000000 008c0000
 0:7:0: Intel 82371AB PIIX4 ISA
        0x0000: 71108086 0280000f 06010002 00800000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 00000000
 0:7:1: Intel 82371AB IDE
        0x0000: 71118086 02800005 01018001 00004000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 000010a1 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 00000000
 0:7:2: Intel 82371AB USB
        0x0000: 71128086 02800005 0c030001 00004000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 00001081 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 00000409
 0:7:3: Intel 82371AB Power
        0x0000: 71138086 02800003 06800002 00000000
        0x0010: 00000000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00000000
        0x0030: 00000000 00000000 00000000 00000000
 0:13:0: Intel PRO/1000GT (82541GI)
        0x0000: 107c8086 02300117 02000005 00004008
        0x0010: f4120000 f4100000 00001001 00000000
        0x0020: 00000000 00000000 00000000 13768086
        0x0030: 00000000 000000dc 00000000 00ff010b
 0:14:0: Intel 8255x
        0x0000: 12298086 02900117 02000008 00004208
        0x0010: f4140000 00001041 f4000000 00000000
        0x0020: 00000000 00000000 00000000 000c8086
        0x0030: 00000000 000000dc 00000000 3808010a
 0:15:0: NEC USB
        0x0000: 00351033 02100116 0c031043 00804008
        0x0010: f4141000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00351735
        0x0030: 00000000 00000040 00000000 2a010105
 0:15:1: NEC USB
        0x0000: 00351033 02100116 0c031043 00004008
        0x0010: f4142000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00351735
        0x0030: 00000000 00000040 00000000 2a010209
 0:15:2: NEC USB
        0x0000: 00e01033 02100116 0c032004 00008408
        0x0010: f4143000 00000000 00000000 00000000
        0x0020: 00000000 00000000 00000000 00e01735
        0x0030: 00000000 00000040 00000000 2210030b
 1:0:0: Matrox MGA G400/G450 AGP
        0x0000: 0525102b 02900007 03000005 00008008
        0x0010: fc000008 f4200000 f4800000 00000000
        0x0020: 00000000 00000000 00000000 0338102b
        0x0030: 00000000 000000dc 00000000 2010010b

Reply via email to