On Tue, 10 Mar 2009 11:04:46 -0500 Marco Peereboom <sl...@peereboom.us> wrote: > On Tue, Mar 10, 2009 at 04:30:39PM +0100, Thomas Pfaff wrote: > > Ubuntu 8.04 (Linux 2.6.24-19) powers down my system just fine > > with halt -p (see previous post for details). > > Alrighty I'll look at that code (ugh!). >
While we're at it, I just brought up another system and halt -p does not work here either. Stuck at "Attempting to power down..." I can try installing NetBSD and see if it works there. Might be less painful to look through their code than Linux ;-) OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 1800+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.53 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 267939840 (255MB) avail mem = 250789888 (239MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 04/29/02, BIOS32 rev. 0 @ 0xfdae0, SMBIOS rev. 2.3 @ 0xf0630 (23 entries) bios0: vendor American Megatrends Inc. version "07.00T" date 04/02/01 bios0: ECS K7S5A apm0 at bios0: Power Management spec V1.2 apm0: AC on, no battery acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7950/160 (8 entries) pcibios0: PCI Interrupt Router at 000:02:0 ("SiS 85C503 System" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xc000 0xcc000/0x8000 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "SiS 735 PCI" rev 0x01 sisagp0 at pchb0 agp0 at sisagp0: aperture at 0xd0000000, size 0x2000000 ppb0 at pci0 dev 1 function 0 "SiS 86C201 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Rage Pro" rev 0x5c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x00 ohci0 at pci0 dev 2 function 2 "SiS 5597/5598 USB" rev 0x07: irq 11, version 1.0, legacy support ohci1 at pci0 dev 2 function 3 "SiS 5597/5598 USB" rev 0x07: irq 12, version 1.0, legacy support pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0xd0: 735: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <ST34321A> wd0: 32-sector PIO, LBA, 4103MB, 8404830 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <, RW-321248, 1.00> ATAPI 5/cdrom removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: irq 11, SiS7012 AC97 ac97: codec id 0x414c4710 (Avance Logic ALC200) ac97: codec features headphone, 18 bit DAC, 18 bit ADC, Realtek 3D audio0 at auich0 sis0 at pci0 dev 3 function 0 "SiS 900 10/100BaseTX" rev 0x90: irq 12, address 00:07:95:54:c9:9c rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1 eap0 at pci0 dev 13 function 0 "Ensoniq AudioPCI" rev 0x01: irq 11 audio1 at eap0 midi0 at eap0: <AudioPCI MIDI UART> isa0 at pcib0 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 pcppi0 at isa0 port 0x61 midi1 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x2e/2: IT8705F rev 2, EC port 0x290 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 "SiS OHCI root hub" rev 1.00/1.00 addr 1 usb1 at ohci1: USB revision 1.0 uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1 biomask ff65 netmask ff65 ttymask ffff mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b