Okay, an update...
>Try hard coding the switch port to 10BaseT.
The hub has been removed out of the equation, the cat5 cables have been changed.
The linux box is now in another patch connection in the office.
Same problem. Will have a go at mii-diag soon.
>What does mii-tool show before you lose the connection?
As I said, exactly the same as before : -> eth0: autonegotiation failed, link ok
> Watch the link lights on the hub and nic.
They seemed fine, apart from the very occasional collision.
Will try another NIC as soon as I can get my hands on one
Below is a collection of various error messages that I have collected. Not sure if they
shed any more light on the matter, but what the hey...
>After the connectivity goes down, what does netstat show you?
The results from netstat are included below, no FIN_WAITS I'm afraid.
>Did you recompile the kernel?
No, as I tried this on 3 different kernel versions, and the 2.4.14 kernel was just recently compiled.
Again, thanks for your help everyone,
R
ifconfig result after fail
---------------------------
eth0 Link encap:Ethernet HWaddr 00:01:02:50:11:49
inet addr:147.252.139.138 Bcast:147.252.255.255 Mask:255.255.0.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:12527 errors:0 dropped:0 overruns:50753 frame:0
TX packets:4298 errors:59 dropped:0 overruns:0 carrier:1
collisions:1665
RX bytes:2304554 (2.1 Mb) TX bytes:6360603 (6.0 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:7642 (7.4 Kb) TX bytes:7642 (7.4 Kb)
First netstat as connection open
---------------------------------
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 147.252.139.13:ftp-data 147.252.139.223:1229 TIME_WAIT
tcp 0 0 147.252.139.13:ftp-data 147.252.139.223:1228 TIME_WAIT
tcp 0 41992 147.252.139.13:ftp-data 147.252.139.223:1231 ESTABLISHED
tcp 0 0 147.252.139.13:ftp-data 147.252.139.223:1230 TIME_WAIT
tcp 0 0 147.252.139.13:ftp-data 147.252.139.223:1225 TIME_WAIT
tcp 0 0 147.252.139.138:ftp 147.252.139.223:1224 ESTABLISHED
Second netstat after traffic stopped shipping
------------------------------------------------
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 41992 147.252.139.13:ftp-data 147.252.139.223:1231 ESTABLISHED
tcp 0 0 147.252.139.138:ftp 147.252.139.223:1224 ESTABLISHED
udp 0 256 147.252.139.138:1034 147.252.131.45:domain ESTABLISHED
From there on all the same result
------------------------------------
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 41992 147.252.139.13:ftp-data 147.252.139.223:1231 ESTABLISHED
tcp 0 0 147.252.139.138:ftp 147.252.139.223:1224 ESTABLISHED
---
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 41992 147.252.139.13:ftp-data 147.252.139.223:1231 ESTABLISHED
tcp 0 0 147.252.139.138:ftp 147.252.139.223:1224 ESTABLISHED
--- etc
After killing the ftp process that had stopped running, netstat had nothing more to show.
In terms of Active internet connections of course...
Segment from /var/log/messages
-------------------------------
Nov 22 09:48:57 holger kernel: NETDEV WATCHDOG: eth0: transmit timed out
Nov 22 09:48:57 holger kernel: eth0: transmit timed out, tx_status 00 status 8000.
Nov 22 09:48:57 holger kernel: diagnostics: net 0ce0 media 8820 dma 000000a0.
Nov 22 09:48:57 holger kernel: Flags; bus-master 1, dirty 13480(8) current 13496(8)
Nov 22 09:48:57 holger kernel: Transmit list 00274200 vs. c0274400.
Nov 22 09:48:57 holger kernel: 0: @c0274200 length 800005ea status 000005ea
Nov 22 09:48:57 holger kernel: 1: @c0274240 length 800005ea status 000005ea
Nov 22 09:48:57 holger kernel: 2: @c0274280 length 800005ea status 000005ea
Nov 22 09:48:57 holger kernel: 3: @c02742c0 length 800005ea status 000005ea
Nov 22 09:48:57 holger kernel: 4: @c0274300 length 800005ea status 000005ea
Nov 22 09:48:57 holger kernel: 5: @c0274340 length 800005ea status 000005ea
Nov 22 09:48:57 holger kernel: 6: @c0274380 length 800005ea status 800005ea
Nov 22 09:48:57 holger kernel: 7: @c02743c0 length 800005ea status 800005ea
Nov 22 09:48:57 holger kernel: 8: @c0274400 length 800005ea status 000105ea
Nov 22 09:48:57 holger kernel: 9: @c0274440 length 800005ea status 000105ea
Nov 22 09:48:57 holger kernel: 10: @c0274480 length 800005ea status 000105ea
Nov 22 09:48:57 holger kernel: 11: @c02744c0 length 800005ea status 000105ea
Nov 22 09:48:57 holger kernel: 12: @c0274500 length 800005ea status 000105ea
Nov 22 09:48:57 holger kernel: 13: @c0274540 length 800005ea status 000105ea
Nov 22 09:48:57 holger kernel: 14: @c0274580 length 800005ea status 000105ea
Nov 22 09:48:57 holger kernel: 15: @c02745c0 length 800005ea status 000105ea
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!