Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Installing older kernel source


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
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, 10:22 AM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Well linux IS ALL about choice 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, 11:23 AM   #3
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.....


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

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration