LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-12-2004, 04:34 PM   #1
Worstje
Member
 
Registered: Mar 2004
Distribution: Slackware-current
Posts: 93

Rep: Reputation: 15
Kernel package questions


Hello all,

I have a few questions. I have updated to kernel 2.6.6 a few weeks ago, and am fully content how it is working now, after removing alsa and installing it from source. Now I am wondering...

1) Can I safely remove the kernel-2.4.22 package?
2) Can someone clear up for me what the kernel-headers package really 'means' for as far compiling things goes. I know it's needed for compiling most stuff, but since I handinstalled my kernel, do I still need the slackware one installed? If I do, is it safe to upgrade it to the 2.4.26 one without having that one installed?

Stupid questions perhaps, but the more I think about them the more unsure I get about it hehe...

Thanks for reading...
 
Old 06-12-2004, 05:57 PM   #2
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
1. Yep, and remove the 2.4 kernel from lilo too if it's still there.

2. The kernel headers package is:
/usr/include/asm -> asm-i386 (a soft link to asm-i386)
/usr/include/asm-i386
/usr/include/asm-generic
/usr/include/linux

As far as I know you can compile things against a different kernel version than the one your runnin, and it will still work. I haven't seen any documentation about it, but the xorg and KDE packages (and many others) were compiled against 2.4 and they run fine. Maybe there some sort of optimization by compiling against 2.6. The only reason I know about the headers is because I removed all the 2.4 kernel packages, and tried to compile an app. It wouldn't compile, it said it was missing linux headers or something, eventually I found out what folders i needed.

I haven't seen a 2.6.6 kernel headers package in slackware-current, so you have to download the source from kernel.org, and copy them over. They're in /include.
 
Old 06-12-2004, 06:14 PM   #3
Worstje
Member
 
Registered: Mar 2004
Distribution: Slackware-current
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks I have looked around a bit and found out that there is a testing branch with packages/linux-2.6.6 available. It has kernel-headers for 2.6.6, but dear old Pat V. put a warning there for me I am going to take his advice and will just upgrade my kernel-headers to 2.4.26.

You said I should also remove my 2.4.22 kernel. Why is this? The kernel package only has the sources next to the compiled kernel, or am I missing something?
 
Old 06-12-2004, 06:30 PM   #4
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Quote:
Thanks I have looked around a bit and found out that there is a testing branch with packages/linux-2.6.6 available. It has kernel-headers for 2.6.6, but dear old Pat V. put a warning there for me I am going to take his advice and will just upgrade my kernel-headers to 2.4.26.
Hmm... insteresting, maybe I should too.

Quote:
You said I should also remove my 2.4.22 kernel. Why is this? The kernel package only has the sources next to the compiled kernel, or am I missing something?
I don't quite understand what your saying there. You can remove the 2.4 kernel, modules and source if your not going to use them anymore. Or you can leave it there as a backup.

Btw are you using KDE? Have you tried KPackage? It will give you a list of what the package contains, so you can check to see what will be removed. I'm not sure if there's a way to check from the console, aside from opening up the actual package.
 
Old 06-13-2004, 06:13 AM   #5
Worstje
Member
 
Registered: Mar 2004
Distribution: Slackware-current
Posts: 93

Original Poster
Rep: Reputation: 15
Sorry, I think sleep was getting the most of me last night Your comment of "make sure you remove 2.4.22 from lilo aswell", seems to went into my head as "make sure you remove 2.4.22 aswell", so I was wondering why that was so important. Well I am just going to remove all kernel packages slackware gave me, except the headers ofcourse. I should be fine then (I hope ).

Thanks for everything
 
  


Reply



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
A few FreeBSD package questions reddazz *BSD 22 05-06-2005 05:13 PM
wlan-ng package questions Corallis Slackware 37 09-03-2004 06:57 PM
New slacker with package questions kkennedy Slackware 5 04-12-2004 03:07 AM
Help with some package questions? DFarist Linux - General 1 02-13-2004 11:34 AM
Wireless/package questions cnfwriter Debian 1 10-13-2003 10:56 PM

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

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