Unable to power down after halting

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to power down after halting

Shipp Douglas
Hi all,

I'm having some issues regarding to automatically power down my machine
after halting. I have tried to pass the -p option to both
/sbin/shutdown and /sbin/halt, but I didn't get success.

My rc.shutdown configuration file is as follows:
# /etc/rc.shutdown
#
powerdown=YES

And here is the output from dmesg:

OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2133815296 (2034MB)
avail mem = 2071953408 (1975MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf04d0 (57 entries)
bios0: vendor American Megatrends Inc. version "0301" date 06/09/2006
bios0: ASUSTeK Computer INC. P5GPL-X SE
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB MCFG
acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4)
P0P7(S4) PS2K(S4) PS2M(S4) UAR1(S4) USB1(S4) USB2(S4) USB3(S4)
USB4(S4)
EUSB(S4) MC97(S4) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3011.01 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
cpu0: 2MB 64b/line 8-way L2 cache
cpu0: apic clock running at 238MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3582.69 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
cpu1: 2MB 64b/line 8-way L2 cache
ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P0P1)
acpiprt2 at acpi0: bus 1 (P0P3)
acpiprt3 at acpi0: bus 2 (P0P4)
acpiprt4 at acpi0: bus -1 (P0P6)
acpiprt5 at acpi0: bus -1 (P0P7)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x0e
ppb0 at pci0 dev 1 function 0 "Intel 82915G PCIE" rev 0x0e: apic 2 int
16 (irq 10)
pci1 at ppb0 bus 3
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7300 GS" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: no integrated graphics
drm at vga1 unsupported
azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04:
apic 2 int 16 (irq 10)
azalia0: codec[s]: Analog Devices/0x1986
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 2
int 16 (irq 10)
pci2 at ppb1 bus 2
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 2
int 23 (irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 2
int 19 (irq 4)
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 2
int 18 (irq 5)
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 2
int 16 (irq 10)
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 2
int 23 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd4
pci3 at ppb2 bus 1
skc0 at pci3 dev 3 function 0 "Marvell Yukon 88E8001/8003/8010" rev
0x13, Yukon Lite (0x9): apic 2 int 19 (irq 4)
sk0 at skc0 port A: address 00:17:31:ab:cd:ef
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
vendor "Motorola", unknown product 0x3052 (class communications
subclass modem, rev 0x04) at pci3 dev 9 function 0 not configured
pcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x04
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA,
channel 0 configured to compatibility, channel 1 configured to compati
bility
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RAM GSA-H55N, 1.01> ATAPI
5/cdrom removable
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x04: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PC
I
pciide1: using apic 2 int 19 (irq 4) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3200820AS>
wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic
2 int 19 (irq 0)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x63
lm1 at wbsio0 port 0x290/8: W83627EHF
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 5 configuration 1 interface 0 "Generic Mass
Storage Device" rev 2.00/1.26 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <Generic, USB SD Reader, 1.00> SCSI0
0/direct removable
sd0: drive offline
sd1 at scsibus1 targ 1 lun 1: <Generic, USB CF Reader, 1.01> SCSI0
0/direct removable
sd1: drive offline
sd2 at scsibus1 targ 1 lun 2: <Generic, USB SM Reader, 1.02> SCSI0
0/direct removable
sd2: drive offline
sd3 at scsibus1 targ 1 lun 3: <Generic, USB MS Reader, 1.03> SCSI0
0/direct removable
sd3: drive offline
uhidev0 at uhub1 port 2 configuration 1 interface 0 "Microsoft Basic
Optical Mouse" rev 1.10/0.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Any help would be appreciated.

Thanks in advance,
Shipp Douglas.

Reply | Threaded
Open this post in threaded view
|

Re: Unable to power down after halting

Rares Aioanei-3
Shipp Douglas wrote:

> Hi all,
>
> I'm having some issues regarding to automatically power down my machine
> after halting. I have tried to pass the -p option to both
> /sbin/shutdown and /sbin/halt, but I didn't get success.
>
> My rc.shutdown configuration file is as follows:
> # /etc/rc.shutdown
> #
> powerdown=YES
>
> And here is the output from dmesg:
>
> OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 2133815296 (2034MB)
> avail mem = 2071953408 (1975MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf04d0 (57 entries)
> bios0: vendor American Megatrends Inc. version "0301" date 06/09/2006
> bios0: ASUSTeK Computer INC. P5GPL-X SE
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP APIC OEMB MCFG
> acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4)
> P0P7(S4) PS2K(S4) PS2M(S4) UAR1(S4) USB1(S4) USB2(S4) USB3(S4)
> USB4(S4)
> EUSB(S4) MC97(S4) SLPB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3011.01 MHz
> cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
> CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
> cpu0: 2MB 64b/line 8-way L2 cache
> cpu0: apic clock running at 238MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3582.69 MHz
> cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
> CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
> cpu1: 2MB 64b/line 8-way L2 cache
> ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 3 (P0P1)
> acpiprt2 at acpi0: bus 1 (P0P3)
> acpiprt3 at acpi0: bus 2 (P0P4)
> acpiprt4 at acpi0: bus -1 (P0P6)
> acpiprt5 at acpi0: bus -1 (P0P7)
> acpicpu0 at acpi0
> acpicpu1 at acpi0
> acpibtn0 at acpi0: SLPB
> acpibtn1 at acpi0: PWRB
> pci0 at mainbus0 bus 0: configuration mode 1
> pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x0e
> ppb0 at pci0 dev 1 function 0 "Intel 82915G PCIE" rev 0x0e: apic 2 int
> 16 (irq 10)
> pci1 at ppb0 bus 3
> vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7300 GS" rev 0xa1
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> agp0 at vga1: no integrated graphics
> drm at vga1 unsupported
> azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04:
> apic 2 int 16 (irq 10)
> azalia0: codec[s]: Analog Devices/0x1986
> audio0 at azalia0
> ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 2
> int 16 (irq 10)
> pci2 at ppb1 bus 2
> uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 2
> int 23 (irq 11)
> uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 2
> int 19 (irq 4)
> uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 2
> int 18 (irq 5)
> uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 2
> int 16 (irq 10)
> ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 2
> int 23 (irq 11)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd4
> pci3 at ppb2 bus 1
> skc0 at pci3 dev 3 function 0 "Marvell Yukon 88E8001/8003/8010" rev
> 0x13, Yukon Lite (0x9): apic 2 int 19 (irq 4)
> sk0 at skc0 port A: address 00:17:31:ab:cd:ef
> eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
> vendor "Motorola", unknown product 0x3052 (class communications
> subclass modem, rev 0x04) at pci3 dev 9 function 0 not configured
> pcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x04
> pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA,
> channel 0 configured to compatibility, channel 1 configured to compati
> bility
> atapiscsi0 at pciide0 channel 0 drive 1
> scsibus0 at atapiscsi0: 2 targets, initiator 7
> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RAM GSA-H55N, 1.01> ATAPI
> 5/cdrom removable
> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
> pciide0: channel 1 disabled (no drives)
> pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x04: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PC
> I
> pciide1: using apic 2 int 19 (irq 4) for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: <ST3200820AS>
> wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
> ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic
> 2 int 19 (irq 0)
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
> spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> 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
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x63
> lm1 at wbsio0 port 0x290/8: W83627EHF
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> mtrr: Pentium Pro MTRR support
> umass0 at uhub0 port 5 configuration 1 interface 0 "Generic Mass
> Storage Device" rev 2.00/1.26 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus1 at umass0: 2 targets, initiator 0
> sd0 at scsibus1 targ 1 lun 0: <Generic, USB SD Reader, 1.00> SCSI0
> 0/direct removable
> sd0: drive offline
> sd1 at scsibus1 targ 1 lun 1: <Generic, USB CF Reader, 1.01> SCSI0
> 0/direct removable
> sd1: drive offline
> sd2 at scsibus1 targ 1 lun 2: <Generic, USB SM Reader, 1.02> SCSI0
> 0/direct removable
> sd2: drive offline
> sd3 at scsibus1 targ 1 lun 3: <Generic, USB MS Reader, 1.03> SCSI0
> 0/direct removable
> sd3: drive offline
> uhidev0 at uhub1 port 2 configuration 1 interface 0 "Microsoft Basic
> Optical Mouse" rev 1.10/0.00 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
>
> Any help would be appreciated.
>
> Thanks in advance,
> Shipp Douglas.
>
>
>  
...tried shutdown -hp now ?

Reply | Threaded
Open this post in threaded view
|

Re: Unable to power down after halting

Shipp Douglas
Yeah, I have already tried the above command... unfortunately, as I
had said before, it didn't work.

Sorry if I didn't make it clear in my previous message, but the
commands that I have tested are as follows:

# shutdown -h -p now
and
# halt -p

On 10/12/09, Aioanei Rares <[hidden email]> wrote:

> Shipp Douglas wrote:
>> Hi all,
>>
>> I'm having some issues regarding to automatically power down my machine
>> after halting. I have tried to pass the -p option to both
>> /sbin/shutdown and /sbin/halt, but I didn't get success.
>>
>> My rc.shutdown configuration file is as follows:
>> # /etc/rc.shutdown
>> #
>> powerdown=YES
>>
>> And here is the output from dmesg:
>>
>> OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008
>>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>> real mem = 2133815296 (2034MB)
>> avail mem = 2071953408 (1975MB)
>> mainbus0 at root
>> bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf04d0 (57 entries)
>> bios0: vendor American Megatrends Inc. version "0301" date 06/09/2006
>> bios0: ASUSTeK Computer INC. P5GPL-X SE
>> acpi0 at bios0: rev 0
>> acpi0: tables DSDT FACP APIC OEMB MCFG
>> acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4)
>> P0P7(S4) PS2K(S4) PS2M(S4) UAR1(S4) USB1(S4) USB2(S4) USB3(S4)
>> USB4(S4)
>> EUSB(S4) MC97(S4) SLPB(S4)
>> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>> cpu0 at mainbus0: apid 0 (boot processor)
>> cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3011.01 MHz
>> cpu0:
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
>> CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
>> cpu0: 2MB 64b/line 8-way L2 cache
>> cpu0: apic clock running at 238MHz
>> cpu1 at mainbus0: apid 1 (application processor)
>> cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3582.69 MHz
>> cpu1:
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
>> CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
>> cpu1: 2MB 64b/line 8-way L2 cache
>> ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpiprt1 at acpi0: bus 3 (P0P1)
>> acpiprt2 at acpi0: bus 1 (P0P3)
>> acpiprt3 at acpi0: bus 2 (P0P4)
>> acpiprt4 at acpi0: bus -1 (P0P6)
>> acpiprt5 at acpi0: bus -1 (P0P7)
>> acpicpu0 at acpi0
>> acpicpu1 at acpi0
>> acpibtn0 at acpi0: SLPB
>> acpibtn1 at acpi0: PWRB
>> pci0 at mainbus0 bus 0: configuration mode 1
>> pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x0e
>> ppb0 at pci0 dev 1 function 0 "Intel 82915G PCIE" rev 0x0e: apic 2 int
>> 16 (irq 10)
>> pci1 at ppb0 bus 3
>> vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7300 GS" rev 0xa1
>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>> agp0 at vga1: no integrated graphics
>> drm at vga1 unsupported
>> azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04:
>> apic 2 int 16 (irq 10)
>> azalia0: codec[s]: Analog Devices/0x1986
>> audio0 at azalia0
>> ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 2
>> int 16 (irq 10)
>> pci2 at ppb1 bus 2
>> uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 2
>> int 23 (irq 11)
>> uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 2
>> int 19 (irq 4)
>> uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 2
>> int 18 (irq 5)
>> uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 2
>> int 16 (irq 10)
>> ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 2
>> int 23 (irq 11)
>> usb0 at ehci0: USB revision 2.0
>> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
>> ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd4
>> pci3 at ppb2 bus 1
>> skc0 at pci3 dev 3 function 0 "Marvell Yukon 88E8001/8003/8010" rev
>> 0x13, Yukon Lite (0x9): apic 2 int 19 (irq 4)
>> sk0 at skc0 port A: address 00:17:31:ab:cd:ef
>> eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
>> vendor "Motorola", unknown product 0x3052 (class communications
>> subclass modem, rev 0x04) at pci3 dev 9 function 0 not configured
>> pcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x04
>> pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA,
>> channel 0 configured to compatibility, channel 1 configured to compati
>> bility
>> atapiscsi0 at pciide0 channel 0 drive 1
>> scsibus0 at atapiscsi0: 2 targets, initiator 7
>> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RAM GSA-H55N, 1.01> ATAPI
>> 5/cdrom removable
>> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
>> pciide0: channel 1 disabled (no drives)
>> pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x04: DMA,
>> channel 0 configured to native-PCI, channel 1 configured to native-PC
>> I
>> pciide1: using apic 2 int 19 (irq 4) for native-PCI interrupt
>> wd0 at pciide1 channel 0 drive 0: <ST3200820AS>
>> wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
>> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
>> ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic
>> 2 int 19 (irq 0)
>> iic0 at ichiic0
>> spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
>> spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
>> usb1 at uhci0: USB revision 1.0
>> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>> usb2 at uhci1: USB revision 1.0
>> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>> usb3 at uhci2: USB revision 1.0
>> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>> usb4 at uhci3: USB revision 1.0
>> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>> isa0 at pcib0
>> isadma0 at isa0
>> 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
>> pcppi0 at isa0 port 0x61
>> midi0 at pcppi0: <PC speaker>
>> spkr0 at pcppi0
>> lpt0 at isa0 port 0x378/4 irq 7
>> wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x63
>> lm1 at wbsio0 port 0x290/8: W83627EHF
>> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
>> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
>> mtrr: Pentium Pro MTRR support
>> umass0 at uhub0 port 5 configuration 1 interface 0 "Generic Mass
>> Storage Device" rev 2.00/1.26 addr 2
>> umass0: using SCSI over Bulk-Only
>> scsibus1 at umass0: 2 targets, initiator 0
>> sd0 at scsibus1 targ 1 lun 0: <Generic, USB SD Reader, 1.00> SCSI0
>> 0/direct removable
>> sd0: drive offline
>> sd1 at scsibus1 targ 1 lun 1: <Generic, USB CF Reader, 1.01> SCSI0
>> 0/direct removable
>> sd1: drive offline
>> sd2 at scsibus1 targ 1 lun 2: <Generic, USB SM Reader, 1.02> SCSI0
>> 0/direct removable
>> sd2: drive offline
>> sd3 at scsibus1 targ 1 lun 3: <Generic, USB MS Reader, 1.03> SCSI0
>> 0/direct removable
>> sd3: drive offline
>> uhidev0 at uhub1 port 2 configuration 1 interface 0 "Microsoft Basic
>> Optical Mouse" rev 1.10/0.00 addr 2
>> uhidev0: iclass 3/1
>> ums0 at uhidev0: 3 buttons, Z dir
>> wsmouse0 at ums0 mux 0
>> softraid0 at root
>> root on wd0a swap on wd0b dump on wd0b
>>
>> Any help would be appreciated.
>>
>> Thanks in advance,
>> Shipp Douglas.
>>
>>
>>
> ...tried shutdown -hp now ?

Reply | Threaded
Open this post in threaded view
|

Re: Unable to power down after halting

Rafael Neves
I've had the same problem with 4.5-STABLE.  The halt process went ok, but my
machine didn't power down.  The problem just dissapeared when I upgrade my
system to 4.6-CURRENT.

On Mon, Oct 12, 2009 at 6:19 PM, Shipp Douglas <[hidden email]> wrote:

> Yeah, I have already tried the above command... unfortunately, as I
> had said before, it didn't work.
>
> Sorry if I didn't make it clear in my previous message, but the
> commands that I have tested are as follows:
>
> # shutdown -h -p now
> and
> # halt -p
>
> On 10/12/09, Aioanei Rares <[hidden email]> wrote:
> > Shipp Douglas wrote:
> >> Hi all,
> >>
> >> I'm having some issues regarding to automatically power down my machine
> >> after halting. I have tried to pass the -p option to both
> >> /sbin/shutdown and /sbin/halt, but I didn't get success.
> >>
> >> My rc.shutdown configuration file is as follows:
> >> # /etc/rc.shutdown
> >> #
> >> powerdown=YES
> >>
> >> And here is the output from dmesg:
> >>
> >> OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008
> >>     [hidden email]:/usr/src/sys/arch/amd64/compile/
> GENERIC.MP
> >> real mem = 2133815296 (2034MB)
> >> avail mem = 2071953408 (1975MB)
> >> mainbus0 at root
> >> bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf04d0 (57 entries)
> >> bios0: vendor American Megatrends Inc. version "0301" date 06/09/2006
> >> bios0: ASUSTeK Computer INC. P5GPL-X SE
> >> acpi0 at bios0: rev 0
> >> acpi0: tables DSDT FACP APIC OEMB MCFG
> >> acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4)
> >> P0P7(S4) PS2K(S4) PS2M(S4) UAR1(S4) USB1(S4) USB2(S4) USB3(S4)
> >> USB4(S4)
> >> EUSB(S4) MC97(S4) SLPB(S4)
> >> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> >> cpu0 at mainbus0: apid 0 (boot processor)
> >> cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3011.01 MHz
> >> cpu0:
> >>
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
> >> CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
> >> cpu0: 2MB 64b/line 8-way L2 cache
> >> cpu0: apic clock running at 238MHz
> >> cpu1 at mainbus0: apid 1 (application processor)
> >> cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3582.69 MHz
> >> cpu1:
> >>
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
> >> CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
> >> cpu1: 2MB 64b/line 8-way L2 cache
> >> ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins
> >> acpiprt0 at acpi0: bus 0 (PCI0)
> >> acpiprt1 at acpi0: bus 3 (P0P1)
> >> acpiprt2 at acpi0: bus 1 (P0P3)
> >> acpiprt3 at acpi0: bus 2 (P0P4)
> >> acpiprt4 at acpi0: bus -1 (P0P6)
> >> acpiprt5 at acpi0: bus -1 (P0P7)
> >> acpicpu0 at acpi0
> >> acpicpu1 at acpi0
> >> acpibtn0 at acpi0: SLPB
> >> acpibtn1 at acpi0: PWRB
> >> pci0 at mainbus0 bus 0: configuration mode 1
> >> pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x0e
> >> ppb0 at pci0 dev 1 function 0 "Intel 82915G PCIE" rev 0x0e: apic 2 int
> >> 16 (irq 10)
> >> pci1 at ppb0 bus 3
> >> vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7300 GS" rev 0xa1
> >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> >> agp0 at vga1: no integrated graphics
> >> drm at vga1 unsupported
> >> azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04:
> >> apic 2 int 16 (irq 10)
> >> azalia0: codec[s]: Analog Devices/0x1986
> >> audio0 at azalia0
> >> ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 2
> >> int 16 (irq 10)
> >> pci2 at ppb1 bus 2
> >> uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 2
> >> int 23 (irq 11)
> >> uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 2
> >> int 19 (irq 4)
> >> uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 2
> >> int 18 (irq 5)
> >> uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 2
> >> int 16 (irq 10)
> >> ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 2
> >> int 23 (irq 11)
> >> usb0 at ehci0: USB revision 2.0
> >> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> >> ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd4
> >> pci3 at ppb2 bus 1
> >> skc0 at pci3 dev 3 function 0 "Marvell Yukon 88E8001/8003/8010" rev
> >> 0x13, Yukon Lite (0x9): apic 2 int 19 (irq 4)
> >> sk0 at skc0 port A: address 00:17:31:ab:cd:ef
> >> eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
> >> vendor "Motorola", unknown product 0x3052 (class communications
> >> subclass modem, rev 0x04) at pci3 dev 9 function 0 not configured
> >> pcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x04
> >> pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA,
> >> channel 0 configured to compatibility, channel 1 configured to compati
> >> bility
> >> atapiscsi0 at pciide0 channel 0 drive 1
> >> scsibus0 at atapiscsi0: 2 targets, initiator 7
> >> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RAM GSA-H55N, 1.01> ATAPI
> >> 5/cdrom removable
> >> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
> >> pciide0: channel 1 disabled (no drives)
> >> pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x04: DMA,
> >> channel 0 configured to native-PCI, channel 1 configured to native-PC
> >> I
> >> pciide1: using apic 2 int 19 (irq 4) for native-PCI interrupt
> >> wd0 at pciide1 channel 0 drive 0: <ST3200820AS>
> >> wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
> >> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
> >> ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic
> >> 2 int 19 (irq 0)
> >> iic0 at ichiic0
> >> spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
> >> spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
> >> usb1 at uhci0: USB revision 1.0
> >> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> >> usb2 at uhci1: USB revision 1.0
> >> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> >> usb3 at uhci2: USB revision 1.0
> >> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> >> usb4 at uhci3: USB revision 1.0
> >> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> >> isa0 at pcib0
> >> isadma0 at isa0
> >> 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
> >> pcppi0 at isa0 port 0x61
> >> midi0 at pcppi0: <PC speaker>
> >> spkr0 at pcppi0
> >> lpt0 at isa0 port 0x378/4 irq 7
> >> wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x63
> >> lm1 at wbsio0 port 0x290/8: W83627EHF
> >> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> >> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> >> mtrr: Pentium Pro MTRR support
> >> umass0 at uhub0 port 5 configuration 1 interface 0 "Generic Mass
> >> Storage Device" rev 2.00/1.26 addr 2
> >> umass0: using SCSI over Bulk-Only
> >> scsibus1 at umass0: 2 targets, initiator 0
> >> sd0 at scsibus1 targ 1 lun 0: <Generic, USB SD Reader, 1.00> SCSI0
> >> 0/direct removable
> >> sd0: drive offline
> >> sd1 at scsibus1 targ 1 lun 1: <Generic, USB CF Reader, 1.01> SCSI0
> >> 0/direct removable
> >> sd1: drive offline
> >> sd2 at scsibus1 targ 1 lun 2: <Generic, USB SM Reader, 1.02> SCSI0
> >> 0/direct removable
> >> sd2: drive offline
> >> sd3 at scsibus1 targ 1 lun 3: <Generic, USB MS Reader, 1.03> SCSI0
> >> 0/direct removable
> >> sd3: drive offline
> >> uhidev0 at uhub1 port 2 configuration 1 interface 0 "Microsoft Basic
> >> Optical Mouse" rev 1.10/0.00 addr 2
> >> uhidev0: iclass 3/1
> >> ums0 at uhidev0: 3 buttons, Z dir
> >> wsmouse0 at ums0 mux 0
> >> softraid0 at root
> >> root on wd0a swap on wd0b dump on wd0b
> >>
> >> Any help would be appreciated.
> >>
> >> Thanks in advance,
> >> Shipp Douglas.
> >>
> >>
> >>
> > ...tried shutdown -hp now ?

Reply | Threaded
Open this post in threaded view
|

Re: Unable to power down after halting

Marco Peereboom
In reply to this post by Shipp Douglas
Fixed in 4.6.

On Oct 12, 2009, at 16:19, Shipp Douglas <[hidden email]> wrote:

> Yeah, I have already tried the above command... unfortunately, as I
> had said before, it didn't work.
>
> Sorry if I didn't make it clear in my previous message, but the
> commands that I have tested are as follows:
>
> # shutdown -h -p now
> and
> # halt -p
>
> On 10/12/09, Aioanei Rares <[hidden email]> wrote:
>> Shipp Douglas wrote:
>>> Hi all,
>>>
>>> I'm having some issues regarding to automatically power down my  
>>> machine
>>> after halting. I have tried to pass the -p option to both
>>> /sbin/shutdown and /sbin/halt, but I didn't get success.
>>>
>>> My rc.shutdown configuration file is as follows:
>>> # /etc/rc.shutdown
>>> #
>>> powerdown=YES
>>>
>>> And here is the output from dmesg:
>>>
>>> OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008
>>>    [hidden email]:/usr/src/sys/arch/amd64/compile/
>>> GENERIC.MP
>>> real mem = 2133815296 (2034MB)
>>> avail mem = 2071953408 (1975MB)
>>> mainbus0 at root
>>> bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf04d0 (57 entries)
>>> bios0: vendor American Megatrends Inc. version "0301" date  
>>> 06/09/2006
>>> bios0: ASUSTeK Computer INC. P5GPL-X SE
>>> acpi0 at bios0: rev 0
>>> acpi0: tables DSDT FACP APIC OEMB MCFG
>>> acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4)
>>> P0P7(S4) PS2K(S4) PS2M(S4) UAR1(S4) USB1(S4) USB2(S4) USB3(S4)
>>> USB4(S4)
>>> EUSB(S4) MC97(S4) SLPB(S4)
>>> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>>> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>>> cpu0 at mainbus0: apid 0 (boot processor)
>>> cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3011.01 MHz
>>> cpu0:
>>> FPU,
>>> VME,
>>> DE,
>>> PSE,
>>> TSC,
>>> MSR,
>>> PAE,
>>> MCE,
>>> CX8,
>>> APIC,
>>> SEP,
>>> MTRR,
>>> PGE,
>>> MCA,
>>> CMOV,
>>> PAT,
>>> PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
>>> CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
>>> cpu0: 2MB 64b/line 8-way L2 cache
>>> cpu0: apic clock running at 238MHz
>>> cpu1 at mainbus0: apid 1 (application processor)
>>> cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz, 3582.69 MHz
>>> cpu1:
>>> FPU,
>>> VME,
>>> DE,
>>> PSE,
>>> TSC,
>>> MSR,
>>> PAE,
>>> MCE,
>>> CX8,
>>> APIC,
>>> SEP,
>>> MTRR,
>>> PGE,
>>> MCA,
>>> CMOV,
>>> PAT,
>>> PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
>>> CPL,EST,TM2,CNXT-ID,CX16,xTPR,LONG
>>> cpu1: 2MB 64b/line 8-way L2 cache
>>> ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins
>>> acpiprt0 at acpi0: bus 0 (PCI0)
>>> acpiprt1 at acpi0: bus 3 (P0P1)
>>> acpiprt2 at acpi0: bus 1 (P0P3)
>>> acpiprt3 at acpi0: bus 2 (P0P4)
>>> acpiprt4 at acpi0: bus -1 (P0P6)
>>> acpiprt5 at acpi0: bus -1 (P0P7)
>>> acpicpu0 at acpi0
>>> acpicpu1 at acpi0
>>> acpibtn0 at acpi0: SLPB
>>> acpibtn1 at acpi0: PWRB
>>> pci0 at mainbus0 bus 0: configuration mode 1
>>> pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x0e
>>> ppb0 at pci0 dev 1 function 0 "Intel 82915G PCIE" rev 0x0e: apic 2  
>>> int
>>> 16 (irq 10)
>>> pci1 at ppb0 bus 3
>>> vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7300 GS" rev 0xa1
>>> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>>> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>>> agp0 at vga1: no integrated graphics
>>> drm at vga1 unsupported
>>> azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04:
>>> apic 2 int 16 (irq 10)
>>> azalia0: codec[s]: Analog Devices/0x1986
>>> audio0 at azalia0
>>> ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 2
>>> int 16 (irq 10)
>>> pci2 at ppb1 bus 2
>>> uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 2
>>> int 23 (irq 11)
>>> uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 2
>>> int 19 (irq 4)
>>> uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 2
>>> int 18 (irq 5)
>>> uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 2
>>> int 16 (irq 10)
>>> ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 2
>>> int 23 (irq 11)
>>> usb0 at ehci0: USB revision 2.0
>>> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
>>> ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd4
>>> pci3 at ppb2 bus 1
>>> skc0 at pci3 dev 3 function 0 "Marvell Yukon 88E8001/8003/8010" rev
>>> 0x13, Yukon Lite (0x9): apic 2 int 19 (irq 4)
>>> sk0 at skc0 port A: address 00:17:31:ab:cd:ef
>>> eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
>>> vendor "Motorola", unknown product 0x3052 (class communications
>>> subclass modem, rev 0x04) at pci3 dev 9 function 0 not configured
>>> pcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x04
>>> pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA,
>>> channel 0 configured to compatibility, channel 1 configured to  
>>> compati
>>> bility
>>> atapiscsi0 at pciide0 channel 0 drive 1
>>> scsibus0 at atapiscsi0: 2 targets, initiator 7
>>> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RAM GSA-H55N, 1.01>  
>>> ATAPI
>>> 5/cdrom removable
>>> cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
>>> pciide0: channel 1 disabled (no drives)
>>> pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x04:  
>>> DMA,
>>> channel 0 configured to native-PCI, channel 1 configured to native-
>>> PC
>>> I
>>> pciide1: using apic 2 int 19 (irq 4) for native-PCI interrupt
>>> wd0 at pciide1 channel 0 drive 0: <ST3200820AS>
>>> wd0: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
>>> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
>>> ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04:  
>>> apic
>>> 2 int 19 (irq 0)
>>> iic0 at ichiic0
>>> spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
>>> spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
>>> usb1 at uhci0: USB revision 1.0
>>> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>>> usb2 at uhci1: USB revision 1.0
>>> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>>> usb3 at uhci2: USB revision 1.0
>>> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>>> usb4 at uhci3: USB revision 1.0
>>> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>>> isa0 at pcib0
>>> isadma0 at isa0
>>> 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
>>> pcppi0 at isa0 port 0x61
>>> midi0 at pcppi0: <PC speaker>
>>> spkr0 at pcppi0
>>> lpt0 at isa0 port 0x378/4 irq 7
>>> wbsio0 at isa0 port 0x2e/2: W83627EHF rev 0x63
>>> lm1 at wbsio0 port 0x290/8: W83627EHF
>>> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
>>> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
>>> mtrr: Pentium Pro MTRR support
>>> umass0 at uhub0 port 5 configuration 1 interface 0 "Generic Mass
>>> Storage Device" rev 2.00/1.26 addr 2
>>> umass0: using SCSI over Bulk-Only
>>> scsibus1 at umass0: 2 targets, initiator 0
>>> sd0 at scsibus1 targ 1 lun 0: <Generic, USB SD Reader, 1.00> SCSI0
>>> 0/direct removable
>>> sd0: drive offline
>>> sd1 at scsibus1 targ 1 lun 1: <Generic, USB CF Reader, 1.01> SCSI0
>>> 0/direct removable
>>> sd1: drive offline
>>> sd2 at scsibus1 targ 1 lun 2: <Generic, USB SM Reader, 1.02> SCSI0
>>> 0/direct removable
>>> sd2: drive offline
>>> sd3 at scsibus1 targ 1 lun 3: <Generic, USB MS Reader, 1.03> SCSI0
>>> 0/direct removable
>>> sd3: drive offline
>>> uhidev0 at uhub1 port 2 configuration 1 interface 0 "Microsoft Basic
>>> Optical Mouse" rev 1.10/0.00 addr 2
>>> uhidev0: iclass 3/1
>>> ums0 at uhidev0: 3 buttons, Z dir
>>> wsmouse0 at ums0 mux 0
>>> softraid0 at root
>>> root on wd0a swap on wd0b dump on wd0b
>>>
>>> Any help would be appreciated.
>>>
>>> Thanks in advance,
>>> Shipp Douglas.
>>>
>>>
>>>
>> ...tried shutdown -hp now ?

Reply | Threaded
Open this post in threaded view
|

Re: Unable to power down after halting

Gabriel Guzman-2
On Mon, 12 Oct 2009 18:06:45 -0500
Marco Peereboom <[hidden email]> wrote:

> Fixed in 4.6.

It's fixed for me too in -current, though now there is another small
problem.

If I issue a

halt -p

The disks are synched (at least, I get the message), and the system is
powered off.  The problem is, every time I power the system back on, I
get the message telling me the disks were not cleanly unmounted, and a
file system check runs.

Hadn't reported it since I was planning on updating and rebuilding in
a few days in any case.  dmesg below.  

gabe.  

dmesg:

OpenBSD 4.6-current (GENERIC.MP) #2: Tue Oct  6 22:37:38 EDT 2009
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz ("GenuineIntel"
686-class) 1.60 GHz cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
real mem  = 1063669760 (1014MB) avail mem = 1022169088 (974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/20/08, BIOS32 rev. 0 @
0xfdcf0, SMBIOS rev. 2.4 @ 0xe0010 (70 entries) bios0: vendor LENOVO
version "7PETB2WW (2.12 )" date 02/20/2008 bios0: LENOVO 76509LU
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT SSDT SSDT
SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) EXP0(S4) EXP1(S4)
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3)
EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid
0 (boot processor) cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz ("GenuineIntel"
686-class) 1.60 GHz cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins ioapic0:
misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0:
14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4513" serial  5504 type LION oem
"SANYO" acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1a00 0xd1a00/0x1000
0xe0000/0x10000! cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333,
1067, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at inteldrm0
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int
20 (irq 11) uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev
0x03: apic 1 int 21 (irq 11) ehci0 at pci0 dev 26 function 7 "Intel
82801H USB" rev 0x03: apic 1 int 22 (irq 11) usb0 at ehci0: USB
revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03:
apic 1 int 17 (irq 11) azalia0: codecs: Conexant CX20549
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int
20 (irq 11) pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 1 int
21 (irq 11) pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
apic 1 int 17 (irq 11), MoW1, address 00:1f:3c:18:d8:83 ppb2 at pci0
dev 28 function 2 "Intel 82801H PCIE" rev 0x03: apic 1 int 22 (irq 11)
pci3 at ppb2 bus 4 bge0 at pci3 dev 0 function 0 "Broadcom BCM5787M"
rev 0x02, BCM5754/5787 A2 (0xb002): apic 1 int 18 (irq 11), address
00:1c:25:90:79:9f brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY,
rev. 0 uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03:
apic 1 int 16 (irq 10) uhci3 at pci0 dev 29 function 1 "Intel 82801H
USB" rev 0x03: apic 1 int 17 (irq 11) uhci4 at pci0 dev 29 function 2
"Intel 82801H USB" rev 0x03: apic 1 int 18 (irq 11) ehci1 at pci0 dev
29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 19 (irq 11) usb1
at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci4 at ppb3 bus 21
cbb0 at pci4 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xb6: apic 1
int 16 (irq 10) cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03: PM
disabled pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev
0x03: DMA, channel 0 configured to compatibility, channel 1 configured
to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at
atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM
GSA-T20N, WX05> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO
mode 4, Ultra-DMA mode 2 pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: apic 1
int 16 (irq 10), AHCI 1.1 scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD800BEVS-08, 08.0> SCSI3
0/direct fixed sd0: 76319MB, 512 bytes/sec, 156301488 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: apic 1
int 23 (irq 11) iic0 at ichiic0
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
WARNING: / was not properly unmounted

Reply | Threaded
Open this post in threaded view
|

Re: Unable to power down after halting

Shipp Douglas
> Fixed in 4.6.

OK, I'll update to 4.6.

Thanks,
Shipp Douglas.