Realtek ethernet network adapter kernel driver r8169 does not load

Bug #1770046 reported by Nick Perez
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Realtek kernel driver r8169 does not load on kernel 4.15.0-20.

$ lspci | awk '/[Nn]et/ {print $1}' | xargs -i% lspci -ks %
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
 Subsystem: ASRock Incorporation Motherboard (one of many)

$ lsb_release -rd
Description: Linux Mint 18.3 Sylvia
Release: 18.3

$ apt-cache policy 4.15.0-20
linux-headers-4.15.0-20:
  Installed: 4.15.0-20.21~16.04.1
  Candidate: 4.15.0-20.21~16.04.1
  Version table:
 *** 4.15.0-20.21~16.04.1 500
        500 http://mirrordenver.fdcservers.net/ubuntu xenial-updates/main amd64 Packages
        500 http://mirrordenver.fdcservers.net/ubuntu xenial-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
        100 /var/lib/dpkg/status
linux-modules-4.15.0-20-generic:
  Installed: 4.15.0-20.21~16.04.1
  Candidate: 4.15.0-20.21~16.04.1
  Version table:
 *** 4.15.0-20.21~16.04.1 500
        500 http://mirrordenver.fdcservers.net/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
linux-headers-4.15.0-20-generic:
  Installed: 4.15.0-20.21~16.04.1
  Candidate: 4.15.0-20.21~16.04.1
  Version table:
 *** 4.15.0-20.21~16.04.1 500
        500 http://mirrordenver.fdcservers.net/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
linux-image-4.15.0-20-generic:
  Installed: 4.15.0-20.21~16.04.1
  Candidate: 4.15.0-20.21~16.04.1
  Version table:
 *** 4.15.0-20.21~16.04.1 500
        500 http://mirrordenver.fdcservers.net/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Nick Perez (lord-airivis) wrote :
Revision history for this message
Nick Perez (lord-airivis) wrote :

adding version.log attachment

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1770046

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.17 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc4

Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Nick Perez (lord-airivis) wrote :

Issue does not exist in kernel 4.15.0-15 and earlier, it is only present in kernel 4.15.0-20. Due to other issues not relevant to this bug report, the most current and completely working kernel I am using is 4.13.0-41. I will attempt to test a kernel from the 4.17 range and report back.

Revision history for this message
Nick Perez (lord-airivis) wrote :
Download full text (4.6 KiB)

Test of mainline 4.17.0-041700rc4 kernel:

~/kernel $ ls -al
total 64260
drwxr-xr-x 2 lord lord 4096 May 9 16:09 .
drwx--x---+ 103 lord lord 20480 May 9 16:03 ..
-rw-r--r-- 1 lord lord 1128092 May 9 16:09 libssl1.1_1.1.0g-2ubuntu4_amd64.deb
-rw-r--r-- 1 lord lord 10217940 May 9 16:02 linux-headers-4.17.0-041700rc4_4.17.0-041700rc4.201805070430_all.deb
-rw-r--r-- 1 lord lord 1065936 May 9 16:02 linux-headers-4.17.0-041700rc4-generic_4.17.0-041700rc4.201805070430_amd64.deb
-rw-r--r-- 1 lord lord 8075016 May 9 16:03 linux-image-unsigned-4.17.0-041700rc4-generic_4.17.0-041700rc4.201805070430_amd64.deb
-rw-r--r-- 1 lord lord 45233732 May 9 16:07 linux-modules-4.17.0-041700rc4-generic_4.17.0-041700rc4.201805070430_amd64.deb

~/kernel $ sudo dpkg -i *.deb
Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 391867 files and directories currently installed.)
Preparing to unpack libssl1.1_1.1.0g-2ubuntu4_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.0g-2ubuntu4) ...
Preparing to unpack linux-headers-4.17.0-041700rc4_4.17.0-041700rc4.201805070430_all.deb ...
Unpacking linux-headers-4.17.0-041700rc4 (4.17.0-041700rc4.201805070430) over (4.17.0-041700rc4.201805070430) ...
Preparing to unpack linux-headers-4.17.0-041700rc4-generic_4.17.0-041700rc4.201805070430_amd64.deb ...
Unpacking linux-headers-4.17.0-041700rc4-generic (4.17.0-041700rc4.201805070430) over (4.17.0-041700rc4.201805070430) ...
Preparing to unpack linux-image-unsigned-4.17.0-041700rc4-generic_4.17.0-041700rc4.201805070430_amd64.deb ...
Unpacking linux-image-unsigned-4.17.0-041700rc4-generic (4.17.0-041700rc4.201805070430) over (4.17.0-041700rc4.201805070430) ...
Selecting previously unselected package linux-modules-4.17.0-041700rc4-generic.
Preparing to unpack linux-modules-4.17.0-041700rc4-generic_4.17.0-041700rc4.201805070430_amd64.deb ...
Unpacking linux-modules-4.17.0-041700rc4-generic (4.17.0-041700rc4.201805070430) ...
Setting up libssl1.1:amd64 (1.1.0g-2ubuntu4) ...
Setting up linux-headers-4.17.0-041700rc4 (4.17.0-041700rc4.201805070430) ...
Setting up linux-headers-4.17.0-041700rc4-generic (4.17.0-041700rc4.201805070430) ...
Setting up linux-modules-4.17.0-041700rc4-generic (4.17.0-041700rc4.201805070430) ...
Setting up linux-image-unsigned-4.17.0-041700rc4-generic (4.17.0-041700rc4.201805070430) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.17.0-041700rc4-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-4.17.0-041700rc4-generic
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for linux-image-unsigned-4.17.0-041700rc4-generic (4.17.0-041700rc4.201805070430) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.17.0-041700rc4-generic
Warning: No support for locale: en_US.utf8
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.17.0-041700rc4-generic
Found initrd image: /boot/initrd.img-4.17.0-041700rc4-generic
Found linux image: /boot/vmlinuz-4.13.0-41-generic
Found initrd image: /boot/initrd.img-4.13.0-41-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /...

Read more...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-fixed-upstream
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.