Re: Siemens MC45 PCMCIA gprs modem

From: Vojtech Pavlik
Date: Fri Jan 23 2004 - 07:07:16 EST


On Fri, Jan 23, 2004 at 11:23:29AM +0000, Russell King wrote:

> On Fri, Jan 23, 2004 at 09:32:41AM +0100, Tomas Kouba wrote:
> > /var/log/messages when I insert the card:
> > Jan 23 09:20:25 dhcp23 kernel: PCMCIA: socket c62dc82c: unable to apply
> > power.
>
> This is first thing to wonder about - this indicates that the PCMCIA
> bridge did not report that it had turned on the power to the socket
> after the time allowed.
>
> Could you give some info on the PCMCIA hardware in this machine please?
>
> > Jan 23 09:20:26 dhcp23 cardmgr[782]: + insmod /lib/modules/2.6.1/kernel/drivers/serial/serial_cs.ko
> > Jan 23 09:20:26 dhcp23 kernel: ttyS0 at I/O 0x3f8 (irq = 3) is a 8250
> > Jan 23 09:20:26 dhcp23 kernel: ttyS4 at I/O 0x400 (irq = 3) is a 16C950/954
> > Jan 23 09:20:26 dhcp23 cardmgr[782]: executing: './serial start ttyS0'
> > Jan 23 09:20:26 dhcp23 kernel: serial8250: too much work for irq3
> > Jan 23 09:20:27 dhcp23 last message repeated 5 times
> > Jan 23 09:20:27 dhcp23 cardmgr[782]: executing: './serial start ttyS4'
>
> Hmm, it seems that we found two ports on this card, one at 0x3f8 and one
> at 0x400. It also seems that there's something odd going on with IRQ3
> here, which could be the cause of your problem.

The same is happening for me with an Option GlobeTrotter GPRS card. For
some reason the PCMCIA utils read the CIS from the card and get
confused, registering two ports instead of one. dump_cis, editing the
CIS to remove the entry that confuses cardmgr, and then compiling the
CIS again helps.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
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/