LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-07-2006, 10:08 PM   #1
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Rep: Reputation: 15
Slackware 10.2 kernel questions


I installed slackware and needed to use the sata.i kernel in order for it to see my sata drives. Now that I have it running I checked and it recognizes 1 cpu, this processor is an P4 w/HT, so I'd like smp support for it. Got help at another forum for Ubuntu, but that wasnt workign for me, though apt-get was nice for updating the kernel. I assume its not so easy for slackware.

So i need to find the kernel that supports smp and sata? Or am I way off?

Thanks.
 
Old 04-07-2006, 10:36 PM   #2
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
With Slack you will need to recompile your kernel with smp & sata support.
It is not really that difficult and there are some very good guides at the top of the Slack forum.
 
Old 04-07-2006, 11:00 PM   #3
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Ya I glanced over the guide real quick, but how do I know what kernel supports sata and smp? It seems like the guide assumes I know where the kernel I want is.
 
Old 04-07-2006, 11:09 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
It not a pre-made kernel. You download the kernel (full version), and compile it yourself.

The sata.i kernel is a precompiled 2.4.13 kernel. The one you make yourself is whatever you want to call it.

Read the sticky. YOU make the kernel. During the config portion, you make it support sata & smp
 
Old 04-07-2006, 11:12 PM   #5
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261

Rep: Reputation: 40
You get the latest kernel from kernel.org. I forget where it is but when you make menuconfig you have to make sure SATA is selected in the menu.
 
Old 04-07-2006, 11:13 PM   #6
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cwwilson721
It not a pre-made kernel. You download the kernel (full version), and compile it yourself.

The sata.i kernel is a precompiled 2.4.13 kernel. The one you make yourself is whatever you want to call it.

Read the sticky. YOU make the kernel. During the config portion, you make it support sata & smp

Ah! Time for some heavy reading then
 
Old 04-07-2006, 11:30 PM   #7
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Ok, in the guide, for lilo.conf do I add the .old junk after # Linus Bootable partition config ends and then add that at the bottom, or after the readonly line on the linux option do i just add image/root/label and then read only?

also how do I save in pico?
 
Old 04-08-2006, 08:45 AM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Add this to the end of lilo.conf:
Code:
# Linux bootable partition config begins
image = /boot/your-kernel-path
root  = /dev/sda3 (your root partition path, like /dev/hda3)
label = your_kernel_name
read-only
Edit by your needs and then run # lilo to check if you haven't made any errors, which will also put this new information into lilo.

To save in pico type control + o, then filename where to save, or ctrl + x, and then y (if you editting already created file).

Last edited by Alien_Hominid; 04-08-2006 at 09:28 AM.
 
Old 04-08-2006, 10:35 AM   #9
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
What I have:

#Other Operating Systems Partitions config begins
windows crap here
# Linux bootable partition config begins
image = linux
root = /dev/sda2
label = linux
read-only
# Linux config ends

Now do I add the new oen so that it looks like this:

#Other Operating Systems Partitions config begins
windows crap here
# Linux bootable partition config begins
image = linux
root = /dev/sda2
label = linux
read-only
# Linux config ends
# Linux bootable partition config begins
image = the new one
root = the new one
label = the new one
read-only
# Linux config ends

or this:

#Other Operating Systems Partitions config begins
windows crap here
# Linux bootable partition config begins
image = linux
root = /dev/sda2
label = linux
read-only
image = the new one
root = the new one
label = the new one
read-only
# Linux config ends


Thanks, sorry for the ghetto representation, i'm not at the box to read/copy the real lilo contents.
 
Old 04-08-2006, 11:12 AM   #10
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Things after # are comments so they are not read by lilo. You can add anything you want after them.
 
Old 04-08-2006, 12:59 PM   #11
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by YARDofSTUF
What I have:
Now do I add the new oen so that it looks like this:

#Other Operating Systems Partitions config begins
windows crap here
# Linux bootable partition config begins
image = linux
root = /dev/sda2
label = linux
read-only
# Linux config ends
# Linux bootable partition config begins
image = the new one
root = the new one
label = the new one
read-only
# Linux config ends
Yes. Do it like the first example

Last edited by dive; 04-08-2006 at 01:00 PM.
 
Old 04-10-2006, 03:54 PM   #12
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Ok so I edited the junk with pico like the guide says, but it flies past things for me.

I'm in make menuconfig, the guide says to make the changes I want, well isnt this gonan change the kernel I already have installed?

It tells me to add the .old stuff, but hasnt yet told me to change the actaul files that lilo would load, and now i'm messing with the kernel?

I think at this point I need to rename the kernel to whatever.old and unzip the new kernel that I chose and downloaded, right?
 
Old 04-10-2006, 04:28 PM   #13
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Well I screwed it up good, never did any renaming out of pico, followed the guide and added smp that i wanted to the 2.4 core and it wouldnt load at all, the slack.old though it seems to be good, it loaded, but startx now has errors and wont load. Looks like reinstall time lol
 
Old 04-10-2006, 05:02 PM   #14
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
What errors do you get now when X tries to start?

If possible post your errors here before doing anything else so we can see if we can salvage your system and get your kernel installed ok.

Peace...
 
Old 04-10-2006, 05:56 PM   #15
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Ok, trying on the "Linux" option in lilo I get:

kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno=2
VFS: Connot open root device "811" or 08:11
Please Append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:11




Then on slack.old that actually loads up to the logon. I dont know how to read all the stuff, its more than a page, but the last page of it is:

EE xf86OpenSerial: Cannot open device /dev/mouse
No such device
EE Mouse1: Cannot open input device
EE PreInit failed for input device "mouse1"
No core pointer

Fatal Server error
failed to initialize core devices

Please consult X.org foundation support

XIO: Fatal IO error 104 connection reset by peer on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Various Questions [New to Slackware] comfy.numb Slackware 18 10-05-2005 01:22 PM
Slackware kernel 2.6 questions ebusch Slackware 7 09-17-2005 09:01 PM
Slackware + alsa + kernel 2.6 questions SVN Slackware 1 04-27-2005 10:41 AM
Just installed Slackware 10! Just a few questions on mouse, and kernel, and so forth. RHLinuxGUY Slackware 7 09-12-2004 02:03 AM
slackware 10 compiled kernel migration questions mr_earswab Slackware 1 07-17-2004 03:51 PM

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

All times are GMT -5. The time now is 11:26 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