[...] > > On my machine r8152 module loading takes about one minute. > > > > Its a Debian Sid: > > uname -a > > Linux pc 6.5.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.6-1 (2023-10-07) x86_64 GNU/Linux > > Did this device work fine with older kernels or this is the only one > you tried? The code doesn't seem to have changed all that much since > RTL8156B support was added. > > > dmesg: > > > > > > [ 899.522306] usbcore: registered new device driver r8152-cfgselector > > [ 899.601295] r8152-cfgselector 2-1.3: reset SuperSpeed USB device number 4 using xhci_hcd > > [ 927.789526] r8152 2-1.3:1.0: firmware: direct-loading firmware rtl_nic/rtl8156b-2.fw > > [ 942.033905] r8152 2-1.3:1.0: load rtl8156b-2 v2 04/27/23 successfully Someone reports there is an error message when loading rtl8156b-2 v2 04/27/23. r8152 6-1:1.0: ram code speedup mode fail I don't find the same message for you. However, I check the firmware and find some wrong content. Could you remove /lib/firmware/rtl_nic/rtl8156b-2.fw and unplug the device. Then, plug the device and check it again. > > [ 956.269444] ------------[ cut here ]------------ > > [ 956.269447] WARNING: CPU: 7 PID: 211 at drivers/net/usb/r8152.c:7668 r8156b_hw_phy_cfg+0x1417/0x1430 [r8152] > > [ 956.269458] Modules linked in: r8152(+) hid_logitech_hidpp uhid ccm Best Regards, Hayes