Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110586 - skge not working with kernel-2.6.13-r3.
Summary: skge not working with kernel-2.6.13-r3.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Daniel Drake (RETIRED)
URL: http://kernel.org/git/?p=linux/kernel...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 17:20 UTC by Decibels
Modified: 2005-10-28 09:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Decibels 2005-10-26 17:20:35 UTC
Have been using kernel-2.6.11-gentoo-r5 for quite awhile because of problems
getting skge to even work. Sk98lin has to be patched with the syskonnect patch
to work. Finally got around to try a new kernel: kernel-2.6.13-gentoo-r3

Now nothing I do works! Have to boot back to the 2.6.11-gentoo-r5 to have network.

The only thing different than before is skge driver actually does kick on the
router lights like it is going to work. Didn't do that before when wrote last
bug on this.

Otherwise, both skge and sk98lin (patched and unpatched) turns on the router
lights like they are working. If you start net.eth0 it seems like it is working
and get assigned my static ip, netmask, gateway,.. But there is no connection,
can't ping anybody. 



Reproducible: Always
Steps to Reproduce:
Compiled and installed kernel-2.6.13-gentoo-r3. Made skge and sk98lin modules.
Commented them out of /etc/modules.autoload.d/kernel-2.6.
Rebooted and tried each after stopping net.eth0. 
Router lights come on, net.eth0 seems to be aquiring what it needs. 
Ethernet Does Not Work.

Tried to patch I used on sk98lin with patch used on 2.6.11-gentoo-r5, but it
would fail on compile or applying the patch on 2.6.13-gentoo-r3. So got the
newer patch and it worked. But no go either.

So now even sk98lin isn't working. 
NEVER have gotten skge to work, even now with new kernel.

Actual Results:  
Neither skge or sk98lin drivers work in 2.6.13-gentoo-r3.
Seems like network is coming up, but it isn't working. 

Network works on other kernel, with patched sk98lin driver. Skge will not work
on either kernel.
Comment 1 Decibels 2005-10-26 17:53:02 UTC
Few more details.

Kernel and sk98lin driver that works in 2.6.11-gentoo-r5:
# ethtool -i eth0
driver: sk98lin
version: 8.15.1.3 (01)
firmware-version: N/A
bus-info: 0000:02:0b.0

# cat /proc/net/sk98lin/eth0

Detailed statistic for device eth0
=======================================

Board statistics

Card name                      Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
Vendor/Device ID               11ab/4320
Card type (Bit)                32
Active Port                    A
Preferred Port                 A
Interrupt Moderation           disabled
Bus type                       PCI
Bus speed (MHz)                33
Bus width (Bit)                32
Driver version                 8.15.1.3 (01)
Driver release date            Mar-07-2005
Hardware revision              v1.3

Receive statistics

Received bytes                 43901
Received packets               151
Receive errors                 0
Receive dropped                0
Received multicast             0

Transmit statistics

Transmitted bytes              13023
Transmitted packets            133
Transmit errors                0
Transmit dropped               0
Transmit collisions            0




Kernel 2.6.13-gentoo-r3 and neither skge or sk98lin (patched or not) works:

With sk98lin driver patched:
# ethtool -i eth0
driver: sk98lin
version: 8.28.1.3 (01)
firmware-version: N/A
bus-info: 0000:02:0b.0

With skge driver:
# ethtool -i eth0
driver: skge
version: 1.0
firmware-version: N/A
bus-info: 0000:02:0b.0


# cat /proc/net/sk98lin/eth0
info is the same except for the driver version and Receive/Transmit packets.

skge produces nothing in /proc/net for either kernel.

Let me know if need any further information. Apparently Marvell chipset is very
picky. Will provide what you need it can. Seems like going to be awhile before
can upgrade kernel still. Sad thing is it works fine in this kernel and with
sk98lin.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-10-27 09:46:55 UTC
Please discount sk98lin from your tests as its much harder for us to get support
there.

Please attach "lspci -v" output.

If you are using skge as built in, place "skge.debug=16" on your kernel command
line. Otherwise load skge with "modprobe skge debug=16". Hopefully this won't
produce too much output. After trying to use your network, please attach full
dmesg output.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-10-27 09:53:42 UTC
Please do those tests on the latest development kernel
(vanilla-sources-2.6.14_rc5). There is a fix in there which looks promising.
Don't worry about testing 2.6.13 as well.
Comment 4 Decibels 2005-10-27 16:30:08 UTC
Good call on the kernel to test Daniel!  
  
Don't know if you still want the output/info now cause it WORKS!  
Without all the details of configuring kernel, nvidia troubles,... at first, I  
can say that skge module came up and am using the vanilla 2.6.14_rc5 kernel   
right now to write this in Konqueror.  
  
There is one thing though. I commented out the skge module kernel-2.6 file. 
After bootup, checked 'lsmod' and skge was loaded. But net wasn't working. 
After stopping net.eth0, removing and reinserting skge module, it came right 
up. So uncommented it in kernel-2.6 file and rebooted and worked right off bat. 
 
If it is autoloading the skge module, without it being told to by kernel-2.6 
file, shouldn't it have worked? Not a big deal though. 
 
Anyway, if you want the output/info still let me know. Do you want to close 
this cause the developmental kernel works or want to find out why it does and 
not in the 2.6.13 kernel and try to backport a patch or something?  
  
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-10-28 00:51:37 UTC
Just need to release 2.6.14 (and include this patch in future 2.6.13 releases if
there are any)
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-10-28 09:58:40 UTC
Fixed in gentoo-sources-2.6.14