2006-03-23 22:31:58

by Stephen Hassard

[permalink] [raw]
Subject: Re: [ck] 2.6.16-ck1

On Thu, Mar 23, 2006 at 09:34:19PM +0100, Edouard Gomez wrote:
> Rodney Gordon II wrote:
> >The new Yukon2 "sky2" driver: This one really pissed me off. It had me
> >thinking apache2 AND my linksys router we're on the brink. For some
> I never had the chance to make the sk98lin one working on my box, so I
> backported sky2 to 2.6.15 quite a few times from netdev-2.6 git tree.

It might be worth replacing the sky2 driver with the newest bleeding
edge one over here:

http://developer.osdl.org/shemminger/prototypes/sky2-1.0msi.tar.gz

You might also want to check the developer's blog entry:
http://developer.osdl.org/shemminger/blog/?p=25

---
sky2 1.0?

Looks like a found the root cause of the sky2 hangs on pci-express. I
copied some code from the SysKonnect driver that reconfigured the
pci-express max request size. This probably caused receive dma engine to
fail in face of contention. That will teach me to stop copy/pasting in
bugs.
---

It might fix some of you issues ..

later,
Steve Hassard


2006-03-24 07:20:25

by Edouard Gomez

[permalink] [raw]
Subject: Re: 2.6.16-ck1

Stephen Hassard wrote:
> sky2 1.0?
>
> Looks like a found the root cause of the sky2 hangs on pci-express. I
> copied some code from the SysKonnect driver that reconfigured the
> pci-express max request size. This probably caused receive dma engine to
> fail in face of contention. That will teach me to stop copy/pasting in
> bugs.
> ---
>
> It might fix some of you issues ..

I'll backport again from git. The patch i sent was equivalent to 2.6.16
sky2 module, but i see new patches that came in netdev-2.6.

[PATCH] sky2: more ethtool stats
[PATCH] sky2 version 1.1
[PATCH] sky2: handle all error irqs
[PATCH] sky2: transmit recovery
[PATCH] sky2: whitespace fixes
[PATCH] sky2: add MSI support
[PATCH] sky2: coalescing parameters
[PATCH] sky2: rework of NAPI and IRQ management
[PATCH] sky2: drop broken wake on lan support
[PATCH] sky2: remove support for untested Yukon EC ...
sky2: truncate oversize packets
sky2: force early transmit interruptsdiff to current
sky2: not random enough

--
Edouard Gomez

2006-03-25 18:03:16

by Rodney Gordon II

[permalink] [raw]
Subject: Re: [ck] Re: 2.6.16-ck1

On Fri, Mar 24, 2006 at 07:58:03AM +0100, Edouard Gomez wrote:
> I'll backport again from git. The patch i sent was equivalent to 2.6.16
> sky2 module, but i see new patches that came in netdev-2.6.
>
> [PATCH] sky2: more ethtool stats
> [PATCH] sky2 version 1.1
> [PATCH] sky2: handle all error irqs
> [PATCH] sky2: transmit recovery
> [PATCH] sky2: whitespace fixes
> [PATCH] sky2: add MSI support
> [PATCH] sky2: coalescing parameters
> [PATCH] sky2: rework of NAPI and IRQ management
> [PATCH] sky2: drop broken wake on lan support
> [PATCH] sky2: remove support for untested Yukon EC ...
> sky2: truncate oversize packets
> sky2: force early transmit interruptsdiff to current
> sky2: not random enough

For those of us that just want something working now:
Patch up using the latest sk98lin patch generator.. then edit
drivers/net/sk98lin/sky2.c and add this line:

#include "h/skdrv1st.h"
#include "h/skdrv2nd.h"
#include <linux/tcp.h>
#include <linux/ip.h> <-- ADD THIS

It will build fine and seems to work just fine until syskonnect
releases a new revision

GL

-r

--
Rodney "meff" Gordon II -*- [email protected]
Systems Administrator / Coder Geek -*- Open yourself to OpenSource