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 was wondering if anyone could point me in the right direction to getting a kernel compiled for a dual pentium setup. I just installed slackware 10.2 using the scsi2.i kernel but it only supported 1 of the processors.
On the first install CD the kernels such as scsi2.i are stored in a directory. In that same directory are the configure scripts used to make those kernels. if you drop the configure script from the scsi2.i directory into /usr/src/linux as .configure you can modify it to turn on multiprocessor support and then recompile. (make menuconfig ; make bzImage ; make modules ; make modules_install, etc) If you are new to building a new kernel, check out the stickies in this Slackware forum.
I'll take a look at the stickies in the forum, I can recompile the slackware kernel from my current Mandrake install can't I? I think it's pretty complete.
Okay. So I dropped the scsi2 script into /usr/src/linux as .configure and ran through the whole compile process, but ofcourse the script should have been in there as .config so it just compiled some massive bullcrap kernel.
Then I started again, dropped the script in as .config and proceded with
make menuconfig
Where I switched the CPU to Classic Pentium and enabled SMP, then proceded with:
make dep
make clean
make bzImage
make
make install
make modules
make modules_install
So now I have a multiprocessor kernel. great. BUT on bootup device /snd/ now does not exist. the error I get at boot up is "modprobe: Cant locate module snd-sb16" - it has an old isa sb16 in it.
So! how do I get my sound device back?
Also if I've installed from .config configuration will anything else be missing that the installer usually adds?
Btw, make modules takes a [bleep]ing day!
Last edited by lorddef; 12-13-2005 at 01:29 PM.
Reason: cuss words edited out - I thought this would be automatic
Go thru the whole menuconfig and get rid of things you know you don't have, like other sound modules. I use the OSS sb module for that kind of sound card.
does this mean I have to re-make everything? or just some specific bits? - surely if the kernel that I booted off and installed off had it correct I shouldn't have to wait another day whilst things get made again should I?
The point of removing all the stuff you don't need is so that you can spend only half or a quarter of the day instead of a full day compiling. I always do a make clean before I build a kernel, but it may not be necessary.
Any pointers on what other things I have to look at in make menuconfig would be appreciated too, i.e. my network card still works so I guess its not all devices that need to be checked up on in this bit???
Do you have a SoundBlaster 16? or use APM not ACPI? Are there drivers being compiled for things you don't have in your system? You don't need drivers and support for stuff that isn't in your system. Makes the kernel faster when running too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.