Bug 11663 - via-rhine warn_on_slowpath (eth0: Transmit timed out, status 0000, PHY status 786d, resetting...)
Summary: via-rhine warn_on_slowpath (eth0: Transmit timed out, status 0000, PHY status...
Status: RESOLVED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P1 low
Assignee: drivers_network@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-27 13:49 UTC by Domen Puncer Kugler
Modified: 2015-07-18 20:04 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.35
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Domen Puncer Kugler 2008-09-27 13:49:21 UTC
Latest working kernel version: /
Earliest failing kernel version: /
Distribution: Slackware
Hardware Environment:
00:0a.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 8b)
00:0b.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 8b)
00:0a.0 0200: 1106:3106 (rev 8b)
        Subsystem: 1106:0105
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (750ns min, 2000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at a000 [size=256]
        Region 1: Memory at e2000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: via-rhine
        Kernel modules: via-rhine

00:0b.0 0200: 1106:3106 (rev 8b)
        Subsystem: 1106:0105
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (750ns min, 2000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 12
        Region 0: I/O ports at a400 [size=256]
        Region 1: Memory at e2001000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: via-rhine
        Kernel modules: via-rhine

Software Environment: /
Problem Description:
Warning in kernel log:
[163481.000027] NETDEV WATCHDOG: eth0: transmit timed out
[163481.000187] eth0: Transmit timed out, status 0000, PHY status 786d, resetting...
[163481.000887] eth0: link up, 100Mbps, full-duplex, lpa 0x43E1
[163481.000912] ------------[ cut here ]------------
[163481.000916] WARNING: at /home/domen/kernel/linux-2.6.26/net/sched/sch_generic.c:222 dev_watchdog+0xba/0xd0()
[163481.000920] Modules linked in: tcp_diag inet_diag snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss l2cap ipv6 binfmt_misc it87 hwmon_vid hwmon psmouse fuse ati_remote2 hci_usb bluetooth usbhid hid snd_mpu401 snd_cs4232 snd_opl3_lib snd_hwdep ns558 snd_cs4231_lib fan rtc_cmos rtc_core rtc_lib parport_pc parport thermal snd_via82xx gameport snd_ac97_codec ac97_bus button processor snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device i2c_viapro i2c_core snd soundcore ehci_hcd via_agp via_rhine uhci_hcd mii agpgart shpchp evdev
[163481.000975] Pid: 0, comm: swapper Not tainted 2.6.26 #2
[163481.000982]  [<c011a60f>] warn_on_slowpath+0x5f/0x90
[163481.001001]  [<f0838115>] rhine_enable_linkmon+0x45/0xa0 [via_rhine]
[163481.001022]  [<f0839aa3>] mdio_read+0xb3/0xc0 [via_rhine]
[163481.001032]  [<c011b50b>] printk+0x1b/0x20
[163481.001039]  [<f081352d>] mii_check_media+0x13d/0x1e0 [mii]
[163481.001051]  [<c0141130>] default_enable+0x10/0x20
[163481.001063]  [<c01410cd>] check_irq_resend+0x1d/0x70
[163481.001069]  [<c0140965>] __enable_irq+0x55/0x60
[163481.001074]  [<f0838abd>] init_registers+0xad/0xd0 [via_rhine]
[163481.001083]  [<f083a359>] rhine_tx_timeout+0xc9/0x100 [via_rhine]
[163481.001094]  [<c0352dfa>] dev_watchdog+0xba/0xd0
[163481.001099]  [<c0122570>] run_timer_softirq+0x110/0x160
[163481.001113]  [<c011ee52>] __do_softirq+0x42/0x90
[163481.001118]  [<c011eec7>] do_softirq+0x27/0x30
[163481.001123]  [<c011f1c5>] irq_exit+0x45/0x60
[163481.001126]  [<c0104cc9>] do_IRQ+0x39/0x70
[163481.001134]  [<c012e102>] enqueue_hrtimer+0x72/0xf0
[163481.001140]  [<f0a027d5>] acpi_processor_idle+0x0/0x3e3 [processor]
[163481.001158]  [<c0103113>] common_interrupt+0x23/0x28
[163481.001167]  [<f0a02a3f>] acpi_processor_idle+0x26a/0x3e3 [processor]
[163481.001177]  [<f0a027d5>] acpi_processor_idle+0x0/0x3e3 [processor]
[163481.001187]  [<c0101aa7>] cpu_idle+0x37/0x80
[163481.001194]  =======================
[163481.001197] ---[ end trace b2677aed7c2c6876 ]---


Steps to reproduce: dunno
Comment 1 Anonymous Emailer 2008-09-27 15:35:45 UTC
Reply-To: akpm@linux-foundation.org


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

> On Sat, 27 Sep 2008 13:49:23 -0700 (PDT) bugme-daemon@bugzilla.kernel.org
> wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=11663
> 
>            Summary: via-rhine warn_on_slowpath (eth0: Transmit timed out,
>                     status 0000, PHY status 786d, resetting...)
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.26
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: low
>           Priority: P1
>          Component: Network
>         AssignedTo: jgarzik@pobox.com
>         ReportedBy: domen@coderock.org
> 
> 
> Latest working kernel version: /
> Earliest failing kernel version: /
> Distribution: Slackware
> Hardware Environment:
> 00:0a.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev
> 8b)
> 00:0b.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev
> 8b)
> 00:0a.0 0200: 1106:3106 (rev 8b)
>         Subsystem: 1106:0105
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 32 (750ns min, 2000ns max), Cache Line Size: 32 bytes
>         Interrupt: pin A routed to IRQ 5
>         Region 0: I/O ports at a000 [size=256]
>         Region 1: Memory at e2000000 (32-bit, non-prefetchable) [size=256]
>         Capabilities: [44] Power Management version 2
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>         Kernel driver in use: via-rhine
>         Kernel modules: via-rhine
> 
> 00:0b.0 0200: 1106:3106 (rev 8b)
>         Subsystem: 1106:0105
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 32 (750ns min, 2000ns max), Cache Line Size: 32 bytes
>         Interrupt: pin A routed to IRQ 12
>         Region 0: I/O ports at a400 [size=256]
>         Region 1: Memory at e2001000 (32-bit, non-prefetchable) [size=256]
>         Capabilities: [44] Power Management version 2
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>         Kernel driver in use: via-rhine
>         Kernel modules: via-rhine
> 
> Software Environment: /
> Problem Description:
> Warning in kernel log:
> [163481.000027] NETDEV WATCHDOG: eth0: transmit timed out
> [163481.000187] eth0: Transmit timed out, status 0000, PHY status 786d,
> resetting...
> [163481.000887] eth0: link up, 100Mbps, full-duplex, lpa 0x43E1
> [163481.000912] ------------[ cut here ]------------
> [163481.000916] WARNING: at
> /home/domen/kernel/linux-2.6.26/net/sched/sch_generic.c:222
> dev_watchdog+0xba/0xd0()
> [163481.000920] Modules linked in: tcp_diag inet_diag snd_seq_dummy
> snd_seq_oss
> snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss l2cap ipv6 binfmt_misc
> it87 hwmon_vid hwmon psmouse fuse ati_remote2 hci_usb bluetooth usbhid hid
> snd_mpu401 snd_cs4232 snd_opl3_lib snd_hwdep ns558 snd_cs4231_lib fan
> rtc_cmos
> rtc_core rtc_lib parport_pc parport thermal snd_via82xx gameport
> snd_ac97_codec
> ac97_bus button processor snd_pcm snd_timer snd_page_alloc snd_mpu401_uart
> snd_rawmidi snd_seq_device i2c_viapro i2c_core snd soundcore ehci_hcd via_agp
> via_rhine uhci_hcd mii agpgart shpchp evdev
> [163481.000975] Pid: 0, comm: swapper Not tainted 2.6.26 #2
> [163481.000982]  [<c011a60f>] warn_on_slowpath+0x5f/0x90
> [163481.001001]  [<f0838115>] rhine_enable_linkmon+0x45/0xa0 [via_rhine]
> [163481.001022]  [<f0839aa3>] mdio_read+0xb3/0xc0 [via_rhine]
> [163481.001032]  [<c011b50b>] printk+0x1b/0x20
> [163481.001039]  [<f081352d>] mii_check_media+0x13d/0x1e0 [mii]
> [163481.001051]  [<c0141130>] default_enable+0x10/0x20
> [163481.001063]  [<c01410cd>] check_irq_resend+0x1d/0x70
> [163481.001069]  [<c0140965>] __enable_irq+0x55/0x60
> [163481.001074]  [<f0838abd>] init_registers+0xad/0xd0 [via_rhine]
> [163481.001083]  [<f083a359>] rhine_tx_timeout+0xc9/0x100 [via_rhine]
> [163481.001094]  [<c0352dfa>] dev_watchdog+0xba/0xd0
> [163481.001099]  [<c0122570>] run_timer_softirq+0x110/0x160
> [163481.001113]  [<c011ee52>] __do_softirq+0x42/0x90
> [163481.001118]  [<c011eec7>] do_softirq+0x27/0x30
> [163481.001123]  [<c011f1c5>] irq_exit+0x45/0x60
> [163481.001126]  [<c0104cc9>] do_IRQ+0x39/0x70
> [163481.001134]  [<c012e102>] enqueue_hrtimer+0x72/0xf0
> [163481.001140]  [<f0a027d5>] acpi_processor_idle+0x0/0x3e3 [processor]
> [163481.001158]  [<c0103113>] common_interrupt+0x23/0x28
> [163481.001167]  [<f0a02a3f>] acpi_processor_idle+0x26a/0x3e3 [processor]
> [163481.001177]  [<f0a027d5>] acpi_processor_idle+0x0/0x3e3 [processor]
> [163481.001187]  [<c0101aa7>] cpu_idle+0x37/0x80
> [163481.001194]  =======================
> [163481.001197] ---[ end trace b2677aed7c2c6876 ]---
> 
> 
> Steps to reproduce: dunno
> 
Comment 2 Andrey Rahmatullin 2009-07-11 19:02:58 UTC
What's with this bug? Sometimes I experience timeouts on 2.6.30.
Comment 3 Andrey Rahmatullin 2009-10-09 07:23:08 UTC
2.6.32-rc3

[ 1453.000036] ------------[ cut here ]------------
[ 1453.000051] WARNING: at net/sched/sch_generic.c:261 dev_watchdog+0xdc/0x162()
[ 1453.000054] Hardware name: KT600-8237
[ 1453.000056] NETDEV WATCHDOG: eth0 (via-rhine): transmit queue 0 timed out
[ 1453.000059] Modules linked in: i2c_scmi ppp_deflate zlib_deflate bsd_comp radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core w83627hf hwmon_vid aes_i586 aes_generic af_packet ppp_async crc_ccitt ppp_generic slhc bridge stp llc via_rhine mii ipt_LOG xt_limit ipt_REJECT xt_tcpudp xt_state xt_mac iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables nls_cp1251 nls_cp866 vfat fat ext3 jbd mbcache arc4 ecb snd_via82xx rt61pci crc_itu_t rt2x00pci snd_ac97_codec ac97_bus rt2x00lib snd_pcm snd_timer mac80211 snd_page_alloc snd_mpu401_uart sr_mod fan hid_a4tech via_agp snd_rawmidi cdrom processor evdev cfg80211 snd_seq_device thermal serial_core snd thermal_sys button agpgart hwmon soundcore eeprom_93cx6 dm_mod fuse usbhid hid uhci_hcd ehci_hcd usbcore nls_base pata_via
[ 1453.000130] Pid: 4736, comm: X Not tainted 2.6.32-wrar-1 #1
[ 1453.000132] Call Trace:
[ 1453.000140]  [<c012c031>] warn_slowpath_common+0x70/0x98
[ 1453.000144]  [<c033cf7f>] ? dev_watchdog+0xdc/0x162
[ 1453.000148]  [<c012c0b8>] warn_slowpath_fmt+0x2f/0x43
[ 1453.000152]  [<c033cf7f>] dev_watchdog+0xdc/0x162
[ 1453.000157]  [<c0134b06>] ? mod_timer+0x27/0x3f
[ 1453.000161]  [<c0134daf>] run_timer_softirq+0x119/0x179
[ 1453.000165]  [<c033cea3>] ? dev_watchdog+0x0/0x162
[ 1453.000171]  [<c0131004>] __do_softirq+0x6f/0xfb
[ 1453.000175]  [<c0130f95>] ? __do_softirq+0x0/0xfb
[ 1453.000177]  <IRQ>  [<c0130d46>] ? irq_exit+0x36/0x76
[ 1453.000187]  [<c01164a7>] ? smp_apic_timer_interrupt+0x69/0x85
[ 1453.000193]  [<c0103d61>] ? apic_timer_interrupt+0x31/0x38
[ 1453.000197] ---[ end trace efc3a953cd7ea5a4 ]---
[ 1453.000341] eth0: Transmit timed out, status 0000, PHY status 786d, resetting...
[ 1453.000992] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Comment 4 besson3c 2009-12-30 08:16:43 UTC
This bug report appears identical, FWIW:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/454747?comments=all
Comment 5 Andrey Rahmatullin 2010-08-03 10:55:41 UTC
Still happens in 2.6.35.
Comment 6 Alan 2012-10-30 15:12:44 UTC
If this is still seen on modern kernels then please re-open/update
Comment 7 Yill Din 2014-10-19 14:48:56 UTC
Experienced this on current Ubuntu 14.04 with Kernel 3.13.0-37 (see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269412) and now after I switched to CentOS 7.0 with Kernel 3.10.0-123.8.1.el7.x86_64 as well. Every few hours the network dies and I have to reboot:

Oct 19 05:21:02 hostname kernel: ------------[ cut here ]------------
Oct 19 05:21:02 hostname kernel: WARNING: at net/sched/sch_generic.c:259 dev_watchdog+0x270/0x280()
Oct 19 05:21:02 hostname kernel: NETDEV WATCHDOG: eth0 (via-rhine): transmit queue 0 timed out
Oct 19 05:21:02 hostname kernel: Modules linked in: sg ppdev parport_pc snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep powernow_k8 snd_seq kvm_amd snd_seq_device kvm edac_mce_amd edac_core nfsd auth_rpcgss nfs_acl lockd sunrpc pcspkr snd_pcm snd_page_alloc serio_raw snd_timer shpchp snd i2c_viapro i2c_core parport k8temp mperf soundcore ext4 mbcache jbd2 sd_mod crc_t10dif crct10dif_common ata_generic pata_acpi sata_via pata_via via_rhine(OF) mii libata floppy
Oct 19 05:21:02 hostname kernel: CPU: 1 PID: 0 Comm: swapper/1 Tainted: GF          O--------------   3.10.0-123.8.1.el7.x86_64 #1
Oct 19 05:21:02 hostname kernel: Hardware name: MICRO-STAR INTERNATIONAL CO., LTD MS-7253/MS-7253, BIOS V1.7 10/23/2007
Oct 19 05:21:02 hostname kernel: ffff88007bd03d90 fe140858ae3e0ec5 ffff88007bd03d48 ffffffff815e237b
Oct 19 05:21:02 hostname kernel: ffff88007bd03d80 ffffffff8105dee1 0000000000000000 ffff880076e2e000
Oct 19 05:21:02 hostname kernel: ffff8800372d0c80 0000000000000001 0000000000000001 ffff88007bd03de8
Oct 19 05:21:02 hostname kernel: Call Trace:
Oct 19 05:21:02 hostname kernel: <IRQ>  [<ffffffff815e237b>] dump_stack+0x19/0x1b
Oct 19 05:21:02 hostname kernel: [<ffffffff8105dee1>] warn_slowpath_common+0x61/0x80
Oct 19 05:21:02 hostname kernel: [<ffffffff8105df5c>] warn_slowpath_fmt+0x5c/0x80
Oct 19 05:21:02 hostname kernel: [<ffffffff814f0be0>] dev_watchdog+0x270/0x280
Oct 19 05:21:02 hostname kernel: [<ffffffff814f0970>] ? dev_graft_qdisc+0x80/0x80
Oct 19 05:21:02 hostname kernel: [<ffffffff8106d236>] call_timer_fn+0x36/0x110
Oct 19 05:21:02 hostname kernel: [<ffffffff814f0970>] ? dev_graft_qdisc+0x80/0x80
Oct 19 05:21:02 hostname kernel: [<ffffffff8106f2ff>] run_timer_softirq+0x21f/0x320
Oct 19 05:21:02 hostname kernel: [<ffffffff81067047>] __do_softirq+0xf7/0x290
Oct 19 05:21:02 hostname kernel: [<ffffffff815f439c>] call_softirq+0x1c/0x30
Oct 19 05:21:02 hostname kernel: [<ffffffff81014d25>] do_softirq+0x55/0x90
Oct 19 05:21:02 hostname kernel: [<ffffffff810673e5>] irq_exit+0x115/0x120
Oct 19 05:21:02 hostname kernel: [<ffffffff815f4d75>] smp_apic_timer_interrupt+0x45/0x60
Oct 19 05:21:02 hostname kernel: [<ffffffff815f36dd>] apic_timer_interrupt+0x6d/0x80
Oct 19 05:21:02 hostname kernel: <EOI>  [<ffffffff81046346>] ? native_safe_halt+0x6/0x10
Oct 19 05:21:02 hostname kernel: [<ffffffff8101b3cf>] default_idle+0x1f/0xc0
Oct 19 05:21:02 hostname kernel: [<ffffffff8101b4be>] amd_e400_idle+0x4e/0x110
Oct 19 05:21:02 hostname kernel: [<ffffffff8101bcc6>] arch_cpu_idle+0x26/0x30
Oct 19 05:21:02 hostname kernel: [<ffffffff810b47b5>] cpu_startup_entry+0xf5/0x290
Oct 19 05:21:02 hostname kernel: [<ffffffff815d01d1>] start_secondary+0x265/0x27b
Oct 19 05:21:02 hostname kernel: ---[ end trace faf29a69b90777ba ]---
Oct 19 05:21:02 hostname kernel: via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
Oct 19 05:21:12 hostname kernel: via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
Oct 19 05:21:22 hostname kernel: via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
Oct 19 05:21:22 hostname kernel: via-rhine 0000:00:12.0 eth0: Reset not complete yet. Trying harder.
Oct 19 05:21:34 hostname kernel: via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
Oct 19 05:21:44 hostname kernel: via-rhine 0000:00:12.0 eth0: Transmit timed out, status 1003, PHY status 786d, resetting...
Comment 8 auxsvr 2015-07-18 20:04:31 UTC
Isn't this the same as https://bugzilla.kernel.org/show_bug.cgi?id=53371 ?

Note You need to log in before you can comment on or make changes to this bug.