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.
OK i just compiled and installed a 2.6.13 kernel, but when I boot to it some things don't work. The main one of these being my network connection. When I installed Slack, it went through the netconfig then and everything worked great. What changed when I boot to the new kernel? If I boot to the old one (as I'm doing now) everything works great. Also, I notice a few errors on boot about missing modules or something, I need to investigate further but first I'd like to get internet connectivity to facilitate the troubleshooting from the 2.6 boot.
The easiest way would be to boot back into the original Slackware kernel, run "lsmod" and write down all the modules it shows there.
From there you could go to Google and search each one to figure out what it does.
Alternately, you could do "lspci", and write down the model of your NIC, and then Google that to find the appropriate module.
However you found the module name, you then go into the kernel config, an select it to either compile in, or load as a module. Then install the kernel/modules (whichever one you changed), and reboot.
You now have the 2.6.13 kernel (test26.s on Slack10.2 bootdisk) installed. You can now tweak this kernel config for your system in the knowledge you have a fallback kernel. Before messing about change the installation path in the Makefile back to /boot or any other folder of choice. Hope I helped.
(you can skip the make menuconfig and go straight to make,etc.... I do it purely out of habit.)
This was actually one of the most clear instructions I have seen on kernel compiling. I will link to it from my page.
Earlier on, one should install Alsa after recompile. Is this still relevant? And if yes, won't it conflict with the fallback kernel?
Yes - desktop, laptop, tabletop... you name it.
This looks like the kind of thing which is tricky the first couple of times and afterwards you wonder why.
KMcD, sorry but I have a really noob questions there are :
1: Where I should Untar the kernel ****.tar.bz2 ?
2: Can I use config linux-2.6.13 for kernel 2.6.13.4?
3: how to use "Ck-Patch" ? and what for?
Yes you can use the config file for 2.6.13 for 2.6.13.4 kernel. Infact you can use the same config file for future kernel upgrades if you **don't add new hardware** or **don't use/need new features** in your kernels.
OK, I found my NIC's drivers and enabled them, I am now writing this from my new 2.6.13.4 kernel. Yipee. However, there are a few additional inconsistencies. For instance, when trying to run LILO in 1024x768, to get a nice small-font console (with Tux up top initially) I got no display at all. I was able to blindly log in and startx, which displayed just fine. From an rxvt I edited lilo.conf and turned it to normal display, so now it works fine. What do I need to do to use the higher resolution console? Also, my mouse seems to have increased in sensitivity. Not a crucial fix, but it's kind of annoying.
Originally posted by fireedo KMcD, sorry but I have a really noob questions there are :
1: Where I should Untar the kernel ****.tar.bz2 ?
2: Can I use config linux-2.6.13 for kernel 2.6.13.4?
3: how to use "Ck-Patch" ? and what for?
thanx in advance
tuxrules was spot on, you can put the source anywhere you want. I now always patch the kernel with either the ck patch or the nitro patch. I create a new folder:
Code:
mkdir /usr/src/Patched
and unpackage the source there. Change into the source directory:
Code:
/usr/src/Patched/linux-2.6.13
and copy the patch file (patch-2.6.13-ck8.bz2) here. Then to patch the source use the command:
Code:
bzip2 -dc patch-2.6.13-ck8.bz2|patch -p1
Use the config-2.6.13 now, changing it to .config
Then follow the instructions as before. I hope I've made this clear, any more questions just let me know. You can change these instructions for any patchset, have a look on the web, some may have a feature you really want such as Software Suspend 2 or Reiser4, etc. Just experiment and find what suits you best. And if you make a mistake you'll still have a stable kernel in /stable-boot safe and sound.
The ck patchset makes changes to the schedulers in the kernel (you'll need to ask others about what that means) and adds other enhancements (like swap-prefetching) which make your pc run faster. On my laptop (which has quite a good cpu) the effect is small but on my aging dell desktop the effect of this patch is quite noticeable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.