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

Re: How to activate PCMCIA ethernet card in ThinkPad?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Florian Kulzer wrote:

> Check the syslog or dmesg output for messages from the tg3 driver.

Command "dmesg|grep tg3" returns the following:

[    2.310795] tg3.c:v3.92.1 (June 9, 2008)
[   55.476397] tg3: eth0: Link is up at 100 Mbps, full duplex.
[   55.476397] tg3: eth0: Flow control is on for TX and on for RX.
[ 1971.865574] tg3: eth0: Link is down.
[ 2083.876231] tg3: eth0: Link is up at 100 Mbps, full duplex.
[ 2083.876231] tg3: eth0: Flow control is on for TX and on for RX.
[ 3508.072362] tg3: eth0: Link is down.
[ 5197.891833] tg3: eth0: Link is up at 100 Mbps, full duplex.
[ 5197.891833] tg3: eth0: Flow control is on for TX and on for RX.

> Make
> sure the reason is not simply a bad port in a switch or a flaky cable,
> i.e. unplug the desktop, connect the thinkpad to the very same cable and
> compare the download/upload speed.

The cable I tried with the D-Link card is the same one which I am using
successfully with the built-in card.

As for my desktop, unfortunately it is not usable at the moment.  About
two months ago I upgraded it fromm Etch to Etchandahalf, whereupon in
short order it became unusable.  I don't know whether to reinstall Etch
on it, or install Lenny, which of course is still in testing. I
certainly long for the stability of Sarge.

 Check the output of /sbin/ifconfig
> for errors and dropped packages.

For eth0, the built-in LAN card, this command shows no dropped packages
and no errors.

> 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.

> 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

Regards, Ken Heard, Toronto


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkGhBAACgkQlNlJzOkJmTeehQCdHp6BAylv+zjTG9oZXguVnM3C
ibUAn1XslVypeTkooimRrnSXdassiH+p
=gfnk
-----END PGP SIGNATURE-----


Reply to: