You are not logged in.
Hello!
When I try to reinstall modules for new kernel, I get this:
sudo dkms autoinstall
Error! Could not locate dkms.conf file.
File: does not exist.
For example I cannot switch my GPU because bbswitch didn't get autoinstalled for the new kernel. I have to manually do:
sudo dkms build bbswitch/0.5
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=3.6.4-1-ARCH KVERSION=3.6.4-1-ARCH.....
cleaning build area....
DKMS: build completed.
And then:
sudo dkms install bbswitch/0.5
bbswitch:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /usr/lib/modules/3.6.4-1-ARCH/kernel/drivers/acpi/
depmod.......
DKMS: install completed.
I guess the same follows for my nvidia-drivers? I think DKMS should do this on its own, but I'm not sure if missing dkms.conf is related.
Last edited by PL_kolek (2012-11-07 21:27:38)
Offline
BUMP
New kernel - situation recurred. Has anyone any idea what might be going on?
DKMS hasn't installed nvidia either...
Last edited by PL_kolek (2012-11-04 20:11:20)
Offline
Same here on one of my machines. The other 2 are fine though, still haven't figured out what's going wrong. Fresh installing seems to fix the problem though.
The bird of Hermes is my name, eating my wings to make me tame.
Offline
Okay found out what was wrong, look here for the answer: http://8thstring.blogspot.fr/2012/01/er … -file.html
The bird of Hermes is my name, eating my wings to make me tame.
Offline
Thanks for the answer. I found this post before, but ignored it, because I didn't have virtualbox installed (had to install it yesterday though). I followed the advice there and removed all directories corresponding to old version of my modules. No betterment:
sudo dkms autoinstall
[sudo] password for mk:
Error! Could not locate dkms.conf file.
File: does not exist.
Offline
Use the following to find out your lone DKMS packages
for i in /var/lib/dkms/*/[^k]*/source; do [ -e "$i" ] || echo "$i";done
It will probably print out /var/lib/dkms/bbswitch/0.4.2/source. In that case, remove /var/lib/dkms/bbswitch/0.4.2.
There was an error in older .install scripts (due to a libalpm bug) that prevented older versions to be uninstalled first.
Offline
Sorry for not being able to check your solution, because I fixed it in my way. Dumb way. I uninstalled dmks and dkms-bbswitch, removed /var/lib/dkms and installed it again. No strange errors now.
But I removed /var/lib/dkms/bbswitch/0.4.2 before, and it didn't help. But probably I did something wrong. Thanks
Offline
Use the following to find out your lone DKMS packages
for i in /var/lib/dkms/*/[^k]*/source; do [ -e "$i" ] || echo "$i";done
It will probably print out /var/lib/dkms/bbswitch/0.4.2/source. In that case, remove /var/lib/dkms/bbswitch/0.4.2.
There was an error in older .install scripts (due to a libalpm bug) that prevented older versions to be uninstalled first.
Thanks. I ran into a similar issue with the nvidia module and your trick totally worked.
Offline