LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 03-17-2009, 06:28 PM   #1
danfou
Member
 
Registered: Nov 2006
Posts: 46

Rep: Reputation: 15
custom kernel on FC10


Hi,

I wanna install kernel 2.6.24.7 on FC10.

When I boot the new kernel, I get the error:
unable to access resume device uuid:38791371-72c5-4e06-8a93-7b8eaaeefcdc
mount:could not find /dev/boot

I also checked the init script in the new initrd.img and the old initrd.img in FC10, they are exactly the same.

Any idea on how to fix this?

My /etc/fstab
UUID=b0079825-c338-41da-a3b4-4046eb0c7444 / ext3 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
UUID=38791371-72c5-4e06-8a93-7b8eaaeefcdc swap swap defaults 0 0


/etc/mtab:
/dev/sda1 / ext3 rw 0 0
/proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
gvfs-fuse-daemon /home/minlanyu/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=danfou 0 0

grub.conf:
default=1
timeout=0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.24.7)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24.7 ro root=UUID=b0079825-c338-41da-a3b4-4046eb0c7444 rhgb quiet
initrd /boot/initrd-2.6.24.7.img
title Fedora (2.6.27.19-170.2.35.fc10.x86_64)
root (hd0,0)
kernel /boot/vmlinuz-2.6.27.19-170.2.35.fc10.x86_64 ro root=UUID=b0079825-c338-41da-a3b4-4046eb0c7444 rhgb quiet
initrd /boot/initrd-2.6.27.19-170.2.35.fc10.x86_64.img
 
Old 03-18-2009, 03:18 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Building a kernel older than the initial release of the distro is a pretty good recipe for disaster. With each new release features are added that are not necessarily (and almost certainly not) available in the older kernel.

Why do you need to run the .24 kernel in F10?
 
Old 03-18-2009, 02:37 PM   #3
danfou
Member
 
Registered: Nov 2006
Posts: 46

Original Poster
Rep: Reputation: 15
I want to run a kernel program, which only provide patch for .24 kernel.

I also try to install earlier version of fedora on my machine, but get driver problems during the install. I'm only able to install FC10 without trouble on the machine.

Any idea on how to fix this?

Thanks a lot!
 
Old 03-18-2009, 03:23 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Ok, the driver support is built into the newer kernels. So no new kernel, no hardware support(unless you want to track down all the patches to get your hardware running on the older kernel). You MAY be able to apply the .24 patch to a newer kernel. I would contact the author of the patch and see what information he can provide. You are likely to have one of four situations. The patch is not needed for newer kernels. The provided patch works on current kernels. There is a current patch for current kernels. No further work is being done on the project.
 
Old 03-18-2009, 03:30 PM   #5
danfou
Member
 
Registered: Nov 2006
Posts: 46

Original Poster
Rep: Reputation: 15
I've track the mailing list of the program I'd like to run, there're no any patch available after that .24, and it would be a great pain to apply the patch to kernel version after .24.

Do you think my problem of booting and the problem of not able to install earlier version of Fedora are the same? i.e., there's some driver missing for the hardware.
 
Old 03-18-2009, 04:15 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
More than likely the older kernels (or distro versions) are probably due to missing hardware support in the kernel. That being said there are ALWAYS exceptions to any such statement. To make any real assessment one would have to know the specific (as in cut and paste) errors that the failed attempt was give out.
 
Old 03-18-2009, 04:19 PM   #7
danfou
Member
 
Registered: Nov 2006
Posts: 46

Original Poster
Rep: Reputation: 15
When I tried to install Fedora 8, when I get to the installation screen, even before start formatting disk and installing, I got the window error message of
" no driver found"
"unable to find any devices of the type needed for the installation
type, could you manually select your driver or use a driver disk?"
 
Old 03-18-2009, 04:29 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
While we would need the exact message(it would say what device and other details) it certainly sounds like hardware unsupported by the kernel.

It may be easier to find another way to do what you are trying to accomplish. What exactly are you trying to accomplish with this patch (do not be vague)?
 
Old 03-18-2009, 04:37 PM   #9
danfou
Member
 
Registered: Nov 2006
Posts: 46

Original Poster
Rep: Reputation: 15
How to find the exact message about the device?

I'm trying to evaluate the click router (http://www.read.cs.ucla.edu/click/) in the kernel. It seems I cannot get around it without running 2.6.24.7 or earlier kernel version on my machine. Will it be useful to try other linux distributions?
 
Old 03-18-2009, 04:43 PM   #10
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
For the most part a kernel is a kernel(same number) regardless of distro.

Another option my be to replace the machine. The older the hardware is the more likely it will have support in an older kernel. Normally routers do not need a lot of raw power to get the job done. There are a lot of PIIs around that are being used as routers.

Just a quick glance through the description of the software would leave me to believe you are not likely to find an equivalent replacement. If you were just needing to set up a machine as a regular router there would be tons of choices, but the dynamic flexibility nature of click will probably narrow your choices to the extreme. You might consider starting a new thread about click itself. I am always amazed at the diversity of projects that people on this forum have ran. I would suggest the Networking section.

Last edited by lazlow; 03-18-2009 at 04:52 PM.
 
Old 03-18-2009, 05:10 PM   #11
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
One option (distro wise) did just occur to me. RHEL/Centos keeps the same base kernel throughout the entire versions life cycle. For instance RHEL/Centos 5.X will have a 2.6.18-X based kernel for its entire life (7years?). However they do back patch those kernels with new security features and new hardware support. Centos/RHEL 5.2 added a ton of new hardware support when it was released and Centos5.3(out in days?) (RHEL is already out)adds even more. Centos is a free clone of RHEL. It is built from the same source code as REHL, just with the proprietary bit (mostly logos) removed.

Last edited by lazlow; 03-18-2009 at 05:11 PM.
 
Old 03-18-2009, 05:19 PM   #12
danfou
Member
 
Registered: Nov 2006
Posts: 46

Original Poster
Rep: Reputation: 15
This sounds like a good idea. I'll try CentOS. Thanks.
 
  


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
Kmod-nvidia and FC10 install kernel version rylan76 Fedora 2 01-09-2009 08:31 AM
Creating custom headers to match a custom kernel utanja Debian 2 06-08-2007 04:15 PM
Custom kernel image on custom slack build using CUSS nykey Slackware 2 07-15-2006 04:05 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 04:59 AM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-11-2004 12:15 AM


All times are GMT -5. The time now is 11:48 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration