[Bugme-new] [Bug 11289] New: r8169 often fails at startup with "NETDEV WATCHDOG: eth0: transmit timed out"
bugme-daemon at bugzilla.kernel.org
bugme-daemon at bugzilla.kernel.org
Fri Aug 8 16:42:09 PDT 2008
http://bugzilla.kernel.org/show_bug.cgi?id=11289
Summary: r8169 often fails at startup with "NETDEV WATCHDOG:
eth0: transmit timed out"
Product: Drivers
Version: 2.5
KernelVersion: 2.6.26.2
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Network
AssignedTo: jgarzik at pobox.com
ReportedBy: l at lwithers.me.uk
Often, my ethernet card fails to work after starting my machine. I'm using the
r8169 driver and kernel version 2.6.26.2 . I have had this problem with both a
DGS-1216T Gigabit switch and an el-cheapo 100Mbit switch.
When it fails, I don't believe it is transmitting any packets at all (no
flashing lights on the switch).
On failure, I see the following in dmesg:
NETDEV WATCHDOG: eth0: transmit timed out
------------[ cut here ]------------
WARNING: at net/sched/sch_generic.c:222 dev_watchdog+0xa3/0xfb()
Modules linked in: bnep rfcomm l2cap bluetooth snd_seq_midi snd_emu10k1_synth
snd_emux_synth snd_seq_virmidi snd_seq_midi_event snd_seq_midi_emul snd_seq
snd_pcm_oss tun usbhid hid sr_mod cdrom snd_emu10k1 snd_rawmidi snd_ac97_codec
ac97_bus snd_pcm snd_seq_device snd_timer uhci_hcd ehci_hcd snd_page_alloc
firewire_ohci snd_util_mem snd_hwdep snd usbcore evdev firewire_core crc_itu_t
soundcore sg rtc pata_jmicron r8169 thermal processor button
Pid: 0, comm: swapper Not tainted 2.6.26.2 #2
Call Trace:
<IRQ> [<ffffffff8022ad09>] warn_on_slowpath+0x51/0x8c
[<ffffffff804179ae>] printk+0x4e/0x58
[<ffffffff80233642>] lock_timer_base+0x26/0x4b
[<ffffffff802337e2>] __mod_timer+0xb0/0xbf
[<ffffffff803a23ef>] dev_watchdog+0x0/0xfb
[<ffffffff803a23ef>] dev_watchdog+0x0/0xfb
[<ffffffff803a2492>] dev_watchdog+0xa3/0xfb
[<ffffffff80233088>] run_timer_softirq+0x163/0x1dc
[<ffffffff8023f419>] ktime_get+0xc/0x41
[<ffffffff8022fb71>] __do_softirq+0x46/0x93
[<ffffffff8020c41c>] call_softirq+0x1c/0x28
[<ffffffff8020de88>] do_softirq+0x2c/0x68
[<ffffffff8022f951>] irq_exit+0x3f/0x95
[<ffffffff8021889b>] smp_apic_timer_interrupt+0x89/0xa1
[<ffffffff80211664>] mwait_idle+0x0/0x3f
[<ffffffff8020bec6>] apic_timer_interrupt+0x66/0x70
<EOI> [<ffffffff80209370>] default_idle+0x0/0x3b
[<ffffffff80218393>] lapic_next_event+0x0/0xa
[<ffffffff802116a0>] mwait_idle+0x3c/0x3f
[<ffffffff8020a432>] cpu_idle+0x56/0xb8
---[ end trace a850f6a9616ee5b4 ]---
r8169: eth0: link up
I have tried both with and without MSI enabled.
I did notice that there is a difference in lspci output depending on whether
the card is working or not.
Working:
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
Express Gigabit Ethernet controller (rev 02)
Subsystem: Giga-byte Technology Device e000
Flags: bus master, fast devsel, latency 0, IRQ 377
I/O ports at c000 [size=256]
Memory at f1110000 (64-bit, prefetchable) [size=4K]
Memory at f1100000 (64-bit, prefetchable) [size=64K]
[virtual] Expansion ROM at f1120000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1
Enable+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
Capabilities: [d0] Vital Product Data <?>
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: r8169
Kernel modules: r8169
Not working:
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
Express Gigabit Ethernet controller (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: r8169
Kernel modules: r8169
I will attach lspci -vvvxxxx output as well. Further information can be
provided on request, and patches tried.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list