I just downloaded the kernel source, but I found the kernel VERSION Is not the same as the one current running;
The running kernel version is 2.6.35-22-generic (uname -r), but the kernel VERSION in the Makefile of source tree is 2.6.35.11; Where is the the kernel source for the current version?
I tried use the kernel header package (/usr/src/linux-headers-2.6.35-22-generic) to compile my driver kernel module, it is no problem to compile and install; but when I use the kernel source, it reports me the invalid module format while installing. I known it is the kernel version issue, but it's still fail even I manually modify the kernel version in the Makefile of source tree as the same.
Any Idea? How can I download the right kernel source for running version?
/Wallace
The running kernel version is 2.6.35-22-generic (uname -r), but the kernel VERSION in the Makefile of source tree is 2.6.35.11; Where is the the kernel source for the current version?
I tried use the kernel header package (/usr/src/linux-headers-2.6.35-22-generic) to compile my driver kernel module, it is no problem to compile and install; but when I use the kernel source, it reports me the invalid module format while installing. I known it is the kernel version issue, but it's still fail even I manually modify the kernel version in the Makefile of source tree as the same.
Any Idea? How can I download the right kernel source for running version?
/Wallace
Comment