LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-14-2006, 01:36 AM   #1
CrEsPo
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware 12
Posts: 184

Rep: Reputation: 30
slackware-current kernel question


I just upgraded to slackware-current. Everything seems ok so far except for a few problems which have been sorted. Some libraries didn't get installed during the upgrade which caused problems with firefox and KDE applications opening.

One problem is left over though. I was watching the upgrade and I seen kernel 2.4.32 being installed. However right now I'm running kernel 2.4.31. Is there anything I need to do to get the new kernel working or should I try installing the packages again?
 
Old 04-14-2006, 07:49 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Did you read the Upgrade HOW-TO?
 
Old 04-14-2006, 09:19 AM   #3
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
You shouldn't upgrade your kernel this way. Edit the config file for whatever updater you're using - if that's the way you're doing the upgrade - and exclude kernel packages to stop this from happening.

Compile the kernel yourself if you feel the need to upgrade.
 
Old 04-14-2006, 10:22 AM   #4
CrEsPo
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware 12
Posts: 184

Original Poster
Rep: Reputation: 30
I upgraded following this guide.

Right now the Slackware 10.2 kernel is working properly, should I just leave it as it is?
 
Old 04-14-2006, 12:55 PM   #5
SlackerDex
Member
 
Registered: Mar 2006
Location: localdomain.localhost
Distribution: Arch-0.7.2, Slack-11.0
Posts: 56

Rep: Reputation: 15
That entirely depends on you.
 
Old 04-14-2006, 04:05 PM   #6
CrEsPo
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware 12
Posts: 184

Original Poster
Rep: Reputation: 30
Alright thanks, I'll keep the kernel I have now.
 
Old 04-14-2006, 05:16 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by CrEsPo
I upgraded following this guide.

Right now the Slackware 10.2 kernel is working properly, should I just leave it as it is?
That guide you followed is not official. You should follow the one from Slackware.

If you followed the guide whose link you posted, there was no mention of fixing LiLO (in the Current Upgrade HOWTO). However, the guide from Slackware says:
Code:
5.  Make sure your system will boot.  If you use LILO, make sure the
    paths in /etc/lilo.conf point to a valid kernel and then type 'lilo'
    to reinstall LILO.  If you use a bootdisk, you'll need to use
    makebootdisk to make a new bootdisk using the kernel in /boot.
Perhaps the reason your system is running 2.4.31 is because of this? Look in /boot to see if your upgrade installed the 2.4.32 kernel.

Although I like to compile my own kernels, there are plenty who run Pat's default kernels. If they work for you that's okay. There are some benefits to running a 2.6 stable kernel, especially if you have newer hardware.

Compiling your own kernel will teach you a lot about your system. For people new to rebuilding a kernel, my suggestion is Kwan Lowe's Kernel Rebuild Guide.
 
Old 04-14-2006, 06:20 PM   #8
CrEsPo
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware 12
Posts: 184

Original Poster
Rep: Reputation: 30
Thanks for the information, didn't know there was an offical upgrade how to. This upgrade was pretty much a test to see how things go. I'm getting a laptop soon which will be my Linux desktop as the main PC will be used as an entertainment centre. Right now I'm in the process of trying things out on my main PC that way when I get the laptop everything will be smooth.

Thanks for that kernel rebuild link. I kind of know how to rebuild the kernel, though am not good at it yet. I can add/remove from Pat's kernel perfectly, but if I start from scratch I always miss something small and every time it's something different. I'll read that site and see if I can pick up a tip somewhere.
 
Old 04-14-2006, 07:03 PM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
One thing you must do to upgrade to -current. Read the ChangeLog, and make sure how these changes will effect your system.

To rebuild your kernel you need to learn about your hardware. That is the key, along with knowing things such as the networking options. If you build kernels with a lot of modules, like Pat's, then you can get an idea what you're using by issuing "lsmod" (list modules). The longer your system has been up, and the more things you've done, the more modules you should see. That will give you a starting point to see which modules you are using with your Slackware system.

You can start learning by taking the .config file from a kernel you're using that works good for you, and then using that one to build a new kernel. I don't suggest using a 2.4 .config file to build a 2.6 kernel, though. For that one I'd print the 2.4 .config file and follow it as you build the 2.6 kernel from a fresh .config file.

You might want to do this with fresh sources for a 2.4.32 kernel. You could use Pat's 2.4.32 config file from -current as a starting point by following one of my simple guides and putting that config file in at step #5 of that guide. Then between steps 6 and 7 you can run "make xconfig" and look at the options, changing just what you know is specific to your computer.

For instance, you can get information about your CPU by issuing "cat /proc/cpuinfo" and then you can change Pat's options to fit your kernel. Similar steps for the remainder of your hardware, such as removing support for every NIC except yours. This is a simple way to start learning your hardware, and how to rebuild a kernel.
 
  


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
Slackware Current Question desertViking Slackware 7 10-24-2005 07:21 PM
slackware current bittorent package install question cinchel Linux - Software 3 10-25-2004 01:25 AM
kernel 2.6 and slackware-current jplev22 Slackware 1 01-31-2004 02:36 PM
Question about slackware-current tarballedtux Slackware 3 01-06-2003 03:28 PM
Slackware current packages question sitrus Slackware 4 11-01-2002 11:47 AM


All times are GMT -5. The time now is 07:51 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration