LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Marvell Yukon for Scientific Linux 6.1 (https://www.linuxquestions.org/questions/linux-networking-3/marvell-yukon-for-scientific-linux-6-1-a-918437/)

RedOps 12-12-2011 10:42 PM

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.

John VV 12-13-2011 01:00 AM

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

RedOps 12-13-2011 01:25 AM

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?

John VV 12-13-2011 02:27 AM

and you have ran "system-config-network"

and in services you are using "networkmanager" and no the older "network"

RedOps 12-13-2011 09:17 AM

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?

RedOps 12-13-2011 10:17 AM

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?

RedOps 12-13-2011 10:57 AM

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?

RedOps 12-13-2011 12:00 PM

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.

John VV 12-13-2011 02:03 PM

Quote:

i downloaded kernel source
so you did not install the source( kernel-devel ) for the CURRENTLY running kernel before .

gauravdce07 10-06-2012 11:42 PM

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.


All times are GMT -5. The time now is 08:56 PM.