Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#61343 - DKMS building modules on wrong kernel version
Attached to Project:
Arch Linux
Opened by David Ford (FirefighterBlu3) - Thursday, 10 January 2019, 19:28 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 10 January 2019, 19:43 GMT
Opened by David Ford (FirefighterBlu3) - Thursday, 10 January 2019, 19:28 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 10 January 2019, 19:43 GMT
|
DetailsDescription:
dkms is building modules based on the running kernel version, not the [newly] installed kernel version Additional info: * package version(s) * config and/or log files etc. post pacman -Su [...] :: Running post-transaction hooks... ( 1/27) 10-post-install.hook ( 2/27) 10-post-upgrade.hook ( 3/27) Updating linux module dependencies... ( 4/27) Install DKMS modules ==> dkms install mt7610u_sta/r28.638d4f2 -k 4.20.0-arch1-1-ARCH Error! Bad return status for module build on kernel: 4.20.0-arch1-1-ARCH (x86_64) Consult /var/lib/dkms/mt7610u_sta/r28.638d4f2/build/make.log for more information. ==> dkms install mt7601u/3.1 -k 4.20.0-arch1-1-ARCH Error! Bad return status for module build on kernel: 4.20.0-arch1-1-ARCH (x86_64) Consult /var/lib/dkms/mt7601u/3.1/build/make.log for more information. ( 5/27) Updating linux initcpios... [...] ┌[✓ root@Scott [~] └─> cat /var/lib/dkms/mt7610u_sta/r28.638d4f2/build/make.log DKMS make.log for mt7610u_sta-r28.638d4f2 for kernel 4.20.0-arch1-1-ARCH (x86_64) Thu Jan 10 14:13:50 EST 2019 make -C tools cp -f os/linux/Makefile.6 /var/lib/dkms/mt7610u_sta/r28.638d4f2/build/os/linux/Makefile make[1]: Entering directory '/var/lib/dkms/mt7610u_sta/r28.638d4f2/build/tools' gcc -g bin2h.c -o bin2h make -C /lib/modules/4.19.10-arch1-1-ARCH/build SUBDIRS=/var/lib/dkms/mt7610u_sta/r28.638d4f2/build/os/linux modules make[1]: *** /lib/modules/4.19.10-arch1-1-ARCH/build: No such file or directory. Stop. make: *** [Makefile:394: LINUX] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/lib/dkms/mt7610u_sta/r28.638d4f2/build/tools' /var/lib/dkms/mt7610u_sta/r28.638d4f2/build/tools/bin2h chipset = mt7650u chipset = mt7630u chipset = mt7610u ┌[✓ root@Scott [~] └─> cat /var/lib/dkms/mt7601u/3.1/build/make.log DKMS make.log for mt7601u-3.1 for kernel 4.20.0-arch1-1-ARCH (x86_64) Thu Jan 10 14:13:54 EST 2019 make -C /lib/modules/`uname -r`/build M=$PWD make[1]: *** /lib/modules/4.19.10-arch1-1-ARCH/build: No such file or directory. Stop. make: *** [Makefile:8: default] Error 2 4.19.10 is my running kernel, 4.20.0 is my newly installed kernel. Steps to reproduce: pacman -Su involving new kernel |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Thursday, 10 January 2019, 19:43 GMT
Reason for closing: Not a bug
Additional comments about closing: Whatever module it is is broken. dkms is fine.
Thursday, 10 January 2019, 19:43 GMT
Reason for closing: Not a bug
Additional comments about closing: Whatever module it is is broken. dkms is fine.
I *think* you're using https://aur.archlinux.org/packages/mt7601u-dkms/ which I can 100% confirm is broken.