netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* e1000 packet corruption problem
@ 2005-03-29  8:55 Michal Vanco
  0 siblings, 0 replies; 5+ messages in thread
From: Michal Vanco @ 2005-03-29  8:55 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]

Hi,

I saw this issue mentioned several times in various lists, but no
satisfactory answer was given.

I have 4-port Intel e1000 card in my dual Amd Opteron machine:
0000:02:04.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
Controller (rev 02)
0000:02:05.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
Controller (rev 02)
0000:02:06.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
Controller (rev 02)
0000:02:07.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
Controller (rev 02)

with this driver:
Intel(R) PRO/1000 Network Driver - version 5.7.6
Copyright (c) 1999-2004 Intel Corporation.
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 28 (level, low) -> IRQ 201
e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
ACPI: PCI interrupt 0000:02:05.0[A] -> GSI 29 (level, low) -> IRQ 209
e1000: eth4: e1000_probe: Intel(R) PRO/1000 Network Connection
ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 30 (level, low) -> IRQ 217
e1000: eth5: e1000_probe: Intel(R) PRO/1000 Network Connection
ACPI: PCI interrupt 0000:02:07.0[A] -> GSI 31 (level, low) -> IRQ 225
e1000: eth6: e1000_probe: Intel(R) PRO/1000 Network Connection

eth3 is autonegotiated at 100 Mbps FDX.

Trying to forward packets through eth3 causes corruption of packets.
I've got 'Corrupted MAC on input' trying to download (or copy) something
using scp. Using ftp doesn't emit any error, but all files downloaded
are apparently corrupted.

After that I've tried to disable all off-loading. In this case no error
is visible but all download stalls forever.

Is this problem related only to e1000 driver or any GigE cards? Is there
any fix available?

regards,
michal

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: e1000 packet corruption problem
@ 2005-03-29 16:02 Brandeburg, Jesse
  2005-03-29 15:42 ` Michal Vanco
  2005-03-30  7:04 ` Michal Vanco
  0 siblings, 2 replies; 5+ messages in thread
From: Brandeburg, Jesse @ 2005-03-29 16:02 UTC (permalink / raw)
  To: Michal Vanco, netdev

>I have 4-port Intel e1000 card in my dual Amd Opteron machine:
>0000:02:04.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
>Controller (rev 02)
>0000:02:05.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
>Controller (rev 02)
>0000:02:06.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
>Controller (rev 02)
>0000:02:07.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet
>Controller (rev 02)
>
>with this driver:
>Intel(R) PRO/1000 Network Driver - version 5.7.6
>Copyright (c) 1999-2004 Intel Corporation.

Standard questions: what kernel version, what exact machine (and bios),
lspci -n will help here.

You might be having interrupt routing problems, have you tried
pci=noapic as a boot parameter?

The data corruption is puzzling.

>eth3 is autonegotiated at 100 Mbps FDX.
>
>Trying to forward packets through eth3 causes corruption of packets.
>I've got 'Corrupted MAC on input' trying to download (or copy)
something
>using scp. Using ftp doesn't emit any error, but all files downloaded
>are apparently corrupted.
>
>After that I've tried to disable all off-loading. In this case no error
>is visible but all download stalls forever.

How did you disable all offloading? With ethtool? Did you disable TSO
and TX/RX checksumming?  You left scatter gather on, right?

>Is this problem related only to e1000 driver or any GigE cards? Is
there
>any fix available?

Can you try the card in another (non opteron) machine?  Does your
opteron machine pci bus support PCI-X/133?

If we can reproduce this we can likely get a fix, but without a
reproduction its unlikely because we haven't seen problems like this
around here.

Jesse

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: e1000 packet corruption problem
@ 2005-04-06 14:27 Michal Vanco
  0 siblings, 0 replies; 5+ messages in thread
From: Michal Vanco @ 2005-04-06 14:27 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

Hello,

I've made some more testing. This one was pretty surprising:

>From 192.168.0.2:

# sudo ping 192.168.0.1 -p fefffefffefffeff -i 0.01 -c 100
100 packets transmitted, 100 received, 0% packet loss, time 901ms

# sudo ping 192.168.0.1 -p fffefffefffefffe -i 0.01 -c 100
100 packets transmitted, 18 received, 82% packet loss, time 1068ms

Any ideas of how to solve this?

regards,
michal

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-06 14:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-29  8:55 e1000 packet corruption problem Michal Vanco
  -- strict thread matches above, loose matches on Subject: below --
2005-03-29 16:02 Brandeburg, Jesse
2005-03-29 15:42 ` Michal Vanco
2005-03-30  7:04 ` Michal Vanco
2005-04-06 14:27 Michal Vanco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).