DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.