Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 982313 - ethtool -d on RTL8168b/8111b crashes kernel hard
Summary: ethtool -d on RTL8168b/8111b crashes kernel hard
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 19
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-07-08 15:52 UTC by James
Modified: 2013-12-25 18:52 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-12-25 18:52:32 UTC
Type: Bug

Attachments (Terms of Use)

Description James 2013-07-08 15:52:46 UTC
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):

How reproducible:

Steps to Reproduce:
1. ethtool -d enp8s0

Actual results:
The register dump is all 0xff; the system then seems to fumble and half a second later freezes completely.

Expected results:
No crash.

Additional info:

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]

Comment 1 Michele Baldessari 2013-08-17 23:12:21 UTC
Hi James,

probably worth keeping an eye on this patch (not ready for net-next yet):


Comment 2 Josh Boyer 2013-09-18 20:47:08 UTC
*********** 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.

Comment 3 James 2013-09-21 07:35:31 UTC
Still happens with kernel 3.11.1-200.fc19.

Comment 4 Michele Baldessari 2013-11-26 18:12:48 UTC
Hi James, 

the above patch has made it in 3.12:
commit 15edae91cb2d91131ab3b0c6eebf1fbfc12d643e
Author: Peter Wu <lekensteyn@gmail.com>
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 <lekensteyn@gmail.com>
    Acked-by: Francois Romieu <romieu@fr.zoreil.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Could you check a 3.12 kernel and report back?


Comment 5 James 2013-11-26 19:17:51 UTC
kernel 3.12.1-2.fc21.x86_64 -- output from ethtool looks sensible and there is no crash now.

Comment 6 Michele Baldessari 2013-11-26 19:32:48 UTC
Thanks James!

Josh, this can go in POST for when 3.12 hits Fedora

Comment 7 Josh Boyer 2013-11-26 19:51:49 UTC
Indeed.  Thanks all!

Comment 8 Michele Baldessari 2013-12-25 18:52:32 UTC
3.12.x has hit F19 as well through updates, so am closing this one.

Thanks for the report and testing James


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