Subject: Re: powerdown reboots with Acpi enabled
To: None <port-i386@netbsd.org>
From: Hanspeter Roth <hampi@rootshell.be>
List: port-i386
Date: 05/31/2005 13:31:25
--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

  On May 31 at 14:09, Takayoshi Kochi spoke:

> Hi,
> 
> > I have installed 3.99.3 on a laptop. With ACPI disabled powerdown
> > works
> 
> With APM?

Yes. It's with a GENERIC_LAPTOP kernel.

> > But with ACPI enabled powerdown reboots even with option
> > ACPI_DISABLE_ON_POWEROFF.
> > Is this a bug? Or is there something else to consider?
> 
> "option ACPI_DISABLE_ON_POWEROFF" is just a compatibility stuff
> from old behavior of NetBSD, and discouraged to use (I plan to remove
> this option).

Ok.

> What model (how recent) is your laptop?

It's not so recent. It's a HP Pavilion zt3030EA. I bought it in
November 03.

-Hanspeter

--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.boot"

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.3 (ACPI) #0: Mon May 30 13:58:00 CEST 2005
	idefix@goofy.here:/usr/src/sys/arch/i386/compile/ACPI
total memory = 511 MB
avail memory = 494 MB
BIOS32 rev. 0 found at 0xf0000
PCI BIOS rev. 2.1 found at 0xf031f
pcibios: config mechanism [1][x], special cycles [x][x], last bus 3
PCI IRQ Routing Table rev. 1.0 found at 0xf0840, size 176 bytes (9 entries)
pcibios_pir_init: bad IRQ table checksum
PCI IRQ Routing Table rev. 1.0 found at 0xf99f0, size 176 bytes (9 entries)
PCI Interrupt Router at 000:31:0 (Intel 82801DB ISA Bridge compatible)
PCI Exclusive IRQs: 5 10 11
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:29:0 0x8086 0x24c2   A  0x00  10  0    already assigned
000:29:1 0x8086 0x24c4   B  0x03   5  0    already assigned
000:29:2 0x8086 0x24c7   C  0x02   5  0    already assigned
000:29:7 0x8086 0x24cd   D  0x07   5  0    already assigned
000:31:1 0x8086 0x24ca   A  0x02   5  0    already assigned
000:31:3 0x8086 0x24c3   B  0x01  10  0    already assigned
000:31:5 0x8086 0x24c5   B  0x01  10  0    already assigned
000:31:6 0x8086 0x24c6   B  0x01  10  0    already assigned
001:00:0 0x1002 0x4c66   A  0x00  10  0    already assigned
002:00:0 0x1106 0x3044   A  0x00  10  0    already assigned
002:01:0 0x10ec 0x8139   A  0x01  10  0    already assigned
002:02:0 0x8086 0x1043   A  0x05  11  0    already assigned
002:04:0 0x1524 0x1410   A  0x02   5  0    already assigned
------------------------------------------
PCI fixup examining 8086:3340
PCI fixup examining 8086:3341
PCI fixup examining 1002:4c66
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 8086:24c2
PCI fixup examining 8086:24c4
PCI fixup examining 8086:24c7
PCI fixup examining 8086:24cd
PCI fixup examining 8086:2448
PCI fixup examining 1106:3044
PCI fixup examining 10ec:8139
PCI fixup examining 8086:1043
PCI fixup examining 1524:1410
PCI bridge 2: primary 2, secondary 3, subordinate 3
PCI bridge 1: primary 0, secondary 2, subordinate 3
PCI fixup examining 8086:24cc
PCI fixup examining 8086:24ca
PCI fixup examining 8086:24c3
PCI fixup examining 8086:24c5
PCI fixup examining 8086:24c6
PCI bus #3 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x3340 
	10h mem  0xb0000000 0x10000000
		[OK]
000:01:0 0x8086 0x3341 
		[OK]
000:29:0 0x8086 0x24c2 
	20h port 0x000048c0 0x00000020
		[OK]
000:29:1 0x8086 0x24c4 
	20h port 0x000048e0 0x00000020
		[OK]
000:29:2 0x8086 0x24c7 
	20h port 0x00004c00 0x00000020
		[OK]
000:29:7 0x8086 0x24cd 
	10h mem  0xa0000000 0x00000400
		[OK]
000:30:0 0x8086 0x2448 
		[OK]
000:31:0 0x8086 0x24cc 
		[OK]
000:31:1 0x8086 0x24ca 
	10h port 0x00000000 0x00000008
	14h port 0x00000000 0x00000004
	18h port 0x00000000 0x00000008
	1ch port 0x00000000 0x00000004
	20h port 0x00004c40 0x00000010
	24h mem  0x00000000 0x00000400
		[NG]
000:31:3 0x8086 0x24c3 
	20h port 0x00004c20 0x00000020
		[OK]
000:31:5 0x8086 0x24c5 
	10h port 0x00004000 0x00000100
	14h port 0x00004880 0x00000040
	18h mem  0xa0200000 0x00000200
	1ch mem  0xa0300000 0x00000100
		[OK]
000:31:6 0x8086 0x24c6 
	10h port 0x00004400 0x00000100
	14h port 0x00004800 0x00000080
		[OK]
001:00:0 0x1002 0x4c66 
	10h mem  0x98000000 0x08000000
	14h port 0x00003000 0x00000100
	18h mem  0x90400000 0x00010000
		[OK]
002:00:0 0x1106 0x3044 
	10h mem  0x90200000 0x00000800
	14h port 0x00002400 0x00000080
		[OK]
002:01:0 0x10ec 0x8139 
	10h port 0x00002000 0x00000100
	14h mem  0x90300000 0x00000100
		[OK]
002:02:0 0x8086 0x1043 
	10h mem  0x90000000 0x00001000
		[OK]
002:04:0 0x1524 0x1410 
	10h mem  0x90100000 0x00001000
		[OK]
--------------------------[  1 devices bogus]
 Physical memory end: 0x1ffcc000
 PCI memory mapped I/O space start: 0x20000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x3340 
	10h mem  0xb0000000 0x10000000
		[OK]
000:01:0 0x8086 0x3341 
		[OK]
000:29:0 0x8086 0x24c2 
	20h port 0x000048c0 0x00000020
		[OK]
000:29:1 0x8086 0x24c4 
	20h port 0x000048e0 0x00000020
		[OK]
000:29:2 0x8086 0x24c7 
	20h port 0x00004c00 0x00000020
		[OK]
000:29:7 0x8086 0x24cd 
	10h mem  0xa0000000 0x00000400
		[OK]
000:30:0 0x8086 0x2448 
		[OK]
000:31:0 0x8086 0x24cc 
		[OK]
000:31:1 0x8086 0x24ca 
	10h port 0x00005800 0x00000008
	14h port 0x00005808 0x00000004
	18h port 0x00005810 0x00000008
	1ch port 0x0000580c 0x00000004
	20h port 0x00004c40 0x00000010
	24h mem  0x20000000 0x00000400
		[OK]
000:31:3 0x8086 0x24c3 
	20h port 0x00004c20 0x00000020
		[OK]
000:31:5 0x8086 0x24c5 
	10h port 0x00004000 0x00000100
	14h port 0x00004880 0x00000040
	18h mem  0xa0200000 0x00000200
	1ch mem  0xa0300000 0x00000100
		[OK]
000:31:6 0x8086 0x24c6 
	10h port 0x00004400 0x00000100
	14h port 0x00004800 0x00000080
		[OK]
001:00:0 0x1002 0x4c66 
	10h mem  0x98000000 0x08000000
	14h port 0x00003000 0x00000100
	18h mem  0x90400000 0x00010000
		[OK]
002:00:0 0x1106 0x3044 
	10h mem  0x90200000 0x00000800
	14h port 0x00002400 0x00000080
		[OK]
002:01:0 0x10ec 0x8139 
	10h port 0x00002000 0x00000100
	14h mem  0x90300000 0x00000100
		[OK]
002:02:0 0x8086 0x1043 
	10h mem  0x90000000 0x00001000
		[OK]
002:04:0 0x1524 0x1410 
	10h mem  0x90100000 0x00001000
		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Banias) (686-class), 1495.20 MHz, id 0x695
cpu0: features a7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR>
cpu0: features a7e9f9bf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features a7e9f9bf<FXSR,SSE,SSE2,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1500MHz"
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep running at 1500 MHz (1484 mV)
cpu0: Enhanced SpeedStep frequencies available (MHz): 1500 1400 1200 1000 800 600
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20050408
acpi0: X/RSDT: OemId <HP    ,CPQ0860 ,13090420>, AslId <CPQ ,00000001>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C01 at acpi0 not configured
PNP0A03 at acpi0 not configured
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
acpiec0: EcRead: timeout waiting for EC to send data
    ACPI-0522: *** Error: Handler for [EmbeddedControl] returned AE_ERROR
    ACPI-1341: *** Error: Method execution failed [\_SB_.C046.C059.C0EA.C11D] (Node 0xc10e5420), AE_ERROR
    ACPI-1341: *** Error: Method execution failed [\_SB_.C046.C059.C0EA._REG] (Node 0xc10e5760), AE_ERROR
acpiec0: unable to install address space handler: AE_ERROR
PNP0A06 at acpi0 not configured
com3 at acpi0 (PNP0501)
com3: io 0x3f8-0x3ff irq 4
com3: ns16550a, working fifo
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
com4 at acpi0 (SMCF010)
com4: io 0x3e8-0x3ef,0x7d0-0x7d7 irq 3 drq 3
com4: ns16550a, working fifo
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
lpt3 at acpi0 (PNP0401)
lpt3: io 0x378-0x37f,0x778-0x77a irq 7 drq 1
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: using exception 16
attimer1 at acpi0 (PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
PNP0200 at acpi0 not configured
pcppi1 at acpi0 (PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
PNP0B00 at acpi0 not configured
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (SYN0107): aux port
pckbc2: irq 12
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C02 at acpi0 not configured
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
PNP0C02 at acpi0 not configured
pcppi1: attached to attimer1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 5.9
pms0: Palm detect, Multi-finger
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82855PM MCH Host Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xb0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: Intel 82855PM Host-AGP Bridge (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Radeon Mobility M9 (rev. 0x01)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller (rev. 0x01)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller (rev. 0x01)
uhci1: interrupting at irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller (rev. 0x01)
uhci2: interrupting at irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller (rev. 0x01)
ehci0: interrupting at irq 5
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0x81)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
VIA Technologies VT6306 IEEE 1394 Host Controller (Firewire serial bus, interface 0x10, revision 0x80) at pci2 dev 0 function 0 not configured
re0 at pci2 dev 1 function 0: RealTek 8139C+ 10/100BaseTX
re0: interrupting at irq 10
re0: Ethernet address 00:02:3f:66:6c:05
re0: using 64 tx descriptors
ukphy0 at re0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ipw0 at pci2 dev 2 function 0: Intel PRO/Wireless LAN 2100 3B Mini-PCI Adapter (rev. 0x04)
ipw0: interrupting at irq 5
ipw0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
cbb0 at pci2 dev 4 function 0: ENE Technology CB1410 CardBus Controller (rev. 0x01)
cbb0: interrupting at irq 5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801DB ISA Bridge (rev. 0x01)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x01) at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at irq 10
auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
auich0: ac97: ext id 605<AC97_22,AMAP,SPDIF,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision 0x01) at pci0 dev 31 function 6 not configured
isa0 at pcib0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
auich0: measured ac97 link rate at 48000 Hz
audio0 at auich0: full duplex, mmap, independent
Kernelized RAIDframe activated
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Trackball, rev 1.00/2.10, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
wd0 at atabus0 drive 0: <HITACHI_DK23EA-60>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 57231 MB, 116280 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVD+RW GCA-4040N, , 1.15> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(piixide0:1:0): using PIO mode 4, DMA mode 2 (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)

--ibTvN161/egqYuK8--