lkml.org 
[lkml]   [2000]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSoftnet/eepro100 driver conversion bug in 2.3.43pre8?
I was happily listening to an MP3 being played via NFS on my
dual-processor box running 2.3.43pre8 (containing an eepro100 over which
the MP3 was streaming and also an inactive (but up) ne2k for a connection
to my laptop). Suddenly, the sound stopped, so I switched to the console
playing the MP3:

Frame# 11600 [ 4464], Time: 05:03.02 [01:56.61], NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out: status 0050 0070 at 21037/21050 command 000c0000.
eth0: Trying to restart the transmitter...
nfs: server foo not responding, timed out
Bus error
[sroot@oof:/usr/src/alsa/cvs/current]#

Plunk. :) mpg123 was reading with mmap() and NFS was mounted with the
soft option, so the bus error makes sense.

Nothing else was going over eth0 at the time (I'm on a network with no
hub -- a lot of crossed over 100Mbit connections with a variety of
cards). I've never seen this eepro100 time out before. eth0 is
connected via crossover to my masquerading box's eth1.

When I restarted the player, everything was happy again. Looking in
dmesg, I see a more detailed debug output:

NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out: status 0050 0070 at 8392/8404 command 000c0000.
eth0: Tx ring dump, Tx queue 8404 / 8392:
eth0: 0 000ca000.
eth0: 1 000ca000.
eth0: 2 000ca000.
eth0: 3 000ca000.
eth0: 4 000ca000.
eth0: 5 000ca000.
eth0: 6 000ca000.
eth0: 7 000ca000.
eth0: * 8 000c0000.
eth0: 9 000ca000.
eth0: 10 000ca000.
eth0: 11 000ca000.
eth0: 12 000ca000.
eth0: 13 000ca000.
eth0: 14 000ca000.
eth0: 15 000ca000.
eth0: 16 000ca000.
eth0: 17 000ca000.
eth0: 18 000ca000.
eth0: 19 400ca000.
eth0: =20 000ca000.
eth0: 21 000ca000.
eth0: 22 000ca000.
eth0: 23 000ca000.
eth0: 24 000ca000.
eth0: 25 000ca000.
eth0: 26 000ca000.
eth0: 27 000ca000.
eth0: 28 000ca000.
eth0: 29 000ca000.
eth0: 30 000ca000.
eth0: 31 000ca000.
eth0:Printing Rx ring (next to receive into 7630).
Rx ring entry 0 00000001.
Rx ring entry 1 00000001.
Rx ring entry 2 00000001.
Rx ring entry 3 00000001.
Rx ring entry 4 00000001.
Rx ring entry 5 00000001.
Rx ring entry 6 00000001.
Rx ring entry 7 00000001.
Rx ring entry 8 00000001.
Rx ring entry 9 00000001.
Rx ring entry 10 00000001.
Rx ring entry 11 00000001.
Rx ring entry 12 00000001.
Rx ring entry 13 c0000001.
Rx ring entry 14 00000001.
Rx ring entry 15 00000001.
Rx ring entry 16 00000001.
Rx ring entry 17 00000001.
Rx ring entry 18 00000001.
Rx ring entry 19 00000001.
Rx ring entry 20 00000001.
Rx ring entry 21 00000001.
Rx ring entry 22 00000001.
Rx ring entry 23 00000001.
Rx ring entry 24 00000001.
Rx ring entry 25 00000001.
Rx ring entry 26 00000001.
Rx ring entry 27 00000001.
Rx ring entry 28 00000001.
Rx ring entry 29 00000001.
Rx ring entry 30 00000001.
Rx ring entry 31 00000001.
PHY index 1 register 0 is 2100.
PHY index 1 register 1 is 780d.
PHY index 1 register 2 is 02a8.
PHY index 1 register 3 is 0150.
PHY index 1 register 4 is 05e1.
PHY index 1 register 5 is 0081.
PHY index 1 register 21 is 0000.
eth0: Trying to restart the transmitter...
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out: status 0050 0070 at 21037/21050 command 000c0000.
eth0: Tx ring dump, Tx queue 21050 / 21037:
eth0: 0 000ca000.
eth0: 1 000ca000.
eth0: 2 000ca000.
eth0: 3 000ca000.
eth0: 4 000ca000.
eth0: 5 000ca000.
eth0: 6 000ca000.
eth0: 7 000ca000.
eth0: 8 000ca000.
eth0: 9 000ca000.
eth0: 10 000ca000.
eth0: 11 000ca000.
eth0: 12 000ca000.
eth0: * 13 000c0000.
eth0: 14 000ca000.
eth0: 15 000ca000.
eth0: 16 000ca000.
eth0: 17 000ca000.
eth0: 18 000ca000.
eth0: 19 000ca000.
eth0: 20 000ca000.
eth0: 21 000ca000.
eth0: 22 000ca000.
eth0: 23 000ca000.
eth0: 24 000ca000.
eth0: 25 4003a000.
eth0: =26 000ca000.
eth0: 27 000ca000.
eth0: 28 000ca000.
eth0: 29 000ca000.
eth0: 30 000ca000.
eth0: 31 000ca000.
eth0:Printing Rx ring (next to receive into 23689).
Rx ring entry 0 00000001.
Rx ring entry 1 00000001.
Rx ring entry 2 00000001.
Rx ring entry 3 00000001.
Rx ring entry 4 00000001.
Rx ring entry 5 00000001.
Rx ring entry 6 00000001.
Rx ring entry 7 00000001.
Rx ring entry 8 c0000001.
Rx ring entry 9 00000001.
Rx ring entry 10 00000001.
Rx ring entry 11 00000001.
Rx ring entry 12 00000001.
Rx ring entry 13 00000001.
Rx ring entry 14 00000001.
Rx ring entry 15 00000001.
Rx ring entry 16 00000001.
Rx ring entry 17 00000001.
Rx ring entry 18 00000001.
Rx ring entry 19 00000001.
Rx ring entry 20 00000001.
Rx ring entry 21 00000001.
Rx ring entry 22 00000001.
Rx ring entry 23 00000001.
Rx ring entry 24 00000001.
Rx ring entry 25 00000001.
Rx ring entry 26 00000001.
Rx ring entry 27 00000001.
Rx ring entry 28 00000001.
Rx ring entry 29 00000001.
Rx ring entry 30 00000001.
Rx ring entry 31 00000001.
PHY index 1 register 0 is 3000.
PHY index 1 register 1 is 782d.
PHY index 1 register 2 is 02a8.
PHY index 1 register 3 is 0150.
PHY index 1 register 4 is 05e1.
PHY index 1 register 5 is 0081.
PHY index 1 register 21 is 0006.
eth0: Trying to restart the transmitter...
nfs: server foo not responding, timed out

(end)

This is a clean 2.3.43pre8 kernel other than I had to remove references
to dev->interrupt in ne.c, but they were only KERN_EMERG printk()s, so
that should be no big deal. 128 MB ECC SDRAM. Other possibly useful
info:

[sroot@oof:/root]# cat /proc/interrupts
CPU0 CPU1
0: 864173 885728 IO-APIC-edge timer
1: 7425 8328 IO-APIC-edge keyboard
2: 0 0 XT-PIC cascade
5: 32 69 IO-APIC-edge NE2000
7: 8090 8609 IO-APIC-edge GUS Classic
9: 2 2 IO-APIC-level usb-uhci
10: 25865 25519 IO-APIC-level eth0
12: 45429 43937 IO-APIC-edge PS/2 Mouse
13: 1 0 XT-PIC fpu
14: 34984 35833 IO-APIC-edge ide0
15: 3276 2731 IO-APIC-edge ide1
NMI: 1749822 1749822
LOC: 1749897 1749895
ERR: 0

[sroot@oof:/root]# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 02)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 02)
00:04.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
00:06.0 SCSI storage controller: Adaptec AHA-2940U2/W / 7890
00:09.0 Multimedia video controller: Brooktree Corporation Bt848 TV with DMA push (rev 12)
00:0b.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 05)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 01)

eepro100 was inserted with "options=48" to force it to 100MB FDX.

Simon-

[ Stormix Technologies Inc. ][ NetNation Communcations Inc. ]
[ sim@stormix.com ][ sim@netnation.com ]
[ Opinions expressed are not necessarily those of my employers. ]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.086 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site