Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

[HOWTO] - Sk98lin (Marvell Yukon) Network Card

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
cyblord
Guru
Guru
Posts: 424
Joined: Mon May 22, 2006 2:28 am

[HOWTO] - Sk98lin (Marvell Yukon) Network Card

  • Quote

Post by cyblord » Sun May 28, 2006 2:28 am

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: Select all

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
Last edited by cyblord on Sun Jun 18, 2006 12:47 am, edited 2 times in total.
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Sun May 28, 2006 9:50 pm

sky2 is only for yukon-2
users who have original yukon want skge
http://dev.gentoo.org/~dsd
Top
cyblord
Guru
Guru
Posts: 424
Joined: Mon May 22, 2006 2:28 am

  • Quote

Post by cyblord » Sun May 28, 2006 9:53 pm

Oh really? thanks, I didn't know that.
Top
skyPhyr
Apprentice
Apprentice
Posts: 159
Joined: Fri Sep 17, 2004 3:35 pm
Location: London, UK
Contact:
Contact skyPhyr
Website

  • Quote

Post by skyPhyr » Mon May 29, 2006 12:19 pm

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.
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Mon May 29, 2006 12:31 pm

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
Top
fangorn
Veteran
Veteran
User avatar
Posts: 1886
Joined: Sat Jul 31, 2004 1:31 pm
Contact:
Contact fangorn
Website

  • Quote

Post by fangorn » Mon May 29, 2006 2:02 pm

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
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Mon May 29, 2006 2:33 pm

you have the original yukon chipset, you want to be using skge
http://dev.gentoo.org/~dsd
Top
cyblord
Guru
Guru
Posts: 424
Joined: Mon May 22, 2006 2:28 am

  • Quote

Post by cyblord » Mon May 29, 2006 11:23 pm

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 :)
Top
skyPhyr
Apprentice
Apprentice
Posts: 159
Joined: Fri Sep 17, 2004 3:35 pm
Location: London, UK
Contact:
Contact skyPhyr
Website

  • Quote

Post by skyPhyr » Wed May 31, 2006 10:43 am

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.
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Thu Jun 01, 2006 10:56 am

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
Top
Zyne
Guru
Guru
Posts: 334
Joined: Tue Jun 08, 2004 12:16 pm

  • Quote

Post by Zyne » Thu Jun 01, 2006 9:53 pm

Code: Select all

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 :)
Top
cyblord
Guru
Guru
Posts: 424
Joined: Mon May 22, 2006 2:28 am

  • Quote

Post by cyblord » Thu Jun 01, 2006 10:10 pm

I hope they'll fix up the legit marvell driver for the next gentoo-sources release
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Thu Jun 01, 2006 10:24 pm

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
Top
cfgauss
l33t
l33t
User avatar
Posts: 793
Joined: Wed May 18, 2005 7:07 pm
Location: USA

  • Quote

Post by cfgauss » Wed Jun 07, 2006 3:29 pm

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: Select all

~> 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?
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Wed Jun 07, 2006 5:27 pm

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
Top
cfgauss
l33t
l33t
User avatar
Posts: 793
Joined: Wed May 18, 2005 7:07 pm
Location: USA

  • Quote

Post by cfgauss » Wed Jun 07, 2006 10:37 pm

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.
Top
verde
n00b
n00b
User avatar
Posts: 6
Joined: Tue Nov 09, 2004 1:20 pm
Location: Braga

  • Quote

Post by verde » Thu Jun 08, 2006 1:53 pm

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!!!
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Thu Jun 08, 2006 5:02 pm

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
Top
Leegzuig3
n00b
n00b
Posts: 1
Joined: Sun Jun 11, 2006 11:25 am

3c940 and 2.6.16 r9

  • Quote

Post by Leegzuig3 » Sun Jun 11, 2006 11:29 am

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....
Top
cfgauss
l33t
l33t
User avatar
Posts: 793
Joined: Wed May 18, 2005 7:07 pm
Location: USA

  • Quote

Post by cfgauss » Mon Jun 12, 2006 4:18 am

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.
Top
cyblord
Guru
Guru
Posts: 424
Joined: Mon May 22, 2006 2:28 am

Re: 3c940 and 2.6.16 r9

  • Quote

Post by cyblord » Sat Jun 17, 2006 12:58 am

Leegzuig3 wrote:02:05.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 12)
eh? 3com?
Top
Galahad
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Wed Feb 12, 2003 8:10 pm

  • Quote

Post by Galahad » Mon Apr 30, 2007 7:19 pm

Zyne wrote:

Code: Select all

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: Select all

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).
Top
Post Reply

22 posts • Page 1 of 1

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic