LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 08-06-2004, 01:49 PM   #1
littleking
Member
 
Registered: Jun 2003
Location: New Albany, OH
Posts: 190
Thanked: 0
enabling SMP on slackware 10


[Log in to get rid of this advertisement]
i am having one heck of a time enabling SMP in the kernel on slackware 10, anyone able to give me a hand?

i have following the SMP how-to along with the kernel compiling newbie guide. every time i reboot after compiling i get a kernel panic, anyone able to help?
littleking is offline     Reply With Quote
Old 08-06-2004, 01:55 PM   #2
trey85stang
Member
 
Registered: Sep 2003
Location: Ft. Worth, TX
Distribution: Always.. Slackware 9.1
Posts: 945
Thanked: 0
you should only have to make one change in the kernel config.. then recompile following the guides...

what is the message you get with the kernel panic? is it a mounting issue.. etc??

EDIT.. is this 2.6.7 or 2.4.26?
trey85stang is offline     Reply With Quote
Old 08-06-2004, 09:57 PM   #3
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 284
Thanked: 0
SMP on Slackware 10

just as trey85stang said, the kernel would be nice to know.

I have been through the same problem, the kernel panic I got was due to me not placing the bzImage in /boot and using the same name in /etc/lilo.conf.

Also, when you boot, do you see more than one Tux at the top of your screen? If so, the number of Tux images you see is the number of CPU's that are running. These will appear before most things can cause a kernel panic. What I mean to say, you will know at initial boot if you did good on your SMP setup, even if you do get a kernel panic later in the boot process.

Glad it isn't just me that has these problems.
guzzi is offline     Reply With Quote
Old 08-07-2004, 10:53 PM   #4
littleking
Member
 
Registered: Jun 2003
Location: New Albany, OH
Posts: 190
Thanked: 0

Original Poster
2.4.26 as for the error i'll have to recompile to get the error again. i believe it was something to the effect of "unable to mout root" ro something or other. basically what im doing is trying to enable SMP using the raid.s kernel on an ibm x345...

are there any step by step instructions on how to do this? the smp-howto seems kind of outdated and hard to follow. also it seems that when i reboot after compiling that all my drivers are no longer detected.


sorry for sounding like a noob, just never been able to get a successful kernel recompile and i dont want to have to use redhat just because it has a "built-in" smp kernel.
littleking is offline     Reply With Quote
Old 08-07-2004, 11:38 PM   #5
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 284
Thanked: 0
SMP compile

littleking I have had the exact same problems.

To get SMP going I used guides from the world famous Linux Questions then adjusted to what is in this post.

I have not used the raid.s kernel, only speakup.s and adaptec.s. You may want to compare the .config files associated with these to see what the differances are.

With adaptec.s this is how I do it with 2.4.26

This is all done in /usr/src/linux

with an original .config from the CDROM or the installation if it is unmodified, I run
make menuconfig
in Processor Type and Features
Pentium4 (I have dual Xeons)
HIGHMEM = 4 gig (have 1 gig, but less is used if this option is not selected)
math emulation (I do it because ?)
MTTR = y
SMP = y
General Setup
No Power Management Support
ACPI = y (without this you get 2 CPU's)
ACPI Support (from memory, I get kernel panic without this)
Config ACPI =y
CONFIG ACPI HT Only = y
Character Devices
Enhanced Real Time Clock
SCSI Support (also I get kernel panic without this)
make anything to do with aic7xxx built into the kernel (have dual SCSI ctrls)

now edit Makefile so that the line EXTRAVERSION is unique
whatever you place in this line will be the name of the modules created in the install_makemodules operation. If this isn't done, the new modules will have the same name as the old, and may/will cause kernel panic.

On a stock 2.4.26 Makefile Makefile will look like this
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 26
EXTRAVERSION =

may I suggest that EXTRAVERSION = SMP.

make dep
make bzImage
make modules
make modules_install

cp /usr/src/linux/arch/i386/boot/bzImage /boot/whatever_name (this needs to be unique in /boot)

fix /etc/lilo.conf so that the name given to the kernel (whatever_name) is set like the following
image = /boot/whatever_name
root = /dev/sdb3 (this is where my / is at.)
label = make_up_a_name_that_will_show_up_in_the_lilo_boot_screen
read-only


run the command /sbin/lilo which will set the modifications to lilo.conf

reboot and there you are.

Last edited by guzzi; 08-08-2004 at 06:44 PM..
guzzi is offline     Reply With Quote
Old 08-08-2004, 10:38 AM   #6
littleking
Member
 
Registered: Jun 2003
Location: New Albany, OH
Posts: 190
Thanked: 0

Original Poster
thanks! ill give it a shot!
littleking is offline     Reply With Quote
Old 08-25-2004, 04:32 AM   #7
MS-outLINUX-in!
LQ Newbie
 
Registered: Aug 2004
Location: Riga, Latvia
Distribution: Debian (Testing/Stable), Slackware current
Posts: 27
Thanked: 0
SMP + SCSI

Tried this manual, and also http://www.linuxquestions.org/questi...threadid=49035 , but had no luck...
The newcompiled kernel does not recognize scsi! During installation selecting adaptec.s kernel makes the scsi work, but have only one processor operational. Have tried to install a pure ide system, but the ide disk is too small - i use it only to boot the kernel.
How do I make the kernel to get the scsi driver to run?
Have a server machine to experiment here, can try out lots of ways...
MS-outLINUX-in! is offline     Reply With Quote
Old 08-26-2004, 10:34 PM   #8
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 284
Thanked: 0
SMP + SCSI

I to have had that problem. It was fixed in my case by compiling into the kernel anything that had to do with the SCSI controllers. If my SCSI controllers were put in as modules, it would kernel panic.

There are ways around putting the SCSI stuff into the kernel, but it is a little more work, which I dislike.
guzzi is offline     Reply With Quote
Old 08-27-2004, 12:30 PM   #9
ADS
LQ Newbie
 
Registered: Aug 2004
Posts: 14
Thanked: 0
Are you copying the correct .config file to the kernel directory? If you don't do that, you're compiling the stock .config, which doesn't have a lot of drivers/modules that are included in the slackware .config.
ADS is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Problem after enabling SMP on dual core amd64 walmartshopper Linux - Software 3 09-26-2005 12:56 PM
SMP in Slackware 8.0 TotalDefiance Linux - Hardware 1 11-21-2004 11:23 PM
Enabling SMP Maintech Slackware 4 10-07-2004 11:33 PM
Slackware 10 SMP swinchen Slackware 1 09-13-2004 11:17 AM
9.1 Slackware SMP.S? jss Slackware 4 11-30-2003 10:58 AM


All times are GMT -5. The time now is 08:41 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration