[eepro100] Error message & unable to compile...

Nicolas Riendeau knightr@sympatico.ca
Mon Feb 4 21:59:01 2002


Hi!

I'm having some severe problem getting an eepro card to work ok on a pc I'm currently setting up...
I frequently (many many times during the day) get the following error message "wait_for_cmd_done 
timeout!".

The pc in question is a Compaq Deskpro EN 733 and the distribution is Mandrake 8.1 with kernel
2.4.8-34.1mdk.

The actual error message I get in the logs looks like this:

Feb  4 12:14:31 server kernel: eepro100: wait_for_cmd_done timeout!
Feb  4 12:14:33 server kernel: NETDEV WATCHDOG: eth0: transmit timed out
Feb  4 12:14:33 server kernel: eth0: Transmit timed out: status 0050  0cf0 at 2116/2144 command 
000c0000.
Feb  4 12:14:33 server kernel: eth0: Tx ring dump,  Tx queue 2144 / 2116:
Feb  4 12:14:33 server kernel: eth0:   = 0 200ca000.
Feb  4 12:14:33 server kernel: eth0:     1 000ca000.
Feb  4 12:14:33 server kernel: eth0:     2 000ca000.

...

The current driver (the one that came with Mandrake 8.1) is I believe a derived work from the
the driver of this mailing list...

Again, from the logs:

Feb  4 11:39:48 server kernel: eepro100.c:v1.09j-t 9/29/99 Donald Becker 
http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
Feb  4 11:39:48 server kernel: eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. 
Savochkin <saw@saw.sw.com.sg> and others
Feb  4 11:39:48 server kernel: PCI: Found IRQ 5 for device 02:08.0
Feb  4 11:39:48 server kernel: eth0: OEM i82557/i82558 10/100 Ethernet, 00:50:8B:CE:26:88, I/O at 
0x1000, IRQ 5.
Feb  4 11:39:48 server kernel:   Board assembly 010630-001, Physical connectors present: RJ45
Feb  4 11:39:48 server kernel:   Primary interface chip i82555 PHY #1.
Feb  4 11:39:48 server kernel:   General self-test: passed.
Feb  4 11:39:48 server kernel:   Serial sub-system self-test: passed.
Feb  4 11:39:48 server kernel:   Internal registers self-test: passed.
Feb  4 11:39:48 server kernel:   ROM checksum self-test: passed (0x04f4518b).

I've tried installing the latest drivers (by getting what I think you refer as the "update pack"
but I get the following error message:

gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/lib/modules/2.4.8-34.1mdk/build/include 
-pipe -fno-strength-reduce -DMODVERSIONS   -c -o pci-skeleton.o pci-skeleton.c
pci-skeleton.c:140: parse error before string constant
pci-skeleton.c:140: warning: type defaults to `int' in declaration of `MODULE_LICENSE'
pci-skeleton.c:140: warning: function declaration isn't a prototype
pci-skeleton.c:140: warning: data definition has no type or storage class
make: *** [pci-skeleton.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.93692 (%build)

RPM build errors:

    Bad exit staut from /var/tmp/rpm-tmp.93692 (%build)

The gcc in question is 2.96...

Any suggestions?

Thanks!

Nicolas