LinuxQuestions.org
Visit Jeremy's Blog.
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-10-2006, 06:24 PM   #16
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30

Sounds hosed to me.

If you do reinstall, which I'm thinking is where you're at now, be sure to install the kernel sources. Then you can run the menuconfig to enable SMP and SATA support and be set.

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

Original Poster
Rep: Reputation: 15
I'm getting pretty good at installing lol

Install kernel sources? I just do recommended install, sata.i kernel. Is that enough or is there a command I need to type in?
 
Old 04-10-2006, 06:56 PM   #18
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally Posted by YARDofSTUF
I'm getting pretty good at installing lol

Install kernel sources? I just do recommended install, sata.i kernel. Is that enough or is there a command I need to type in?
I would do an install like you normally do. Then install the kernel sources package and you should have kernel source you can then use to customize your kernel.

Use whatever package manager comes with Slack 10.2 and look for a "kernel sources" package. Once installed, it should be in /usr/src (maybe in linux-x.yy.xx with a symlink to it called "linux") somewhere.

Peace...
 
Old 04-11-2006, 02:12 PM   #19
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Ok I found Kpackage, and it says I have kernel source installed, but its 2.4, i want to use the newest that I downloaded off of kernel.org
 
Old 04-11-2006, 03:27 PM   #20
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
So download kernel source, move it to usr and then compile kernel. Where is the problem?
 
Old 04-11-2006, 04:10 PM   #21
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid
So download kernel source, move it to usr and then compile kernel. Where is the problem?

Problem is that I didnt know if that was cool to do lol

Now in doing this, can i give the kernel some random name, so that the linux option on boot is left alone, then I just add in another, say call it test for now and make the kernel called slack so that way I wont mess up my current working setup?

If so, when do I rename it, after i build it?
 
Old 04-11-2006, 04:41 PM   #22
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
This option is added in lilo. Look at your /etc/lilo.conf to see the old kernel name.
 
Old 04-11-2006, 05:09 PM   #23
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid
This option is added in lilo. Look at your /etc/lilo.conf to see the old kernel name.

Ya but if I wanna leave that alone can I just give the new one a new name, and if I can, do I do that before or after I start the "make..." stuff?
 
Old 04-12-2006, 12:17 AM   #24
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
After make stuff:
Code:
# Linux bootable partition config begins
default = Muvo
image = /boot/vmlinuz-2.6.16-rc5
root  = /dev/sda3
label = Muvo
read-only
image = /boot/vmlinuz
root =  /dev/hda3
label = Linux-Original
read-only
# Linux bootable partition config ends
As you can see, there are two kernels: original Linux-Original kernel and my new kernel (vmlinuz-2.6.16-rc5), which I called Muvo (added support for my Muvo flash player).

Last edited by Alien_Hominid; 04-12-2006 at 12:23 AM.
 
Old 04-12-2006, 04:21 AM   #25
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
I'm not really getting an answer to my question here, don't know how else to explain it.

I downloaded and unzipped the 2.6 kernel, so now in /usr/src I have both the 2.4 and the 2.6.

I want to leave the "Linux" lilo option alone, and then create a "slackware" option, i know how to write that in lilo, but how do I use make menuconfig to make with the 2.6 kernel, and when whould I name this kernel "slackware" so that the boot option would work?
 
Old 04-12-2006, 05:24 AM   #26
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
After make bzImage, you will get bzImage in /arch/i386/boot/bzImage, which you could rename like you want. Copy bzImage to /boot and rename bzImage to Slackware. Then add it to your lilo path:
Code:
image = /boot/Slackware #(that's the path to your Slackware kernel aka previous bzImage)
 
Old 04-12-2006, 05:46 AM   #27
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid
After make bzImage, you will get bzImage in /arch/i386/boot/bzImage, which you could rename like you want. Copy bzImage to /boot and rename bzImage to Slackware. Then add it to your lilo path:
Code:
image = /boot/Slackware #(that's the path to your Slackware kernel aka previous bzImage)

Thanks. See how far I get this time lol
 
Old 04-12-2006, 06:06 AM   #28
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
Problem already, when I do make menuconfig its showing the 2.4 kernel, how do I tell it to use the 2.6 one?

EDIT: NM, gotta think a bit more, went into the /usr/src/2.6 directory and did make menuconfig, now I'm in the 2.6 kernel.


EDIT2: Whats the difference between adding stuff with *- built in, or M- module?

Last edited by YARDofSTUF; 04-12-2006 at 06:11 AM.
 
Old 04-12-2006, 06:18 AM   #29
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
When you compile some stuff into the kernel, it is being loaded at boot time. Because kernel is bigger it takes more time to load everything. When you compile as module, this module is being loaded when it is requested by some program. Be aware, that you need to compile your file system support into the kernel and not as module, if you don't want to use initrd.
 
Old 04-12-2006, 06:37 AM   #30
YARDofSTUF
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23

Original Poster
Rep: Reputation: 15
ok, got what I think I needed don. After saving from the make menuconfig in the 2.6 directory i have a lot of "warning: trying to assign nonexistent symbol..." messages, did I mess up?


Also it tells me make dep is unnecessary.

Last edited by YARDofSTUF; 04-12-2006 at 06:43 AM.
 
  


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 09:27 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