** Description changed: I've started a couple of thread and I can't get any help for this. I'm using Ubuntu 11.10 with dkms-2.2.0.2-1ubuntu4 and I don't know if it's a bug or I'm just doing something wrong. I am able to use dkms to build and install my wifi driver successfully and it will work fine, but only on the initial kernel that it is install on. When ever I try to upgrade - the kernel it breaks the driver. So i took a look at the build logs, if + the kernel it breaks the driver. So i took a look at the make.logs, if you look at them they are identical except for the first line. One log - is for kernel-3.0.0-14, the other is for kernel-3.1.5-030105. As you can - see the from the 3.1.5-030105 that when dkms tried to compile my driver - for the new kernel it used the linux-headers-3.0.0-14-generic. + is for kernel-3.0.0-14, the original kernel the driver was installed on + using dkms, the other is for kernel-3.1.5-030105. As you can see the + from the 3.1.5-030105 that when dkms tried to compile my driver for the + new kernel it used the linux-headers-3.0.0-14-generic. I found this bug https://bugs.launchpad.net/ubuntu/+source/dahdi- linux/+bug/790558?comments=all It appears this person is having a similar if not the same problem, and the solution to this problem was to uninstall the kernel headers. I haven't tried removing my headers because I don't want to have to remove my headers every time the update-manager upgrades my kernel. The whole point of using dkms was to automate the processes. If I have to remove my headers everytime that doesn't automate the process, so it defeats the purpose of using dkms in the first place. This bug does not effect all of my modules installed with dkms because the nvidia property driver that I installed using jockey-gtk does not break when upgrading the kernel.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/917980 Title: dkms recompiling using current kernel headers instead of the new one being installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/917980/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs