SlackwareThis Forum is for the discussion of Slackware 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 d/led a kernel 2.4.18 (tgz) and am now wondering
how to make that work with my slackware. Yes, I've
rebuilt Kernels before, no, I'm not that new ...
When I run make menuconfig and make all my selections
for the newer kernel, then run my make dep and make
bzImage I am presented with make config instead of
just getting the kernel compiled, and after the second
(superfluous) configuration the compile ends with errors.
What have I done wrong? :) Do I need a special archive
that's suitable for Slack, which files in the archive from
kernel.org do I have to touch to make the make work on
Slack?
I dont know what you might have done, but i just downloaded the tar.gz, ran menuconfig. than the standered make dep clean bzimage........ it worked fine for me then.
Kernel 2.4.18 will work on even slack 7.1 the way to get it going is first to untar it. Then you copy the .config file from your old kernel directory to the new one.
#cp /usr/src/linux-2.4.5/.config /usr/src/linux-2.4.18
Then make menuconfig then make dep if you have to. Then make clean, make install, make modules, make modules_install.
Each step in the kernel compile is optional depending on what you have to do.
If you are trying to get new Nvidia drivers working you probably need make dep. If you haven't added anything but a new kernel option you don't really need make dep again. If you have just added a new module you don't need to recompile all the kernel or reboot you just need make modules, make modules_install.
You don't even have to compile your kernel as the root user or in /usr/src/linux you only need to run lilo, copy bzImage to vmlinuz, and make modules as root.
You can compile a kernel on one machine and copy it to another if you do it the right way.
Originally posted by Tinkster G'day, and me again :}
When I run make menuconfig and make all my selections
for the newer kernel, then run my make dep and make
bzImage I am presented with make config instead of
just getting the kernel compiled, and after the second
(superfluous) configuration the compile ends with errors.
Not to accuse of making one of the dinky errors, but this is indicative of one of the most common mistakes... did you remember to rm the symlink from linux to linux-2.2.19 in /usr/src before you un'tar'ed the 2.4.18 package? Otherwise you dumped all of the new source in with the old source and well... if your base kernel was 2.2.19, you can accidently create 2 configs... er, yeah its a mess.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.