Re: sky2 hangs without any messages

2007-07-13 Thread Daniel J Blueman
On 12/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: On Thu, 12 Jul 2007 22:29:50 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > On 12/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > On Wed, 11 Jul 2007 23:55:29 +0100 > > "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > > > >

Re: sky2 hangs without any messages

2007-07-12 Thread Stephen Hemminger
On Thu, 12 Jul 2007 22:29:50 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > On 12/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > On Wed, 11 Jul 2007 23:55:29 +0100 > > "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Please try again with post 2.6.22 git versio

Re: sky2 hangs without any messages

2007-07-12 Thread Daniel J Blueman
On 12/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: On Wed, 11 Jul 2007 23:55:29 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > > > > > > Please try again with post 2.6.22 git version (1.16)? > > > > Reproduced with 2.6.22 w/ sky2 1.16 from git. We observe this > > characteristic fa

Re: sky2 hangs without any messages

2007-07-11 Thread Stephen Hemminger
On Wed, 11 Jul 2007 23:55:29 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > > > > > > Please try again with post 2.6.22 git version (1.16)? > > > > Reproduced with 2.6.22 w/ sky2 1.16 from git. We observe this > > characteristic failure on the NFS server (always around 2-3GB of > > transmit

Re: sky2 hangs without any messages

2007-07-11 Thread Daniel J Blueman
On 11/07/07, Daniel J Blueman <[EMAIL PROTECTED]> wrote: On 11/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > On Wed, 11 Jul 2007 22:39:49 +0100 > "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > > > On 11/07/07, Daniel J Blueman <[EMAIL PROTECTED]> wrote: > > > > > On 05/07/07, Stephen Hem

Re: sky2 hangs without any messages

2007-07-11 Thread Daniel J Blueman
On 11/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: On Wed, 11 Jul 2007 22:39:49 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > On 11/07/07, Daniel J Blueman <[EMAIL PROTECTED]> wrote: > > > > On 05/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > > Well, it didn't fix my

Re: sky2 hangs without any messages

2007-07-11 Thread Stephen Hemminger
On Wed, 11 Jul 2007 22:39:49 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > On 11/07/07, Daniel J Blueman <[EMAIL PROTECTED]> wrote: > > > > On 05/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > > Well, it didn't fix my test, but it made it better. The following > > > > > seem

Re: sky2 hangs without any messages

2007-07-11 Thread Daniel J Blueman
On 11/07/07, Daniel J Blueman <[EMAIL PROTECTED]> wrote: > > On 05/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > Well, it didn't fix my test, but it made it better. The following seemed > > > to work longer... > > > > > > --- a/drivers/net/sky2.c2007-07-05 09:09:45.0

Re: sky2 hangs without any messages

2007-07-11 Thread Daniel J Blueman
On 11/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: On Wed, 11 Jul 2007 11:15:20 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > On 05/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > Well, it didn't fix my test, but it made it better. The following seemed > > to work longer.

Re: sky2 hangs without any messages

2007-07-11 Thread Stephen Hemminger
On Wed, 11 Jul 2007 11:15:20 +0100 "Daniel J Blueman" <[EMAIL PROTECTED]> wrote: > On 05/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > Well, it didn't fix my test, but it made it better. The following seemed > > to work longer... > > > > --- a/drivers/net/sky2.c2007-07-05 09:09:

Re: sky2 hangs without any messages

2007-07-11 Thread Daniel J Blueman
On 05/07/07, Stephen Hemminger <[EMAIL PROTECTED]> wrote: Well, it didn't fix my test, but it made it better. The following seemed to work longer... --- a/drivers/net/sky2.c2007-07-05 09:09:45.0 -0700 +++ b/drivers/net/sky2.c2007-07-05 09:09:51.0 -0700 @@ -2490,6

Re: sky2 hangs without any messages

2007-07-02 Thread Daniel J Blueman
Hi Stephen, Tino Keitel <[EMAIL PROTECTED]> wrote: in the last 2 days, I had 2 outages of the NIC of my Mac mini Core Duo. I checked the kernel log but I found nothing sky2 related. After reloading the module, the interface worked again. There is a reproducible hang (due to missed IRQ) in sky

Re: sky2 hangs without any messages

2007-06-27 Thread Stephen Hemminger
On Wed, 23 May 2007 09:54:31 +0200 Tino Keitel <[EMAIL PROTECTED]> wrote: > Hi folks, > > in the last 2 days, I had 2 outages of the NIC of my Mac mini Core Duo. > I checked the kernel log but I found nothing sky2 related. After > reloading the module, the interface worked again. > > Both freeze

Re: sky2 hangs without any messages

2007-05-23 Thread Stephen Hemminger
Does this patch fix the problem? It is something I saw while doing review for support of newer chips. Subject: sky2: don't set bogus bit in PHY register This code inherited from the sk98lin driver is incorrect on the Yukon2. The definition used for these bits is incorrect. Act

Re: sky2 hangs without any messages

2007-05-23 Thread Tino Keitel
On Wed, May 23, 2007 at 07:50:26 -0700, Stephen Hemminger wrote: [...] > Don't use that patch, it isn't needed and probably causes problem. > > Please get output of 'ethtool -d eth0'; more recent versions of > ethtool can decode the register format. Older versions just print hex. Hi, see the a

Re: sky2 hangs without any messages

2007-05-23 Thread Stephen Hemminger
On Wed, 23 May 2007 09:54:31 +0200 Tino Keitel <[EMAIL PROTECTED]> wrote: > Hi folks, > > in the last 2 days, I had 2 outages of the NIC of my Mac mini Core Duo. > I checked the kernel log but I found nothing sky2 related. After > reloading the module, the interface worked again. > > Both freeze

Re: sky2 hangs

2007-02-02 Thread Jarek Poplawski
On Fri, Feb 02, 2007 at 02:43:11PM +0100, Jarek Poplawski wrote: > On 02-02-2007 12:53, Fagyal Csongor wrote: > > Thomas Glanzmann wrote: ... > Is this with this yesterday sky2-tx-recover.patch applied? I mean hung-ups - not ethtool. Regards, Jarek P. - To unsubscribe from this list: send the lin

Re: sky2 hangs

2007-02-02 Thread Jarek Poplawski
On 02-02-2007 12:53, Fagyal Csongor wrote: > Thomas Glanzmann wrote: ... >>> Next time sky2 hangs on me I'll try to reset the PHY and see if that >>> helps. I can usually trigger the hang by doing a couple of ifconfig >>> up/down on the interface, though I'm not getting any error message >>> from t

Re: sky2 hangs

2007-02-02 Thread Fagyal Csongor
Thomas Glanzmann wrote: Hello, Next time sky2 hangs on me I'll try to reset the PHY and see if that helps. I can usually trigger the hang by doing a couple of ifconfig up/down on the interface, though I'm not getting any error message from the driver when that happens. same for me. I

Re: sky2 hangs

2007-02-02 Thread Julien BLACHE
Thomas Glanzmann <[EMAIL PROTECTED]> wrote: Hi, >> I can reproduce the problem now (on mac mini). Interestingly it seems >> to whack the whole ethernet switch when it happens. I've observed that too, on a cheap DLink switch. Next time sky2 hangs on me I'll try to reset the PHY and see if that h

Re: sky2 hangs

2007-02-02 Thread Thomas Glanzmann
Hello, > Next time sky2 hangs on me I'll try to reset the PHY and see if that > helps. I can usually trigger the hang by doing a couple of ifconfig > up/down on the interface, though I'm not getting any error message > from the driver when that happens. same for me. In dmesg is absolut nothing. I

Re: sky2 hangs

2007-02-01 Thread Thomas Glanzmann
Hello Stephen, > I can reproduce the problem now (on mac mini). Interestingly it seems > to whack the whole ethernet switch when it happens. wow. I have Linksys wrt54g has 'ethernet switch' and my Snom 320 VoIP phone still works when the mini network card goes down. On the other side the wrt54g i

Re: sky2 hangs

2007-02-01 Thread Thomas Glanzmann
Hello Fagyal, > - a previously suggested fix - passing idle=poll to the kernel - did not > work for me at the end same for me. I tried the two module parameters and the kernel parameter: pci=nomsi sky2.disable_msi=1 sky2.idle_timeout=1000 > - the locks I have happen very periodically (somewhere

Re: sky2 hangs

2007-02-01 Thread Fagyal Csongor
> Hello, > I have a sky2 network card in my intel mac mini. It stops working when I > do havy network load like watching a divx over http/sshfs. However if I > remove the driver module and load it again it works and even the tcp > connection doesn't get shutdown. I automated the above procedure usi

Re: sky2 hangs

2007-02-01 Thread Stephen Hemminger
I can reproduce the problem now (on mac mini). Interestingly it seems to whack the whole ethernet switch when it happens. > > - a previously suggested fix - passing idle=poll to the kernel - did not > work for me at the end It is not an MSI or IRQ problem. It is a phy problem (see below). > - th

Re: sky2 hangs

2007-02-01 Thread Thomas Glanzmann
Hello Stephen, > It was intentional in 2.6 to allow interfaces to be hot-removed. > Remember with Internet protocols there is no hard binding (normally) > between address and device and connections should not go down if link > fails. of course. That makes sense. I just wondered when the change in

Re: sky2 hangs

2007-02-01 Thread Thomas Glanzmann
Hello Sam, > Is this heavy Tx load (ie your watching movie from mac mini). or Rx > load (you are watching movie on mac mini). it's inbound (Rx) traffic. Watching a Movie, git pull from linus, or scp kernel tar tree from my laptop to my mac mini. Thomas - To unsubscribe from this list: se

Re: sky2 hangs

2007-02-01 Thread Stephen Hemminger
On Thu, 1 Feb 2007 19:55:32 +0100 Thomas Glanzmann <[EMAIL PROTECTED]> wrote: > Hello, > I have a sky2 network card in my intel mac mini. It stops working when I > do havy network load like watching a divx over http/sshfs. Is this heavy Tx load (ie your watching movie from mac mini). or Rx load (

Re: sky2 hangs

2007-02-01 Thread Stephen Hemminger
On Thu, 1 Feb 2007 19:55:32 +0100 Thomas Glanzmann <[EMAIL PROTECTED]> wrote: > Hello, > I have a sky2 network card in my intel mac mini. It stops working when I > do havy network load like watching a divx over http/sshfs. However if I > remove the driver module and load it again it works and even

Re: sky2 hangs, hw csum errors with 2.6.18

2006-10-03 Thread Martin Lucina
[EMAIL PROTECTED] said: > If you are seeing truesize errors with the stock 2.6.18 kernel then > some other protocol is messing with the skb's? Are you using IPV6? > Or PPPoE or something like that. Only thing like that that is running here is OpenVPN which is using a tun interface. There's hardl

Re: sky2 hangs, hw csum errors with 2.6.18

2006-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2006 21:13:51 +0200 Martin Lucina <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] said: > > > > What speed and duplex are you using? > > > > > > 1000 Mbps, full duplex > > > > > > > What MTU are you using. > > > > > > 1500 > > > > Are you sure? I assume you are using the latest dr

Re: sky2 hangs, hw csum errors with 2.6.18

2006-10-03 Thread Martin Lucina
Possibly related, could the TX hangs be due to extreme load / no free memory on the machine? I just realised that my application appears to be loading the machine to the max... (i.e. all 2GB RAM used + another couple GB in swap) -mato - To unsubscribe from this list: send the line "unsubscribe ne

Re: sky2 hangs, hw csum errors with 2.6.18

2006-10-03 Thread Martin Lucina
[EMAIL PROTECTED] said: > > > What speed and duplex are you using? > > > > 1000 Mbps, full duplex > > > > > What MTU are you using. > > > > 1500 > > Are you sure? I assume you are using the latest driver from Linus's > git repository. That version adds support for fragmented receive, but > that

Re: sky2 hangs, hw csum errors with 2.6.18

2006-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2006 20:39:49 +0200 Martin Lucina <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] said: > > On Tue, 3 Oct 2006 20:21:20 +0200 > > Martin Lucina <[EMAIL PROTECTED]> wrote: > > > > > Hi Stephen, > > > > > > I'm still getting tx timeouts even after applying the patch you sent me > > >

Re: sky2 hangs, hw csum errors with 2.6.18

2006-10-03 Thread Martin Lucina
[EMAIL PROTECTED] said: > On Tue, 3 Oct 2006 20:21:20 +0200 > Martin Lucina <[EMAIL PROTECTED]> wrote: > > > Hi Stephen, > > > > I'm still getting tx timeouts even after applying the patch you sent me > > and forcing tx flow control off: > > What speed and duplex are you using? 1000 Mbps, full

Re: sky2 hangs, hw csum errors with 2.6.18

2006-10-03 Thread Stephen Hemminger
On Tue, 3 Oct 2006 20:21:20 +0200 Martin Lucina <[EMAIL PROTECTED]> wrote: > Hi Stephen, > > I'm still getting tx timeouts even after applying the patch you sent me > and forcing tx flow control off: What speed and duplex are you using? > > Also, I'm seeing a bunch of messages like this (in ad

Re: sky2 hangs, hw csum errors with 2.6.18

2006-10-03 Thread Martin Lucina
Hi Stephen, I'm still getting tx timeouts even after applying the patch you sent me and forcing tx flow control off: Sep 28 20:35:53 dezo kernel: NETDEV WATCHDOG: eth1: transmit timed out Sep 28 20:35:53 dezo kernel: sky2 eth1: tx timeout Sep 28 20:35:53 dezo kernel: sky2 eth1: transmit ring 420

Re: sky2 hangs, hw csum errors with 2.6.18

2006-09-22 Thread Stephen Hemminger
On Fri, 22 Sep 2006 20:38:13 +0200 Martin Lucina <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] said: > > To get tx flow control to turn off. You need a patch (already in netdev-2.6 > > upstream) > > and then you can do: > > > > ethtool -A eth1 autoneg off tx off > > Sorry, you've lost me.

Re: sky2 hangs, hw csum errors with 2.6.18

2006-09-22 Thread Martin Lucina
[EMAIL PROTECTED] said: > To get tx flow control to turn off. You need a patch (already in netdev-2.6 > upstream) > and then you can do: > > ethtool -A eth1 autoneg off tx off Sorry, you've lost me. Which patch? You're saying that turning off tx flow control will fix the hangs I'm seeing

Re: sky2 hangs, hw csum errors with 2.6.18

2006-09-22 Thread Martin Lucina
[EMAIL PROTECTED] said: > You can turn off TX pause and get the same effect. Not sure if I did the right thing, but: # ifdown eth1 ... # ethtool -A eth1 tx off # ethtool -a eth1 Pause parameters for eth1: Autonegotiate: on RX: on TX: off # ifup eth1 ... sky2 eth1: enablin

Re: sky2 hangs, hw csum errors with 2.6.18

2006-09-22 Thread Stephen Hemminger
On Fri, 22 Sep 2006 20:29:25 +0200 Martin Lucina <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] said: > > You can turn off TX pause and get the same effect. > > Not sure if I did the right thing, but: > > # ifdown eth1 > ... > # ethtool -A eth1 tx off > # ethtool -a eth1 > Pause parameters for e

Re: sky2 hangs, hw csum errors with 2.6.18

2006-09-22 Thread Martin Lucina
Stephen, [EMAIL PROTECTED] said: > You can turn off TX pause and get the same effect. OK, I'll try that and get back to you. > Is this a dual port on single port card? Single port, copper media. -mato - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message

Re: sky2 hangs, hw csum errors with 2.6.18

2006-09-22 Thread Stephen Hemminger
On Fri, 22 Sep 2006 13:24:43 +0200 Martin Lucina <[EMAIL PROTECTED]> wrote: > Hello, > > I'm having problems with my sky2 NIC hanging under heavy load. This > appears to be an old problem since it happened for me with 2.6.17 as > well. Upgrading the affected systems to 2.6.18 has not solved the

Re: sky2: hangs on 2.6.16

2006-03-25 Thread MichaelM
On Fri, Mar 24, 2006 at 02:32:41PM -0800, Stephen Hemminger wrote: > On Fri, 24 Mar 2006 22:13:54 + > Michael Menegakis <[EMAIL PROTECTED]> wrote: > > > > > were they any helpfull? > > The first thing to look for is are packets showing up (and being transmitted) > by doing > ethtool -S

Re: sky2: hangs on 2.6.16

2006-03-24 Thread Stephen Hemminger
On Fri, 24 Mar 2006 22:13:54 + Michael Menegakis <[EMAIL PROTECTED]> wrote: > > were they any helpfull? The first thing to look for is are packets showing up (and being transmitted) by doing ethtool -S eth0 Since in this driver stats come out of the PHY, it is possible for the PHY to

Re: sky2: hangs on 2.6.16

2006-03-24 Thread Michael Menegakis
On Fri, Mar 24, 2006 at 07:29:33PM +, fs wrote: > On Fri, Mar 24, 2006 at 11:24:35AM -0800, Stephen Hemminger wrote: > > On Fri, 24 Mar 2006 18:48:37 + > > fs <[EMAIL PROTECTED]> wrote: > > > > > On Fri, Mar 24, 2006 at 10:40:00AM -0800, Stephen Hemminger wrote: > > > > > Maybe the hang I

Re: sky2: hangs on 2.6.16

2006-03-24 Thread fs
On Fri, Mar 24, 2006 at 11:24:35AM -0800, Stephen Hemminger wrote: > On Fri, 24 Mar 2006 18:48:37 + > fs <[EMAIL PROTECTED]> wrote: > > > On Fri, Mar 24, 2006 at 10:40:00AM -0800, Stephen Hemminger wrote: > > > > Maybe the hang I notice is different because it stays with this patch > > > > and

Re: sky2: hangs on 2.6.16

2006-03-24 Thread Stephen Hemminger
On Fri, 24 Mar 2006 18:48:37 + fs <[EMAIL PROTECTED]> wrote: > On Fri, Mar 24, 2006 at 10:40:00AM -0800, Stephen Hemminger wrote: > > > Maybe the hang I notice is different because it stays with this patch > > > and appears primarily after using multiple connections. > > > > > > An easy way t

Re: sky2: hangs on 2.6.16

2006-03-24 Thread fs
On Fri, Mar 24, 2006 at 10:40:00AM -0800, Stephen Hemminger wrote: > > Maybe the hang I notice is different because it stays with this patch > > and appears primarily after using multiple connections. > > > > An easy way to reproduce it here is this > > > > axel -n 40 http://..file (a downloader

Re: sky2: hangs on 2.6.16

2006-03-24 Thread Stephen Hemminger
On Fri, 24 Mar 2006 18:18:57 + michael <[EMAIL PROTECTED]> wrote: > On Fri, Mar 24, 2006 at 09:38:44AM -0800, Stephen Hemminger wrote: > > On Fri, 24 Mar 2006 17:14:49 + > > michael <[EMAIL PROTECTED]> wrote: > > > > > transfer of data hangs with sky2 very often on a > > > > > > :02

Re: sky2: hangs on 2.6.16

2006-03-24 Thread michael
On Fri, Mar 24, 2006 at 09:38:44AM -0800, Stephen Hemminger wrote: > On Fri, 24 Mar 2006 17:14:49 + > michael <[EMAIL PROTECTED]> wrote: > > > transfer of data hangs with sky2 very often on a > > > > :02:00.0 Ethernet controller: Marvell Technology Group > > Ltd. 88E8036 Fast Ethernet Co

Re: sky2: hangs on 2.6.16

2006-03-24 Thread Stephen Hemminger
On Fri, 24 Mar 2006 17:14:49 + michael <[EMAIL PROTECTED]> wrote: > transfer of data hangs with sky2 very often on a > > :02:00.0 Ethernet controller: Marvell Technology Group > Ltd. 88E8036 Fast Ethernet Controller (rev 10) > > found on toshiba laptops, > > when using 2.6.16, which p