After installing the august 2021 update last week on my Vero 4k, the USB 3.0 Gigabit Ethernet interface is not working any more. It has a RTL8153 chipset:
osmc@osmc:~$ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter Bus 001 Device 002: ID 2017:1688 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The system loaded the cdc_ether module for the device. After blacklisting that module the r8152 module was loaded. Unfortunately dmesg shows the version of this card is unkown:
osmc@osmc:~$ dmesg | grep r8152 [ 7.076543] usbcore: registered new interface driver r8152 [ 7.414735] r8152 1-2:1.0 (unnamed net_device) (uninitialized): Unknown version 0x6010 [ 7.414744] r8152 1-2:1.0 (unnamed net_device) (uninitialized): Unknown Device
I tried compiling the kernel module provided by Realtek (downloaded from here: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software), but got two errors compiling.
gcc: error: unrecognized command line option '-mgeneral-regs-only' gcc: error: unrecognized command line option '-mcmodel=large'
It seems (so web searching tells me) to be related to arm64 specific switches not supported on the installed gcc. The command
gcc --version --verbose lists the following line
Target: arm-linux-gnueabihf. That seems odd to me.
I installed the
build-essential package to install all the needed build tools.
Was someone able to compile kernel modules, or perhaps this r8152 kernel module after the august update?