LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-24-2004, 08:24 AM   #1
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Rep: Reputation: 16
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
 
Old 10-24-2004, 09:07 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
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/
 
Old 10-24-2004, 11:51 AM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 10-24-2004, 02:12 PM   #4
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
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.
 
Old 10-24-2004, 04:00 PM   #5
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
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
 
Old 10-24-2004, 07:09 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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?
 
Old 10-25-2004, 01:45 AM   #7
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
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
 
Old 10-25-2004, 10:01 AM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Go back to 2.6.8 and choose a more recent release.

The 2.6.9 kernels are developement versions AFAIK.
 
Old 10-25-2004, 06:48 PM   #9
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
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?
 
Old 10-26-2004, 08:38 AM   #10
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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?
 
Old 10-26-2004, 11:13 AM   #11
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
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
 
Old 10-26-2004, 02:16 PM   #12
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 10-26-2004, 02:49 PM   #13
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
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.
 
Old 10-26-2004, 11:58 PM   #14
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 10-27-2004, 04:53 AM   #15
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
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
 
  


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
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 01:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 02:02 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 04:17 AM
Compiling new kernel joseph Linux - Software 2 10-14-2003 07:26 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

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

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