I've just tried to generate & insert r8169, by first downloading GBE Ethernet LINUX driver r8169 for kernel up to 5.19 (i.e.r8169-6.031.00.tar.bz2 from https://www.realtek.com/en/component/zoo/category/rtl8110sc-l-s and extracting it to r8169-6.031.00: john@Desktop:~/Software/Realtek/r8169-6.031.00$ sudo modprobe -r 8169.tar.bz2 & extracting it tor8169-6.031.00 and then doing: [sudo] password for john: modprobe: FATAL: Module 8169 not found. john@Desktop:~/Software/Realtek/r8169-6.031.00$ sudo make clean modules make -C src/ clean make[1]: Entering directory '/home/john/Software/Realtek/r8169-6.031.00/src' make -C /lib/modules/5.19.0-43-generic/build M=/home/john/Software/Realtek/r8169-6.031.00/src clean make[2]: Entering directory '/usr/src/linux-headers-5.19.0-43-generic' make[2]: Leaving directory '/usr/src/linux-headers-5.19.0-43-generic' make[1]: Leaving directory '/home/john/Software/Realtek/r8169-6.031.00/src' make -C src/ modules make[1]: Entering directory '/home/john/Software/Realtek/r8169-6.031.00/src' make -C /lib/modules/5.19.0-43-generic/build M=/home/john/Software/Realtek/r8169-6.031.00/src modules make[2]: Entering directory '/usr/src/linux-headers-5.19.0-43-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0 You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0 CC [M] /home/john/Software/Realtek/r8169-6.031.00/src/r8169_n.o LD [M] /home/john/Software/Realtek/r8169-6.031.00/src/r8169.o MODPOST /home/john/Software/Realtek/r8169-6.031.00/src/Module.symvers CC [M] /home/john/Software/Realtek/r8169-6.031.00/src/r8169.mod.o LD [M] /home/john/Software/Realtek/r8169-6.031.00/src/r8169.ko BTF [M] /home/john/Software/Realtek/r8169-6.031.00/src/r8169.ko Skipping BTF generation for /home/john/Software/Realtek/r8169-6.031.00/src/r8169.ko due to unavailability of vmlinux make[2]: Leaving directory '/usr/src/linux-headers-5.19.0-43-generic' make[1]: Leaving directory '/home/john/Software/Realtek/r8169-6.031.00/src' john@Desktop:~/Software/Realtek/r8169-6.031.00$ sudo make install make -C src/ install make[1]: Entering directory '/home/john/Software/Realtek/r8169-6.031.00/src' make -C /lib/modules/5.19.0-43-generic/build M=/home/john/Software/Realtek/r8169-6.031.00/src INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install make[2]: Entering directory '/usr/src/linux-headers-5.19.0-43-generic' INSTALL /lib/modules/5.19.0-43-generic/kernel/drivers/net/ethernet/realtek/r8169.ko SIGN /lib/modules/5.19.0-43-generic/kernel/drivers/net/ethernet/realtek/r8169.ko DEPMOD /lib/modules/5.19.0-43-generic Warning: modules_install: missing 'System.map' file. Skipping depmod. make[2]: Leaving directory '/usr/src/linux-headers-5.19.0-43-generic' make[1]: Leaving directory '/home/john/Software/Realtek/r8169-6.031.00/src' john@Desktop:~/Software/Realtek/r8169-6.031.00$ sudo depmod -a john@Desktop:~/Software/Realtek/r8169-6.031.00$ sudo modprobe r8169 modprobe: ERROR: could not insert 'r8169': Key was rejected by service john@Desktop:~/Software/Realtek/r8169-6.031.00$
I have Secure Boot enabled in the BIOS. As I don't want to make things worse, how do I fix missing 'System.map' file and "modprobe: ERROR: could not insert 'r8169': Key was rejected by service"? PS there is the correct System.map in /boot: root@Desktop:/# ls boot config-5.15.0-73-generic initrd.img-5.19.0-43-generic System.map-5.15.0-73-generic config-5.19.0-43-generic initrd.img-5.19.0-43-generic.old-dkms System.map-5.19.0-43-generic efi initrd.img.old vmlinuz grub memtest86+.bin vmlinuz-5.15.0-73-generic initrd.img memtest86+.elf vmlinuz-5.19.0-43-generic initrd.img-5.15.0-73-generic memtest86+_multiboot.bin vmlinuz.old -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/2022826 Title: Ethernet hangs Status in linux-firmware package in Ubuntu: New Bug description: I'm now getting my wired (i.e. Ethernet) connection hanging on trying to connect. I've tried switching ports (on the router) and using a different cable, but still the same. ifconfig shows for Ethernet: enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 50:eb:f6:ef:a4:e6 txqueuelen 1000 (Ethernet) RX packets 2779 bytes 250524 (250.5 KB) RX errors 0 dropped 1 overruns 0 frame 0 TX packets 355 bytes 72171 (72.1 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 sudo lshw -C enp2s0 shows nothing lspci -nn shows for Ethernet: 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05) I found a web page: https://tutorialforlinux.com/2021/05...based-systems/ I followed the instructions and installed realtek-r8125-dkms package OK. On rebooting, I followed the instructed procedure (shown when installing the package) of creating a password and then entering it when requested on the reboot. But still same problem. Any ideas what to do? PS I've switched Wi-Fi on (though I'd prefer to use Ethernet, as my Wi-Fi is a little flaky due to walls) in order to post this question. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-firmware 20220329.git681281e4-0ubuntu3.13 ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17 Uname: Linux 5.19.0-43-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CRDA: N/A CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Sat Jun 3 07:29:15 2023 Dependencies: firmware-sof-signed 2.0-1ubuntu4.1 InstallationDate: Installed on 2022-08-21 (285 days ago) InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819) MachineType: ASUSTeK COMPUTER INC. MINIPC PN50-E1 PackageArchitecture: all ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-43-generic root=UUID=1d99d177-09b2-43e7-b6c1-451d081353f8 ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-5.19.0-43-generic N/A linux-backports-modules-5.19.0-43-generic N/A linux-firmware 20220329.git681281e4-0ubuntu3.13 SourcePackage: linux-firmware UpgradeStatus: Upgraded to jammy on 2022-10-06 (239 days ago) dmi.bios.date: 03/18/2021 dmi.bios.release: 4.5 dmi.bios.vendor: ASUSTeK COMPUTER INC. dmi.bios.version: 0405 dmi.board.asset.tag: Default string dmi.board.name: PN50-E1 dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: To be filled by O.E.M. dmi.chassis.asset.tag: Default string dmi.chassis.type: 35 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnASUSTeKCOMPUTERINC.:bvr0405:bd03/18/2021:br4.5:svnASUSTeKCOMPUTERINC.:pnMINIPCPN50-E1:pvr0405:rvnASUSTeKCOMPUTERINC.:rnPN50-E1:rvrTobefilledbyO.E.M.:cvnDefaultstring:ct35:cvrDefaultstring:sku: dmi.product.family: Vivo PC dmi.product.name: MINIPC PN50-E1 dmi.product.version: 0405 dmi.sys.vendor: ASUSTeK COMPUTER INC. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2022826/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp