Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
04-07-2006, 10:08 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Rep:
|
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.
|
|
|
04-07-2006, 10:36 PM
|
#2
|
Member
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269
Rep:
|
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.
|
|
|
04-07-2006, 11:00 PM
|
#3
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
04-07-2006, 11:09 PM
|
#4
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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
|
|
|
04-07-2006, 11:12 PM
|
#5
|
Member
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261
Rep:
|
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.
|
|
|
04-07-2006, 11:13 PM
|
#6
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
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
|
|
|
04-07-2006, 11:30 PM
|
#7
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
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?
|
|
|
04-08-2006, 08:45 AM
|
#8
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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.
|
|
|
04-08-2006, 10:35 AM
|
#9
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
04-08-2006, 11:12 AM
|
#10
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Things after # are comments so they are not read by lilo. You can add anything you want after them.
|
|
|
04-08-2006, 12:59 PM
|
#11
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
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.
|
|
|
04-10-2006, 03:54 PM
|
#12
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
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?
|
|
|
04-10-2006, 04:28 PM
|
#13
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
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
|
|
|
04-10-2006, 05:02 PM
|
#14
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
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...
|
|
|
04-10-2006, 05:56 PM
|
#15
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|