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.
I recently downloaded linux-image-2.6.24-rc8, because I needed to try to get my wireless (b43) to work better. It does work better now so I want to keep the kernel, but I cannot install linux-headers-2.6.24-rc8 without linux-kbuild-2.6.24. The big problem is that I cannot find linux-kbuild-2.6.24 at all. I can find this file 'linux-kbuild-2.6_2.6.24~rc5.orig.tar.gz' but it's not a '.deb' file, so I don't know what to do with it. (Also it's not 'rc8' I don't know if that matters.) I downloaded it and looked at it but it doesn't make much sense to me.
I don't expect to be able to use apt or dpkg, so does anybody have a good page on building linux-kbuild? Does it make an entry in the apt database on my computer? If I try to install it, will linux-headers-2.6.24 even install afterwards? Thanks in advance.
I found that 2.6.24 is available as stable kernel today. I suggest to get the full source and build from scratch. That way, you'll automatically get the headers too. From the commandline as root:
Code:
aptitude install build-essential less nano
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
mkdir ~/kernel
cp linux-2.6.24.tar.bz2 ~/kernel/linux-2.6.24.tar.bz2
cd ~/kernel/
tar -xjf linux-2.6.24.tar.bz2
And away you go: config the kernel, make & install the image and the modules, build a matching RAM disk, update Grub/Lilo and reboot
PS: I know you've done kernelbuilds in the past but the elaboration is for relative new kernelbuilders
Did I do something wrong? I downloaded the debian source file from experimental and installed it, using dpkg. Then I went to /usr/src/ and unpacked the .tar.bz2 file. I cd'd into the new directory. Then I copied the .config file from the /boot directory and ran 'make menuconfig' to see that everything was as it should be. Then (as root) I ran 'make-kpkg clean' and this command:
Then I waited for the headers and kernel packages to be made. I installed them with dpkg, and now my system boots up into this new kernel, linux-image-2.6.24-rc8-686dl1, BUT I cannot build modules against the new kernel, or at least I've had terrible success at it so far. I know my account blurs over a few steps, but am I missing something? Is there something wrong with my headers? Any help would be appreciated. Thanks in advance...
Well, just to report back, I re-built the kernel and header files and re-installed them and this time they worked. I was able to compile several modules. Thanks Dutch Master and anyone who was reading this thread.
Good, glad you got it working. Just curious though, why did you stick with an rc version (and even the last one before becoming declared stable) of a kernel that's already marked 'stable' by the kernel dev's?
I wanted to use the debian source package, and as of yesterday that was the only one I could find. It's not in experimental now. What are the benefits of using the one from Kernel.org over the debian one?
I have this section in my /etc/apt/sources list that I uncomment when installing a Debian kernel from unstable to make sure to get all dependencies also for a truly Debian patched kernel.
By uncommenting that third line and uncommenting your unstable mirror in /etc/apt/sources list and do an "apt-get update" you'll be able to install linux-image-2.6.24-rc8, linux-kbuild-2.6.24, linux-headers-2.6.24-rc8 with whatever method you choose like apt, aptitude or synaptic and have all the latest Debian patches.
Junior Hacker, I actually did that, but I couldn't get it to work. As of 1/28 or 1/29 there was no 'linux-kbuild-2.6.24' available, though. There is one now, but I've already built the kernel myself, so I'm not so worried about it. I'll try the kernel-archive thing again some other time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.