Please upgrade r8152 module to the latest version.

Bug #1703298 reported by 冯宇
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

My kernel version is `4.8.0-58-generic`, which is installed from `linux-generic-hwe-16.04`

I find that with the default `r8152` driver I can't drive my USB network card. Here is my usb info:

```
Bus 002 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 3.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 9
  idVendor 0x0bda Realtek Semiconductor Corp.
  idProduct 0x8153
  bcdDevice 31.00
  iManufacturer 1 Realtek
  iProduct 2 USB 10/100/1000 LAN
  iSerial 6 001000001
  bNumConfigurations 2
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 57
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 72mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0400 1x 1024 bytes
        bInterval 0
        bMaxBurst 3
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x02 EP 2 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0400 1x 1024 bytes
        bInterval 0
        bMaxBurst 3
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0002 1x 2 bytes
        bInterval 8
        bMaxBurst 0
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 98
    bNumInterfaces 2
    bConfigurationValue 2
    iConfiguration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 72mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 2 Communications
      bInterfaceSubClass 6 Ethernet Networking
      bInterfaceProtocol 0
      iInterface 5 CDC Communications Control
      CDC Header:
        bcdCDC 1.10
      CDC Union:
        bMasterInterface 0
        bSlaveInterface 1
      CDC Ethernet:
        iMacAddress 3 00E04C683072
        bmEthernetStatistics 0x00000000
        wMaxSegmentSize 1514
        wNumberMCFilters 0x0000
        bNumberPowerFilters 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0010 1x 16 bytes
        bInterval 8
        bMaxBurst 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 0
      bInterfaceClass 10 CDC Data
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0
      iInterface 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 1
      bNumEndpoints 2
      bInterfaceClass 10 CDC Data
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0
      iInterface 4 Ethernet Data
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0400 1x 1024 bytes
        bInterval 0
        bMaxBurst 3
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x02 EP 2 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0400 1x 1024 bytes
        bInterval 0
        bMaxBurst 3
Binary Object Store Descriptor:
  bLength 5
  bDescriptorType 15
  wTotalLength 22
  bNumDeviceCaps 2
  USB 2.0 Extension Device Capability:
    bLength 7
    bDescriptorType 16
    bDevCapabilityType 2
    bmAttributes 0x00000002
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength 10
    bDescriptorType 16
    bDevCapabilityType 3
    bmAttributes 0x02
      Latency Tolerance Messages (LTM) Supported
    wSpeedsSupported 0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport 2
      Lowest fully-functional device speed is High Speed (480Mbps)
    bU1DevExitLat 10 micro seconds
    bU2DevExitLat 2047 micro seconds
Device Status: 0x0010
  (Bus Powered)
  Latency Tolerance Messaging (LTM) Enabled
```

The default built-in driver will raise this error:
```
[ 109.636261] r8152 2-1.2:1.0 (unnamed net_device) (uninitialized): Unknown version 0x6010
[ 109.636265] r8152 2-1.2:1.0 (unnamed net_device) (uninitialized): Unknown Device
```

I have to upgrade the r8152 driver to the latest version from official site: http://www.realtek.com.tw/Downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false#2

After compiled the latest driver, my usb card works.

So, please upgrade the built-in r8152 driver to the latest. Thanks.
---
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: fengyu 1354 F.... pulseaudio
DistroRelease: Linux 18.2
HibernationDevice: RESUME=UUID=e86cc032-a97b-47e6-bb13-3bf822faa8a5
InstallationDate: Installed on 2017-07-09 (0 days ago)
InstallationMedia: Linux Mint 18.2 "Sonya" - Release amd64 20170628
MachineType: Timi TM1613
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.8.0-58-generic root=UUID=66aff522-714f-489a-860e-9b5a68e10e38 ro rootflags=subvol=@ quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.8.0-58-generic N/A
 linux-backports-modules-4.8.0-58-generic N/A
 linux-firmware 1.157.11
Tags: sonya sonya
Uname: Linux 4.8.0-58-generic x86_64
UnreportableReason: 该报告属于一个未安装的软件包。
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: False
dmi.bios.date: 08/11/2016
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: A05
dmi.board.asset.tag: No Asset Tag
dmi.board.name: TM1613
dmi.board.vendor: Timi
dmi.board.version: A05
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Timi
dmi.chassis.version: A05
dmi.modalias: dmi:bvnInsydeCorp.:bvrA05:bd08/11/2016:svnTimi:pnTM1613:pvrA05:rvnTimi:rnTM1613:rvrA05:cvnTimi:ct10:cvrA05:
dmi.product.name: TM1613
dmi.product.version: A05
dmi.sys.vendor: Timi

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 1703298

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
tags: added: yakkety
冯宇 (abcfy2)
tags: added: xenial
removed: yakkety
Revision history for this message
冯宇 (abcfy2) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected sonya
description: updated
Revision history for this message
冯宇 (abcfy2) wrote : CRDA.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : CurrentDmesg.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : IwConfig.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : JournalErrors.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : Lspci.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : Lsusb.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : ProcEnviron.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : ProcInterrupts.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : ProcModules.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : RfKill.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : UdevDb.txt

apport information

Revision history for this message
冯宇 (abcfy2) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Triaged
Dimitrenko (paviliong6)
Changed in linux (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Joe Mulloy (jdmulloy) wrote :

Which release(s) is this fix released for? This is still broken for me on 17.04 and the 2017-08-02 snapshot of 17.10. Currently I'm working around it by manually compiling and installing an updated version of the driver from the realtek website.

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.