Bug 5853

Summary: Interrupt storm when lid closed on Acer 4021WLCi, Acer 4062LMi, Acer Aspire 5670
Product: ACPI Reporter: Ron Murray (rjmx)
Component: Config-InterruptsAssignee: Zhang Rui (rui.zhang)
Status: REJECTED UNREPRODUCIBLE    
Severity: normal CC: acpi-bugzilla, astarikovskiy, christoph.kindl, contact+kernel-bug, f, jdong, jools, juho-mikko.pellinen, lrtherond, patrickdepinguin
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.15 Subsystem:
Regression: --- Bisected commit-id:
Attachments: Output of dmidecode
Output of acpidump
dmesg output (Acer 4062LMi, no custom DSDT)
acpidump log (Acer 4062LMi, no custom DSDT)
lspci -v (Acer 4062LMi, no custom DSDT), probably useless
dmidecode output (Acer 4062LMi, no custom DSDT)
dmesg -s6400 on a TravelMate 4062LMi
/proc/interrupts on TravelMate 4062LMi
Acer Aspire 1692 WLMi DDR2
Acer Aspire 1652 WLMi
dmesg -s40000
dmidecode
lspci -vv
cat /proc/interrupts
output of /var/log/acpid for an aspire 5672
/proc/interrupts for aspire 5672
dmesg, interrupts and grub kernel boot-line in single file
dmesg -c after closing lid for a few seconds (debug on)
debug patch
acpidump from acer travelmate 3022 wtmi
dmesg -c after closing lid for a few seconds (debug on, patched)
dmesg -c after closing lid for a few seconds (debug on, patched, ec_intr=0)
same as before but with button loaded
disable ec gpe while executing ec gpe handler
patch: disable ec gpe while handling ec events
dmesg -c after closing lid for a few seconds (debug on, patched, ec_intr=0, button loaded)
acpid's log after closing lid for a few seconds (debug on, patched, button loaded)
dmesg -c after closing lid for a few seconds (debug on, patched, button loaded)
acpid's log after closing lid for a few seconds (debug on, button loaded)
dmesg -c after closing lid for a few seconds (debug on, button loaded)

Description Ron Murray 2006-01-08 14:02:39 UTC
Most recent kernel where this bug did not occur: n/a
Distribution: Debian
Hardware Environment: Acer TravelMate 4021WLCi laptop
Software Environment: Debian testing
Problem Description: When I close the lid on this laptop, the CPU load goes to
100% and stays there. A check of /proc/interrupts shows the acpi interrupt count
rising rapidly, and the action specified in /etc/acpi/actions/lm_lid.sh keeps
respawning.
Opening the lid again sometimes results in the CPU load dropping to normal
levels after a minute or so, but sometimes it remains high until reboot.

Steps to reproduce:
1. Use a cpu load indicator such as gkrellm, or log in remotely and run htop
2. Close the laptop lid
3. Watch high CPU load.

Notes:
I've debugged my DSDT given information from your site and others, and this may
be the problem (given that nobody else seems to be reporting this). I don't
think I touched any code belonging to the lid function, however. Suggestions
welcome.

Attachments:

1. dmesg output:

/514560k available (2915k kernel code, 8484k reserved, 752k data, 164k init, 0k
highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3194.18 BogoMIPS (lpj=1597094)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 512
CPU: After generic identify, caps: afe9fbff 00100000 00000000 00000000 00000180
00000000 00000000
CPU: After vendor identify, caps: afe9fbff 00100000 00000000 00000000 00000180
00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: After all inits, caps: afe9fbff 00100000 00000000 00000040 00000180
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: Intel(R) Pentium(R) M processor 1.60GHz stepping 08
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
    ACPI-0284: *** Info: Table [DSDT] replaced by host OS
ACPI: setting ELCR to 0200 (from 0c00)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd7be, last bus=7
PCI: Using MMCONFIG
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:02.0
PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
PCI quirk: region 1180-11bf claimed by ICH6 GPIO
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 *11 12 14 15)
ACPI: Embedded Controller [EC0] (gpe 29)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 8 devices
PnPBIOS: Disabled by ACPI PNP
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.0
PCI: Cannot allocate resource region 8 of bridge 0000:00:1c.0
PCI: Cannot allocate resource region 9 of bridge 0000:00:1c.0
PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.1
PCI: Cannot allocate resource region 8 of bridge 0000:00:1c.1
PCI: Cannot allocate resource region 9 of bridge 0000:00:1c.1
PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.2
PCI: Cannot allocate resource region 8 of bridge 0000:00:1c.2
PCI: Cannot allocate resource region 9 of bridge 0000:00:1c.2
PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
PCI: Bridge: 0000:00:1c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.1
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.2
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bus 7, cardbus bridge: 0000:06:01.0
  IO window: 00003000-000030ff
  IO window: 00003400-000034ff
  PREFETCH window: 30000000-31ffffff
  MEM window: 34000000-35ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: 3000-3fff
  MEM window: b0100000-b01fffff
  PREFETCH window: 30000000-32ffffff
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:1c.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:1c.1[B] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1c.1 to 64
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:1c.2[C] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1c.2 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
ACPI: PCI Interrupt 0000:06:01.0[A] -> Link [LNKG] -> GSI 10 (level, low) -> IRQ 10
Simple Boot Flag at 0x36 set to 0x1
SGI XFS with ACLs, security attributes, no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
ACPI: PCI Interrupt 0000:00:1c.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie02]
Allocate Port Service[pcie03]
ACPI: PCI Interrupt 0000:00:1c.1[B] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1c.1 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie02]
Allocate Port Service[pcie03]
ACPI: PCI Interrupt 0000:00:1c.2[C] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1c.2 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[pcie00]
Allocate Port Service[pcie02]
Allocate Port Service[pcie03]
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 915GM Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xc0000000
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM
chipsets
intelfb: Version 0.9.2
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
intelfb: 00:02.0: Intel(R) 915GM, aperture size 128MB, stolen memory 8060kB
intelfb: Non-CRT device is enabled ( LVDS port ).  Disabling mode switching.
intelfb: Video mode must be programmed at boot time.
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: IC25N060ATMR04-0, ATA DISK drive
hdb: PHILIPS CD-RW/DVD-ROM SCB5265, ATAPI CD/DVD-ROM drive
Probing IDE interface ide1...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 1024KiB
hda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdb: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
arp_tables: (C) 2002 David S. Miller
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 15
Using IPI Shortcut mode
Suspend2 Core.
Suspend2 Compression Driver loading.
Suspend2 Encryption Driver loading.
Suspend2 Swap Writer loading.
Suspend2 FileWriter loading.
ACPI wakeup devices: 
RP01 RP02 RP04 USB1 USB2 USB3 USB4 USB7 LANC MODM 
ACPI: (supports S0 S3 S4 S5)
Suspend2 2.2-rc15: Swapwriter: Signature found.
Suspend2 2.2-rc15: Suspending enabled.
swapper(1): READ block 0 size 4096 on hda5
input: AT Translated Set 2 keyboard as /class/input/input0
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 164k freed
kjournald starting.  Commit interval 5 seconds
Synaptics Touchpad, model: 1, fw: 5.9, id: 0x126eb1, caps: 0xa04713/0x4000
input: SynPS/2 Synaptics TouchPad as /class/input/input1
ICH6: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
ICH6: chipset revision 4
ICH6: not 100% native mode: will probe irqs later
ICH6: port 0x01f0 already claimed by ide0
ICH6: neither IDE port enabled (BIOS)
hw_random: RNG not detected
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Real Time Clock Driver v1.12
USB Universal Host Controller Interface driver v2.3
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 11, io base 0x00001820
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: irq 11, io base 0x00001840
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: irq 10, io base 0x00001860
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ieee80211_crypt: registered algorithm 'NULL'
spurious 8259A interrupt: IRQ7.
ACPI: PCI Interrupt 0000:00:1d.3[D] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.3: irq 10, io base 0x00001880
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.7[A] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:1d.7: irq 11, io mem 0xb0040000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 8 ports detected
ieee80211: 802.11 data/management/control stack, 1.1.6
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
b44.c:v0.97 (Nov 30, 2005)
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
ACPI: PCI Interrupt 0000:06:08.0[A] -> Link [LNKE] -> GSI 10 (level, low) -> IRQ 10
eth0: Broadcom 4400 10/100BaseT Ethernet 00:c0:9f:c8:87:a3
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.8
ipw2200: Copyright(c) 2003-2005 Intel Corporation
ACPI: PCI Interrupt 0000:06:03.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ACPI: PCI Interrupt 0000:06:01.0[A] -> Link [LNKG] -> GSI 10 (level, low) -> IRQ 10
Yenta: CardBus bridge found at 0000:06:01.0 [1025:0066]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:06:01.0, mfunc 0x01c21b22, devctl 0x66
ACPI: PCI Interrupt 0000:00:1e.2[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1e.2 to 64
Yenta: ISA IRQ mask 0x00f8, PCI irq 10
Socket status: 30000006
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
cs: IO port probe 0x3000-0x3fff: clean.
pcmcia: parent PCI bridge Memory window: 0xb0100000 - 0xb01fffff
pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x32ffffff
intel8x0_measure_ac97_clock: measured 53684 usecs
intel8x0: clocking to 48000
ACPI: PCI Interrupt 0000:00:1e.3[B] -> Link [LNKE] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1e.3 to 64
ALSA sound/pci/ac97/ac97_codec.c:2028: MC'97 0 converters and GPIO not ready (0x1)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Adding 979924k swap on /dev/hda5.  Priority:-1 extents:1 across:979924k
EXT3 FS on hda3, internal journal
Capability LSM initialized
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
XFS mounting filesystem dm-2
Ending clean XFS mount for filesystem: dm-2
XFS mounting filesystem dm-0
Ending clean XFS mount for filesystem: dm-0
XFS mounting filesystem dm-1
Ending clean XFS mount for filesystem: dm-1
NET: Registered protocol family 17
ipw2200: Firmware error detected.  Restarting.
ipw2200: Sysfs 'error' log captured.
ieee80211_crypt: registered algorithm 'TKIP'
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Battery Slot [BAT2] (battery absent)
ACPI: AC Adapter [ACAD] (on-line)
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Thermal Zone [THRM] (59 C)
lp: driver loaded but no devices found
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.4 (4020 buckets, 32160 max) - 212 bytes per conntrack
hdb: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdb: drive_cmd: error=0x04 { AbortedCommand }
ide: failed opcode was: 0xec
hdb: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdb: drive_cmd: error=0x04 { AbortedCommand }
ide: failed opcode was: 0xec
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.6
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
[drm] Initialized i915 1.1.0 20040405 on minor 0: 
mtrr: base(0xc0020000) is not aligned on a size(0x640000) boundary
synaptics: using relaxed packet validation
Using specific hotkey driver
psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 4
psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio1/input0 - driver resynched.
psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse.c: TouchPad at isa0060/serio1/input0 - driver resynched.


2. /proc/interrupts:

           CPU0       
  0:    2491839          XT-PIC  timer
  1:       2244          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          4          XT-PIC  rtc
  9:     158606          XT-PIC  acpi
 10:          1          XT-PIC  uhci_hcd:usb3, uhci_hcd:usb4, yenta, Intel ICH6
Modem, i915@pci:0000:00:02.0
 11:      30590          XT-PIC  uhci_hcd:usb1, uhci_hcd:usb2, ehci_hcd:usb5,
ipw2200, Intel ICH6
 12:     132489          XT-PIC  i8042
 14:      73310          XT-PIC  ide0
NMI:          0 
ERR:        306


3. lspci:

0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express
Processor to DRAM Controller (rev 03)
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort+
<MAbort+ >SERR- <PERR-
	Latency: 0
	Capabilities: [e0] #09 [2109]

0000:00:02.0 VGA compatible controller: Intel Corporation Mobile
915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA])
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at b0080000 (32-bit, non-prefetchable) [size=512K]
	Region 1: I/O ports at 1800 [size=8]
	Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
	Region 3: Memory at b0000000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML
Express Graphics Controller (rev 03)
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Region 0: Memory at 33000000 (32-bit, non-prefetchable) [disabled] [size=512K]
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 1 (rev 04) (prog-if 00 [Normal decode])
	Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size: 0x08 (32 bytes)
	Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
	Capabilities: [40] #10 [0141]
	Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Capabilities: [90] #0d [0000]
	Capabilities: [a0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 2 (rev 04) (prog-if 00 [Normal decode])
	Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size: 0x08 (32 bytes)
	Bus: primary=00, secondary=0a, subordinate=0a, sec-latency=0
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
	Capabilities: [40] #10 [0141]
	Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Capabilities: [90] #0d [0000]
	Capabilities: [a0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 3 (rev 04) (prog-if 00 [Normal decode])
	Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size: 0x08 (32 bytes)
	Bus: primary=00, secondary=02, subordinate=04, sec-latency=0
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
	Capabilities: [40] #10 [0141]
	Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Capabilities: [90] #0d [0000]
	Capabilities: [a0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #1 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 4: I/O ports at 1820 [size=32]

0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #2 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 11
	Region 4: I/O ports at 1840 [size=32]

0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #3 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin C routed to IRQ 10
	Region 4: I/O ports at 1860 [size=32]

0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #4 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin D routed to IRQ 10
	Region 4: I/O ports at 1880 [size=32]

0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB2 EHCI Controller (rev 04) (prog-if 20 [EHCI])
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at b0040000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] #0a [20a0]

0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
(prog-if 01 [Subtractive decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Bus: primary=00, secondary=06, subordinate=07, sec-latency=216
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: b0100000-b01fffff
	Prefetchable memory behind bridge: 0000000030000000-0000000032f00000
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
	Capabilities: [50] #0d [0000]

0000:00:1e.2 Multimedia audio controller: Intel Corporation
82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at 1c00 [size=256]
	Region 1: I/O ports at 18c0 [size=64]
	Region 2: Memory at b0040800 (32-bit, non-prefetchable) [size=512]
	Region 3: Memory at b0040400 (32-bit, non-prefetchable) [size=256]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME+

0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97
Modem Controller (rev 04) (prog-if 00 [Generic])
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 10
	Region 0: I/O ports at 2400 [size=256]
	Region 1: I/O ports at 2000 [size=128]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge
(rev 04)
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0

0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) IDE Controller (rev 04) (prog-if 8a [Master SecP PriP])
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at <unassigned>
	Region 1: I/O ports at <unassigned>
	Region 2: I/O ports at <unassigned>
	Region 3: I/O ports at <unassigned>
	Region 4: I/O ports at 1810 [size=16]

0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus
Controller (rev 04)
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Interrupt: pin B routed to IRQ 11
	Region 4: I/O ports at 20a0 [size=32]

0000:06:01.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 168, Cache Line Size: 0x10 (64 bytes)
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at b0108000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=06, secondary=07, subordinate=08, sec-latency=176
	Memory window 0: 30000000-31fff000 (prefetchable)
	Memory window 1: 34000000-35fff000
	I/O window 0: 00003000-000030ff
	I/O window 1: 00003400-000034ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001

0000:06:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
	Subsystem: Intel Corporation: Unknown device 2701
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 32 (750ns min, 6000ns max), Cache Line Size: 0x08 (32 bytes)
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at b010b000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-

0000:06:08.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 02)
	Subsystem: Acer Incorporated [ALI]: Unknown device 0066
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort-
<MAbort- >SERR- <PERR-
	Latency: 32
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at b0106000 (32-bit, non-prefetchable) [size=8K]
	Expansion ROM at 32000000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=2 PME-

4. acpidump is too large to post (max is apparently 65536 chars)
Comment 1 Ron Murray 2006-01-08 14:08:25 UTC
Created attachment 6970 [details]
Output of dmidecode
Comment 2 Ron Murray 2006-01-08 14:09:22 UTC
Created attachment 6971 [details]
Output of acpidump
Comment 3 Luming Yu 2006-02-07 01:07:58 UTC
>>Checking 'hlt' instruction... OK.
>>    ACPI-0284: *** Info: Table [DSDT] replaced by host OS

Please re-test without overriding DSDT.
Comment 4 Gilles PI 2006-04-02 03:10:22 UTC
I have the same problem on an Acer TravelMate 4062LMi on Ubuntu Dapper, using or
not a custom DSDT.

acpid log :
[Sun Apr  2 11:59:56 2006] received event "button/lid LID 00000080 0000002f"
[Sun Apr  2 11:59:56 2006] notifying client 4014[114:114]
[Sun Apr  2 11:59:56 2006] completed event "button/lid LID 00000080 0000002f"
[Sun Apr  2 11:59:56 2006] received event "button/lid LID 00000080 00000030"
[Sun Apr  2 11:59:56 2006] notifying client 4014[114:114]
[Sun Apr  2 11:59:56 2006] completed event "button/lid LID 00000080 00000030"
[Sun Apr  2 11:59:56 2006] received event "button/lid LID 00000080 00000031"
[Sun Apr  2 11:59:56 2006] notifying client 4014[114:114]
[Sun Apr  2 11:59:56 2006] completed event "button/lid LID 00000080 00000031"
[Sun Apr  2 11:59:58 2006] received event "button/lid LID 00000080 00000032"
Comment 5 Gilles PI 2006-04-02 03:11:39 UTC
Created attachment 7739 [details]
dmesg output (Acer 4062LMi, no custom DSDT)
Comment 6 Gilles PI 2006-04-02 03:12:36 UTC
Created attachment 7740 [details]
acpidump log (Acer 4062LMi, no custom DSDT)
Comment 7 Gilles PI 2006-04-02 03:13:37 UTC
Created attachment 7741 [details]
lspci -v (Acer 4062LMi, no custom DSDT), probably useless
Comment 8 Gilles PI 2006-04-02 03:14:20 UTC
Created attachment 7742 [details]
dmidecode output (Acer 4062LMi, no custom DSDT)
Comment 9 John Dong 2006-05-07 18:48:53 UTC
Also confirmed here, on Ubuntu Dapper + Acer Aspire 5670. When the lid is
closed, /proc/acpi/event generates LID events endlessly!
Comment 10 Len Brown 2006-08-10 01:05:46 UTC
for each failing machine, please attach the complete output
of dmesg -s64000 and paste /proc/interrupts.

Also, please kill acpid, and verify that each button press
results in a single increment to the acpi line in /proc/interrupts
Comment 11 Gilles PI 2006-08-10 15:28:28 UTC
Created attachment 8755 [details]
dmesg -s6400 on a TravelMate 4062LMi
Comment 12 Gilles PI 2006-08-10 15:29:23 UTC
Created attachment 8756 [details]
/proc/interrupts on TravelMate 4062LMi
Comment 13 Gilles PI 2006-08-10 15:37:35 UTC
gilles@colibri:~$ sudo killall acpid
gilles@colibri:~$ cat /proc/interrupts
           CPU0
  0:   69714450    IO-APIC-edge  timer
  1:     404177    IO-APIC-edge  i8042
  8:         14    IO-APIC-edge  rtc
  9:    4135157   IO-APIC-level  acpi
 12:   14485127    IO-APIC-edge  i8042
 14:    5483332    IO-APIC-edge  ide0
169:    8479724   IO-APIC-level  ipw2200
177:   18559512   IO-APIC-level  uhci_hcd:usb4, HDA Intel,
i915@pci:0000:00:02.0, eth1
185:       3490   IO-APIC-level  uhci_hcd:usb3, yenta
225:          2   IO-APIC-level  uhci_hcd:usb1, ehci_hcd:usb5
233:          0   IO-APIC-level  uhci_hcd:usb2
NMI:          0
LOC:   69714261
ERR:          0
MIS:          0

--- Closing the lid, reopening it : ---
gilles@colibri:~$ cat /proc/interrupts
           CPU0
  0:   69718173    IO-APIC-edge  timer
  1:     404203    IO-APIC-edge  i8042
  8:         14    IO-APIC-edge  rtc
  9:    4135663   IO-APIC-level  acpi
 12:   14485127    IO-APIC-edge  i8042
 14:    5483598    IO-APIC-edge  ide0
169:    8480112   IO-APIC-level  ipw2200
177:   18560210   IO-APIC-level  uhci_hcd:usb4, HDA Intel,
i915@pci:0000:00:02.0, eth1
185:       3490   IO-APIC-level  uhci_hcd:usb3, yenta
225:          2   IO-APIC-level  uhci_hcd:usb1, ehci_hcd:usb5
233:          0   IO-APIC-level  uhci_hcd:usb2
NMI:          0
LOC:   69717984
ERR:          0
MIS:          0
gilles@colibri:~$


Not sure what you meant by "a single increment", so I gave all the output ;)
Comment 14 Andrea Franco 2006-08-18 03:57:03 UTC
Created attachment 8825 [details]
Acer Aspire 1692 WLMi DDR2

I've got the same problem with an Acer Aspire 1962
Comment 15 Andrea Franceschini 2006-08-19 13:18:55 UTC
Created attachment 8835 [details]
Acer Aspire 1652 WLMi

Buggy here too for bug 5853
Comment 16 R. Bosch 2006-08-24 14:35:50 UTC
Same problem with a Acer travelMate 3000 (3002WTMi)
Tested both with and without custom DSDT.
OS:     Gentoo Linux
Kernel: suspend2-sources-2.6.17-r4
Acpid:  1.0.4-r3

tried 'cat /proc/acpi/event' and run a script like this:
date >> temp
sleep 1s
date >> temp
dd if=/proc/acpi/event count=512 >> temp
sleep 1s
echo >> temp
date >> temp
dd if=/proc/acpi/event count=512 >> temp

Push the button to simuate a closing lid and then release. If you used a script
like above read temp. Apearently acpid can't keep up.
As long as the lid-button is pressed, a counter keeps running. Is this software
or harware?
Acpid might need to make sure a sertain situation takes longer than a ms before
asuming a stable state. In worst case, polling :(

my 2 cents.
Comment 17 Stephan Dale 2006-09-04 15:17:19 UTC
Also on Acer Travelmate 8104WLMi running 2.6.17-gentoo-r4 or 2.6.17-gentoo-r9.

Output of /var/log/acpid:

...
[Mon Sep  4 17:32:43 2006] received event "button/lid LID 00000080 00000089"
[Mon Sep  4 17:32:43 2006] completed event "button/lid LID 00000080 00000089"
[Mon Sep  4 17:32:43 2006] received event "button/lid LID 00000080 0000008a"
[Mon Sep  4 17:32:43 2006] completed event "button/lid LID 00000080 0000008a"
[Mon Sep  4 17:32:43 2006] received event "button/lid LID 00000080 0000008b"
[Mon Sep  4 17:32:43 2006] completed event "button/lid LID 00000080 0000008b"
... 
Comment 18 Stephan Dale 2006-09-04 15:18:42 UTC
Created attachment 8938 [details]
dmesg -s40000
Comment 19 Stephan Dale 2006-09-04 15:19:40 UTC
Created attachment 8939 [details]
dmidecode
Comment 20 Stephan Dale 2006-09-04 15:20:16 UTC
Created attachment 8940 [details]
lspci -vv
Comment 21 Stephan Dale 2006-09-04 15:20:44 UTC
Created attachment 8941 [details]
cat /proc/interrupts
Comment 22 Stephan Dale 2006-09-04 15:23:01 UTC
Forgot to mention, I'm using acpid-1.0.4-r3. 100% CPU usage can be avoided by
removing all events/actions that are triggered from the lid event. However, the
"received event" and "completed event" messages are still continuously written
to the logs while the lid is closed.
Comment 23 Virgil Bucoci 2006-11-18 09:59:59 UTC
Same symtomps with kernel 2.6.18.2 on Acer TravelMate 2482NWXMi.
Stopping acpid has no effect as the interrupts are continously
generated and the CPU load remains 100%.
Comment 24 Patrick de Pinguin 2007-01-16 02:09:33 UTC
What is the status of this bug? Is there a fix yet?
We are now a year later, and I still experience the same on an Acer Aspire 5672.
Thanks.
Comment 25 Jools Wills 2007-02-25 12:05:26 UTC
To confirm I also have this problem on a Acer Travelmate 8104. the LID causes 
repeating ACPI events. Buggy Acers :/
Comment 26 Patrick de Pinguin 2007-03-12 09:24:44 UTC
Created attachment 10720 [details]
output of /var/log/acpid for an aspire 5672
Comment 27 Patrick de Pinguin 2007-03-12 09:27:38 UTC
I attached my /var/log/acpid output. This is for an Acer Aspire 5672.

Is there anyone from the kernel developers actually looking into this bug, or is
there any information available on this? I am using a 2.6.20 kernel and the bug
is still present.
Comment 28 Patrick de Pinguin 2007-03-12 09:32:40 UTC
Created attachment 10721 [details]
/proc/interrupts for aspire 5672
Comment 29 Len Brown 2007-03-13 00:47:40 UTC
All of these Acers seem to have:

IOAPIC mode
ACPI non-shared on IRQ9
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(though a few of the dmesg didn't go back far enough to tell)

They all had a huge number of acpi interrupts even before
the lid was closed.

what hapens with "acpi_sci=low"?

if the storm goes away, see if a single power button press
results in a single increment to the acpi line in /proc/interrupts,
or if we disable them all by doing this.

what happens with "noapic"?
Comment 30 Patrick de Pinguin 2007-03-13 02:42:03 UTC
With acpi_pci=low, the only messages in /var/log/acpid when closing the lid, and
then resuming from standby are:
[Tue Mar 13 10:29:47 2007] received event "ac_adapter ACAD 00000080 00000000"
[Tue Mar 13 10:29:47 2007] notifying client 4238[0:0]
[Tue Mar 13 10:29:47 2007] notifying client 6403[102:441]
[Tue Mar 13 10:29:47 2007] notifying client 7390[0:0]
[Tue Mar 13 10:29:47 2007] client has disconnected
[Tue Mar 13 10:29:47 2007] executing action "/etc/acpi/default.sh ac_adapter
ACAD 00000080 00000000"
[Tue Mar 13 10:29:47 2007] BEGIN HANDLER MESSAGES
[Tue Mar 13 10:29:47 2007] END HANDLER MESSAGES
[Tue Mar 13 10:29:47 2007] action exited with status 0
[Tue Mar 13 10:29:47 2007] executing action "/etc/acpi/ati-powermode.sh"
[Tue Mar 13 10:29:47 2007] BEGIN HANDLER MESSAGES
Lid Open


This seems normal (however, there seems to be no event about closing the lid...).

The bootup with this kernel parameter went more slowly, and during the beginning
I saw a message about a PCI Quirk, which caused the boot process to sit there
for a while. I cannot find this in a log. I will try to write it down next time.

For the "acpi line" in /proc/interrupts, I suppose you mean this line, right?
  9:      16828         91   IO-APIC-fasteoi   acpi
(two CPU's).

When pressing the power button, none of these two numbers increases. (Note that
you should using AC while doing this test, because otherwise the count gets
increased all the time due to battery events).

I will try noapic later today. Let me know if you need more info.
Comment 31 Patrick de Pinguin 2007-03-13 04:30:57 UTC
After a second thought, the pci quirk message was there before as well. It was
just more apparent now since the boot paused on that screen.

While going on standby worked with acpi_sci=low, it crashed my computer with
noapic. Therefore I could not check the acpi messages. Is anyone else
experiencing the same?

Has this information helped you in any way?
Thanks for looking into this, Thomas
Comment 32 Len Brown 2007-03-13 22:49:08 UTC
yes, acpi_irq=low is not intended to be used with "noapic" --
just use "noapic" all by itself.
Comment 33 Felix Bechstein 2007-06-06 02:54:50 UTC
booting with noapic changes nothing on my Acer TravelMate 3022 WTMi.

booting with acpi_sci=low does:
1. booting is very slow
2. pressing the lid button does not make any interrupt
3. pressing other acpi button does not make any interrupt
4. kde hangs during battery-check-update

so. its unusable for me.
Comment 34 Jools Wills 2007-07-07 03:28:21 UTC
What can we do to progress this further ?
Comment 35 Juho-Mikko Pellinen 2007-07-11 05:15:13 UTC
I have had this on my computer ( Acer Travelmate 4041Wlmi ) also for the whole time I have had it. This is not critical, but irritating when someone accidentally closes the lid.

I wish I could do something for this, because otherwise my computer is supported perfectly in Linux.
Comment 36 Juho-Mikko Pellinen 2007-07-11 05:22:48 UTC
Created attachment 11999 [details]
dmesg, interrupts and grub kernel boot-line in single file

Ok. Here is my dmesg, /proc/interrupts and kernel boot-line.
Comment 37 Fu Michael 2007-09-19 01:24:56 UTC
bug reviewed. Rui to write a debug patch for GPE cleanup to see if it works..
Comment 38 Zhang Rui 2007-09-20 00:22:43 UTC
Hi,
Please try:
echo 0x04 >/sys/module/acpi/parameters/debug_layer
echo 0xffffffff > /sys/module/acpi/paramters/debug_level
dmesg -c
close the lid for a few seconds
and attach the dmesg output.
Comment 39 Felix Bechstein 2007-09-20 01:00:05 UTC
Created attachment 12875 [details]
dmesg -c  after closing lid for a few seconds (debug on)
Comment 40 Shaohua 2007-09-20 02:20:16 UTC
Flelix, can you post your acpidump? your dmesg doesn't match with previous acpidump.
Comment 41 Zhang Rui 2007-09-20 02:44:05 UTC
Created attachment 12876 [details]
debug patch

Hi,Felix,
First please attach the acpidump output as Shaohua said,
and then please apply this debug patch and do the same test again.
you can echo 0x8800001f >/sys/module/acpi/parameters/debug_level
instead of 0xffffffff.
Comment 42 Felix Bechstein 2007-09-20 02:44:37 UTC
Created attachment 12877 [details]
acpidump from acer travelmate 3022 wtmi
Comment 43 Felix Bechstein 2007-09-20 04:09:51 UTC
Created attachment 12878 [details]
dmesg -c  after closing lid for a few seconds (debug on, patched)
Comment 44 Zhang Rui 2007-09-21 00:31:46 UTC
Hmm,
it seems that we keep on receiving ec GPE events.
could you please boot with ec_intr=0?
Comment 45 Felix Bechstein 2007-09-23 23:09:22 UTC
Created attachment 12913 [details]
dmesg -c  after closing lid for a few seconds (debug on, patched, ec_intr=0)
Comment 46 Zhang Rui 2007-09-26 23:01:24 UTC
Hi, Felix,
Thanks for you information.
Nothing interesting so far. :(
Please make sure the ACPI button driver is compiled and loaded as there is no notify handler for lid events from your dmesg output.

This is probably an ec related issue, add Alexey in the loop. :)
Comment 47 Felix Bechstein 2007-09-27 22:16:17 UTC
Created attachment 12975 [details]
same as before but with button loaded

i didn't load button to get rid of acpid log spam :x
Comment 48 Zhang Rui 2007-11-05 18:50:42 UTC
Created attachment 13409 [details]
disable ec gpe while executing ec gpe handler

This patch disables the ec gpe while handling the ec events.
Please try this patch.
Comment 49 Felix Bechstein 2007-11-05 23:17:20 UTC
i can't compile:

  CC      drivers/acpi/ec.o
drivers/acpi/ec.c: In function ‘acpi_ec_gpe_handler’:
drivers/acpi/ec.c:485: error: ‘struct acpi_ec’ has no member named ‘common’
drivers/acpi/ec.c:497: error: ‘struct acpi_ec’ has no member named ‘common’

kernel is patched with latest gentoo, tuxonice patches and the two patches from above.
Comment 50 Zhang Rui 2007-11-05 23:26:05 UTC
Created attachment 13411 [details]
patch: disable ec gpe while handling ec events

Oops, that one is quite old, please try this one. :)
Comment 51 Felix Bechstein 2007-11-06 00:05:20 UTC
Created attachment 13412 [details]
dmesg -c  after closing lid for a few seconds (debug on, patched, ec_intr=0, button loaded)
Comment 52 Felix Bechstein 2007-11-06 00:08:59 UTC
with this patch the acpid got 2-3 events for closing the lid, and 2-3 for opening it again. but this might be a hardware problem.
Comment 53 Zhang Rui 2007-11-06 00:09:54 UTC
is there any difference if you remove the boot option "ec_intr=0"?
Comment 54 Felix Bechstein 2007-11-06 00:33:49 UTC
no difference in acpid's output. it still receives 3 events for each action.
Comment 55 Zhang Rui 2007-11-06 00:44:55 UTC
>with this patch the acpid got 2-3 events for closing the lid
is this different without the patch in comment#50 applied?

hmmm, could you please send the dmesg after closing lid for a few seconds (debug on, patched, button loaded)?
and please attach the acpid log as well, both with and without the patch in comment#50 if they are different.
Comment 56 Felix Bechstein 2007-11-06 01:52:36 UTC
Created attachment 13418 [details]
acpid's log  after closing lid for a few seconds (debug on, patched, button loaded)
Comment 57 Felix Bechstein 2007-11-06 01:53:08 UTC
Created attachment 13419 [details]
dmesg -c  after closing lid for a few seconds (debug on, patched, button loaded)
Comment 58 Felix Bechstein 2007-11-06 02:21:18 UTC
Created attachment 13420 [details]
acpid's log  after closing lid for a few seconds (debug on, button loaded)
Comment 59 Felix Bechstein 2007-11-06 02:22:18 UTC
Created attachment 13421 [details]
dmesg -c  after closing lid for a few seconds (debug on, button loaded)
Comment 60 ykzhao 2007-12-18 22:36:54 UTC
Hi, Felix
please check if there is any BIOS update for your laptop.
Comment 61 Felix Bechstein 2007-12-18 23:13:31 UTC
i did an update 1 or 2 month ago. (there is no new one)
i am not sure why, but everything seems to be ok now. i can close the lid without interrupt storm. it seems to be fired only trice.
Comment 62 Zhang Rui 2007-12-18 23:23:03 UTC
Hmm, good news to me. :)
I'll close this bug and mark it as UNREPRODUCIBLE.
Please reopen it if the interrupt storm occurs again.
Comment 63 Jools Wills 2007-12-20 09:46:06 UTC
I still have this problem, despite upgrading the bios to the latest version a few weeks ago. My laptop is a travelmate 8104. As soon as I press the lid button, I get constant acpi interrupts.
Comment 64 ykzhao 2007-12-20 16:55:38 UTC
Hi, Jool
Will you please open a new bug about your laptop?
Please attach the output of dmesg , lspci -vvxxx and acpidump. 
Thanks.
Comment 65 Zhang Rui 2007-12-20 17:13:14 UTC
Jools, please open another bug and attach all the debug information there,
include the dmesg, lspci -vvxxx, acpidump and do the following test:
echo 0x04 >/sys/module/acpi/parameters/debug_layer
echo 0x8800001f > /sys/module/acpi/paramters/debug_level
dmesg -c
close the lid for a few seconds
and attach the dmesg output.
Comment 66 Christoph Kindl 2008-03-18 16:00:11 UTC
Hi,

I had exactly the same problem with my Acer Aspire 1694WLMi (with acpid and laptop-mode-tools installed on my ARCH Linux). This was caused by the laptop-mode-tools, which installed some events files and action scripts under /etc/acpi/events and /etc/acpi/actions for the acpid. 
These scripts or the event files caused some kind of feedback, they were started again and again. I removed these scripts and the problem was gone.

Maybe your problem is also caused by any action script for acpid..
Comment 67 Jools Wills 2008-04-19 07:53:03 UTC
Whether or not the acpid is running, the acpi events are triggered/interrupts created. stop acpid and run "sudo cat /proc/acpi/event" and close the lid/press the lid button for a few seconds and you will see multiple lines of output whereas it should be one event for lid closed and one for lid open (not continuous events)
Comment 68 Jools Wills 2008-04-19 07:53:37 UTC
I have opened a new bug as suggested for my laptop model here
http://bugzilla.kernel.org/show_bug.cgi?id=10485