Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
10-24-2004, 08:24 AM
|
#1
|
Member
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141
Rep:
|
kernel compiling help
hi
i have just downloaded the linux 2.6.9 kernel and have set it up and compiled it.
it seems to be running fine... there is just e few [failed] things on sartup
i am still fairly new to linux and wanted to give this a try (also needed to so that i could use ACPI)
i did als back up the old kernel and have set up lilo so i can boot off either.
i have a dell inspiron 2600 laptop and i'm using mandrake 10
i'm not sure at this time what other info u may need
the first thing that fails is looks like:
Unmount initrd: umount: /initrd: device is busy [failed]
the next is something like:
swapon /dev/hda5 function not implemented [failed]
and the last thing (i noticed three although this happened twice i think)
Mounting file system: mount: fs type super not supported by kernel [failed]
how do i fix these probs
thanks
graham
|
|
|
10-24-2004, 09:07 AM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
I don't know about initrd I don't think I use whatever that is, but the swap problem, did you enable swap on the general setup menu? And the fs type super - could it have been supermount? The vanila kernel needs to be patched to support supermount. Try this one http://ck.kolivas.org/patches/2.6/2....9-ck2/patches/
|
|
|
10-24-2004, 11:51 AM
|
#3
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Hopefully you can still access the old kernel to permit your system to boot.
Select the old kernel from the Lilo/Grub boot screen.
Edit your /etc/lilo.conf file and remove the new entries you created.
Now instead of what you tried go to http://www.zebulon.org.uk and set up your urpmi sources.
To install a new kernel now do this...
urpmi kernel-2.6.x kernel-source-2.6.x
and let it do it's thing.
There is really no need for you to recompile the kernel.
|
|
|
10-24-2004, 02:12 PM
|
#4
|
Member
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141
Original Poster
Rep:
|
thanks apjosethat does sound like a good idea i will give it a try.
it is nice to know how to do it yourself though.
|
|
|
10-24-2004, 04:00 PM
|
#5
|
Member
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141
Original Poster
Rep:
|
i already had urpmi set up so i just updated the lists
there is no 2.6.9 kernel available there or 2.6.8
can anyone maybe help with fixing those other probs?
thanks
graham
|
|
|
10-24-2004, 07:09 PM
|
#6
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Eh what other problems?
You can revert back to the Distro Specific kernels (2.6.8 in this case) and get your system running again.
There was not a major change in ACPI operation between 2.6.8 and 2.6.9. Is there a specific reason you are trying to use it?
|
|
|
10-25-2004, 01:45 AM
|
#7
|
Member
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141
Original Poster
Rep:
|
the other probs mentioned at the top of the thread
there si no specific reason for using 2.6.9
maybe i'l download 2.6.8 and give that a try.
my sistem is running thankfully i did backup hte old one and can still boot into from the lilo boot choice at startup
infact i can even boot into 2.6.9 and everything seams to be fine it just moans about those things at start up and wanted to fix it
|
|
|
10-25-2004, 10:01 AM
|
#8
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Go back to 2.6.8 and choose a more recent release.
The 2.6.9 kernels are developement versions AFAIK.
|
|
|
10-25-2004, 06:48 PM
|
#9
|
Member
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141
Original Poster
Rep:
|
ok i will give that a try.
also what about patching my original kernel, would i need to use the patches in between or just the latest one eg. from 2.6.3 to 2.6.4 to 2.6.5 etc or strait from 2.6.3 to 2.6.8?
|
|
|
10-26-2004, 08:38 AM
|
#10
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Why do you need or think you need that you have to patch the kernel?
The RPM's have the kernel already prepatched as things are discovered.
Is there a particular reason that you believe this is needed?
|
|
|
10-26-2004, 11:13 AM
|
#11
|
Member
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141
Original Poster
Rep:
|
hi
i was asking whether it would be a better idea to patch the kernel than dl a newer one and do a full recompile.
if it is easyier to use patched because it keeps all the original setting then great, do i need to use all in between the current version and the one i am going to
if it is not a better idea to patch what do i do since:
i have used easy urpmi to set up a number of online rpm repositories and there is no 2.6.8 kernel in my rpm list in rpmdrake
so... was just wondering what would then be a better option
i would also like to use the newer kernel as it is a newer kernel
thanks opjose
|
|
|
10-26-2004, 02:16 PM
|
#12
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Unless you have a VERY VERY specific need (which so far you have not indicated) there is absolutely NO reason to compile your own kernel nor download and apply patches.
You should be using the Mandrake precompiled ones.
Remember that these already have ALL of the kernel modules compiled in, and where any compile time switches differ, the kernels are available in different flavors to cover this.
Yes the 2.6.8.xxx kernels are sitting on the repositories though often merely typing urpmi kernel will NOT display the.
You either need to use the gui or FTP to the repository and download the RPM's directly.
|
|
|
10-26-2004, 02:49 PM
|
#13
|
Member
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141
Original Poster
Rep:
|
i don't really have a good reason well at least a reason that i NEED to.
the main reason is prob that i just wanna learn how, i went to linux for many reasons, one being that you are able to do stuff like this. If it really breaks and messes up then i can just do a reinstall of the cd's again.
i plan to be using linux for a long time and the sooner i get to know the in's and out's, from thekernel to x, the better
i hope i'm not waisting your time
thanks again
Last edited by imagineaxion; 10-26-2004 at 02:51 PM.
|
|
|
10-26-2004, 11:58 PM
|
#14
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
You can recompile the kernel if you wish, but this is sort of pointless.
The kernel-source rpm's contain the configuration and source for the corresponding installed kernel.
The kernel.src.rpm's contain the complete collection of kernels, patches, etc. that are used to create the different kernels and kernel source rpms.
If you grab the kernel.src.rpm from one of the MDK repositories you can
rpm --rebuild kernel-x.x.x-xmdk.src.rpm and let your machine churn all night, maybe all day too.
|
|
|
10-27-2004, 04:53 AM
|
#15
|
Member
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141
Original Poster
Rep:
|
i have searched google and a bunch of repositories and i cant find anything new than like 2.6.4 for mandrake
maybe you can help me out if you say there are
thanks dude
|
|
|
All times are GMT -5. The time now is 04:19 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|