Re: 2.4.25 yenta problem and small fix/workaround

From: Russell King
Date: Sun Feb 22 2004 - 11:32:47 EST


On Sun, Feb 22, 2004 at 05:03:54PM +0100, Silla Rizzoli wrote:
> This is dmesg after bootup completes: if I insert the card nothing happens,
> but if I start X, the card gets magically recognized and initialized!
> The following lines are added to dmesg:

This probably occurs because starting X caused AGP to be initialised,
which caused an interrupt on IRQ11. Since the cardbus bridge is also
using IRQ11 to report status changes, we notice the status change.

So, the reason this went wrong _appears_ to be because we never received
the interrupt from the cardbus bridge, although the cardbus status
correctly indicated there was work to be done.

Also, you seem to have some proprietary modules loaded - have you tried
running without these modules loaded? (See below.)

> airo_cs 4004 0 (unused)
> airo 49048 0 [airo_cs]
> ds 7028 1 [airo_cs]
> yenta_socket 11072 1
> pcmcia_core 47328 0 [airo_cs ds yenta_socket]
> aes 31200 1 (autoclean)
> radeon 106816 0
> agpgart 19312 1 (autoclean)
> ide-cd 32416 0 (autoclean)
> sr_mod 14392 0 (autoclean) (unused)
> cdrom 29248 0 (autoclean) [ide-cd sr_mod]
> scsi_mod 87712 1 (autoclean) [sr_mod]
> mousedev 4372 0
> hid 21988 0 (unused)
> input 3616 0 [mousedev hid]
> hci_usb 6648 0 (unused)
> bluez 32996 1 [hci_usb]
> uhci 25948 0 (unused)
> ehci-hcd 18764 0 (unused)
> slamr 247108 0 (unused)

This seems to be a closed source modem driver, which seems to be using
IRQ11. This is definitely one thing to try removing and seeing if the
problem goes away. (By "removing" here I mean _never_ having been
loaded since boot - any other type of "removing" will not give the
desired test conditions required to correctly isolate the problem.)

> snd-pcm-oss 39492 0 (unused)
> snd-mixer-oss 13648 0 [snd-pcm-oss]
> snd-intel8x0 19428 0 (autoclean)
> snd-pcm 62980 0 (autoclean) [snd-pcm-oss snd-intel8x0]
> snd-ac97-codec 43256 0 (autoclean) [snd-intel8x0]
> snd-page-alloc 6676 0 (autoclean) [snd-intel8x0 snd-pcm]
> snd-mpu401-uart 3376 0 (autoclean) [snd-intel8x0]
> snd-rawmidi 14048 0 (autoclean) [snd-mpu401-uart]
> snd-seq-oss 29632 0 (unused)
> snd-seq-midi-event 3552 0 [snd-seq-oss]
> snd-seq 37040 2 [snd-seq-oss snd-seq-midi-event]
> snd-timer 14852 0 [snd-pcm snd-seq]
> snd-seq-device 4400 0 [snd-rawmidi snd-seq-oss snd-seq]
> snd 34148 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device]
> soundcore 3940 5 [snd]
> rtc 7080 0 (autoclean)
> usbcore 63852 1 [hid hci_usb uhci ehci-hcd]
> ipv6 171924 -1
> e100 49992 0 (unused)
> unix 15468 5 (autoclean)

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/