Most recent kernel where this bug did not occur:On any default kernel doesn't work! Distribution: Mandriva 2006 Hardware Environment:MSI K8N Platinum Software Environment: Problem Description: After compiling the default kernel the sk98lin module it's not loading. On kernel 2.6.15.1 works only after patching the kernel with the driver from www.marvell.com. On kernel 2.6.16-rc1, doesn't work at all. Steps to reproduce:-
Please send 'lspci -vx'. Which module did you try with 2.6.16-rc1 ? sk98lin or sky2 ? -- Ueimor
I've tested all modules! None works!
[...] > I've tested all modules! None works! Ok. Please send the output of 'lspci -vx' and 'dmesg'. -- Ueimor
Here is (but with kernel 2.6.15.1 and patched with the driver from www.marvell.com, because it is on a single and dual athlon64 working server. The original sk98lin kernel module is not loading): lspci -vx 00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125 Flags: bus master, 66Mhz, fast devsel, latency 0 Capabilities: [44] #08 [01e0] Capabilities: [e0] #08 [a801] 00: de 10 5e 00 06 00 b0 00 a3 00 80 05 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 25 71 30: 00 00 00 00 44 00 00 00 00 00 00 00 ff 00 00 00 00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125 Flags: bus master, 66Mhz, fast devsel, latency 0 00: de 10 50 00 0f 00 a0 00 a3 00 01 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 25 71 30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00 00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125 Flags: 66Mhz, fast devsel, IRQ 10 I/O ports at fc00 [size=32] I/O ports at 4c00 [size=64] I/O ports at 4c40 [size=64] Capabilities: [44] Power Management version 2 00: de 10 52 00 01 00 b0 00 a2 00 05 0c 00 00 80 00 10: 01 fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 4c 00 00 41 4c 00 00 00 00 00 00 62 14 25 71 30: 00 00 00 00 44 00 00 00 00 00 00 00 0a 01 03 01 00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2) (prog-if 8a [Master SecP PriP]) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125 Flags: bus master, 66Mhz, fast devsel, latency 0 I/O ports at e000 [size=16] Capabilities: [44] Power Management version 2 00: de 10 53 00 05 00 b0 00 f2 8a 01 01 00 00 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 e0 00 00 00 00 00 00 00 00 00 00 62 14 25 71 30: 00 00 00 00 44 00 00 00 00 00 00 00 00 00 03 01 00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2) (prog-if 01 [Subtractive decode]) Flags: bus master, 66Mhz, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: f4000000-fbffffff Prefetchable memory behind bridge: fdf00000-fdffffff 00: de 10 5c 00 07 00 a0 00 a2 01 04 06 00 00 01 00 10: 00 00 00 00 00 00 00 00 00 01 01 20 c0 c0 80 22 20: 00 f4 f0 fb f0 fd f0 fd 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 00 0c 02 00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) Subsystem: Micro-Star International Co., Ltd.: Unknown device 7125 Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 217 Memory at 00000000fe02b000 (32-bit, non-prefetchable) [size=4K] I/O ports at dc00 [size=8] Capabilities: [44] Power Management version 2 00: de 10 57 00 07 00 b0 00 a3 00 80 06 00 00 00 00 10: 00 b0 02 fe 01 dc 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 25 71 30: 00 00 00 00 44 00 00 00 00 00 00 00 07 01 01 14 00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: 0000b000-0000bfff Memory behind bridge: fde00000-fdefffff Prefetchable memory behind bridge: 00000000fdd00000-00000000fdd00000 Capabilities: [40] Power Management version 2 Capabilities: [48] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable+ Capabilities: [58] #08 [a800] Capabilities: [80] #10 [0141] 00: de 10 5d 00 07 04 10 00 a3 00 04 06 08 00 01 00 10: 00 00 00 00 00 00 00 00 00 02 02 00 b1 b1 00 00 20: e0 fd e0 fd d1 fd d1 fd 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 00 04 00 00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 I/O behind bridge: 0000a000-0000afff Memory behind bridge: fdc00000-fdcfffff Prefetchable memory behind bridge: 00000000fdb00000-00000000fdb00000 Capabilities: [40] Power Management version 2 Capabilities: [48] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable+ Capabilities: [58] #08 [a800] Capabilities: [80] #10 [0141] 00: de 10 5d 00 07 04 10 00 a3 00 04 06 08 00 01 00 10: 00 00 00 00 00 00 00 00 00 03 03 00 a1 a1 00 00 20: c0 fd c0 fd b1 fd b1 fd 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 00 04 00 00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0 I/O behind bridge: 00009000-00009fff Memory behind bridge: fda00000-fdafffff Prefetchable memory behind bridge: 00000000fd900000-00000000fd900000 Capabilities: [40] Power Management version 2 Capabilities: [48] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable+ Capabilities: [58] #08 [a800] Capabilities: [80] #10 [0141] 00: de 10 5d 00 07 04 10 00 a3 00 04 06 08 00 01 00 10: 00 00 00 00 00 00 00 00 00 04 04 00 91 91 00 00 20: a0 fd a0 fd 91 fd 91 fd 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 00 04 00 00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=05, subordinate=05, sec-latency=0 I/O behind bridge: 00008000-00008fff Memory behind bridge: fd800000-fd8fffff Prefetchable memory behind bridge: 00000000fd700000-00000000fd700000 Capabilities: [40] Power Management version 2 Capabilities: [48] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable+ Capabilities: [58] #08 [a800] Capabilities: [80] #10 [0141] 00: de 10 5d 00 07 04 10 00 a3 00 04 06 08 00 01 00 10: 00 00 00 00 00 00 00 00 00 05 05 00 81 81 00 00 20: 80 fd 80 fd 71 fd 71 fd 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 00 04 00 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration Flags: fast devsel Capabilities: [80] #08 [2101] 00: 22 10 00 11 00 00 10 00 00 00 00 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map Flags: fast devsel 00: 22 10 01 11 00 00 00 00 00 00 00 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller Flags: fast devsel 00: 22 10 02 11 00 00 00 00 00 00 00 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control Flags: fast devsel 00: 22 10 03 11 00 00 00 00 00 00 00 06 00 00 80 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01:06.0 VGA compatible controller: S3 Inc. 86c764/765 [Trio32/64/64V+] (rev 54) (prog-if 00 [VGA]) Flags: medium devsel, IRQ 11 Memory at 00000000f4000000 (32-bit, non-prefetchable) [size=64M] Expansion ROM at 00000000fdf00000 [disabled] [size=64K] 00: 33 53 11 88 03 00 00 02 54 00 00 03 00 00 00 00 10: 00 00 00 f4 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00 01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Flags: bus master, medium devsel, latency 32, IRQ 233 I/O ports at cc00 [size=256] Memory at 00000000fbfff000 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 00: ec 10 39 81 07 00 90 02 10 00 00 02 00 20 00 00 10: 01 cc 00 00 00 f0 ff fb 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 ec 10 39 81 30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 20 40 03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 Gigabit Ethernet Controller (rev 15) Subsystem: Micro-Star International Co., Ltd. Marvell 88E8053 Gigabit Ethernet Controller (MSI) Flags: bus master, fast devsel, latency 0, IRQ 225 Memory at 00000000fdcfc000 (64-bit, non-prefetchable) [size=16K] I/O ports at ac00 [size=256] Expansion ROM at 00000000fdb00000 [disabled] [size=128K] Capabilities: [48] Power Management version 2 Capabilities: [50] Vital Product Data Capabilities: [5c] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable- Capabilities: [e0] #10 [0011] 00: ab 11 62 43 07 00 18 40 15 00 00 02 08 00 00 00 10: 04 c0 cf fd 00 00 00 00 01 ac 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 8c 05 30: 00 00 00 00 48 00 00 00 00 00 00 00 0b 01 00 00
Created attachment 7167 [details] dmesg added dmesg as attachament (too big)
Please boot kernel without what ever is putting out all those firewall messages! You need the sky2 driver in 2.6.16-rc1.
I succeded to make sky2 driver work, but after a few hours, the driver stops working with the kernel error message "tx timeout". This driver works worst than the sk98lin from www.marvell.com . You should try using sk98lin driver from marvell, not the old one from the kernel. At list it is working on every, Marvell/Yukon Chipset, but with the new modifications from the kernel 2.6.16, it can't be compiled.
It doesn't works for me too After several hours i see in dmesg: =================================== [145388.090827] NETDEV WATCHDOG: eth0: transmit timed out [145388.090870] sky2 transmit interrupt missed? recovered [145457.942930] NETDEV WATCHDOG: eth0: transmit timed out [145457.942939] sky2 eth0: tx timeout [146405.942749] NETDEV WATCHDOG: eth0: transmit timed out [146405.942788] sky2 transmit interrupt missed? recovered [146535.669074] NETDEV WATCHDOG: eth0: transmit timed out [146535.669083] sky2 eth0: tx timeout [147518.595936] NETDEV WATCHDOG: eth0: transmit timed out [147518.595975] sky2 transmit interrupt missed? recovered [147598.427909] NETDEV WATCHDOG: eth0: transmit timed out [147598.427918] sky2 eth0: tx timeout =================================== I use sky2 v0.15 kernel-2.6.16-rc3
Created attachment 7354 [details] Sky2 race on Napi workaround Workaround patch till more data available.
Still not working. After an hour of traffic, full load, the driver stucks.
Does the version in 2.6.16-rc6 or later work?
I need to see "cat /proc/interrupts" from your systems. The driver won't work with edge-triggered IRQ's. This is arguably a bug, but most NAPI drivers are that way.
Lots of changes went into the version in 2.6.17-rc3-git18 Please retry with that (or later version).
*** Bug 6284 has been marked as a duplicate of this bug. ***
Several more changes went into 2.6.17-rc4 latest (20 May 2006). These should fix all of the transmit hang issues.
Please reopen if problem still occrus.