LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel version Source Version mismatch after recompile (http://www.linuxquestions.org/questions/linux-software-2/kernel-version-source-version-mismatch-after-recompile-335129/)

chuckleberry 06-19-2005 09:20 AM

Kernel version Source Version mismatch after recompile
 
Hullo, I recently recompiled my kernel to include two very minor changes in the source. The kernel version number has remained the same but with custom attached to the end of it.

It was 2.4.20-8
now its 2.4.20-8custom

The problem is when I try and use rpmbuild --rebuild on source rpms it complains I don't have the right source installed. It's looking for 2.4.20-8custom but can only find 2.4.20-8. I have included a symbolic link in /usr/src from linux-2.4.20-8custom to linux 2.4.20-8 but still no joy. How do I go about fixing this, without having to recompile????

bigrigdriver 06-20-2005 06:37 PM

When you recompiled, did you copy the bZimage to the /boot directory named vmlinuz<version number>? Did you edit your bootloader config file to point the the new vmlinuz? Did you make a new initrd (if your distro uses it)? You may also need a new System.map file in /boot; I'm not sure about that.


All times are GMT -5. The time now is 10:15 PM.