页次: 1
之前在AUR上打包的一款网卡的驱动dkms,在5.x内核上测试可以dkms install无误。但是内核升6后,再次dkms install出现问题(从AUR下载安装,但是出错位置是dkms),而从源码进行编译构建却ok
AUR包:rtw8852be-dkms-git
:: 正在运行事务后钩子函数...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.7-arch1-1
Error! Bad return status for module build on kernel: 5.19.7-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.7-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 6.0.2-arch1-1
Error! Bad return status for module build on kernel: 6.0.2-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 6.0.2-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.2-arch1-1
Error! Bad return status for module build on kernel: 5.19.2-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.2-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.12-arch1-1
Error! Bad return status for module build on kernel: 5.19.12-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.12-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.13-arch1-1
Error! Bad return status for module build on kernel: 5.19.13-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.13-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.13-arch1-1
Error! Bad return status for module build on kernel: 5.18.13-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.13-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.3-arch1-1
Error! Bad return status for module build on kernel: 5.19.3-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.3-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.6-arch1-1
Error! Bad return status for module build on kernel: 5.19.6-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.6-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.10-arch1-1
Error! Bad return status for module build on kernel: 5.19.10-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.10-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.9-arch1-1
Error! Bad return status for module build on kernel: 5.18.9-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.9-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.4-arch1-1
Error! Bad return status for module build on kernel: 5.19.4-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.4-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.12-arch1-1
Error! Bad return status for module build on kernel: 5.18.12-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.12-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.5-arch1-1
Error! Bad return status for module build on kernel: 5.19.5-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.5-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.9-arch1-1
Error! Bad return status for module build on kernel: 5.19.9-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.9-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.11-arch1-1
Error! Bad return status for module build on kernel: 5.19.11-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.11-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 6.0.1-arch1-1
Error! Bad return status for module build on kernel: 6.0.1-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 6.0.1-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.16-arch1-1
Error! Bad return status for module build on kernel: 5.18.16-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.16-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 6.0.1-arch2-1
Error! Bad return status for module build on kernel: 6.0.1-arch2-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 6.0.1-arch2-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.6-arch1-1
Error! Bad return status for module build on kernel: 5.18.6-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.6-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.1-arch2-1
Error! Bad return status for module build on kernel: 5.19.1-arch2-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.1-arch2-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.10-arch1-1
Error! Bad return status for module build on kernel: 5.18.10-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.10-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.14-arch1-1
Error! Bad return status for module build on kernel: 5.18.14-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.14-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.8-arch1-1
Error! Bad return status for module build on kernel: 5.19.8-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.19.8-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.11-arch1-1
Error! Bad return status for module build on kernel: 5.18.11-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.11-arch1-1' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.15-arch1-2
Error! Bad return status for module build on kernel: 5.18.15-arch1-2 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.15-arch1-2' exited 10
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.15-arch1-1
Error! Bad return status for module build on kernel: 5.18.15-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 5.18.15-arch1-1' exited 10
(3/3) Refreshing PackageKit...
最近编辑记录 KafCoppelia (2022-10-25 20:08:45)
二次元开发者
离线
怎么这么长一串,你的旧内核是不是没卸载干净?去 /usr/lib/modules 下看看。
离线
怎么这么长一串,你的旧内核是不是没卸载干净?去 /usr/lib/modules 下看看。
额,旧的内核确实在/usr/lib/modules下,但是和我dkms安装应该没问题吧?只不过是每个内核上都安装了这个网卡的dkms驱动。那旧的内核可以直接rm么?
二次元开发者
离线
确定没有包拥有(pacman -Qo xxx)的话,rm -r 掉吧。
安装失败应该是缺少头文件。
离线
手动rm -r 了旧内核,没问题。
缺少头文件这个事……linux-headers 是全的,base-devel也安装全了
二次元开发者
离线
是说的旧内核的头文件不在啦。
离线
我现在只剩当前的内核文件夹了,dkms安装也是报错
(2/3) Install DKMS modules
==> dkms install --no-depmod rtw8852be/r224.8046f59 -k 6.0.2-arch1-1
Error! Bad return status for module build on kernel: 6.0.2-arch1-1 (x86_64)
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtw8852be/r224.8046f59 -k 6.0.2-arch1-1' exited 10
最近编辑记录 KafCoppelia (2022-10-26 22:34:43)
二次元开发者
离线
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
离线
Consult /var/lib/dkms/rtw8852be/r224.8046f59/build/make.log for more information.
忘把log写出来了,不好意思……
DKMS make.log for rtw8852be-r224.8046f59 for kernel 6.0.2-arch1-1 (x86_64)
2022年 10月 26日 星期三 22:33:28 CST
Makefile:620: /phl/phl.mk: 没有那个文件或目录
make: *** 没有规则可制作目标“/phl/phl.mk”。 停止。
但是直接git clone 源码,并进行make编译、sudo make install却不报错,可以正常安装该dkms
最近编辑记录 KafCoppelia (2022-10-27 11:06:21)
二次元开发者
离线
这……好奇怪,不知道哪里坏掉了。
离线
页次: 1