Knoppix Kernel recompile
Hello all:
I am using Knoppix 3.4 (which is based on Debian) with kernel 2.6.6. I would like to upgrade to the 2.6.10 kernel except I can't get the sources to compile. Code:
... Thanks. --edit-- I have been using the howto at http://www.desktop-linux.net/debkernel.htm. --edit-- |
I had the same problem in Debian when I tried to compile in /usr/src. In another directory, created by me in /home it compiles fine. I don't know exactly why is this happening but you might want to give it a try.
|
Thanks for your reply!
I'm going to try compiling in '/home/brian/linux-2.6.10' as root. I'll get back to you as soon as possible. --edit-- Also, I'm going to try this with the default configuration too. --edit-- |
I had the same error trying to compile kernel 2.6.9. The gamma_drv driver is broken and must be disabled. The bug page for it is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=282964
Change your kernel configuration with "make menuconfig" and de-select the driver. After that, "make-kpkg clean" and then "make-kpkg --initrd --append-to-version=-<NAME> kernel_image" It should work. Good luck! |
I know its kind of old school, but I still prefer to compile from a symlink in /usr/src. Lets say you have the kernel source directory kernel-source-2.6.10 in /usr/src. Now do
ln -s kernel-source-2.6.10 linux Then, cd linux Now, do the kernel configuration and build like m_yates said (though I prefer xconfig). I sometimes find that certain modules won't compile right and will kick out of make with error 2. So far, I have just de-selected each one and recompiled and I've never had a problem. Now, if a module that won't compile is actually necessary for system functionality, that is a major problem. Probably worthy of a bug report. It would be NICE if a non-critical module build failure would not prematurely terminate the compilation process, but I'm sure there's a reason for this. If anybody knows, please post. |
Compiling in another dir didn't work. (Same error... :()
I'm going to turn off the module and try again. I'll tell you what happens |
Instead of turning off just that module, I said "Select only drivers expected to compile cleanly" (as suggested in the link a few posts up) and I was able to compile the kernel!
Thank you SOOO much for all your help, I really appreciate it. |
Problem compiling Kernel 2.6.10 Mepis
Hi:
I am stuck with make-kpkg it is is exiting on result of not finding /usr/share/kernel-package/rules file. What are the rules files, where can I find them? Thanks AJ |
All times are GMT -5. The time now is 06:24 PM. |