From: Lord Eldritch on
Wanna-Be Sys Admin wrote:

> ethtool -K eth0 tso off
>
> This was a known issue that would cause it to drop (if tso is enabled).
> See if that helps?

The answer is:

[root(a)eagle2 /tmp]# ethtool -K eth0 tso off
Cannot set device tcp segmentation offload settings: Operation not supported

This is the network config:

eth0 Link encap:Ethernet HWaddr 00:19:DB:2F:C9:80
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:dbff:fe2f:c980/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:320006 errors:0 dropped:0 overruns:0 frame:8
TX packets:283084 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:304801331 (290.6 MiB) TX bytes:45149552 (43.0 MiB)
Interrupt:23

It is alternated with
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

I guess that's the result of the up/down loop.

I has been able to plug a Windows (7) laptop wire and wireless-way and
everything looked fine from that. Tested speed and reached 2.5Mb/s (from a
declared 3Mb/s). So it looks again that problem is back is in the linux box.

I'll try to compile a kernel to see it I have the same problem with the new
drivers.
--
Lord Eldritch
From: Lord Eldritch on
The final chapter... (I guess). I just wanna share with you who helped me
the results so far. After trying a lot of things, I've been able to 'delete'
the kernel messages (more than an hour without a link up/down). Where is the
magic?

Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: Not reported
Advertised auto-negotiation: No
Speed: 10Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: off
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000001 (1)
Link detected: yes

I've set the speed to 10Mb/s and autoneg off. I am don't understand why:
router and card are able of 100 and the cables I have (and some other I've
tried are new 1 Gb ones)...

You to see if this rings you a bell...:) but , in any case, thank you all.
At least, the network here is .. behaving...:)
--
Lord Eldritch
From: david on
On Mon, 07 Dec 2009 13:56:16 +0100, Lord Eldritch rearranged some
electrons to say:

> The final chapter... (I guess). I just wanna share with you who helped
> me the results so far. After trying a lot of things, I've been able to
> 'delete' the kernel messages (more than an hour without a link up/down).
> Where is the magic?
>
> Settings for eth0:
> Supported ports: [ TP MII ]
> Supported link modes: 10baseT/Half 10baseT/Full
> 100baseT/Half 100baseT/Full
> Supports auto-negotiation: Yes
> Advertised link modes: Not reported
> Advertised auto-negotiation: No
> Speed: 10Mb/s
> Duplex: Full
> Port: MII
> PHYAD: 1
> Transceiver: internal
> Auto-negotiation: off
> Supports Wake-on: pumbg
> Wake-on: d
> Current message level: 0x00000001 (1) Link detected: yes
>
> I've set the speed to 10Mb/s and autoneg off. I am don't understand why:
> router and card are able of 100 and the cables I have (and some other
> I've tried are new 1 Gb ones)...
>
> You to see if this rings you a bell...:) but , in any case, thank you
> all. At least, the network here is .. behaving...:)

Just because the router is capable of 100 MB/s doesn't mean you have it
set to 100 Mb/s.
From: Pascal Hambourg on
Lord Eldritch a �crit :
>
> Advertised auto-negotiation: No
> Speed: 10Mb/s
> Duplex: Full
[...]
> I've set the speed to 10Mb/s and autoneg off.

Note that if you disable auto-negotiation on your side, if the other
side has auto-negotiation enabled then it might revert to half duplex
because it does not know that your side is capable of full duplex. So
you may have to force half duplex on your side or full duplex on the
other side. Check the collision counter on the other side.
From: Lord Eldritch on
david wrote:


> Just because the router is capable of 100 MB/s doesn't mean you have it
> set to 100 Mb/s.
>
Yes but it is recognized by it. When I change speed to 100, the LED changes
indicating the new speed, but it just, there is no way to ping out the
network.
--
Lord Eldritch