eepro100 on alpha, linux 2.1

Scott Stone sstone@ume.pht.co.jp
Mon Oct 5 20:20:30 1998


On Mon, 5 Oct 1998, Gus Buerkle wrote:

> Donald,
> 
> Regarding my attempt to use the eepro100 drivers under linux-alpha
> 2.1.122,
> 
> I compiled the eepro-diag program under 2.0.32 and ran it on the 2.1.122
> kernel running the v0.36 driver.  (It failed to compile under a
> development kernel) Here are the results:
> 
> [root@marzen /root]# ./eepro-diag -f -e -e -a -m
> eepro100-diag.c:v0.07 2/25/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
> Index #1: Found a Intel 82557 EtherExpressPro100B adapter at 0x8000.
> i82557 chip registers at 0x8000:
>   00000050 4065b018 00000000 00080002 14378462 00000600
>   No interrupt sources are pending.
>    The transmit unit state is 'Suspended'.
>    The receive unit state is 'Ready'.

> 
> Here's the logged messages when the network interface crashes:
> <dates are erroneous>
> Aug 28 10:43:46 dunkel kernel: eth0: Transmit timed out: status 0050
> command 0000.
> Aug 28 10:43:46 dunkel kernel: eth0:  Tx timeout  fill index 53098
> scavenge index 53084.
> Aug 28 10:43:46 dunkel kernel:     Tx queue  000ca000 000ca000 000ca000
> 000ca000 000ca000 000ca000 000ca000 000ca000 000ca000 400ca000 000ca000
> 000ca000 000c0000 000ca000
>  000ca000 000ca000.
> Aug 28 10:43:46 dunkel kernel:     Rx ring  00000003 00000003 00000003
> 00000003 00000003 00000003 00000003 00000003 00000003 00000003 00000003
> c0000003 00000003 00000003 00000003 00000003.
> Aug 28 10:43:46 dunkel kernel: eth0: Trying to restart the transmitter...

You're not running netatalk on this box, are you?  If I run netatalk on my
x86 with 2.0.35, eepro100, it will start doing this.  It will work at
first, but generate huge amounts of TX timeouts and 'Trying to restart the
transmitter'.  Then, it seems the driver gives up and suspends the TX
unit.  You can reset it by:

1.  take down eth0
2.  modprobe -r eepro100
3.  modprobe eepro100
4.  restart eth0

--------------------------------------------------
Scott M. Stone <sstone@pht.com, sstone@turbolinux.com>
               <sstone@pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com