Bug 5345 - ACPI related failure with recent kernels - IBM Thinkpad R30
Summary: ACPI related failure with recent kernels - IBM Thinkpad R30
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Interrupts (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Len Brown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-01 23:39 UTC by Justin Burket
Modified: 2006-02-16 04:29 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.14-rc2
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Config for Machine in question (10.92 KB, application/x-gzip)
2005-10-01 23:45 UTC, Justin Burket
Details

Description Justin Burket 2005-10-01 23:39:47 UTC
Most recent kernel where this bug did not occur: 
Debian Stock Kernel: 2.6.8 boots fine.  If you like I can try other version as well.

Distribution: Debian unstable

Hardware Environment: IBM Thinkpad R30
-BIOS Version 1.38 (latest from IBM)
-Celeron 900
-Stock CDROM 
Further information on this machine: http://www.thinkwiki.org/wiki/Category:R30

Software Environment:
Nothing special, Framebuffer is enabled for the Trident, running an X server.

Problem Description:
The following happens with 2.6.14-rc2 and most previous kernels.  I can't remember exactly when it 
started happening (sorry).  The stock debian kernel does boot though, 2.6.8.

Booting without acpi=off results in "irq 15: nobody cared (try booting with the "irqpoll" option)"
---------------------------------------------------------------------------------------
[<c01367fa>] __report_bad_irq+0x2a/0xa0
[<c0136910>] note_interrupt+0x80/0xf0
[<c01361a0>] __do_IRQ+0xd0/0xe0
[<c0105319>] do_IRQ+0x19/0x30
[<c0103b12>] common_interrupt+0x1a/0x20
[<c011c2be>] __do_softirq+0x2e/0x90
[<c011c346>] do_softirq+0x26/0x30
[<c011c415>] irq_exit+0x35/0x40
[<c010531e>] do_IRQ+0x1e/0x30
[<c0103b12>] common_interrupt+0x1a/0x20
[<c013007b>] do_futex+0x1b/0xc0
[<c0136452>] setup_irq+0xb2/0x130
[<c01409d1>] cache_grow+0x121/0x1b0
[<c02a8500>] ide_intr+0x0/0x1a0
[<c0136665>] request_irq+0x85/0xa0
[<c02ac4cd>] init_irq+0x17d/0x480
[<c02a8500>] ide_intr+0x0/0x1a0
[<c02accdd>] hwif_init+0xdd/0x260
[<c02ac0f6>] probe_hwif_init_with_fixup+0x26/0x90
[<c02af742>] ide_setup_pci_device+0x92/0xb0
[<c03e9f3d>] ide_scan_pcidev+0x5d/0x70
[<c03e9f97>] ide_scan_pcibus+0x47/0xd0
[<c03e9e60>] probe_for_hwifs+0x10/0x20
[<c03e9ec0>] ide_init+0x50/0x70
[<c03d48cc>] do_initcalls+0x2c/0xc0
[<c01002a0>] init+0x0/0x160
[<c01002a0>] init+0x0/0x160
[<c01002cf>] init+0x2f/0x160
[<c0101384>] kernel_thread_helper+0x0/0xc
[<c0101389>] kernel_thread_helper+0x5/0xc
handlers:
[<c02a8500>] (ide_intr+0x0/0x1a0)
Disabling IRQ #15 
---------------------------------------------------------------------------------------
This is all prior to loading of the ide-cd module.  Once the module is loaded I see this:
ide-cd: cmd 0x5a timed out
hdc: lost interrupt

Booting with irqpoll in the command line results in the ide-cd module loading properly.  After reading 
about a few more bugs like this one it seems that irqpoll is masking the issue.  I moved instead to 
booting with acpi=off

The problem is the same even with pci=routeirq

And now for some more log messages, first lspci -vv
---------------------------------------------------------------------------------------
[~]lspci -vv
0000:00:00.0 Host bridge: ALi Corporation M1621 (rev 01)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- 
FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort+ 
>SERR- <PERR+
        Latency: 0
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: <available only to root>

0000:00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (rev 01) (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
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: 80500000-818fffff
        BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-

0000:00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device 
(rev 01)
        Subsystem: IBM ThinkPad R30
        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 (500ns min, 6000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 9400 [size=256]
        Region 1: Memory at 81c00000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <available only to root>

0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
        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
        Capabilities: <available only to root>

0000:00:0a.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 0d)
        Subsystem: IBM ThinkPad R30
        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 (2000ns min, 14000ns max), Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 81a00000 (32-bit, non-prefetchable) [size=4K]
        Region 1: I/O ports at 9000 [size=64]
        Region 2: Memory at 81a20000 (32-bit, non-prefetchable) [size=128K]
        Expansion ROM at 81a40000 [disabled] [size=64K]
        Capabilities: <available only to root>

0000:00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c3) (prog-if fa)
        Subsystem: IBM ThinkPad R30
        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 (500ns min, 1000ns max)
        Interrupt: pin A routed to IRQ 15
        Region 4: I/O ports at 7050 [size=16]
        Capabilities: <available only to root>

0000:00:11.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
        Subsystem: IBM ThinkPad R30
        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-

0000:00:13.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
        Subsystem: IBM ThinkPad R30
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- 
FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- 
>SERR- <PERR-
        Latency: 168
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 24000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 20000000-21fff000 (prefetchable)
        Memory window 1: 22000000-23fff000
        I/O window 0: 00001000-00001fff
        I/O window 1: 00002000-00002fff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
        16-bit legacy interface ports at 0001

0000:00:14.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        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 (20000ns max), Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 81e00000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <available only to root>

0000:01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 5d) (prog-if 00 
[VGA])
        Subsystem: IBM ThinkPad R30/T30
        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
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 80800000 (32-bit, non-prefetchable) [size=8M]
        Region 1: Memory at 80500000 (32-bit, non-prefetchable) [size=128K]
        Region 2: Memory at 81000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at 80520000 [disabled] [size=64K]
        Capabilities: <available only to root>
---------------------------------------------------------------------------------------
The grand and holy dmesg
---------------------------------------------------------------------------------------
[~]dmesg
Linux version 2.6.14-rc2-beantop.1 (root@steamroller) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 
PREEMPT Wed Sep 21 13:23:52 AKDT 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000177e0000 (usable)
 BIOS-e820: 00000000177e0000 - 00000000177f0000 (reserved)
 BIOS-e820: 00000000177f0000 - 00000000177f8000 (ACPI data)
 BIOS-e820: 00000000177f8000 - 0000000017800000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
375MB LOWMEM available.
On node 0 totalpages: 96224
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 92128 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
Allocating PCI resources starting at 20000000 (gap: 17800000:e87f0000)
Built 1 zonelists
Kernel command line: root=/dev/hda3 ro acpi=off
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (012f1000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 896.841 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 377676k/384896k available (2291k kernel code, 6796k reserved, 595k data, 236k init, 0k 
highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1796.77 BogoMIPS (lpj=3593553)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383f9ff 
00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff 
00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000
CPU: Intel Celeron (Coppermine) stepping 0a
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xf0200, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter disabled.
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
PCI: Using ALI IRQ Router
PCI: Using IRQ router ALI [10b9/1533] at 0000:00:07.0
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: 80500000-818fffff
  PREFETCH window: disabled.
PCI: Bus 2, cardbus bridge: 0000:00:13.0
  IO window: 00001000-00001fff
  IO window: 00002000-00002fff
  PREFETCH window: 20000000-21ffffff
  MEM window: 22000000-23ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
PCI: Found IRQ 11 for device 0000:00:13.0
SGI XFS with no debug enabled
Initializing Cryptographic API
Activating ISA DMA hang workarounds.
tridentfb: Trident framebuffer 0.7.8-NEWAPI initializing
tridentfb: framebuffer size = 8192 Kb
tridentfb: 0000:01:00.0 board found
tridentfb: 1024x768 flat panel found
Console: switching to colour frame buffer device 80x30
tridentfb: fb0: Trident frame buffer device 640x480-8bpp
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
e100: Intel(R) PRO/100 Network Driver, 3.4.14-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
PCI: Found IRQ 11 for device 0000:00:0a.0
e100: eth0: e100_probe: addr 0x81a00000, irq 11, MAC addr 00:00:E2:6D:3E:67
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:10.0
ALI15X3: chipset revision 195
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x7050-0x7057, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x7058-0x705f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: TOSHIBA MK6412MAT, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: CD-224E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 12685680 sectors (6495 MB), CHS=13424/15/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3
PCI: Found IRQ 11 for device 0000:00:13.0
Yenta: CardBus bridge found at 0000:00:13.0 [1014:020c]
Yenta O2: res at 0x94/0xD4: 00/ea
Yenta O2: enabling read prefetch/write burst
Yenta: ISA IRQ mask 0x06b8, PCI irq 11
Socket status: 30000007
mice: PS/2 mouse device common for all mice
EISA: Probing bus 0 at eisa.0
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard on isa0060/serio0
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
XFS mounting filesystem hda3
IBM TrackPoint firmware: 0x0e, buttons: 3/3
input: TPPS/2 IBM TrackPoint on isa0060/serio1
Ending clean XFS mount for filesystem: hda3
VFS: Mounted root (xfs filesystem) readonly.
Freeing unused kernel memory: 236k freed
NET: Registered protocol family 1
Adding 489972k swap on /dev/hda2.  Priority:-1 extents:1 across:489972k
SCSI subsystem initialized
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
PCI: Found IRQ 10 for device 0000:00:14.0
ohci_hcd 0000:00:14.0: OHCI Host Controller
ohci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:14.0: irq 10, io mem 0x81e00000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected ALi M1632 chipset
agpgart: AGP aperture is 64M @ 0xf0000000
PCI: Found IRQ 11 for device 0000:00:06.0
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
NET: Registered protocol family 17
pcmcia: Detected deprecated PCMCIA ioctl usage.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you 
upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
cs: IO port probe 0x100-0x4ff: excluding 0x200-0x207 0x220-0x22f 0x330-0x337 0x388-0x38f 
0x3b8-0x3df 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xa00-0xaff: clean.
parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
lp0: using parport0 (polling).
---------------------------------------------------------------------------------------
Comment 1 Justin Burket 2005-10-01 23:41:34 UTC
Sorry about that, I forgot to tell you that booting with acpi=off removes all errors and results in a 
system that works just fine.  Although i'm rather fond of the ACPI functions on this machine.

Justin Burket
Comment 2 Justin Burket 2005-10-01 23:45:17 UTC
Created attachment 6210 [details]
Config for Machine in question

Machine is called: beantop, don't ask me why :)
Comment 3 Justin Burket 2005-10-01 23:56:56 UTC
Booting with pci=noacpi boots just fine however the machine stalls when attempting to sort out the 
soundcard.  Messages:

PCI: Found IRQ 11 for device 0000:00:06.0
AC'97 0 does not respond - RESET
AC'97 0 access is not valid [0xffffffff], removing mixer.
ali mixer 0 creating error.
ALI 5451: probe of 0000:00:06.0 failed with error -5

Weeeee....think i'll compile 2.6.14-rc3 and see how that goes :)
Comment 4 Len Brown 2005-10-06 21:47:00 UTC
Please try booting with "pci=routeirq"
 
Please attach (don't paste) the dmesg from the "acpi=off" case.

Note that as a workaround,
"acpi=noirq" will probably give you the "acpi=off" functionality
and in some cases may still allow ACPI features to function.

> Host bridge: ALi Corporation M1621

Hmm, I didn't realize that an R30 is so different from a T30.
I've got a T30, which has an Intel chipset (and it works fine:-)
Comment 5 Adrian Bunk 2006-02-16 04:29:06 UTC
Please reopen this bug if:
- it is still present in recent 2.6 kernels and
- you can provide the requested information.

Note You need to log in before you can comment on or make changes to this bug.