* sky2 doesn't receive any packages after I ssh in via ipv6 and edit a file in vim (reproducable)
@ 2006-08-21 21:22 Thomas Glanzmann
[not found] ` <20060821150231.31a947d4@localhost.localdomain>
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Glanzmann @ 2006-08-21 21:22 UTC (permalink / raw)
To: LKML; +Cc: Stephen Hemminger
Hello,
I have the newest sky2 driver (with the newest fix in version 1.5)
running on my intel mac mini running under legacy bios modus. However if
I ssh in via IPv6 and start vim in the shell to edit a file the sky2
network adapter stops to work. This is reproducable. A friend of mine
thought that maybe the IPv6 code doesn't request the right checksum. But
I have no clue if it is related to this. I can give access to the
machine via ssh (including root) if someone is willing to track this
down. I have a userland programming running which reboots the machine if
the network connectivity is lost. At least this one is reliable. If
noone wants a shell account maybe someone can guide me through
debugging and tracking this down.
(mini) [/var/log] grep sky2 kern.log
Aug 20 20:52:10 mini kernel: sky2 v1.5 addr 0x90200000 irq 17 Yukon-EC (0xb6) rev 2
Aug 20 20:52:10 mini kernel: sky2 eth0: addr 00:16:cb:a3:91:3c
Aug 20 20:52:12 mini kernel: sky2 eth0: enabling interface
Aug 20 20:52:12 mini kernel: sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Aug 20 21:01:34 mini kernel: sky2 eth0: hw error interrupt status 0x30
Aug 20 21:01:34 mini kernel: sky2 eth0: ram data read parity error
Aug 20 21:01:34 mini kernel: sky2 eth0: ram data write parity error
Aug 20 21:01:34 mini kernel: sky2 eth0: hw error interrupt status 0x8
Aug 20 21:01:34 mini kernel: sky2 eth0: MAC parity error
Aug 20 21:01:34 mini kernel: sky2 eth0: hw error interrupt status 0x20
Aug 20 21:01:34 mini kernel: sky2 eth0: ram data read parity error
Aug 20 21:01:34 mini kernel: sky2 eth0: hw error interrupt status 0x8
Aug 20 21:01:34 mini kernel: sky2 eth0: MAC parity error
Aug 21 11:23:49 mini kernel: sky2 v1.5 addr 0x90200000 irq 17 Yukon-EC (0xb6) rev 2
Aug 21 11:23:49 mini kernel: sky2 eth0: addr 00:16:cb:a3:91:3c
Aug 21 11:23:50 mini kernel: sky2 eth0: enabling interface
Aug 21 11:23:50 mini kernel: sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Aug 21 18:38:44 mini kernel: sky2 eth0: hw error interrupt status 0x30
Aug 21 18:38:44 mini kernel: sky2 eth0: ram data read parity error
Aug 21 18:38:44 mini kernel: sky2 eth0: ram data write parity error
Aug 21 18:38:44 mini kernel: sky2 eth0: hw error interrupt status 0x8
Aug 21 18:38:44 mini kernel: sky2 eth0: MAC parity error
Aug 21 18:38:44 mini kernel: sky2 eth0: hw error interrupt status 0x20
Aug 21 18:38:44 mini kernel: sky2 eth0: ram data read parity error
Aug 21 18:38:44 mini kernel: sky2 eth0: hw error interrupt status 0x8
Aug 21 18:38:44 mini kernel: sky2 eth0: MAC parity error
Aug 21 18:48:31 mini kernel: sky2 v1.5 addr 0x90200000 irq 17 Yukon-EC (0xb6) rev 2
Aug 21 18:48:31 mini kernel: sky2 eth0: addr 00:16:cb:a3:91:3c
Aug 21 18:48:32 mini kernel: sky2 eth0: enabling interface
Aug 21 18:48:32 mini kernel: sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Aug 21 20:53:56 mini kernel: sky2 eth0: tx timeout
Aug 21 20:53:56 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:53:56 mini kernel: sky2 status report lost?
Aug 21 20:54:01 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:01 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:01 mini kernel: sky2 status report lost?
Aug 21 20:54:06 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:06 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:06 mini kernel: sky2 status report lost?
Aug 21 20:54:11 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:11 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:11 mini kernel: sky2 status report lost?
Aug 21 20:54:16 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:16 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:16 mini kernel: sky2 status report lost?
Aug 21 20:54:21 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:21 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:21 mini kernel: sky2 status report lost?
Aug 21 20:54:26 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:26 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:26 mini kernel: sky2 status report lost?
Aug 21 20:54:31 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:31 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:31 mini kernel: sky2 status report lost?
Aug 21 20:54:36 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:36 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:36 mini kernel: sky2 status report lost?
Aug 21 20:54:41 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:41 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:41 mini kernel: sky2 status report lost?
Aug 21 20:54:46 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:46 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:46 mini kernel: sky2 status report lost?
Aug 21 20:54:51 mini kernel: sky2 eth0: tx timeout
Aug 21 20:54:51 mini kernel: sky2 eth0: transmit ring 53 .. 30 report=54 done=54
Aug 21 20:54:51 mini kernel: sky2 status report lost?
Aug 21 20:56:17 mini kernel: sky2 v1.5 addr 0x90200000 irq 17 Yukon-EC (0xb6) rev 2
Aug 21 20:56:17 mini kernel: sky2 eth0: addr 00:16:cb:a3:91:3c
Aug 21 20:56:18 mini kernel: sky2 eth0: enabling interface
Aug 21 20:56:18 mini kernel: sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
This log messgaes are all related to the same problem. At the moment my
userland watchdog reboots the machine after 500 seconds:
(mini) [/var/log] grep watchdog-tg daemon.log
Aug 20 20:42:32 mini watchdog-tg[1763]: No PONG received from 192.168.0.3 (failure 1 of 50)
...
Aug 20 20:50:48 mini watchdog-tg[1763]: No PONG received from 192.168.0.3 (failure 50 of 50)
Aug 20 20:50:48 mini watchdog-tg[1763]: Telling init to reboot and no longer feed watchdog
Aug 21 18:38:49 mini watchdog-tg[1761]: No PONG received from 192.168.0.3 (failure 1 of 50)
...
Aug 21 18:47:07 mini watchdog-tg[1761]: No PONG received from 192.168.0.3 (failure 50 of 50)
Aug 21 18:47:07 mini watchdog-tg[1761]: Telling init to reboot and no longer feed watchdog
Aug 21 20:46:31 mini watchdog-tg[1755]: No PONG received from 192.168.0.3 (failure 1 of 50)
...
Aug 21 20:54:49 mini watchdog-tg[1755]: No PONG received from 192.168.0.3 (failure 50 of 50)
Aug 21 20:54:49 mini watchdog-tg[1755]: Telling init to reboot and no longer feed watchdog
Thomas
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <20060821150231.31a947d4@localhost.localdomain>]
[parent not found: <20060821222634.GC21790@cip.informatik.uni-erlangen.de>]
* [PATCH] IPV6 : segmentation offload not set correctly on TCP children [not found] ` <20060821222634.GC21790@cip.informatik.uni-erlangen.de> @ 2006-08-25 22:43 ` Stephen Hemminger 2006-08-25 22:56 ` David Miller ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: Stephen Hemminger @ 2006-08-25 22:43 UTC (permalink / raw) To: Thomas Glanzmann, David S. Miller, Herbert Xu; +Cc: netdev, linux-kernel TCP over IPV6 would incorrectly inherit the GSO settings. This would cause kernel to send Tcp Segmentation Offload packets for IPV6 data to devices that can't handle it. It caused the sky2 driver to lock http://bugzilla.kernel.org/show_bug.cgi?id=7050 and the e1000 would generate bogus packets. I can't blame the hardware for gagging if the upper layers feed it garbage. This was a new bug in 2.6.18 introduced with GSO support. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> --- linux-2.6.orig/net/ipv6/tcp_ipv6.c 2006-08-03 09:09:16.000000000 -0700 +++ linux-2.6/net/ipv6/tcp_ipv6.c 2006-08-25 15:30:31.000000000 -0700 @@ -944,7 +944,7 @@ * comment in that function for the gory details. -acme */ - sk->sk_gso_type = SKB_GSO_TCPV6; + newsk->sk_gso_type = SKB_GSO_TCPV6; __ip6_dst_store(newsk, dst, NULL); newtcp6sk = (struct tcp6_sock *)newsk; ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] IPV6 : segmentation offload not set correctly on TCP children 2006-08-25 22:43 ` [PATCH] IPV6 : segmentation offload not set correctly on TCP children Stephen Hemminger @ 2006-08-25 22:56 ` David Miller 2006-08-25 23:06 ` Thomas Glanzmann 2006-08-25 23:59 ` Herbert Xu 2 siblings, 0 replies; 9+ messages in thread From: David Miller @ 2006-08-25 22:56 UTC (permalink / raw) To: shemminger; +Cc: sithglan, herbert, netdev, linux-kernel From: Stephen Hemminger <shemminger@osdl.org> Date: Fri, 25 Aug 2006 15:43:53 -0700 > TCP over IPV6 would incorrectly inherit the GSO settings. > This would cause kernel to send Tcp Segmentation Offload packets for > IPV6 data to devices that can't handle it. It caused the sky2 driver > to lock http://bugzilla.kernel.org/show_bug.cgi?id=7050 > and the e1000 would generate bogus packets. I can't blame the > hardware for gagging if the upper layers feed it garbage. > > This was a new bug in 2.6.18 introduced with GSO support. > > Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Good catch. Applied, thanks Stephen. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] IPV6 : segmentation offload not set correctly on TCP children 2006-08-25 22:43 ` [PATCH] IPV6 : segmentation offload not set correctly on TCP children Stephen Hemminger 2006-08-25 22:56 ` David Miller @ 2006-08-25 23:06 ` Thomas Glanzmann 2006-08-25 23:24 ` Stephen Hemminger 2006-08-25 23:29 ` Stephen Hemminger 2006-08-25 23:59 ` Herbert Xu 2 siblings, 2 replies; 9+ messages in thread From: Thomas Glanzmann @ 2006-08-25 23:06 UTC (permalink / raw) To: Stephen Hemminger; +Cc: David S. Miller, Herbert Xu, netdev, linux-kernel Hello Stephen, thanks for the fix, it fixes the problem for me. I closed the bug. On which hardware did you reproduce the bug and how did you found it? Did you use git bisect? Thomas ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] IPV6 : segmentation offload not set correctly on TCP children 2006-08-25 23:06 ` Thomas Glanzmann @ 2006-08-25 23:24 ` Stephen Hemminger 2006-08-25 23:29 ` Stephen Hemminger 1 sibling, 0 replies; 9+ messages in thread From: Stephen Hemminger @ 2006-08-25 23:24 UTC (permalink / raw) To: Thomas Glanzmann; +Cc: David S. Miller, Herbert Xu, netdev, linux-kernel On Sat, 26 Aug 2006 01:06:26 +0200 Thomas Glanzmann <sithglan@stud.uni-erlangen.de> wrote: > Hello Stephen, > thanks for the fix, it fixes the problem for me. I closed the bug. On > which hardware did you reproduce the bug and how did you found it? Did > you use git bisect? > > Thomas Using sky2 on Intel motherboard and git bisect. But Jesse found same problem on e1000. Bisect was relatively fast since it was either base net code or driver. Starting with 2.6.17, everything worked, and latest was busted. git bisect start net drivers/net/sky2.c Test was ipv6 slogin, then run dmesg. If that worked then run top and cause lots of other traffic by just doing a firefox open-tabs to blast lots of connections. Wanted to induce tcp-ipv6 to get congested. -- Stephen Hemminger <shemminger@osdl.org> All non-trivial abstractions, to some degree, are leaky. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] IPV6 : segmentation offload not set correctly on TCP children 2006-08-25 23:06 ` Thomas Glanzmann 2006-08-25 23:24 ` Stephen Hemminger @ 2006-08-25 23:29 ` Stephen Hemminger 1 sibling, 0 replies; 9+ messages in thread From: Stephen Hemminger @ 2006-08-25 23:29 UTC (permalink / raw) To: Thomas Glanzmann; +Cc: David S. Miller, Herbert Xu, netdev, linux-kernel On Sat, 26 Aug 2006 01:06:26 +0200 Thomas Glanzmann <sithglan@stud.uni-erlangen.de> wrote: > Hello Stephen, > thanks for the fix, it fixes the problem for me. I closed the bug. On > which hardware did you reproduce the bug and how did you found it? Did > you use git bisect? > > Thomas Finding the line was luck. I spotted similar (but correct) code in DCCP over IPV6. -- Stephen Hemminger <shemminger@osdl.org> All non-trivial abstractions, to some degree, are leaky. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] IPV6 : segmentation offload not set correctly on TCP children 2006-08-25 22:43 ` [PATCH] IPV6 : segmentation offload not set correctly on TCP children Stephen Hemminger 2006-08-25 22:56 ` David Miller 2006-08-25 23:06 ` Thomas Glanzmann @ 2006-08-25 23:59 ` Herbert Xu 2 siblings, 0 replies; 9+ messages in thread From: Herbert Xu @ 2006-08-25 23:59 UTC (permalink / raw) To: Stephen Hemminger; +Cc: Thomas Glanzmann, David S. Miller, netdev, linux-kernel On Fri, Aug 25, 2006 at 03:43:53PM -0700, Stephen Hemminger wrote: > TCP over IPV6 would incorrectly inherit the GSO settings. > This would cause kernel to send Tcp Segmentation Offload packets for > IPV6 data to devices that can't handle it. It caused the sky2 driver > to lock http://bugzilla.kernel.org/show_bug.cgi?id=7050 > and the e1000 would generate bogus packets. I can't blame the > hardware for gagging if the upper layers feed it garbage. > > This was a new bug in 2.6.18 introduced with GSO support. > > Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Thanks for catching this Stephen! Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <6278d2220608220228x46010973p52bd4eeac34113@mail.gmail.com>]
[parent not found: <20060822104130.GC18587@cip.informatik.uni-erlangen.de>]
[parent not found: <6278d2220608220412s3df3a1c1wc9e3a3daab9c8555@mail.gmail.com>]
[parent not found: <20060822111659.GE18587@cip.informatik.uni-erlangen.de>]
* Re: sky2 doesn't receive any packages after I ssh in via ipv6 and edit a file in vim (reproducable) [not found] ` <20060822111659.GE18587@cip.informatik.uni-erlangen.de> @ 2006-08-22 11:29 ` Daniel J Blueman 2006-08-22 11:43 ` Thomas Glanzmann 0 siblings, 1 reply; 9+ messages in thread From: Daniel J Blueman @ 2006-08-22 11:29 UTC (permalink / raw) To: Thomas Glanzmann; +Cc: Linux Kernel Thomas Glanzmann wrote: > Hello, > I have the newest sky2 driver (with the newest fix in version 1.5) > running on my intel mac mini running under legacy bios modus. However if > I ssh in via IPv6 and start vim in the shell to edit a file the sky2 > network adapter stops to work. This is reproducable. A friend of mine > thought that maybe the IPv6 code doesn't request the right checksum. But > I have no clue if it is related to this. I can give access to the > machine via ssh (including root) if someone is willing to track this > down. I have a userland programming running which reboots the machine if > the network connectivity is lost. At least this one is reliable. If > noone wants a shell account maybe someone can guide me through > debugging and tracking this down. > > (mini) [/var/log] grep sky2 kern.log > Aug 20 20:52:10 mini kernel: sky2 v1.5 addr 0x90200000 irq 17 Yukon-EC (0xb6) rev 2 > Aug 20 20:52:10 mini kernel: sky2 eth0: addr 00:16:cb:a3:91:3c > Aug 20 20:52:12 mini kernel: sky2 eth0: enabling interface > Aug 20 20:52:12 mini kernel: sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both > Aug 20 21:01:34 mini kernel: sky2 eth0: hw error interrupt status 0x30 [snip] I am experiencing other sky2 issues which I can workaround by: # ethtool -K eth0 rx off It would be interesting if you can see if this, or other features being disabled works around your issue, eg: # ethtool -K eth0 tx off and: # ethtool -K eth0 txo off Dan -- Daniel J Blueman ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: sky2 doesn't receive any packages after I ssh in via ipv6 and edit a file in vim (reproducable) 2006-08-22 11:29 ` sky2 doesn't receive any packages after I ssh in via ipv6 and edit a file in vim (reproducable) Daniel J Blueman @ 2006-08-22 11:43 ` Thomas Glanzmann 0 siblings, 0 replies; 9+ messages in thread From: Thomas Glanzmann @ 2006-08-22 11:43 UTC (permalink / raw) To: Daniel J Blueman Hello Daniel, > # ethtool -K eth0 rx off > It would be interesting if you can see if this, or other features being > disabled works around your issue, eg: > # ethtool -K eth0 tx off > and: > # ethtool -K eth0 txo off I tried them, but still the absolut same efect. ssh mini.glanzmann.de vim /etc/passwd => network card dead Thomas ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-08-26 0:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-21 21:22 sky2 doesn't receive any packages after I ssh in via ipv6 and edit a file in vim (reproducable) Thomas Glanzmann
[not found] ` <20060821150231.31a947d4@localhost.localdomain>
[not found] ` <20060821222634.GC21790@cip.informatik.uni-erlangen.de>
2006-08-25 22:43 ` [PATCH] IPV6 : segmentation offload not set correctly on TCP children Stephen Hemminger
2006-08-25 22:56 ` David Miller
2006-08-25 23:06 ` Thomas Glanzmann
2006-08-25 23:24 ` Stephen Hemminger
2006-08-25 23:29 ` Stephen Hemminger
2006-08-25 23:59 ` Herbert Xu
[not found] <6278d2220608220228x46010973p52bd4eeac34113@mail.gmail.com>
[not found] ` <20060822104130.GC18587@cip.informatik.uni-erlangen.de>
[not found] ` <6278d2220608220412s3df3a1c1wc9e3a3daab9c8555@mail.gmail.com>
[not found] ` <20060822111659.GE18587@cip.informatik.uni-erlangen.de>
2006-08-22 11:29 ` sky2 doesn't receive any packages after I ssh in via ipv6 and edit a file in vim (reproducable) Daniel J Blueman
2006-08-22 11:43 ` Thomas Glanzmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®