[Bug 917980] Re: dkms recompiling using current kernel headers instead of the new one being installed
NVM, found the answer here https://help.ubuntu.com/community/Kernel/DkmsDriverPackage I opened the makefile with gedit and I used the replace tool to replace every use of $(shell uname -r) with $(KVER) and I added the line KVER ?= $(shell uname -r) up top after the the line CHIPSET = 3562. Then I modified the make line of my dkms.conf file to MAKE[0]=make KVER=$kernelver and this solved the problem. -- 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
[Bug 917980] Re: dkms recompiling using current kernel headers instead of the new one being installed
** This bug is no longer a duplicate of bug 790558 dahdi kernel module built for wrong kernel version -- 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
[Bug 917980] Re: dkms recompiling using current kernel headers instead of the new one being installed
** 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
[Bug 917980] Re: dkms recompiling using current kernel headers instead of the new one being installed
This is a problem with the Makefile that is in that original driver from ralink not a problem with DKMS. When determining the kernel version, they are using $(uname -r) rather than any kernel version arguments from DKMS. ifeq ($(PLATFORM),PC) # Linux 2.6 LINUX_SRC = /lib/modules/$(shell uname -r)/build # Linux 2.4 Change to your local setting #LINUX_SRC = /usr/src/linux-2.4 LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/ CROSS_COMPILE = endif -- 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
[Bug 917980] Re: dkms recompiling using current kernel headers instead of the new one being installed
** Changed in: dkms (Ubuntu) Status: New = Invalid -- 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
[Bug 917980] Re: dkms recompiling using current kernel headers instead of the new one being installed
Well I'm sorry that I posted it as a bug than, but if someone would have helped me out on the ubuntu forum or any where else, or if there would have been more documentation on dkms, or a footnote in these tutorials that I've seen, explaining not every driver is compatible with it, than this would not be a problem. Is there any way that someone with next to no coding experience such as my self could remedy the situation and make changes to the makefile so it would be compatible? -- 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
[Bug 917980] Re: dkms recompiling using current kernel headers instead of the new one being installed
*** This bug is a duplicate of bug 790558 *** https://bugs.launchpad.net/bugs/790558 ** This bug has been marked a duplicate of bug 790558 dahdi kernel module built for wrong kernel version -- 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
[Bug 917980] Re: dkms recompiling using current kernel headers instead of the new one being installed
** Attachment added: logs, orginal driver from ralink, and dkms.conf file https://bugs.launchpad.net/bugs/917980/+attachment/2679998/+files/logs%2C%20orginal%20driver%2C%20and%20dkms.conf.tar.bz2 -- 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