Skip to contentSkip to conversation

2.6.23-rc3 and SKY2 driver issue

DISCUSSION James Corey 3 participants 8 messages Aug 15, 2007 – Aug 20, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I tried running a D-link gig card on kernel 2.6.21.1 and it came up fine, but when I did a sftp of an linux dvd ISO to it, the interface would lock up hard with the error

eth1: hw csum failure.

Call Trace:
 <IRQ>  [<ffffffff804d3e31>]
__skb_checksum_complete_head+0x46/0x5f
 [<ffffffff804d3e56>] __skb_checksum_complete+0xc/0x11
 [<ffffffff805046c7>] tcp_v4_rcv+0x157/0x810
 [<ffffffff804d8a6f>] dev_queue_xmit+0x237/0x260
 [<ffffffff80229990>] find_busiest_group+0x252/0x684
 [<ffffffff804ead50>] ip_local_deliver+0xca/0x14c
 [<ffffffff804eb24a>] ip_rcv+0x478/0x4ba
 [<ffffffff803ec7d3>] sky2_poll+0x6f9/0x9b9
 [<ffffffff8022bd5d>]
run_rebalance_domains+0x13e/0x408
 [<ffffffff804d877a>] net_rx_action+0xa8/0x166
 [<ffffffff80235d62>] __do_softirq+0x55/0xc3
 [<ffffffff8020a4ec>] call_softirq+0x1c/0x28
 [<ffffffff8020b611>] do_softirq+0x2c/0x7d
 [<ffffffff8020b8cf>] do_IRQ+0x13e/0x15f
 [<ffffffff802086ce>] mwait_idle+0x0/0x46
 [<ffffffff80209871>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff80208710>] mwait_idle+0x42/0x46
 [<ffffffff80208666>] cpu_idle+0x8c/0xaf
 [<ffffffff8078174e>] start_kernel+0x2ac/0x2b8
 [<ffffffff80781140>] _sinittext+0x140/0x144

So I tried running the latest snapshot 2.6.23-rc3 and the almost the same thing happens. Only difference is that now the entire box locks up. The error is almost the same

eth1: hw csum failure.

Call Trace:
 <IRQ>  [<ffffffff804779b6>]
__skb_checksum_complete_head+0x43/0x56
 [<ffffffff804779d5>] __skb_checksum_complete+0xc/0x11
 [<ffffffff804a989d>] tcp_v4_rcv+0x14e/0x801
 [<ffffffff8048ff84>] ip_local_deliver+0xca/0x14c
 [<ffffffff80490472>] ip_rcv+0x46c/0x4ae
 [<ffffffff880060f9>] :sky2:sky2_poll+0x72b/0x9c7
 [<ffffffff8047c934>] net_rx_action+0xa8/0x166
 [<ffffffff80235ced>] __do_softirq+0x55/0xc4
 [<ffffffff8020c5cc>] call_softirq+0x1c/0x28
 [<ffffffff8020d6fd>] do_softirq+0x2c/0x7d
 [<ffffffff8020d9bb>] do_IRQ+0x13e/0x15f
 [<ffffffff8020a780>] mwait_idle+0x0/0x48
 [<ffffffff8020b951>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff880063e7>]
:sky2:sky2_xmit_frame+0x0/0x41d
 [<ffffffff8020a7c2>] mwait_idle+0x42/0x48
 [<ffffffff8020a718>] cpu_idle+0xbd/0xe0
 [<ffffffff80704a5a>] start_kernel+0x2ac/0x2b8
 [<ffffffff80704140>] _sinittext+0x140/0x144

I see that the new kernel includes some sort of SKY2 DEBUG stuff. I would be happy to rerun the test with that turned on, given some minor direction.

      ____________________________________________________________________________________

Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7

#1 lore raw

[Adding Stephen and netdev to CC]

Quoted 63 lines · James Corey

I tried running a D-link gig card on kernel 2.6.21.1 and it came up fine, but when I did a sftp of an linux dvd ISO to it, the interface would lock up hard with the error

eth1: hw csum failure.

Call Trace:
 <IRQ>  [<ffffffff804d3e31>]
__skb_checksum_complete_head+0x46/0x5f
 [<ffffffff804d3e56>] __skb_checksum_complete+0xc/0x11
 [<ffffffff805046c7>] tcp_v4_rcv+0x157/0x810
 [<ffffffff804d8a6f>] dev_queue_xmit+0x237/0x260
 [<ffffffff80229990>] find_busiest_group+0x252/0x684
 [<ffffffff804ead50>] ip_local_deliver+0xca/0x14c
 [<ffffffff804eb24a>] ip_rcv+0x478/0x4ba
 [<ffffffff803ec7d3>] sky2_poll+0x6f9/0x9b9
 [<ffffffff8022bd5d>]
run_rebalance_domains+0x13e/0x408
 [<ffffffff804d877a>] net_rx_action+0xa8/0x166
 [<ffffffff80235d62>] __do_softirq+0x55/0xc3
 [<ffffffff8020a4ec>] call_softirq+0x1c/0x28
 [<ffffffff8020b611>] do_softirq+0x2c/0x7d
 [<ffffffff8020b8cf>] do_IRQ+0x13e/0x15f
 [<ffffffff802086ce>] mwait_idle+0x0/0x46
 [<ffffffff80209871>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff80208710>] mwait_idle+0x42/0x46
 [<ffffffff80208666>] cpu_idle+0x8c/0xaf
 [<ffffffff8078174e>] start_kernel+0x2ac/0x2b8
 [<ffffffff80781140>] _sinittext+0x140/0x144

So I tried running the latest snapshot 2.6.23-rc3 and the almost the same thing happens. Only difference is that now the entire box locks up. The error is almost the same

eth1: hw csum failure.

Call Trace:
 <IRQ>  [<ffffffff804779b6>]
__skb_checksum_complete_head+0x43/0x56
 [<ffffffff804779d5>] __skb_checksum_complete+0xc/0x11
 [<ffffffff804a989d>] tcp_v4_rcv+0x14e/0x801
 [<ffffffff8048ff84>] ip_local_deliver+0xca/0x14c
 [<ffffffff80490472>] ip_rcv+0x46c/0x4ae
 [<ffffffff880060f9>] :sky2:sky2_poll+0x72b/0x9c7
 [<ffffffff8047c934>] net_rx_action+0xa8/0x166
 [<ffffffff80235ced>] __do_softirq+0x55/0xc4
 [<ffffffff8020c5cc>] call_softirq+0x1c/0x28
 [<ffffffff8020d6fd>] do_softirq+0x2c/0x7d
 [<ffffffff8020d9bb>] do_IRQ+0x13e/0x15f
 [<ffffffff8020a780>] mwait_idle+0x0/0x48
 [<ffffffff8020b951>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff880063e7>]
:sky2:sky2_xmit_frame+0x0/0x41d
 [<ffffffff8020a7c2>] mwait_idle+0x42/0x48
 [<ffffffff8020a718>] cpu_idle+0xbd/0xe0
 [<ffffffff80704a5a>] start_kernel+0x2ac/0x2b8
 [<ffffffff80704140>] _sinittext+0x140/0x144
Quoted 5 lines

I see that the new kernel includes some sort of SKY2 DEBUG stuff. I would be happy to rerun the test with that turned on, given some minor direction.

Regards,
Michal

Signature · 2 lines
LOG
http://www.stardust.webpages.pl/log/
#2 lore raw
Quoted 66 lines · On Thu, 16 Aug 2007 10:25:45 +0200 "Michal Piotrowski"…

[Adding Stephen and netdev to CC]

Quoted 63 lines · James Corey

I tried running a D-link gig card on kernel 2.6.21.1 and it came up fine, but when I did a sftp of an linux dvd ISO to it, the interface would lock up hard with the error

eth1: hw csum failure.

Call Trace:
 <IRQ>  [<ffffffff804d3e31>]
__skb_checksum_complete_head+0x46/0x5f
 [<ffffffff804d3e56>] __skb_checksum_complete+0xc/0x11
 [<ffffffff805046c7>] tcp_v4_rcv+0x157/0x810
 [<ffffffff804d8a6f>] dev_queue_xmit+0x237/0x260
 [<ffffffff80229990>] find_busiest_group+0x252/0x684
 [<ffffffff804ead50>] ip_local_deliver+0xca/0x14c
 [<ffffffff804eb24a>] ip_rcv+0x478/0x4ba
 [<ffffffff803ec7d3>] sky2_poll+0x6f9/0x9b9
 [<ffffffff8022bd5d>]
run_rebalance_domains+0x13e/0x408
 [<ffffffff804d877a>] net_rx_action+0xa8/0x166
 [<ffffffff80235d62>] __do_softirq+0x55/0xc3
 [<ffffffff8020a4ec>] call_softirq+0x1c/0x28
 [<ffffffff8020b611>] do_softirq+0x2c/0x7d
 [<ffffffff8020b8cf>] do_IRQ+0x13e/0x15f
 [<ffffffff802086ce>] mwait_idle+0x0/0x46
 [<ffffffff80209871>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff80208710>] mwait_idle+0x42/0x46
 [<ffffffff80208666>] cpu_idle+0x8c/0xaf
 [<ffffffff8078174e>] start_kernel+0x2ac/0x2b8
 [<ffffffff80781140>] _sinittext+0x140/0x144

So I tried running the latest snapshot 2.6.23-rc3 and the almost the same thing happens. Only difference is that now the entire box locks up. The error is almost the same

eth1: hw csum failure.

Call Trace:
 <IRQ>  [<ffffffff804779b6>]
__skb_checksum_complete_head+0x43/0x56
 [<ffffffff804779d5>] __skb_checksum_complete+0xc/0x11
 [<ffffffff804a989d>] tcp_v4_rcv+0x14e/0x801
 [<ffffffff8048ff84>] ip_local_deliver+0xca/0x14c
 [<ffffffff80490472>] ip_rcv+0x46c/0x4ae
 [<ffffffff880060f9>] :sky2:sky2_poll+0x72b/0x9c7
 [<ffffffff8047c934>] net_rx_action+0xa8/0x166
 [<ffffffff80235ced>] __do_softirq+0x55/0xc4
 [<ffffffff8020c5cc>] call_softirq+0x1c/0x28
 [<ffffffff8020d6fd>] do_softirq+0x2c/0x7d
 [<ffffffff8020d9bb>] do_IRQ+0x13e/0x15f
 [<ffffffff8020a780>] mwait_idle+0x0/0x48
 [<ffffffff8020b951>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff880063e7>]
:sky2:sky2_xmit_frame+0x0/0x41d
 [<ffffffff8020a7c2>] mwait_idle+0x42/0x48
 [<ffffffff8020a718>] cpu_idle+0xbd/0xe0
 [<ffffffff80704a5a>] start_kernel+0x2ac/0x2b8
 [<ffffffff80704140>] _sinittext+0x140/0x144
Quoted 8 lines
Quoted 5 lines

I see that the new kernel includes some sort of SKY2 DEBUG stuff. I would be happy to rerun the test with that turned on, given some minor direction.

Regards,
Michal

Please reproduce with a more recent kernel?

#3 lore raw

--- Stephen Hemminger

Quoted 86 lines · <[email protected]> wrote:
Quoted 3 lines · On Thu, 16 Aug 2007 10:25:45 +0200 "Michal Piotrowski"…

[Adding Stephen and netdev to CC]

On 15/08/07, James Corey <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines

I tried running a D-link gig card on kernel

2.6.21.1

Quoted 10 lines
Quoted 10 lines

and it came up fine, but when I did a sftp of an linux dvd ISO to it, the interface would lock up hard with the error

eth1: hw csum failure.

Call Trace:
 <IRQ>  [<ffffffff804d3e31>]
__skb_checksum_complete_head+0x46/0x5f
 [<ffffffff804d3e56>]
__skb_checksum_complete+0xc/0x11
> >  [<ffffffff805046c7>] tcp_v4_rcv+0x157/0x810
> >  [<ffffffff804d8a6f>] dev_queue_xmit+0x237/0x260
Quoted 1 line
Quoted 1 line

[<ffffffff80229990>]

find_busiest_group+0x252/0x684

Quoted 1 line
Quoted 1 line

[<ffffffff804ead50>]

ip_local_deliver+0xca/0x14c
> >  [<ffffffff804eb24a>] ip_rcv+0x478/0x4ba
> >  [<ffffffff803ec7d3>] sky2_poll+0x6f9/0x9b9
Quoted 10 lines
Quoted 10 lines

[<ffffffff8022bd5d>]

run_rebalance_domains+0x13e/0x408
 [<ffffffff804d877a>] net_rx_action+0xa8/0x166
 [<ffffffff80235d62>] __do_softirq+0x55/0xc3
 [<ffffffff8020a4ec>] call_softirq+0x1c/0x28
 [<ffffffff8020b611>] do_softirq+0x2c/0x7d
 [<ffffffff8020b8cf>] do_IRQ+0x13e/0x15f
 [<ffffffff802086ce>] mwait_idle+0x0/0x46
 [<ffffffff80209871>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff80208710>]
mwait_idle+0x42/0x46
> >  [<ffffffff80208666>] cpu_idle+0x8c/0xaf
> >  [<ffffffff8078174e>] start_kernel+0x2ac/0x2b8
> >  [<ffffffff80781140>] _sinittext+0x140/0x144
Quoted 3 lines
Quoted 3 lines

So I tried running the latest snapshot

2.6.23-rc3

Quoted 10 lines
Quoted 10 lines

and the almost the same thing happens. Only difference is that now the entire box locks up. The error is almost the same

eth1: hw csum failure.

Call Trace:
 <IRQ>  [<ffffffff804779b6>]
__skb_checksum_complete_head+0x43/0x56
 [<ffffffff804779d5>]
__skb_checksum_complete+0xc/0x11
> >  [<ffffffff804a989d>] tcp_v4_rcv+0x14e/0x801
Quoted 1 line
Quoted 1 line

[<ffffffff8048ff84>]

ip_local_deliver+0xca/0x14c
> >  [<ffffffff80490472>] ip_rcv+0x46c/0x4ae
Quoted 1 line
Quoted 1 line

[<ffffffff880060f9>]

:sky2:sky2_poll+0x72b/0x9c7

Quoted 21 lines
Quoted 20 lines
 [<ffffffff8047c934>] net_rx_action+0xa8/0x166
 [<ffffffff80235ced>] __do_softirq+0x55/0xc4
 [<ffffffff8020c5cc>] call_softirq+0x1c/0x28
 [<ffffffff8020d6fd>] do_softirq+0x2c/0x7d
 [<ffffffff8020d9bb>] do_IRQ+0x13e/0x15f
 [<ffffffff8020a780>] mwait_idle+0x0/0x48
 [<ffffffff8020b951>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff880063e7>]
:sky2:sky2_xmit_frame+0x0/0x41d
 [<ffffffff8020a7c2>] mwait_idle+0x42/0x48
 [<ffffffff8020a718>] cpu_idle+0xbd/0xe0
 [<ffffffff80704a5a>] start_kernel+0x2ac/0x2b8
 [<ffffffff80704140>] _sinittext+0x140/0x144

I see that the new kernel includes some sort of SKY2 DEBUG stuff. I would be happy to rerun the test with that turned on, given some minor direction.

Quoted 4 lines
Quoted 2 lines

Regards,
Michal

Please reproduce with a more recent kernel?

Um, I thought 2.6.23rc WAS pretty recent. :-)

I'll check if there is something newer in the
repository now.

-J

____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC

#4 lore raw
Quoted 7 lines · On Mon, 20 Aug 2007 08:42:21 -0700 (PDT) James Corey <[email protected]>…

--- Stephen Hemminger

Quoted 2 lines · <[email protected]> wrote:

On Thu, 16 Aug 2007 10:25:45 +0200
"Michal Piotrowski"

Quoted 7 lines
Quoted 1 line

Please reproduce with a more recent kernel?

Um, I thought 2.6.23rc WAS pretty recent. :-)

I'll check if there is something newer in the
repository now.

What is the chip version? Please send console log: "dmesg | grep sky2"

Signature · 1 line
Stephen Hemminger <[email protected]>
#5 lore raw

--- Stephen Hemminger

Quoted 12 lines · <[email protected]> wrote:
Quoted 9 lines · On Mon, 20 Aug 2007 08:42:21 -0700 (PDT) James Corey <[email protected]>…

--- Stephen Hemminger

Quoted 4 lines · <[email protected]> wrote:

On Thu, 16 Aug 2007 10:25:45 +0200
"Michal Piotrowski"

Please reproduce with a more recent kernel?

Quoted 13 lines
Quoted 5 lines

Um, I thought 2.6.23rc WAS pretty recent. :-)

I'll check if there is something newer in the
repository now.

What is the chip version? Please send console log:
"dmesg | grep sky2"

Signature · 1 line
Stephen Hemminger <[email protected]>

Ah ... details.

Machine:

Dell Optiplex 745

Kernel:

2.6.23-rc3 #1 SMP Tue Aug 14 19:44:07 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

Card:

D-Link DGE-550SX

# dmesg | grep sky2
sky2 0000:04:00.0: v1.16 addr 0xdf9fc000 irq 16
Yukon-XL (0xb3) rev 3
sky2 eth1: addr 00:17:9a:73:87:60
sky2 eth1: enabling interface
sky2 eth1: ram buffer 96K
sky2 eth1: Link is up at 1000 Mbps, full duplex, flow
control none

____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469

#6 lore raw
Quoted 46 lines · On Mon, 20 Aug 2007 09:23:46 -0700 (PDT) James Corey <[email protected]>…

--- Stephen Hemminger

Quoted 12 lines · <[email protected]> wrote:
Quoted 9 lines · On Mon, 20 Aug 2007 08:42:21 -0700 (PDT) James Corey <[email protected]>…

--- Stephen Hemminger

Quoted 4 lines · <[email protected]> wrote:

On Thu, 16 Aug 2007 10:25:45 +0200
"Michal Piotrowski"

Please reproduce with a more recent kernel?

Quoted 13 lines
Quoted 5 lines

Um, I thought 2.6.23rc WAS pretty recent. :-)

I'll check if there is something newer in the
repository now.

What is the chip version? Please send console log:
"dmesg | grep sky2"

Signature · 1 line
Stephen Hemminger <[email protected]>

Ah ... details.

Machine:

Dell Optiplex 745

Kernel:

2.6.23-rc3 #1 SMP Tue Aug 14 19:44:07 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

Card:

D-Link DGE-550SX

Quoted 8 lines
# dmesg | grep sky2
sky2 0000:04:00.0: v1.16 addr 0xdf9fc000 irq 16
Yukon-XL (0xb3) rev 3
sky2 eth1: addr 00:17:9a:73:87:60
sky2 eth1: enabling interface
sky2 eth1: ram buffer 96K
sky2 eth1: Link is up at 1000 Mbps, full duplex, flow
control none

Okay, this is a fiber based card. Does the error happen right away (ie all packets have bad sum), or is it sporadic (ie some magic packet or race in hardware). Also are you using regular (1500) or jumbo (9000) mtu?

Signature · 1 line
Stephen Hemminger <[email protected]>
#7 lore raw

--- Stephen Hemminger

Quoted 60 lines · <[email protected]> wrote:
Quoted 23 lines · On Mon, 20 Aug 2007 09:23:46 -0700 (PDT) James Corey <[email protected]>…

--- Stephen Hemminger

Quoted 19 lines · <[email protected]> wrote:
Quoted 7 lines · On Mon, 20 Aug 2007 08:42:21 -0700 (PDT) James Corey <[email protected]>…

--- Stephen Hemminger

Quoted 2 lines · <[email protected]> wrote:

On Thu, 16 Aug 2007 10:25:45 +0200
"Michal Piotrowski"

Quoted 7 lines
Quoted 1 line

Please reproduce with a more recent kernel?

Um, I thought 2.6.23rc WAS pretty recent. :-)

I'll check if there is something newer in the
repository now.

What is the chip version? Please send console

log:

Quoted 5 lines
Quoted 5 lines

"dmesg | grep sky2"

Signature · 1 line
Stephen Hemminger

<[email protected]>

Quoted 5 lines
Quoted 1 line

Ah ... details.

Quoted 7 lines

Machine:

Dell Optiplex 745

Kernel:

2.6.23-rc3 #1 SMP Tue Aug 14 19:44:07 EDT 2007

x86_64

Quoted 6 lines

x86_64 x86_64 GNU/Linux

Card:

D-Link DGE-550SX

Quoted 7 lines
# dmesg | grep sky2
sky2 0000:04:00.0: v1.16 addr 0xdf9fc000 irq 16
Yukon-XL (0xb3) rev 3
sky2 eth1: addr 00:17:9a:73:87:60
sky2 eth1: enabling interface
sky2 eth1: ram buffer 96K
sky2 eth1: Link is up at 1000 Mbps, full duplex,

flow

Quoted 9 lines
Quoted 1 line

control none

Okay, this is a fiber based card. Does the error
happen right away (ie all packets
have bad sum), or is it sporadic (ie some magic
packet or race in hardware).
Also are you using regular (1500) or jumbo (9000)
mtu?

Regular MTU - 1500.

It runs fine for normal stuff, ssh etc, but a big sftp will break it every time. My usual test is to sftp a linux distro ISO from another machine to it.

____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/