Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] - Sk98lin (Marvell Yukon) Network Card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424
Location: Vancouver, Canada

PostPosted: Sun May 28, 2006 2:28 am    Post subject: [HOWTO] - Sk98lin (Marvell Yukon) Network Card Reply with quote

Hey everyone!

Okay, here's the deal: you may have already read the issues elsewhere, which states that sk98lin is not supported by gentoo-sources (kernel), that there's a bug...etc.

I have tried to follow some of the guides which told me to patch my kernel, poke it, stab it...etc. The documentations were not clear, and it was a hassle.

The easiest and most straight-forward way is as follows:

1. Empty your /etc/conf.d/net file - to let the system automatically use dhcp. (optional)

2. Configure your kernel (under device drivers -> networking -> 1000 mbit), but DO NOT use the deprecated marvell yukon driver, but use the SKY2 driver.

Code:

cd /usr/src/linux
make menuconfig
Device drivers -> networking -> 1000 mbit -> SKY2


Then recompile your kernel ( I won't go into that), and make sure your boot loader uses the new kernel.

3.Reboot, and hopefully eth0 will start :)

************************
So the bottom line is that you have to use the SKY2 driver

I hope that helped! :D

*Edit*
dsd wrote:
sky2 is only for yukon-2
users who have original yukon want skge

_________________
'mmmmm Thinkpad...


Last edited by cyblord on Sun Jun 18, 2006 12:47 am; edited 2 times in total
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sun May 28, 2006 9:50 pm    Post subject: Reply with quote

sky2 is only for yukon-2
users who have original yukon want skge
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424
Location: Vancouver, Canada

PostPosted: Sun May 28, 2006 9:53 pm    Post subject: Reply with quote

Oh really? thanks, I didn't know that.
Back to top
View user's profile Send private message
skyPhyr
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 159
Location: London, UK

PostPosted: Mon May 29, 2006 12:19 pm    Post subject: Reply with quote

hi cyblord,

I've tried the sky2 after upgrading to 2.6.16 and it's extremely unrealiable here - causes the whole system to freeze on boot quite often and drops the network after only minutes.

Anyone else experienced that?

The sk98lin drivers work for me on 2.6.15 so I've downgraded my kernel.

Cheers,

Alan.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Mon May 29, 2006 12:31 pm    Post subject: Reply with quote

you need to be running a very recent 2.6.16 for sky2 to work reliably

also, sky2 is not a substitute for sk98lin under 2.6.15, unless you were not using the in-kernel sk98lin?

skge is a substitute for the in-kernel sk98lin
sky2 is for the newer cards

the vendor-produced sk98lin supports both the old and the new (through huge hacks), this is not included in the kernel
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1884

PostPosted: Mon May 29, 2006 2:02 pm    Post subject: Reply with quote

Sorry if I hijack the thread, but I use several Marvell yukon chips on Asus boards (K8M Deluxe IIRC) in machines of the "why would anybody want to reboot a machine" class.

What is the most reliable driver for these. I had some startup problems at boot when using kernel modules with both drivers and now have transfer dropouts when using builtin sk98lin of gentoo-sources-2.6.15.

I would be very thankful for your experiences.

fangorn
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Mon May 29, 2006 2:33 pm    Post subject: Reply with quote

you have the original yukon chipset, you want to be using skge
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424
Location: Vancouver, Canada

PostPosted: Mon May 29, 2006 11:23 pm    Post subject: Reply with quote

skyPhyr wrote:
hi cyblord,

I've tried the sky2 after upgrading to 2.6.16 and it's extremely unrealiable here - causes the whole system to freeze on boot quite often and drops the network after only minutes.

Anyone else experienced that?

The sk98lin drivers work for me on 2.6.15 so I've downgraded my kernel.

Cheers,

Alan.


with the latest gentoo-sources (kernel), you should have any problems with it. that's what I'm using :)
Back to top
View user's profile Send private message
skyPhyr
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 159
Location: London, UK

PostPosted: Wed May 31, 2006 10:43 am    Post subject: Reply with quote

Using 2.6.16-gentoo-r8 was where I had the problem - didn't try kernel driver under 2.6.15 - just using sk98lin there

I think the card is correct according to lspci and the kernel help
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)

Any other ideas what it could have been? GCC 4.1.1? amd64?

Cheers,

Alan.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Jun 01, 2006 10:56 am    Post subject: Reply with quote

you have a yukon-2. you want to be using sky2. it is young but issues should be fixed in the latest kernels.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
Zyne
Guru
Guru


Joined: 08 Jun 2004
Posts: 334

PostPosted: Thu Jun 01, 2006 9:53 pm    Post subject: Reply with quote

Code:
05:0c.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)


This is the output of lspci for a yukon-1 NIC, Anything with a number different from 88E8001 is not yukon-1... :)
This said, I have been using skge since it was in the kernel, and never had a problem with it... No freezes/lockups/reboots whatsoever....

Just thought this could be useful for some ppl to find out if they have 1st or 2nd generation yukon cards :)
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424
Location: Vancouver, Canada

PostPosted: Thu Jun 01, 2006 10:10 pm    Post subject: Reply with quote

I hope they'll fix up the legit marvell driver for the next gentoo-sources release
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Jun 01, 2006 10:24 pm    Post subject: Reply with quote

i assume you mean the vendor driver (sk98lin)? i think it is extremely unlikely that syskonnect will start adhering to kernel coding standards again.

skge and sky2 are the only drivers which we can get support for. i'd recommend that sk98lin users switch over.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
cfgauss
Guru
Guru


Joined: 18 May 2005
Posts: 308
Location: USA

PostPosted: Wed Jun 07, 2006 3:29 pm    Post subject: Reply with quote

dsd wrote:
i assume you mean the vendor driver (sk98lin)? i think it is extremely unlikely that syskonnect will start adhering to kernel coding standards again.

skge and sky2 are the only drivers which we can get support for. i'd recommend that sk98lin users switch over.

I'd like to switch, if possible. Here's my card:
Code:

~> lspci -v|grep -i marvell
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15)
        Subsystem: Micro-Star International Co., Ltd. Marvell 88E8053 Gigabit Ethernet Controller (MSI)

Currently I'm using kernel 2.6.15-gentoo-r7 with the sk98lin driver patched by Syskonnect and it works wonderfully. I've got the 2.6.16-gentoo-r9 kernel and have tried compiling skge, sky2, and sk98lin into the kernel but none work. When I use the latest Syskonnect patch the sk98lin driver won't compile. When I load the kernel patch mentioned in another post, http://lkml.org/lkml/diff/2006/2/13/107/1, on top of Syskonnect's patch, it will compile but still does not work.

What am I doing wrong?
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Wed Jun 07, 2006 5:27 pm    Post subject: Reply with quote

ignore every other driver (do not compile them), compile sky2 as built into your kernel. boot up, try to use your network. explain your problem in full.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
cfgauss
Guru
Guru


Joined: 18 May 2005
Posts: 308
Location: USA

PostPosted: Wed Jun 07, 2006 10:37 pm    Post subject: Reply with quote

dsd wrote:
ignore every other driver (do not compile them), compile sky2 as built into your kernel. boot up, try to use your network. explain your problem in full.

I did that and booted services in interactive mode. net.eth0, the Marvell card, seemed to boot OK as dhcp seemed to obtain an IP address after the usual pause. The first service to utilize the network after net.eth0 was ntp-client. This failed. I dropped to a shell. ifconfig for eth0 looked normal. However, I could not ping yahoo.com (which I can whenever the network is working normally). This has been my experience using sky2 for all 2.6.16 kernels, from r1 thorugh the current r9.

Any suggestions will be gratefully received. Thanks.
Back to top
View user's profile Send private message
verde
n00b
n00b


Joined: 09 Nov 2004
Posts: 6
Location: Braga

PostPosted: Thu Jun 08, 2006 1:53 pm    Post subject: Reply with quote

Same problem here!!!

With 2.15-r8 sk98lin just works...

With 2.16-r7 sky2 works just a few seconds... and puff doesn't work again...
_________________
S.L.B Campeão!!!
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Jun 08, 2006 5:02 pm    Post subject: Reply with quote

verde: 2.6.16-r7 is not the latest kernel
cfgauss: please file a bug with dmesg and /proc/interrupts attached
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
Leegzuig3
n00b
n00b


Joined: 11 Jun 2006
Posts: 1

PostPosted: Sun Jun 11, 2006 11:29 am    Post subject: 3c940 and 2.6.16 r9 Reply with quote

02:05.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 12)

2.6.16-gentoo-r9


Seems i cant get these things to work; anyone else same prob?
_________________
Gentoo beginner....
Back to top
View user's profile Send private message
cfgauss
Guru
Guru


Joined: 18 May 2005
Posts: 308
Location: USA

PostPosted: Mon Jun 12, 2006 4:18 am    Post subject: Reply with quote

dsd wrote:
cfgauss: please file a bug with dmesg and /proc/interrupts attached

Done. Bug 136508.

As this is my first bug report, I hope I provided enough information.
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424
Location: Vancouver, Canada

PostPosted: Sat Jun 17, 2006 12:58 am    Post subject: Re: 3c940 and 2.6.16 r9 Reply with quote

Leegzuig3 wrote:
02:05.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 12)



eh? 3com?
Back to top
View user's profile Send private message
Galahad
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 126

PostPosted: Mon Apr 30, 2007 7:19 pm    Post subject: Reply with quote

Zyne wrote:
Code:
05:0c.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)


This is the output of lspci for a yukon-1 NIC, Anything with a number different from 88E8001 is not yukon-1... :)
This said, I have been using skge since it was in the kernel, and never had a problem with it... No freezes/lockups/reboots whatsoever....

Just thought this could be useful for some ppl to find out if they have 1st or 2nd generation yukon cards :)


yukon1 is at least 88E8001, 88E8003 and 88E8010.

Additionally the older SK-NET GE adapters based on the genesis chip:
Code:

00:09.0 Ethernet controller: SysKonnect SK-9872 Gigabit Ethernet Server Adapter (SK-NET GE-ZX dual link) (rev 13)

even though that's a lie from lspci, that should be SysKonnect SK-9821 Gigabit Ethernet Server Adapter (SK-NET GE-T).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum