pcmcia subsystem completely broken
Michal Purzynski
michal at rsbac.org
Fri Apr 28 04:35:00 EDT 2006
i've made some more experiments with that card and verious kernels, here are
the results
kernel 2.6.12.6, so just before change, debian sarge, pcmcia-cs - results -
card is beeing detected, firmware loaded and proper serial port found, i can
connect via gprs. cool.
interesting pieces of dmesg from there
Apr 27 23:22:29 (none) kernel: [ 1056.852282] Linux Kernel Card Services
Apr 27 23:22:29 (none) kernel: [ 1056.857837] options: [pci] [cardbus] [pm]
Apr 27 23:22:29 (none) kernel: [ 1056.882587] Yenta: CardBus bridge found at
0001:10:13.0 [0000:0000]
Apr 27 23:22:29 (none) kernel: [ 1056.888563] Yenta: Enabling burst memory
read transactions
Apr 27 23:22:29 (none) kernel: [ 1056.894466] Yenta: Using CSCINT to route CSC
interrupts to PCI
Apr 27 23:22:29 (none) kernel: [ 1056.900350] Yenta: Routing CardBus
interrupts to PCI
Apr 27 23:22:29 (none) kernel: [ 1056.906396] Yenta TI: socket 0001:10:13.0,
mfunc 0x00001002, devctl 0x60
Apr 27 23:22:29 (none) kernel: [ 1057.013257] Yenta: ISA IRQ mask 0x0000, PCI
irq 53
Apr 27 23:22:29 (none) kernel: [ 1057.019689] Socket status: 30000007
a bit later, just after plugging in card
Apr 27 23:28:00 (none) kernel: [ 1388.082926] cs: pcmcia_socket0: voltage
interrogation timed out.
Apr 27 23:28:02 (none) kernel: [ 1389.646914] cs: memory probe
0x80000000-0x80ffffff: excluding 0x80000000-0x800fffff
Apr 27 23:28:02 (none) kernel: [ 1389.824993] Serial: 8250/16550 driver
$Revision: 1.90 $ 48 ports, IRQ sharing enabled
Apr 27 23:28:02 (none) kernel: [ 1389.826278] IN from bad port 3f9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.826292] IN from bad port 3f9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.826301] IN from bad port 3f9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.826733] IN from bad port 2f9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.826745] IN from bad port 2f9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.826754] IN from bad port 2f9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.827138] IN from bad port 3e9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.827150] IN from bad port 3e9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.827158] IN from bad port 3e9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.827587] IN from bad port 2e9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.827598] IN from bad port 2e9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.827607] IN from bad port 2e9 at e10720a8
Apr 27 23:28:02 (none) kernel: [ 1389.875351] ttyS1 at I/O 0x2f8 (irq = 53) is
a 16550A
desipte this warnings, everything works as it should.
2.6.16, pcmciautils
with your change to serial_cs driver after plugging in card, i can hear one
(low tone) beep, than nothing more - card seems to be "freezed", nothing gets
detected, activity light just lightens up and stays so.
dmesg says
[ 40.737492] Yenta: CardBus bridge found at 0001:10:13.0 [0000:0000]
[ 40.746215] PCI: Bus 17, cardbus bridge: 0001:10:13.0
[ 40.754742] IO window: 00001000-000011ff
[ 40.763237] IO window: 00001400-000015ff
[ 40.771521] PREFETCH window: 90000000-9fffffff
[ 40.779761] MEM window: f3000000-f33fffff
[ 40.788050] Yenta: ISA IRQ mask 0x0000, PCI irq 53
[ 40.796182] Socket status: 30000087
[ 40.804278] pcmcia: parent PCI bridge I/O window: 0x0 - 0x7fffff
[ 40.812690] pcmcia: parent PCI bridge Memory window: 0xf3000000 -
0xf3ffffff
[ 40.821193] pcmcia: parent PCI bridge Memory window: 0x80000000 -
0xafffffff
and after plugging in card
[ 40.737492] Yenta: CardBus bridge found at 0001:10:13.0 [0000:0000]
[ 40.746215] PCI: Bus 17, cardbus bridge: 0001:10:13.0
[ 40.754742] IO window: 00001000-000011ff
[ 40.763237] IO window: 00001400-000015ff
[ 40.771521] PREFETCH window: 90000000-9fffffff
[ 40.779761] MEM window: f3000000-f33fffff
[ 40.788050] Yenta: ISA IRQ mask 0x0000, PCI irq 53
[ 40.796182] Socket status: 30000087
[ 40.804278] pcmcia: parent PCI bridge I/O window: 0x0 - 0x7fffff
[ 40.812690] pcmcia: parent PCI bridge Memory window: 0xf3000000 -
0xf3ffffff
[ 40.821193] pcmcia: parent PCI bridge Memory window: 0x80000000 -
0xafffffff
nothing more. just dead.
do you think it is memory ranges problem, serial_cs problem, or sth else ?
i really have to get it working. waiting for some answer from you.
Michal Purzynski
More information about the linux-pcmcia
mailing list