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

Re: How to activate PCMCIA ethernet card in ThinkPad?



On Mon, Oct 27, 2008 at 23:16:32 -0400, Ken Heard wrote:
> Florian Kulzer wrote:

[ snip: The tg3 driver seems to think that everything is OK with the
  built-in card. If you want to pursue this further then we need to know
  how you tested this card and found that it was "sluggish". ]

> > Did you use the D-Link card with Linux on the older laptops? If so, with
> > which driver and which version of the kernel? Which kernel do you use
> > now?
> 
> Yes, this card works in my P2 Toshiba laptop, which I still have, with
> Etch and kernel 2.6.18. Now, on the ThinkPad I have Lenny and kernel
> 2.6.26-1-686.

Maybe there has been a regression or the card needs a driver that has
been removed during the last cleanup of binary firmware blobs in the
Debian kernel sources (which happened in version 2.6.24 or .25 IIRC).

I would check out the output of "lspcmcia" and "lspci -knn" for the
older kernel to find out which driver is used when it works. (AFAIK, if
the pcmcia card is detected properly then the cardbus subsystem should
create an entry in the PCI subsystem which triggers the loading of the
appropriate module - at least, that's how things seems to work for my
prism54-based pcmcia card.)

> > The success or failure of creating the eth1 device is independent of the
> > entries in /etc/network/interfaces. It seems that in your case eth1 is
> > not created, probably because your kernel cannot find a driver for LAN
> > part of the card. Run
> > 
> > tail -fn0 /var/log/syslog
> > 
> > plug in the card, wait at least 30 seconds, post the output here.
> 
> Oct 27 22:50:31 R61 kernel: [47405.522147] pccard: PCMCIA card inserted
> into slot 0
> Oct 27 22:50:31 R61 kernel: [47405.522737] pcmcia: registering new
> device pcmcia0.0
> Oct 27 22:50:31 R61 kernel: [47405.574642] eth%d: pcnet_reset_8390() did
> not complete.
> Oct 27 22:50:31 R61 kernel: [47405.584724] pcnet_cs: unable to read
> hardware net address for io base 0x6300
> Oct 27 22:50:31 R61 kernel: [47405.682638] eth%d: pcnet_reset_8390() did
> not complete.
> Oct 27 22:50:31 R61 kernel: [47405.690638] pcnet_cs: unable to read
> hardware net address for io base 0x6300

These messages lead to someone with the same problem, but no solution or
further insights:

http://forum.soft32.com/linux/Link-PCMCIA-LAN-card-pcnet_reset_8390-complete-ftopict440252.html

The "eth%d" suggests to me that something really goes wrong with the
discovery of the device; the "%d" placeholder should normally be
replaced by the appropriate number (the next free one) by the kernel.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: