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 08-31-2003, 01:00 PM   #1
one
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 87

Rep: Reputation: 15
slack and kernel 2.4.22


does anyone know if slackware is going to make the new kernel available?
 
Old 08-31-2003, 01:14 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
What do you mean make the new kernel available? I have 2.4.22 running flawlessly on my Slackware machine.
 
Old 08-31-2003, 01:16 PM   #3
one
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 87

Original Poster
Rep: Reputation: 15
i meant in slackware pkg (.tgz),
 
Old 08-31-2003, 01:21 PM   #4
one
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 87

Original Poster
Rep: Reputation: 15
how do you install it? i mean in slackware there is kernel-headers, kernel-something and kernel-something,
in kernel.org is just one file, i'm confused
 
Old 08-31-2003, 01:33 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
At the top of this forum you should find a link or thread discussing how to install a kernel for Slackware specific systems. Its very easy to follow. I would suggest following that to get the latest kernel installed. No need to wait around for someone to create it as a Slack source (tgz).

Regards.
 
Old 08-31-2003, 01:39 PM   #6
one
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 87

Original Poster
Rep: Reputation: 15
but thats for recompiling a kernel and not for removing the old one and installing a new one
 
Old 08-31-2003, 02:39 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hi there one

Let me try to clear up a bit of confusion for you

You have the 2.4.21 kernel, NOT very old, and with lots of support. Reasons to upgrade your kernel would be things like Hardware not working (correctly), bugs, security holes, things like that. To upgrade something (especially a KERNEL) when it's working properly is sometimes suicide, so be careful.

Now, if you are having problems as described above, feel free to upgrade your kernel. To do that, you will want to grab the latest STABLE version from www.kernel.org and compile it. Not recompile, because this would indeed be the first time, so no 're' anything is being done

Follow the how-to above, and be sure to test it out and don't overwrite your current working kernel in the process.

Removing an old one and installing a new one is not really a great idea because of the above mentioned problems, and because you have 1 working kernel, that you know works, but you aren't sure if the new one will or not on your setup. Keep the old one until you've thoroughly tested out a new one.

Recompiling a kernel or compiling one for the first time for an 'update' is definitely recommended rather than "installpkg/upgradepkg" the new kernel. You'll get the benefit of seeing what is actually in a kernel, the speed you get from compiling your own, and of course the knowledge gained from compiling a kernel.

Anyone can 'upgradepkg package-version.tgz' but it takes a good reader and some patience to actually compile your first kernel

Cool
 
Old 08-31-2003, 08:33 PM   #8
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
ermm MasterC, the stock kernel shipped with Slack 9 is 2.4.20...

one, kernel compiling is not hard, if you know your hardware and specific features that you need (or want), then it shouldn't be too difficult.

DaOne's thread is informative, and you should give it a try if you insist on having the latest kernel
 
Old 08-31-2003, 09:52 PM   #9
one
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 87

Original Poster
Rep: Reputation: 15
Azmeen i upgraded it to 2.4.21 using the slackware pkg (upgradepkg)

i read daone posts and i'm compiling a new kernel from source but had a problem just now when running the make bzimage command

bash-2.05b# make bzimage
make: *** No rule to make target `bzimage'. Stop.
 
Old 08-31-2003, 10:01 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
It's a capital I:
make bzImage

Cool
 
Old 08-31-2003, 10:04 PM   #11
one
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 87

Original Poster
Rep: Reputation: 15
oops! thanks MasterC
 
Old 08-31-2003, 10:05 PM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by Azmeen
ermm MasterC, the stock kernel shipped with Slack 9 is 2.4.20...

one, kernel compiling is not hard, if you know your hardware and specific features that you need (or want), then it shouldn't be too difficult.

DaOne's thread is informative, and you should give it a try if you insist on having the latest kernel
I don't see how that would really matter, or contridict anything I wrote? If you mean to say:

Quote:
Originally posted by Me
Not recompile, because this would indeed be the first time, so no 're' anything is being done
Constitutes a 'remcompile' because 2.4.21 is not the stock kernel in 9, well still he'd be compiling his first 2.4.22 kernel, still no recompiling (for the play on words anyway ).

But thanks for the info, I actually didn't know what the stock kernel was that shipped with 9.0 because Slack decided to disclude the source from the install CD

Cool
 
Old 08-31-2003, 10:06 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by one
oops! thanks MasterC
You're welcome It's the little things that end up killing us sometimes...

Cool
 
Old 08-31-2003, 11:20 PM   #14
one
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 87

Original Poster
Rep: Reputation: 15
another question, when i compile my new kernel and want to remove it to continue with the old one, i just have to erase the /usr/src/linux directory of the new kernel?
 
Old 09-01-2003, 12:41 AM   #15
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Quote:
Originally posted by one
another question, when i compile my new kernel and want to remove it to continue with the old one, i just have to erase the /usr/src/linux directory of the new kernel?
Well, personally I do it the recommended way... ie. untar the kernel, and it will uncompress in linux-2.4.xx, I just create a linux symlink to the one I'm using/going to use... ie.:

cd /usr/src
ln -s linux-2.4.22 linux
 
  


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
Using Slack 10's 2.6.7 kernel packages on Slack 10.1? SocialEngineer Slackware 1 03-05-2005 12:53 PM
Kernel 2.6.8.1 on slack 10 derzok Linux - General 9 09-10-2004 05:10 PM
2.6.7 Kernel + Slack 10 Sir.Del Slackware 0 07-24-2004 10:33 AM
Slack 10 and kernel 2.6 itsjustme Slackware 4 07-09-2004 05:49 AM
Slack 9.0 kernel in 9.1 Wolfgang67 Linux - Wireless Networking 2 01-16-2004 09:22 AM

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

All times are GMT -5. The time now is 01:36 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
Open Source Consulting | Domain Registration