Skip to contentSkip to conversation

NETDEV WATCHDOG: internal(r8152): transmit queue 0 timed out

DISCUSSION poma 4 participants 7 messages Jan 16, 2015 – Feb 4, 2015 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

poma

author
#1 lore raw
In reply to a message not in the archive
Quoted 30 lines · sean darcy

I've got F20 on an old laptop I'm using as a router. The external interface uses the RJ45 port. The internal uses a USB ethernet adapter. Every 2-3 weeks, the internal USB adapter fails. I can fix it by just moving it to the other USB port. In another 2-3 weeks, it will fail again, and I move it back to the original USB port, and so on.

No problems with the external RJ45 interface.

The logs aren't very helpful:

12:39:22 kernel: NETDEV WATCHDOG: internal (r8152): transmit queue 0 timed out
12:39:22 kernel: Modules linked in: xt_conntrack xt_nat ipt_MASQUERADE xt_DSCP iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 iptable_raw sch_pie nf_nat_sip nf_nat nf_conntrack_sip nf_conntrack bnep bluetooth arc4 snd_hda_codec_hdmi snd_hda_codec_realtek b43 bcma snd_hda_codec_generic snd_hda_intel snd_hda_controller mac80211 snd_hda_codec uvcvideo snd_hwdep snd_seq snd_seq_device coretemp sdhci_pci snd_pcm acer_wmi videobuf2_vmalloc cfg80211 sparse_keymap microcode sdhci videobuf2_memops iTCO_wdt videobuf2_core rfkill iTCO_vendor_support v4l2_common tg3 ssb cdc_ether ptp joydev pps_core usbnet videodev media i2c_i801 serio_raw mmc_core irda r8152 lpc_ich shpchp tifm_7xx1 snd_timer snd soundcore mfd_core tifm_core crc_ccitt wmi mii acpi_cpufreq firewire_ohci firewire_core crc_itu_t
12:39:22 kernel: r8152 2-2:1.0 internal: Tx timeout
12:39:23 kernel: r8152 2-2:1.0 internal: Tx timeout
12:39:24 kernel: r8152 2-2:1.0 internal: Tx timeout
......

Quoted 6 lines

This looks like a USB problem. Is there a way to get usb (or NetworkManager) to reinitialize the driver when this happens?

sean

I would ask these people for advice, therefore.

#3 lore raw
In reply to a message not in the archive

poma [mailto:[email protected]]

Quoted 1 line

Sent: Friday, January 16, 2015 4:25 PM

[...]

Quoted 4 lines
Quoted 2 lines

This looks like a USB problem. Is there a way to get usb (or NetworkManager) to reinitialize the driver when this happens?

I would ask these people for advice, therefore.

Our hw engineers need to analyse the behavior of the device. However, I don't think you have such instrument to provide the required information. If we don't know the reason, we couldn't give you the proper solution. Besides, your solution would work if and only if reloading the driver is helpful.

The issue have to debug from the hardware, and I have no idea about what the software could do before analysing the hw. Maybe you could try the following driver first to check if it is useful.

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false

Best Regards,
Hayes
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#4 lore raw
Quoted 14 lines · Hayes Wang

poma [mailto:[email protected]]

Quoted 1 line

Sent: Friday, January 16, 2015 4:25 PM

[...]

Quoted 4 lines
Quoted 2 lines

This looks like a USB problem. Is there a way to get usb (or NetworkManager) to reinitialize the driver when this happens?

I would ask these people for advice, therefore.

Our hw engineers need to analyse the behavior of the device. However, I don't think you have such instrument to provide the required information. If we don't know the reason, we couldn't give you the proper solution. Besides, your solution would work if and only if reloading the driver is helpful.

Quoted 9 lines

The issue have to debug from the hardware, and I have no idea about what the software could do before analysing the hw. Maybe you could try the following driver first to check if it is useful.

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false

Best Regards,
Hayes

Thanks for your response, Mr. Hayes.

Mr. Sean, please download and check if "timeout" is still present with built RTL8153 module from REALTEK site, as Mr. Hayes proposed.
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false#2
r8152.53-2.03.0.tar.bz2

Procedure - should be equal for both, Fedora 21 & 20:

$ uname -r
3.17.8-300.fc21.x86_64
$ su -c 'yum install kernel-devel'
$ tar xf r8152.53-2.03.0.tar.bz2
$ cd r8152-2.03.0/
$ make
$ su
# cp 50-usb-realtek-net.rules /etc/udev/rules.d/
# udevadm trigger --action=add
# modprobe -rv r8152
# cp r8152.ko /lib/modules/$(uname -r)/updates/
# depmod
# modprobe -v r8152

poma

Signature · 7 lines
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
#5 lore raw
Quoted 46 lines · poma
Quoted 14 lines · Hayes Wang

poma [mailto:[email protected]]

Quoted 1 line

Sent: Friday, January 16, 2015 4:25 PM

[...]

Quoted 4 lines
Quoted 2 lines

This looks like a USB problem. Is there a way to get usb (or NetworkManager) to reinitialize the driver when this happens?

I would ask these people for advice, therefore.

Our hw engineers need to analyse the behavior of the device. However, I don't think you have such instrument to provide the required information. If we don't know the reason, we couldn't give you the proper solution. Besides, your solution would work if and only if reloading the driver is helpful.

Quoted 9 lines

The issue have to debug from the hardware, and I have no idea about what the software could do before analysing the hw. Maybe you could try the following driver first to check if it is useful.

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false

Best Regards,
Hayes

Thanks for your response, Mr. Hayes.

Mr. Sean, please download and check if "timeout" is still present with built RTL8153 module from REALTEK site, as Mr. Hayes proposed.
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false#2
r8152.53-2.03.0.tar.bz2

Procedure - should be equal for both, Fedora 21 & 20:

$ uname -r
3.17.8-300.fc21.x86_64
$ su -c 'yum install kernel-devel'
$ tar xf r8152.53-2.03.0.tar.bz2
$ cd r8152-2.03.0/
$ make
$ su
# cp 50-usb-realtek-net.rules /etc/udev/rules.d/
# udevadm trigger --action=add
Quoted 8 lines
# modprobe -rv r8152
# cp r8152.ko /lib/modules/$(uname -r)/updates/
# depmod
# modprobe -v r8152

poma

OK, will do.

In the meantime, here's the kernel log showing the timeout, the removal of the usb ethernet adapter, and it's reinsertion:

Jan 15 00:15:18 kernel: r8152 2-1:1.0 internal: Tx timeout
Jan 15 00:15:23 kernel: r8152 2-1:1.0 internal: Tx timeout
Jan 15 00:15:29 kernel: usb 2-1: USB disconnect, device number 4
Jan 15 00:15:29 kernel: r8152 2-1:1.0 internal: Tx status -108
.....................
Jan 15 00:15:29 kernel: r8152 2-1:1.0 internal: Tx status -108
Jan 15 00:15:29 kernel: r8152 2-1:1.0 internal: Tx status -108
Jan 15 00:15:31 kernel: usb 2-1: new high-speed USB device number 5 using ehci-pci
Jan 15 00:15:31 kernel: usb 2-1: New USB device found, idVendor=0bda, idProduct=8152
Jan 15 00:15:31 kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 15 00:15:31 kernel: usb 2-1: Product: USB 10/100 LAN
Jan 15 00:15:31 kernel: usb 2-1: Manufacturer: CE-LINK
Jan 15 00:15:31 kernel: usb 2-1: SerialNumber: ...........
Jan 15 00:15:31 kernel: usb 2-1: reset high-speed USB device number 5 using ehci-pci
Jan 15 00:15:31 kernel: r8152 2-1:1.0 eth0: v1.06.1 (2014/10/01)
Jan 15 00:15:32 kernel: r8152 2-1:1.0 internal: renamed from eth0
Jan 15 00:15:32 systemd-udevd[12869]: renamed network interface eth0 to internal
Jan 15 00:15:32 kernel: IPv6: ADDRCONF(NETDEV_UP): internal: link is not ready
Jan 15 00:15:34 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): internal: link becomes ready
Signature · 7 lines
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
#6 lore raw
In reply to poma
Quoted 46 lines · poma
Quoted 14 lines · Hayes Wang

poma [mailto:[email protected]]

Quoted 1 line

Sent: Friday, January 16, 2015 4:25 PM

[...]

Quoted 4 lines
Quoted 2 lines

This looks like a USB problem. Is there a way to get usb (or NetworkManager) to reinitialize the driver when this happens?

I would ask these people for advice, therefore.

Our hw engineers need to analyse the behavior of the device. However, I don't think you have such instrument to provide the required information. If we don't know the reason, we couldn't give you the proper solution. Besides, your solution would work if and only if reloading the driver is helpful.

Quoted 9 lines

The issue have to debug from the hardware, and I have no idea about what the software could do before analysing the hw. Maybe you could try the following driver first to check if it is useful.

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false

Best Regards,
Hayes

Thanks for your response, Mr. Hayes.

Mr. Sean, please download and check if "timeout" is still present with built RTL8153 module from REALTEK site, as Mr. Hayes proposed.
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false#2
r8152.53-2.03.0.tar.bz2

Procedure - should be equal for both, Fedora 21 & 20:

$ uname -r
3.17.8-300.fc21.x86_64
$ su -c 'yum install kernel-devel'
$ tar xf r8152.53-2.03.0.tar.bz2
$ cd r8152-2.03.0/
$ make
$ su
# cp 50-usb-realtek-net.rules /etc/udev/rules.d/
# udevadm trigger --action=add
Quoted 8 lines
# modprobe -rv r8152
# cp r8152.ko /lib/modules/$(uname -r)/updates/
# depmod
# modprobe -v r8152

poma

OK. Did all that. Now to see if I get the same problem over the next couple of weeks.

I'd never heard about the updates subfolder in modules. Very slick.

But when I update the kernel, I get to do this again correct? How will I know that this module has been incorporated in the running kernel. modinfo doesn't give any version info.

BTW, I'm not sure what modprobe --dump-modversions is supposed to do, but it doesn't:

#modprobe --dump-modversions r8152
modprobe: FATAL: Module r8152 not found.

# modprobe --dump-modversions r8152.ko
modprobe: FATAL: Module r8152.ko not found.
#lsmod | grep 8152
r8152                  49646  0

Thanks for all your help.

sean

Signature · 7 lines
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
author
#7 lore raw
Quoted 53 lines · sean darcy
Quoted 52 lines · poma
Quoted 14 lines · Hayes Wang

poma [mailto:[email protected]]

Quoted 1 line

Sent: Friday, January 16, 2015 4:25 PM

[...]

Quoted 4 lines
Quoted 2 lines

This looks like a USB problem. Is there a way to get usb (or NetworkManager) to reinitialize the driver when this happens?

I would ask these people for advice, therefore.

Our hw engineers need to analyse the behavior of the device. However, I don't think you have such instrument to provide the required information. If we don't know the reason, we couldn't give you the proper solution. Besides, your solution would work if and only if reloading the driver is helpful.

Quoted 9 lines

The issue have to debug from the hardware, and I have no idea about what the software could do before analysing the hw. Maybe you could try the following driver first to check if it is useful.

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false

Best Regards,
Hayes

Thanks for your response, Mr. Hayes.

Mr. Sean, please download and check if "timeout" is still present with built RTL8153 module from REALTEK site, as Mr. Hayes proposed.
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false#2
r8152.53-2.03.0.tar.bz2

Procedure - should be equal for both, Fedora 21 & 20:

$ uname -r
3.17.8-300.fc21.x86_64
$ su -c 'yum install kernel-devel'
$ tar xf r8152.53-2.03.0.tar.bz2
$ cd r8152-2.03.0/
$ make
$ su
# cp 50-usb-realtek-net.rules /etc/udev/rules.d/
# udevadm trigger --action=add
# modprobe -rv r8152
# cp r8152.ko /lib/modules/$(uname -r)/updates/
# depmod
# modprobe -v r8152
Quoted 8 lines
Quoted 2 lines

poma

OK. Did all that. Now to see if I get the same problem over the next couple of weeks.

I'd never heard about the updates subfolder in modules. Very slick.

But when I update the kernel, I get to do this again correct? How will I

$ cd r8152-2.03.0/
$ make clean
$ make
$ su
# cp r8152.ko /lib/modules/$(uname -r)/updates/
# depmod
# modprobe -v r8152

is part of the procedure necessary for a new i.e. an upgraded kernel.

Quoted 3 lines

know that this module has been incorporated in the running kernel. modinfo doesn't give any version info.

$ modinfo r8152 -n

will show the module considered for loading.

Quoted 10 lines

BTW, I'm not sure what modprobe --dump-modversions is supposed to do, but it doesn't:

#modprobe --dump-modversions r8152
modprobe: FATAL: Module r8152 not found.

# modprobe --dump-modversions r8152.ko
modprobe: FATAL: Module r8152.ko not found.
#lsmod | grep 8152
r8152                  49646  0

"--dump-modversions" will probably show the same error for any module.

Quoted 4 lines

Thanks for all your help.

sean

YW

Signature · 7 lines
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
#9 lore raw
In reply to a message not in the archive
Quoted 98 lines · poma
Quoted 53 lines · sean darcy
Quoted 52 lines · poma
Quoted 14 lines · Hayes Wang

poma [mailto:[email protected]]

Quoted 1 line

Sent: Friday, January 16, 2015 4:25 PM

[...]

Quoted 4 lines
Quoted 2 lines

This looks like a USB problem. Is there a way to get usb (or NetworkManager) to reinitialize the driver when this happens?

I would ask these people for advice, therefore.

Our hw engineers need to analyse the behavior of the device. However, I don't think you have such instrument to provide the required information. If we don't know the reason, we couldn't give you the proper solution. Besides, your solution would work if and only if reloading the driver is helpful.

Quoted 9 lines

The issue have to debug from the hardware, and I have no idea about what the software could do before analysing the hw. Maybe you could try the following driver first to check if it is useful.

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false

Best Regards,
Hayes

Thanks for your response, Mr. Hayes.

Mr. Sean, please download and check if "timeout" is still present with built RTL8153 module from REALTEK site, as Mr. Hayes proposed.
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false#2
r8152.53-2.03.0.tar.bz2

Procedure - should be equal for both, Fedora 21 & 20:

$ uname -r
3.17.8-300.fc21.x86_64
$ su -c 'yum install kernel-devel'
$ tar xf r8152.53-2.03.0.tar.bz2
$ cd r8152-2.03.0/
$ make
$ su
# cp 50-usb-realtek-net.rules /etc/udev/rules.d/
# udevadm trigger --action=add
# modprobe -rv r8152
# cp r8152.ko /lib/modules/$(uname -r)/updates/
# depmod
# modprobe -v r8152
Quoted 8 lines
Quoted 2 lines

poma

OK. Did all that. Now to see if I get the same problem over the next couple of weeks.

I'd never heard about the updates subfolder in modules. Very slick.

But when I update the kernel, I get to do this again correct? How will I

$ cd r8152-2.03.0/
$ make clean
$ make
$ su
# cp r8152.ko /lib/modules/$(uname -r)/updates/
# depmod
# modprobe -v r8152

is part of the procedure necessary for a new i.e. an upgraded kernel.

Quoted 3 lines

know that this module has been incorporated in the running kernel. modinfo doesn't give any version info.

$ modinfo r8152 -n

will show the module considered for loading.

Quoted 10 lines

BTW, I'm not sure what modprobe --dump-modversions is supposed to do, but it doesn't:

#modprobe --dump-modversions r8152
modprobe: FATAL: Module r8152 not found.

# modprobe --dump-modversions r8152.ko
modprobe: FATAL: Module r8152.ko not found.
#lsmod | grep 8152
r8152                  49646  0

"--dump-modversions" will probably show the same error for any module.

Quoted 9 lines
Quoted 4 lines

Thanks for all your help.

sean

YW

Mr. Sean,
is your problem with r8152 resolved, are
"kernel: r8152 2-2:1.0 internal: Tx timeout"
still present?

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html