LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-31-2004, 08:49 AM   #1
Amras
LQ Newbie
 
Registered: May 2004
Location: Land of Beer and Chocolates
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
Installing older kernel source


Hello

Just installed Mandrake 10.0 Community again, and I need to mess around with the kernel to get my USB modem going (tried a bunch of other stuff without the kernel messing but it didn't work, so thought I'd try the kernel thing ). I installed the source during the install. The problem is that mdk installed the 2.6.3 source and I am using the 2.4.25 kernel (I got an "error" during install saying that the compatibility of LSB with the 2.6 kernel was a bit iffy so mdk was going to install the 2.4 kernel). So I downloaded the 2.4.25-2mdk source (since it wasn't on the CD), but now when I try to install it via
Code:
rpm -i kernel-source-...
I get a "a newer package is already installed" so I cannot install the source for the kernel I am using...

How do I go about this? Delete the "linux link" in /usr/src and then rpm the source and add a new link? Do I just uninstall the 2.6 source? Do I just ignore the fact that 2.4.25 is running good and I compile the 2.6 kernel for my USB modem? Or do I do something else?

Thanks for reading and any suggestions you might have!
 
Old 05-31-2004, 09:22 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Well linux IS ALL about choice right.......so when I'm
testing kernels, I don't install the kernel by using the
package tool.........I just untar the source code and
manually move the directories to where they belong......
IE---------kernel directory goes to /usr/src/
and change the symlink to point to the different $version
the same goes for the modules directory........
move it to /lib/modules/<version>
and inside the /modules/<version> is symlink called $BUILD which
points to the kernel<version>

just do everything manually and don't use mandrake's package
install tool...........
 
Old 05-31-2004, 10:23 AM   #3
Amras
LQ Newbie
 
Registered: May 2004
Location: Land of Beer and Chocolates
Distribution: Mandrake
Posts: 11

Original Poster
Rep: Reputation: 0
OK, that's sound advice.
But what do you do when all you can find is the rpm file?
Is there a way to convert it to tar.gz?
Or do I just use the 2.4.25 kernel instead of the 2.4.25-2mdk? Are these things that the mandrake people have put in really important?
So many questions and so little knowledge from my part.....
 
  


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
Desktop from Source for Older computers shepper Slackware 8 10-29-2005 02:07 PM
installing older 2.4 kernel FC4 TranceDude Linux - Software 2 09-11-2005 09:00 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
installing kernel-source-2.6.8 phoenix_wolf Linux - Newbie 8 12-14-2004 09:24 AM
Installing the kernel source PlatinumRik Linux - General 2 02-19-2003 09:37 AM


All times are GMT -5. The time now is 01:01 PM.

Main Menu
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