[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

demudi - pcmcia issues - Compaq Evo n610c



Hi, (cross posted from users@lists.demudi.org)

I'm having troubles with PCMCIA on my Compaq Evo n610c laptop.

With the 2.6.12-3-multimedia-686 kernel (as downloaded using apt from
the demudi server), yenta_socket regularly hangs on boot, sometimes
finding the first slot, sometimes after the second slot. When Yenta
doesn't hang, PCMCIA works fine usually - although sometimes the system
hangs when I insert a card. I'm using an old 16-bit modem PCMCIA card
(which has a tendency to overheat, but that's another issue). The modem
gets assigned IRQ 3.

With the 2.6.13-1-multimedia-386 kernel, yenta_socket still hangs
occasionally, but when it doesn't, inserting the modem seems to work (it
beeps a couple of times) but examining the logs, it's getting assigned
IRQ 11, and then the kernel is instantly disabling IRQ 11.

(dmesg output: irq11 being disabled)

...
pcmcia: parent PCI bridge I/O window: 0x2000 - 0x2fff
pcmcia: parent PCI bridge Memory window: 0x40000000 - 0x404fffff
pcmcia: parent PCI bridge Memory window: 0x42000000 - 0x45ffffff
Realtime LSM initialized (group 29, mlock=1)
cs: memory probe 0x40000000-0x404fffff: excluding 0x40000000-0x4009ffff
0x400f0000-0x4018ffff 0x401e0000-0x4022ffff 0x40280000-0x4031ffff
0x40370000-0x4040ffff
cs: memory probe 0x42000000-0x45ffffff: excluding 0x42000000-0x45ffffff
irq 11: nobody cared (try booting with the "irqpoll" option)
 [<c0135dea>] __report_bad_irq+0x22/0x78 (8)
 [<c0135ec4>] note_interrupt+0x68/0xb0 (8)
 [<c0135b59>] do_hardirq+0xd9/0x108 (28)
 [<c0135b88>] do_irqd+0x0/0x80 (32)
 [<c0135bdd>] do_irqd+0x55/0x80 (8)
 [<c012a733>] kthread+0x8b/0x90 (16)
 [<c012a6a8>] kthread+0x0/0x90 (16)
 [<c01012e9>] kernel_thread_helper+0x5/0xc (12)
handlers:
[<f8a637e8>] (yenta_interrupt+0x0/0xbc [yenta_socket])
[<f8a637e8>] (yenta_interrupt+0x0/0xbc [yenta_socket])
[<f8a405d4>] (e100_intr+0x0/0x130 [e100])
Disabling IRQ #11
ttyS1 at I/O 0x2f8 (irq = 11) is a 16550A





As per the message, I tried booting with the 'irqpoll' option - unsure
whether it meant 'pci=irqpoll' or just 'irqpoll', so i ran with just
'irqpoll' and got this:

...
NET: Registered protocol family 23
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
input: PC Speaker
agpgart: Detected an Intel i845 Chipset.
agpgart: AGP aperture is 256M @ 0x60000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:\_SB_.C045 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
BUG: Unable to handle kernel paging request at virtual address f8b165f9
 printing eip:
f8b165f9
*pde = 1fc80067
*pte = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: pci_hotplug intel_agp pcspkr parport_pc parport
irtty_sir sir_dev irda crc_ccitt floppy ehci_hcd ohci_hcd usbcore e100
mii agpgart tsdev mousedev joydev evdev psmouse ide_cd cdrom
snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event
snd_seq snd_timer snd_seq_device snd soundcore button fan thermal
processor battery ac genrtc ext3 jbd mbcache ide_disk ide_generic
via82cxxx trm290 triflex slc90e66 sis5513 siimage serverworks sc1200
rz1000 piix pdc202xx_old opti621 ns87415 hpt366 hpt34x generic cy82c693
cs5530 cs5520 cmd64x atiixp amd74xx alim15x3 aec62xx pdc202xx_new
ide_core unix
CPU:    0
EIP:    0060:[<f8b165f9>]    Not tainted VLI
EFLAGS: 00010246   (2.6.13-1-multimedia-386)
EIP is at 0xf8b165f9
eax: 00000000   ebx: f8b1d105   ecx: 00000000   edx: c029f7a0
esi: 00000000   edi: 00000000   ebp: 00000000   esp: f7f59fe4
ds: 007b   es: 007b   ss: 0068   preempt: 00000001
Process shpchpd_event (pid: 2312, threadinfo=f7f58000 task=dfd041b0
stack_left=8108 worst_left=-1)
Stack: f8b13de0 c01012e9 00000000 00000000 00000000 00000000 00000000
Call Trace:
 [<c01012e9>] kernel_thread_helper+0x5/0xc (8)
Code:  Bad EIP value.
 <3>hw_random: RNG not detected
shpchp: acpi_shpchprm:\_SB_.C045 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [C0C3] -> GSI 11 (level,
low) -> IRQ 11
Yenta: CardBus bridge found at 0000:02:06.0 [0e11:00b7]
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:02:06.0, mfunc 0x01001002, devctl 0x64
divide error: 0000 [#2]
PREEMPT
Modules linked in: yenta_socket rsrc_nonstatic pcmcia_core pci_hotplug
intel_agp pcspkr parport_pc parport irtty_sir sir_dev irda crc_ccitt
floppy ehci_hcd ohci_hcd usbcore e100 mii agpgart tsdev mousedev joydev
evdev psmouse ide_cd cdrom snd_seq_dummy snd_seq_oss snd_seq_midi
snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd
soundcore button fan thermal processor battery ac genrtc ext3 jbd
mbcache ide_disk ide_generic via82cxxx trm290 triflex slc90e66 sis5513
siimage serverworks sc1200 rz1000 piix pdc202xx_old opti621 ns87415
hpt366 hpt34x generic cy82c693 cs5530 cs5520 cmd64x atiixp amd74xx
alim15x3 aec62xx pdc202xx_new ide_core unix
CPU:    0
EIP:    0060:[<c010341c>]    Not tainted VLI
EFLAGS: 00000246   (2.6.13-1-multimedia-386)
EIP is at divide_error+0x0/0x8
eax: f8a8c000   ebx: f7d08a40   ecx: f657e000   edx: ffffffff
esi: 00000000   edi: f6594000   ebp: f6594000   esp: f6595f08
ds: 007b   es: 007b   ss: 0068   preempt: 00000001
Process IRQ 11 (pid: 2610, threadinfo=f6594000 task=dfdf3730
stack_left=7888 worst_left=-1)
Stack: c010341c 00000060 00000246 c010341c 00000060 00000246 c010341c
00000060
       00000246 c010341c 00000060 00000246 c010341c 00000060 00000246
c010341c
       00000060 00000246 c010341c 00000060 00000246 c010341c 00000060
00000246
Call Trace:
 [<c010341c>] divide_error+0x0/0x8 (4)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<f8a65274>] yenta_probe_handler+0x18/0x34 [yenta_socket] (12)
 [<c01354a8>] handle_IRQ_event+0x64/0xd4 (12)
 [<c0135ac9>] do_hardirq+0x49/0x108 (48)
 [<c0135b88>] do_irqd+0x0/0x80 (16)
 [<c0135bdd>] do_irqd+0x55/0x80 (8)
 [<c012a733>] kthread+0x8b/0x90 (16)
 [<c012a6a8>] kthread+0x0/0x90 (16)
 [<c01012e9>] kernel_thread_helper+0x5/0xc (12)
Code: eb 09 90 68 0f ff ff ff eb 01 90 fc 06 1e 50 55 57 56 52 51 53 ba
7b 00 00 00 8e da 8e c2 89 e0 e8 e6 15 00 00 e9 1a fd ff ff 90 <6a> 00
68 d0 3c 10 c0 90 1e 50 31 c0 55 57 56 52 48 51 53 fc 06
 prev->state: 2 != TASK_RUNNING??
IRQ 11/2610[CPU#0]: BUG in __schedule at kernel/sched.c:3233
 [<c011839e>] __WARN_ON+0x42/0x60 (8)
 [<c02613eb>] __schedule+0x467/0x694 (48)
 [<c01196da>] exit_notify+0x5de/0x854 (32)
 [<c0119b6a>] do_exit+0x21a/0x3dc (48)
 [<c0103cd0>] do_divide_error+0x0/0x98 (16)
 [<c0103be7>] die+0x157/0x160 (8)
 [<c0103d5c>] do_divide_error+0x8c/0x98 (32)
 [<c010341c>] divide_error+0x0/0x8 (44)
 [<c0106e86>] timer_interrupt+0x3a/0x5c (28)
 [<c010341c>] divide_error+0x0/0x8 (8)
 [<c01354a8>] handle_IRQ_event+0x64/0xd4 (20)
 [<c0135630>] __do_IRQ+0x118/0x140 (32)
 [<c011c1c0>] trigger_softirqs+0x20/0x2c (12)
 [<c0103473>] error_code+0x4f/0x54 (44)
 [<c010341c>] divide_error+0x0/0x8 (44)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<c010341c>] divide_error+0x0/0x8 (12)
 [<f8a65274>] yenta_probe_handler+0x18/0x34 [yenta_socket] (12)
 [<c01354a8>] handle_IRQ_event+0x64/0xd4 (12)
 [<c0135ac9>] do_hardirq+0x49/0x108 (48)
 [<c0135b88>] do_irqd+0x0/0x80 (16)
 [<c0135bdd>] do_irqd+0x55/0x80 (8)
 [<c012a733>] kthread+0x8b/0x90 (16)
 [<c012a6a8>] kthread+0x0/0x90 (16)
 [<c01012e9>] kernel_thread_helper+0x5/0xc (12)
Yenta: ISA IRQ mask 0x0038, PCI irq 11
Socket status: 30000006
pcmcia: parent PCI bridge I/O window: 0x2000 - 0x2fff
pcmcia: parent PCI bridge Memory window: 0x40000000 - 0x404fffff
pcmcia: parent PCI bridge Memory window: 0x42000000 - 0x45ffffff
ACPI: PCI Interrupt 0000:02:06.1[A] -> Link [C0C3] -> GSI 11 (level,
low) -> IRQ 11
Yenta: CardBus bridge found at 0000:02:06.1 [0e11:00b7]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:06.1, mfunc 0x01001002, devctl 0x64
Yenta TI: socket 0000:02:06.1 probing PCI interrupt failed, trying to fix
Yenta TI: socket 0000:02:06.1 no PCI interrupts. Fish. Please report.
Yenta: no PCI IRQ, CardBus support disabled for this socket.
Yenta: check your BIOS CardBus, BIOS IRQ or ACPI settings.
Yenta: ISA IRQ mask 0x0038, PCI irq 0
Socket status: 30000006
pcmcia: parent PCI bridge I/O window: 0x2000 - 0x2fff
pcmcia: parent PCI bridge Memory window: 0x40000000 - 0x404fffff
pcmcia: parent PCI bridge Memory window: 0x42000000 - 0x45ffffff
Realtime LSM initialized (group 29, mlock=1)
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI Interrupt Link [C0C0] enabled at IRQ 11
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [C0C0] -> GSI 11 (level,
low) -> IRQ 11
[drm] Initialized radeon 1.16.0 20050311 on minor 0: ATI Technologies
Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode





Also, looks like I'm getting some kind of failure, including an oops,
near or around shpchp - could be related?

(from this boot - dmesg)

agpgart: Detected an Intel i845 Chipset.
agpgart: AGP aperture is 256M @ 0x60000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:\_SB_.C045 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
hw_random: RNG not detected
shpchp: acpi_shpchprm:\_SB_.C045 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [C0C3] -> GSI 11 (level,
low) -> IRQ 11

(taken from syslog)

Oct 15 13:24:41 localhost kernel: agpgart: Detected an Intel i845 Chipset.
Oct 15 13:24:41 localhost kernel: agpgart: AGP aperture is 256M @ 0x60000000
Oct 15 13:24:41 localhost kernel: pci_hotplug: PCI Hot Plug PCI Core
version: 0.5
Oct 15 13:24:41 localhost kernel: shpchp: acpi_shpchprm:\_SB_.C045
evaluate _BBN fail=0x5
Oct 15 13:24:41 localhost kernel: shpchp: acpi_shpchprm:get_device PCI
ROOT HID fail=0x5
Oct 15 13:24:41 localhost kernel: BUG: Unable to handle kernel paging
request at virtual address f8b165f9
Oct 15 13:24:41 localhost kernel:  printing eip:
Oct 15 13:24:41 localhost kernel: f8b165f9
Oct 15 13:24:41 localhost kernel: *pde = 1fc80067
Oct 15 13:24:41 localhost kernel: *pte = 00000000
Oct 15 13:24:41 localhost kernel: Oops: 0000 [#1]
Oct 15 13:24:41 localhost kernel: PREEMPT
Oct 15 13:24:41 localhost kernel: Modules linked in: pci_hotplug
intel_agp pcspkr parport_pc parport irtty_sir sir_dev irda crc_ccitt
floppy ehci_hcd ohci_hcd usbcore e100 mii agpgart tsdev mousedev joydev
evdev psmouse ide_cd cdrom snd_seq_dummy snd_seq_oss snd_seq_midi
snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd
soundcore button fan thermal processor battery ac genrtc ext3 jbd
mbcache ide_disk ide_generic via82cxxx trm290 triflex slc90e66 sis5513
siimage serverworks sc1200 rz1000 piix pdc202xx_old opti621 ns87415
hpt366 hpt34x generic cy82c693 cs5530 cs5520 cmd64x atiixp amd74xx
alim15x3 aec62xx pdc202xx_new ide_core unix
Oct 15 13:24:41 localhost kernel: CPU:    0
Oct 15 13:24:41 localhost kernel: EIP:
0060:[pg0+947586553/1070171136]    Not tainted VLI
Oct 15 13:24:41 localhost kernel: EFLAGS: 00010246
(2.6.13-1-multimedia-386)
Oct 15 13:24:41 localhost kernel: EIP is at 0xf8b165f9
Oct 15 13:24:41 localhost kernel: eax: 00000000   ebx: f8b1d105   ecx:
00000000   edx: c029f7a0
Oct 15 13:24:41 localhost kernel: esi: 00000000   edi: 00000000   ebp:
00000000   esp: f6935fe4
Oct 15 13:24:41 localhost kernel: ds: 007b   es: 007b   ss: 0068
preempt: 00000001
Oct 15 13:24:41 localhost kernel: Process shpchpd_event (pid: 2319,
threadinfo=f6934000 task=f6922d30 stack_left=8108 worst_left=-1)
Oct 15 13:24:41 localhost kernel: Stack: f8b13de0 c01012e9 00000000
00000000 00000000 00000000 00000000
Oct 15 13:24:41 localhost kernel: Call Trace:
Oct 15 13:24:41 localhost kernel:  [kernel_thread_helper+5/12]
kernel_thread_helper+0x5/0xc (8)
Oct 15 13:24:41 localhost kernel: Code:  Bad EIP value.
Oct 15 13:24:41 localhost kernel:  <3>hw_random: RNG not detected
Oct 15 13:24:41 localhost kernel: shpchp: acpi_shpchprm:\_SB_.C045
evaluate _BBN fail=0x5
Oct 15 13:24:41 localhost kernel: shpchp: acpi_shpchprm:get_device PCI
ROOT HID fail=0x5




lspci -vv tells me my CardBus bridge is a Texas Instrument PCI1420:

0000:02:06.0 CardBus bridge: Texas Instruments PCI1420
        Subsystem: Compaq Computer Corporation: Unknown device 00b7
        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: 0x20 (128 bytes)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 40180000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
        Memory window 0: 42000000-43fff000 (prefetchable)
        Memory window 1: 46000000-47fff000
        I/O window 0: 00002400-000024ff
        I/O window 1: 00002800-000028ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt-
PostWrite+
        16-bit legacy interface ports at 0001

0000:02:06.1 CardBus bridge: Texas Instruments PCI1420
        Subsystem: Compaq Computer Corporation: Unknown device 00b7
        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: 0x20 (128 bytes)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 40200000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
        Memory window 0: 44000000-45fff000 (prefetchable)
        Memory window 1: 50000000-51fff000
        I/O window 0: 00002c00-00002cff
        I/O window 1: 00001400-000014ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+
PostWrite+
        16-bit legacy interface ports at 0001








Reply to: