1 Attachment(s)
Re: Installing sk98lin driver
Hello everyone !
I have the same issue here.
I managed to upgrade my Ubuntu server 10.04 to 12.04 and apply the solution of foresto.
(Thanks to you by the way ;) )
But I still lost my PCI-E Ethernet card ! Yeah this is very weird. Sometime my eth0 disappear :-k ...
Running on my server I have a script which pings every 3 minutes a monitoring server. When the issue comes my server can't ping my monitoring anymore, but when I try to ssh I managed to connect to my server. Then I can't see my PCI-E Ethernet card (not in lspci, not in lshw).
When I'm reboot my server, the eth0 "wake up" again and work for some time.
I was thinking it's a driver issue but obviously it's more ? Sk89lin doesn't work better than sky2 at first look.
In attachement a part of my SYSLOG. According to my monitoring system my server stop pings at 14:09, but i can't see anything.
If someone has any idea ?
*sorry for the bad English this is not my main language.
Here some information:
# ifconfig
Code:
eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::250:43ff:fe01:184/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3854 errors:0 dropped:0 overruns:0 frame:0
TX packets:297 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:353873 (353.8 KB) TX bytes:23268 (23.2 KB)
Interrupt:52 Memory:fe620000-0
eth1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:10.98.1.2 Bcast:10.98.1.255 Mask:255.255.255.0
inet6 addr: fe80::de9c:52ff:fe07:cbf8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3416 errors:0 dropped:0 overruns:0 frame:0
TX packets:3518 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:320766 (320.7 KB) TX bytes:2456729 (2.4 MB)
Interrupt:51 Memory:fe420000-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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:336 (336.0 B) TX bytes:336 (336.0 B)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.16.99.1 P-t-P:172.16.99.1 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:2212 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:127499 (127.4 KB) TX bytes:0 (0.0 B)
# lspci
Code:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20)
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
04:00.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB] (rev 11)
# lshw -c network
Code:
*-network
description: Ethernet interface
product: 88E8053 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: eth0
version: 20
serial: XX:XX:XX:XX:XX:XX
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sk98lin driverversion=10.92.1.3 (01) duplex=full firmware=N/A ip=192.168.2.1 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:52 memory:fe620000-fe623fff ioport:e000(size=256) memory:fe600000-fe61ffff
*-network
description: Ethernet interface
product: Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB]
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth1
version: 11
serial: XX:XX:XX:XX:XX:XX
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sk98lin driverversion=10.92.1.3 (01) duplex=full firmware=N/A ip=10.98.1.2 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:51 memory:fe420000-fe423fff ioport:d000(size=256) memory:fe400000-fe41ffff
# lsmod | grep sk
# modprobe -l | grep sk
Code:
kernel/crypto/algif_skcipher.ko
kernel/drivers/net/ethernet/marvell/skge.ko
kernel/drivers/net/ethernet/marvell/sky2.ko
kernel/drivers/net/fddi/skfp/skfp.ko
kernel/drivers/net/tokenring/skisa.ko
kernel/drivers/media/dvb/dvb-usb/dvb-usb-gp8psk.ko
kernel/drivers/staging/comedi/drivers/skel.ko
kernel/drivers/mtd/nand/diskonchip.ko
kernel/net/sched/act_skbedit.ko
updates/dkms/sk98lin.ko
# cat /etc/modules
Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
loop
lp
# cat /etc/modprobe.d/blacklist.conf
Code:
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.
# evbug is a debug tool that should be loaded explicitly
blacklist evbug
# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd
# replaced by e100
blacklist eepro100
# replaced by tulip
blacklist de4x5
# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394
# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m
# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2
# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801
# replaced by p54pci
blacklist prism54
# replaced by b43 and ssb.
blacklist bcm43xx
# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps
# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi
# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp
# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr
# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
# lsb_release -a
Code:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
sk98lin-dkms compilation failing with kernel 3.2.0-31-generic
Hi Foresto, I really appreciate your work on this module - my machine (~2008 iMac) is barely usable without sk98lin due to a bug in sky2.
The latest version (10.92.1.3-0~ppa2) seems to be failing to compile against the 3.2.0-31-generic kernel on Ubuntu 12.04.
# cat /var/lib/dkms/sk98lin/10.91.2.3/build/make.log
Code:
DKMS make.log for sk98lin-10.91.2.3 for kernel 3.2.0-31-generic (x86_64)
Thu Oct 11 10:58:49 EST 2012
make: Entering directory `/usr/src/linux-headers-3.2.0-31-generic'
LD /var/lib/dkms/sk98lin/10.91.2.3/build/built-in.o
CC [M] /var/lib/dkms/sk98lin/10.91.2.3/build/skge.o
/var/lib/dkms/sk98lin/10.91.2.3/build/skge.c:396:2: error: unknown field ‘ndo_set_multicast_list’ specified in initialiser
/var/lib/dkms/sk98lin/10.91.2.3/build/skge.c:396:2: warning: initialisation from incompatible pointer type [enabled by default]
/var/lib/dkms/sk98lin/10.91.2.3/build/skge.c:396:2: warning: (near initialisation for ‘sky2_netdev_ops.ndo_validate_addr’) [enabled by default]
/var/lib/dkms/sk98lin/10.91.2.3/build/skge.c:410:2: error: unknown field ‘ndo_set_multicast_list’ specified in initialiser
/var/lib/dkms/sk98lin/10.91.2.3/build/skge.c:410:2: warning: initialisation from incompatible pointer type [enabled by default]
/var/lib/dkms/sk98lin/10.91.2.3/build/skge.c:410:2: warning: (near initialisation for ‘skge_netdev_ops.ndo_validate_addr’) [enabled by default]
/var/lib/dkms/sk98lin/10.91.2.3/build/skge.c: In function ‘XmitFrameSG’:
/var/lib/dkms/sk98lin/10.91.2.3/build/skge.c:3809:8: error: incompatible type for argument 2 of ‘pci_map_page’
include/asm-generic/pci-dma-compat.h:43:1: note: expected ‘struct page *’ but argument is of type ‘struct <anonymous>’
make[2]: *** [/var/lib/dkms/sk98lin/10.91.2.3/build/skge.o] Error 1
make[1]: *** [_module_/var/lib/dkms/sk98lin/10.91.2.3/build] Error 2
make: *** [sub-make] Error 2
make: Leaving directory `/usr/src/linux-headers-3.2.0-31-generic'
Since there isn't any way to report bugs to a PPA (yet), I thought I'd just leave this here ...
Thanks !
Re: Installing sk98lin driver
Quote:
Originally Posted by
foresto
Hi, all. I have updated my sk98lin-dkms package to the latest version from Marvell and packaged it for Ubuntu Precise. Initial testing on my own system (kernel 3.2.0-26-generic-pae) looks good.
https://launchpad.net/~foresto/+archive/extradrivers/
A few Ubuntu Oneiric users who tried my last package reported that although sk98lin built and installed correctly, the sky2 driver was still in use after they rebooted. I'm not sure why, but it seems that DKMS either failed to add the "blacklist sky2" line in /etc/modprobe.d/ or failed to rebuild the kernel's initrd file afterward. This could be a DKMS bug. In any case, taking care of those things manually apparently fixed the problem.
Please keep the comments coming.
Enjoy!
Foresto, thanks many! I installed your package tonight as I was having issues with the Sky2 driver. In fact, my issue was compounded because I was running a headless server, so I live by my network connection (OpenSSH). Every time the Sky2 driver failed me, I had to pull the disk and load it on my other machine, reinstall linux, and re-assemble my array. Here is an output:
lshw -class network
*-network
description: Ethernet interface
product: 88E8071 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:09:00.0
logical name: eth0
version: 16
serial: 00:26:2d:00:56:50
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sk98lin driverversion=10.92.1.3 (01) duplex=full firmware=N/A ip=192.168.*.*** latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:41 memory:f0300000-f0303fff ioport:2000(size=256) memory:80300000-8031ffff
Re: Installing sk98lin driver
help i am being thick but if i add the repo then type apt-get install sk98lin-dkms it says it cant find the package the other one listed on the site seems to work ok though , any ideas?
Re: Installing sk98lin driver
I have the follow make.log for kernel version 3.5
Quote:
DKMS make.log for sk98lin-10.92.1.3 for kernel 3.5.0-21-generic (x86_64)
Sat Feb 23 13:03:41 EST 2013
make: Entering directory `/usr/src/linux-headers-3.5.0-21-generic'
LD /var/lib/dkms/sk98lin/10.92.1.3/build/built-in.o
CC [M] /var/lib/dkms/sk98lin/10.92.1.3/build/skge.o
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:315:2: error: unknown field ‘get_sg’ specified in initializer
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:315:14: error: ‘ethtool_op_get_sg’ undeclared here (not in a function)
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:317:2: error: unknown field ‘get_tx_csum’ specified in initializer
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:317:18: error: ‘ethtool_op_get_tx_csum’ undeclared here (not in a function)
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:324:2: error: unknown field ‘get_rx_csum’ specified in initializer
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:324:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:324:2: warning: (near initialization for ‘sk98lin_ethtool_ops.set_coalesce’) [enabled by default]
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:339:2: error: unknown field ‘set_sg’ specified in initializer
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:339:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:339:2: warning: (near initialization for ‘sk98lin_ethtool_ops.get_ringparam’) [enabled by default]
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:340:2: error: unknown field ‘set_tx_csum’ specified in initializer
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:340:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:340:2: warning: (near initialization for ‘sk98lin_ethtool_ops.set_ringparam’) [enabled by default]
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:341:2: error: unknown field ‘set_rx_csum’ specified in initializer
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:341:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:341:2: warning: (near initialization for ‘sk98lin_ethtool_ops.get_pauseparam’) [enabled by default]
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:349:2: error: unknown field ‘get_tso’ specified in initializer
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:349:14: error: ‘ethtool_op_get_tso’ undeclared here (not in a function)
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:350:2: error: unknown field ‘set_tso’ specified in initializer
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:350:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/sk98lin/10.92.1.3/build/skge.c:350:2: warning: (near initialization for ‘sk98lin_ethtool_ops.begin’) [enabled by default]
make[2]: *** [/var/lib/dkms/sk98lin/10.92.1.3/build/skge.o] Error 1
make[1]: *** [_module_/var/lib/dkms/sk98lin/10.92.1.3/build] Error 2
make: *** [sub-make] Error 2
make: Leaving directory `/usr/src/linux-headers-3.5.0-21-generic'
Does the fact that the package is listed as i386 and I am trying to install on X86_64 have anything to do with the problem?
Re: Installing sk98lin driver
Hi everyone I have problems with sky2 driver for a very long time now.I have tried installing driver from marvels page : http://www.marvell.com/support/downloads/search.do ,
specifically :install_v10.92.1.3.tar.bz2
but with little success.Can someone tell me how to install this driver on Linux 3.5 with Ubuntu 12.10.
I tried deb from ppa added on this page but with little to no success.I have 2 computers that use this driver,one is x64 other 86.
Re: Installing sk98lin driver
Marvell did release a driver that is compatible with 3.x, I have not had time to try and get it setup however.
sk98lin-dkms package needs a new maintainer
Hi, folks.
I am no longer maintaining the sk98lin-dkms package because I no longer have hardware that works with that driver. The last package I uploaded to my PPA was for Ubuntu 12.04 (Precise). It's possible that the .deb file for that release might work on Quantal and newer releases, but I have no way of testing it, and I certainly cannot support it.
I would welcome someone skilled in driver builds and deb packaging to take over from here using their own PPA. Launchpad says there were over a hundred people using my package on Precise, so I imagine there are still quite a few who would appreciate the effort as they move to Ubuntu Quantal and newer releases.
Marvell releases new Yukon driver sources here:
http://www.marvell.com/support/downloads/
Thanks for the feedback while I was maintaining the package, and good luck!