CIS filename is too long
Randy Dunlap
randy.dunlap at oracle.com
Wed Nov 28 16:53:14 EST 2007
On Wed, 21 Nov 2007 04:25:28 +0000 (GMT) Michael Robb wrote:
> Hello,
> I hope someone can help me with another strange PCMCIA error message. I am trying to get an old Vodaphone GPRS card to work with my kernel.
>
> I am getting the following message from the driver:
>
> tail /var/log/messages
>
> Nov 21 04:16:37 kernel: pccard: PCMCIA card inserted into slot 0
> Nov 21 04:16:37 kernel: pcmcia: registering new device pcmcia0.0
> Nov 21 04:16:37 kernel: pcmcia: CIS filename is too long
> Nov 21 04:16:37 kernel: pcmcia: CIS filename is too long
> Nov 21 04:16:37 kernel: 0.0: ttyS1 at I/O 0x2f8 (irq = 10) is a 16550A
>
> #/sbin/pccardctl status
> Socket 0:
> 3.3V 16-bit PC Card
> Subdevice 0 (function 0) bound to driver "serial_cs"
> Socket 1:
> no card
>
> #/sbin/pccardctl info
> PRODID_1="Vodafone"
> PRODID_2="GPRS Card"
> PRODID_3="001"
> PRODID_4="A"
> MANFID=0013,0000
> FUNCID=2
> PRODID_1=""
> PRODID_2=""
> PRODID_3=""
> PRODID_4=""
> MANFID=0000,0000
> FUNCID=255
>
> #$ /sbin/lspcmcia
> Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:00:0a.0)
> Socket 0 Device 0: [serial_cs] (bus ID: 0.0)
> Socket 1 Bridge: [yenta_cardbus] (bus ID: 0000:00:0a.1)
>
> Can anyone help?
Hi,
The code is checking for a max filename length of 14 bytes, but
device 13,0 has a longer filename. :(
drivers/serial/serial_cs.c says (for that device):
PCMCIA_DEVICE_CIS_MANF_CARD(0x0013, 0x0000, "GLOBETROTTER.cis"),
and "GLOBETROTTER.cis" is too long. It would be good to be able to
check for that at kernel build time.
Do you want or need a patch to change that filename?
or can you do it yourself?
And then also change the filename in /lib/firmware/ to match the (new)
kernel's CIS filename.
---
~Randy
More information about the linux-pcmcia
mailing list