Red Hat Bugzilla – Bug 982313
ethtool -d on RTL8168b/8111b crashes kernel hard
Last modified: 2013-12-25 13:52:32 EST
Description of problem:
Running ethtool -d on my notebook's Ethernet port causes the system to freeze. Magic SysRq does not work.
I have no other stackdump information to hand. No error messages appear on the console before the freeze.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ethtool -d enp8s0
The register dump is all 0xff; the system then seems to fumble and half a second later freezes completely.
dmesg standard info for the chip:
[ 21.370839] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 21.371235] r8169 0000:08:00.0: irq 48 for MSI/MSI-X
[ 21.371431] r8169 0000:08:00.0 eth0: RTL8168b/8111b at 0xffffc900103f2000, 00:90:f5:69:d5:9e, XID 18000000 IRQ 48
[ 21.371435] r8169 0000:08:00.0 eth0: jumbo features [frames: 4080 bytes, tx checksumming: ko]
probably worth keeping an eye on this patch (not ready for net-next yet):
*********** MASS BUG UPDATE **************
We apologize for the inconvenience. There is a large number of bugs to go through and several of them have gone stale. Due to this, we are doing a mass bug update across all of the Fedora 19 kernel bugs.
Fedora 19 has now been rebased to 3.11.1-200.fc19. Please test this kernel update and let us know if you issue has been resolved or if it is still present with the newer kernel.
If you experience different issues, please open a new bug report for those.
Still happens with kernel 3.11.1-200.fc19.
the above patch has made it in 3.12:
Author: Peter Wu <firstname.lastname@example.org>
Date: Wed Aug 21 23:17:11 2013 +0200
r8169: fix invalid register dump
For some reason, my PCIe RTL8111E onboard NIC on a GA-Z68X-UD3H-B3
motherboard reads as FFs when reading from MMIO with a block size
larger than 7. Therefore change to reading blocks of four bytes.
Ben Hutchings noted that the buffer is large enough to hold all
registers, so now all registers are read.
Signed-off-by: Peter Wu <email@example.com>
Acked-by: Francois Romieu <firstname.lastname@example.org>
Signed-off-by: David S. Miller <email@example.com>
Could you check a 3.12 kernel and report back?
kernel 3.12.1-2.fc21.x86_64 -- output from ethtool looks sensible and there is no crash now.
Josh, this can go in POST for when 3.12 hits Fedora
Indeed. Thanks all!
3.12.x has hit F19 as well through updates, so am closing this one.
Thanks for the report and testing James