LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-06-2005, 02:38 PM   #1
lorddef
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Rep: Reputation: 0
Smile Dual p100 & Slackware kernel ?


Hi people,

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.

Any ideas?

Mandrake works, but whats the point in that.
 
Old 12-06-2005, 04:46 PM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
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.
 
Old 12-07-2005, 07:28 AM   #3
lorddef
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks Darin,

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.
 
Old 12-07-2005, 09:02 PM   #4
eliotj
LQ Newbie
 
Registered: Mar 2005
Location: Alamo,Texas
Posts: 7

Rep: Reputation: 0
enable SMP option.
 
Old 12-13-2005, 01:28 PM   #5
lorddef
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 12-13-2005, 01:33 PM   #6
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
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.
 
Old 12-13-2005, 01:37 PM   #7
lorddef
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Original Poster
Rep: Reputation: 0
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?
 
Old 12-13-2005, 02:05 PM   #8
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
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.
 
Old 12-13-2005, 02:06 PM   #9
lorddef
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Original Poster
Rep: Reputation: 0
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???
 
Old 12-13-2005, 02:09 PM   #10
lorddef
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Original Poster
Rep: Reputation: 0
okay assume I'm only moderately retarded and I can associate vaguely which bits I need and don't, how do I know if I should really be excluding them?
 
Old 12-13-2005, 02:25 PM   #11
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
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.
 
Old 12-13-2005, 03:09 PM   #12
lorddef
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Okay so if I take out all the stuff I don't need it makes a smaller kernel. But how does this resolve the fact I have no snd device?
 
Old 12-13-2005, 03:14 PM   #13
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
For that, I recommended using the OSS driver instead of ALSA, even if it is "deprecated".
 
Old 12-13-2005, 03:27 PM   #14
lorddef
LQ Newbie
 
Registered: Dec 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Yeah I stumbled upon the OSS drivers in the sound menu, I've set the possible cards to <M>.

I've also cleared a huge ammount of things this machine definately will never have.

When I originally installed slack I did alsaconf to setup my soundcard - and it worked fine. But what do I do if it ends up set up as OSS - ossconf?

Well I'm going to go for it now, thanks for the help so far. I guess only time will tell, same time tomorrow Tuxdev?
 
Old 12-13-2005, 03:41 PM   #15
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
OSS modules are activated in /etc/rc.d/rc.modules
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual booting Slackware 10.1 & FreeBSD xfezz Linux - Newbie 1 04-21-2005 01:22 PM
Dual Boot with Existing WinXP & SLackware - with New 160GB hrddrive daveg2000 Linux - Newbie 2 09-06-2004 04:46 PM
Dual-booting Mandrake & Slackware: Kernel panic: VFS: Unable to mount root fs vasudevadas Linux - General 5 08-22-2004 04:43 PM
Dual Processor Kernel for Slackware 9.1 {Hfx} Morpheus Slackware 1 04-11-2004 01:22 AM
Garbage Picked a P100, What should I do? bkeating General 34 04-30-2003 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration