sky2 drops immediately after boot
Subsystems (2)
Hi Stephen,
Here's another sky2 issue for you to look at when you have some time. [email protected] reported this at http://bugs.gentoo.org/136508 but I have tried to include all relevant info here.
The connection seems to work very briefly during boot, so the user can get an IP over DHCP. After that point, the connection stops working.
The adapter is integrated into a MSI K8N nVidia 4 Platinum motherboard. sky2 v1.5 addr 0xfe6fc000 irq 217 Yukon-EC (0xb6) rev 1
lspci: http://bugs.gentoo.org/attachment.cgi?id=92181&action=view
This has all been reproduced on 2.6.18-rc2 with the "sky2: NAPI poll fix" patch on top (sky2 v1.5).
sky2 v0.15 worked, and sk98lin works when he can get it to compile.
This is being used on a half duplex 10mbps connection -- I'm only guessing, but I wonder if this might have something to do with the failure.
Here is dmesg:
http://bugs.gentoo.org/attachment.cgi?id=92182&action=view
and /proc/interrupts
http://bugs.gentoo.org/attachment.cgi?id=92183&action=view
We also tried with the disable_msi parameter:
dmesg: http://bugs.gentoo.org/attachment.cgi?id=92184&action=view
interrupts: http://bugs.gentoo.org/attachment.cgi?id=92185&action=view
When the connection drops, the interrupt counter is still increasing as normal.
Any ideas? What extra info can we provide?
Thanks,
Daniel
There is a patch to add a debugging /proc/net/sky2/ethX interface to dump status rings. This interface will not be part of released drivers and should not be shipped in distribution kernels. It doesn't handle things like device renaming and is purely released as is.
http://developer.osdl.org/shemminger/prototypes/sky2-proc-debug.patch
You can use this to see if status or tx ring are hanging.