You are not logged in.
Everytime I upgrade kernel, I have to do dkms autoinstall after reboot, for my wifi drivers. This is pretty annoying given the fact how often the kernel is updated. When I run dkms autoinstall right after upgrade, it won't build, because it defaults to the old kernel, which is loaded. I tried using -k option with no luck
The kernel is found, but something is still not right.
dkms autoinstall -k 4.5.4-1-ARCH
Error! Could not locate dkms.conf file.
File: does not exist.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make KERNELRELEASE=4.5.4-1-ARCH...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.5.4-1-ARCH (x86_64)
Consult /var/lib/dkms/rt3290/2.6.0.0rev1/build/make.log for more information.
I looked at the log and it seems it still somehow defaults to the old kernel:
gcc -g bin2h.c -o bin2h
chmod +x bin2h
make[1]: Leaving directory '/var/lib/dkms/rt3290/2.6.0.0rev1/build/tools'
/var/lib/dkms/rt3290/2.6.0.0rev1/build/tools/bin2h
cp -f os/linux/Makefile.6 /var/lib/dkms/rt3290/2.6.0.0rev1/build/os/linux/Makefile
make -C /lib/modules/4.5.2-1-ARCH/build SUBDIRS=/var/lib/dkms/rt3290/2.6.0.0rev1/build/os/linux modules
make[1]: *** /lib/modules/4.5.2-1-ARCH/build: No such file or directory. Stop.
Makefile:385: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
Last edited by kox (2016-05-13 17:41:52)
Offline