linyuhang24
2021-08-18 17:46:56 +08:00
报错信息——missing 'System.map' file
root@pve:~/r8152-2.15.0# make install
rmmod r8152
make -C /lib/modules/5.11.22-3-pve/build M=/root/r8152-2.15.0 INSTALL_MOD_DIR=kernel/drivers/net/usb modules_install
make[1]: Entering directory '/usr/src/linux-headers-5.11.22-3-pve'
INSTALL /root/r8152-2.15.0/r8152.ko
DEPMOD 5.11.22-3-pve
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[1]: Leaving directory '/usr/src/linux-headers-5.11.22-3-pve'
modprobe r8152
但是驱动貌似加载了???
root@pve:~/r8152-2.15.0# lsmod | grep r8152
r8152 237568 0
感觉是驱动没有正确安装导致的使用问题。