LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-12-2011, 10:42 PM   #1
RedOps
LQ Newbie
 
Registered: Dec 2011
Posts: 10

Rep: Reputation: Disabled
Marvell Yukon for Scientific Linux 6.1


I used to run CentOS 5, my network did not work right away when i installed that operationg system, so what i had to do is just download kmod-sk98lin package for RHEL5, install it, then enter manuall my network MAC address in the network settings, and it worked perfectly.


Now i installed SL6.1, for that i downloaded RHEL6 version of kmod-ak98lin package, installed it, entered again manually MAC address of my network card in network connection preferences, but...it did not work.

That is really strange. what could be the reason? any suggestions?

To give you more information, here is output of ifconfig -a command:
Code:
eth0      Link encap:Ethernet  HWaddr 20:CF:20:2B:02:32  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:51 Memory:fcdfc000-0 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1200 (1.1 KiB)  TX bytes:1200 (1.1 KiB)

First i tried with this package:
kmod-sk98lin-10.85.9.3-1.el6.elrepo.x86_64.rpm

It did not work, then i found a newer package:
kmod-sk98lin-10.88.3.3-1.el6.elrepo.x86_64.rpm

Did not work as well, aybe i need some different package or some other step to perform? Any ideas appreciated. thanks.
 
Old 12-13-2011, 01:00 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it is in the el repo
so i am guessing that

Code:
su -
 yum install kmod-sk98lin.x86_64
pulls the current
and any dependencies ( there should not be for an up to date sl6.X )
Code:
yum info kmod-sk98lin.x86_64
xxxxxxxxxxxxxxxxxxxx
Available Packages
Name        : kmod-sk98lin
Arch        : x86_64
Version     : 10.88.3.3
Release     : 1.el6.elrepo
Size        : 103 k
Repo        : elrepo
Summary     : sk98lin kernel module(s)
URL         : http://www.marvell.com/
License     : GPLv2
Description : This package provides the sk98lin kernel module(s) for Marvell
            : Yukon/SysKonnect SK-NET Gigabit Ethernet NICs built for the Linux
            : kernel using the x86_64 family of processors.
have you read the man page
-- online page--
http://linux.die.net/man/4/sk98lin


you might need to rerun modprobe or reboot
 
Old 12-13-2011, 01:25 AM   #3
RedOps
LQ Newbie
 
Registered: Dec 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
well yes i even tried modprobe after that, and reboot too. nothing helped.

so i downloaded that RPM in another OS, and copied to my SL6.1 machine, this one: kmod-sk98lin-10.88.3.3-1.el6.elrepo.x86_64.rpm

nothing worked out.

Any other ideas?

Last edited by RedOps; 12-13-2011 at 01:29 AM.
 
Old 12-13-2011, 02:27 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
and you have ran "system-config-network"

and in services you are using "networkmanager" and no the older "network"
 
1 members found this post helpful.
Old 12-13-2011, 09:17 AM   #5
RedOps
LQ Newbie
 
Registered: Dec 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
well messing around with those settings did not bring any result as well.

I even tried to create the /etc/sysconfig/network-scripts/ifcfg-eth0 file with appropriate settings as suggested by someone, because i did not have that file. but that did not help too!

So the interesting thing is ifconfig -a does give me eth0, but for some reason that eth0 is not being picked up? so looks like my driver installed OK, but for some reason system cannot use it?

or what else could that be?
 
Old 12-13-2011, 10:17 AM   #6
RedOps
LQ Newbie
 
Registered: Dec 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Just in case here are my outputs for the following commands, it might give some more info:

output of lspci | grep -i eth
Code:
03:00.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB] (rev 11)
output of dmesg | grep -i eth
Code:
ACPI Error (psparse-0537): Method parse/execution failed [\] (Node ffffffff81f08530), AE_ALREADY_EXISTS
ACPI: Marking method \___ as Serialized because of AE_ALREADY_EXISTS error
ACPI Error (psparse-0537): Method parse/execution failed [\] (Node ffffffff81f08530), AE_NOT_FOUND
eth0: Generic Marvell Yukon chipset Ethernet device
well! now it seems that for eth0 the generic Marvell Yukon installed instead of the right one? could that be a problem or it does not matter?
 
Old 12-13-2011, 10:57 AM   #7
RedOps
LQ Newbie
 
Registered: Dec 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
Ok i also tried to do the following: i downloaded driver installation pakcage from Marvell.com, i downloaded kernel source, and started the driver installation script which recompiled kernel and installed appropriate driver after removing a driver which was already installed, here is an output after running install.sh for sk98lin driver:

Code:
Disconnect alternative devices:  (done)                              [   OK   ]
Unload alternative driver (done)                                     [   OK   ]
Create tmp dir (/tmp/Sk98IfjVjIilFbOUNcHMMoeWR)                      [   OK   ]
Check user id (0)                                                    [   OK   ]
Check kernel version (2.6.32-131.0.15.el6.x86_64)                    [   OK   ]
Check kernel symbol file (/proc/kallsyms)                            [   OK   ]
Check kernel type (SMP)                                              [   OK   ]
Check number of CPUs (6)                                             [   OK   ]
Check architecture (found)                                           [   OK   ]
Set architecture (x86_64)                                            [   OK   ]
Check compiler (/usr/bin/gcc)                                        [   OK   ]
Check mcmodel flags (kernel)                                         [   OK   ]
Check module support (/sbin/insmod)                                  [   OK   ]
Check make (/usr/bin/make)                                           [   OK   ]
Check kernel gcc version (4.4.5) (Kernel:4.4.5 == gcc:4.4.5)         [   OK   ]
Check sk98lin driver availability (loaded)                           [   OK   ]
Disconnect devices: eth0  (done)                                     [   OK   ]
Remove driver (done)                                                 [   OK   ]
Check kernel header files (/lib/modules/2.6.32-131.0.15.el6.x86_64/so[   OK   ]
Check sources for .config file (/lib/modules/2.6.32-131.0.15.el6.x86_64/source/.config)                                                              [   OK   ]
Copy and check .config file (done)                                   [   OK   ]
Check the mem address space (lowmem)                                 [   OK   ]
Change IOMMU (enabled)                                               [   OK   ]
Create new .config file (done)                                       [   OK   ]
Execute: make oldconfig (done)                                       [   OK   ]
Check modpost availability (available)                               [   OK   ]
Unpack the sources (done)                                            [   OK   ]
Check firmware availability (done)                                   [   OK   ]
Check kernel header version (Kernel:2.6.32 == Header:2.6.32)         [   OK   ]
Check kernel functions (Changed: nothing)                            [   OK   ]
Compile the kernel (done)                                            [   OK   ]
Copy driver man page into /usr/share/man/man4/ (done)                [   OK   ]
Check the driver (done)                                              [   OK   ]
Create kernel modules driver directory (done)                        [   OK   ]
Delete old driver (done)                                             [   OK   ]
Copying driver (done)                                                [   OK   ]
Make dependency (done)                                               [   OK   ]
Delete temp directories (done)                                       [   OK   ]
All done. Driver installed and loaded.
To load the module manually, proceed as follows:
      Enter "modprobe sk98lin"

                                                     Have fun...
As you see everything went right, it even told me to have fun, with what i have problems.

I reboot..and nothing works again. So what could be the problem?
 
Old 12-13-2011, 12:00 PM   #8
RedOps
LQ Newbie
 
Registered: Dec 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
John, after this successful driver installation i again ran system-config-network as you said, then reboot and then it worked at last. thank you.
 
Old 12-13-2011, 02:03 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
i downloaded kernel source
so you did not install the source( kernel-devel ) for the CURRENTLY running kernel before .
 
Old 10-06-2012, 11:42 PM   #10
gauravdce07
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Rep: Reputation: Disabled
Marvell Yukon Optima 88E8059 - Sony Vaio LAN Card Driver Installation

I am a newbie in Linux.
This post is to contribute back to http://www.linuxquestions.org/questi...-6-1-a-918437/ thread which helped me immensely in installing LAN card Driver for Scientific Linux 6.3 on Sony Vaio VPCEB46FG.
Note:
a) I had installed SL-63-x86_64-2012-08-02-Everything-DVD1.iso and SL-63-x86_64-2012-08-02-Everything-DVD2.iso from http://ftp1.scientificlinux.org/linu....3/x86_64/iso/
b) I had unplugged LAN wire during installation
c) Wireless LAN was also switched off.
d) I am operating from GUI.

Following are the steps I took:
1) lspci | grep -i eth
>> 04:00.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB] (rev 11)
2) Download "linux-2.6.32.tar.bz2" from http://www.kernel.org/pub/linux/kernel/v2.6/ in /usr/src
3) extract it via right click "Extract Here". It should give linux-2.6.32
4) On Terminal run: ln -s linux-2.6.32 linux
5) Download "kmod-sk98lin-10.92.1.3-1.el6.elrepo.x86_64.rpm" from http://elrepo.org/linux/elrepo/el6/x86_64/RPMS/
6) Then double click for installation.
7) Download "Kernel 2.6.x Linux Driver Install Package for Yukon Devices" (install_v10.92.1.3.tar.bz2) via http://www.marvell.com/support/downl...vWn!-138244645
8) Extract it, then get into folder (DriverInstall) via Terminal. Execute: chmod +x install.sh
9) Execute: ./install.sh
10) Driver Installed successfully. I finally plugged in LAN cable and was henceforth able to connect to internet.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Drivers for Marvell Yukon 88E8036 ndenhere Linux - Newbie 1 03-21-2009 05:29 AM
Network problem with Marvell Yukon SphereX Linux - Networking 0 08-30-2008 04:10 AM
Marvell Yukon Ethernet Driver uds Linux - Networking 1 05-17-2008 12:57 PM
Marvell yukon network card ARCIS_house Linux - Newbie 2 03-20-2006 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration