-
Notifications
You must be signed in to change notification settings - Fork 3
kernel
stachu edited this page Mar 5, 2017
·
2 revisions
After installing new kernel dependent ("external") modules needs to be rebuild.
In Debian family dkms is responsible for detecting dependent modules and rebuilding them.
To find which modules needs to be rebuild after upgrade, use: dkms status
dkms
may yield:
Error! Could not locate dkms.conf file.
File: does not exist.
It means that your installation contains old kernel modules, not properly removed/upgraded.
Kernel modules are usually located in /var/lib/dkms/
(or in /usr/src
).
List them:
for i in /var/lib/dkms/*/[^k]*/source; do [ -e "$i" ] || echo "$i";done
Remove those that are no longer installed (old ones):
rm -rf /var/lib/dkms/something/old_version
- General
- OS
- Networks
- Configuration
- Protocols
- Link layer
- Sockets
- Routing
- Tunneling
- Debugging
- LoRa
- Virtualization
- Infrastructure as a code
- Desktop environments
- Monitoring
- Benchmarking