我手动编译了 5.13.0 内核,一切顺利。安装内核时,我的 wifi 卡驱动程序一直无法编译,日志如下:
DKMS make.log for rtl88x2bu-5.6.1 for kernel 5.13.0 (x86_64)
Mon 12 Jul 2021 12:09:24 PM EDT
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.13.0/build M=/var/lib/dkms/rtl88x2bu/5.6.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.0'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [Makefile:731: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.13.0'
make: *** [Makefile:2284: modules] Error 2
我跑了make oldconfig && make prepare
,但同样的事情发生了。