Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
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.
i am running 32-bit linux OS on an intel dual core (x66-64 bit) machine...i just compiled the latest 2.6.20.1 kernel on my FC5 box ...but am getting kernel panic on rebooting with the new kernel...i get the following error messages
PCI:BIOS bug: MCFG area at f0000000 is not E820-reserved
PCI:not using MMCONFIG
Unable to access resume device(LABEL=SWAP-sda10)
mount : could not find filesystem '/dev/root'
setuproot : mounting /dev failed:no such file or directory
setuproot : error mounting /proc:no such file or directory
setuproot : error mounting /sys failed:no such file or directory
switchroot: mount failed
kernel panic - not syncing: attempted to kill init
moreover when i select my old kernel at the grub prompt it boots fine..its just the new kernel...
[root@localhost ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,8 )
# kernel /vmlinuz-version ro root=/dev/sda11
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=30
splashimage=(hd0,8 )/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.20.1_FC5smp)
root (hd0,8 )
kernel /vmlinuz-2.6.20.1 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.20.1.img
title Fedora Core (2.6.15-1.2054_FC5smp)
root (hd0,8 )
kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5smp.img
title Win XP
rootnoverify (hd0,0 )
chainloader +1
its the first one 2.6.20.1 thats giving the problem...
really cant understand why this is happening...ive tried everything without success..
first i tried extracting the initrd image and modifying init..
3) 'cd /boot'
4) 'mkdir newinit'
5) 'cd newinit'
6) 'gunzip -c ../initrd-2.6.15-1.2054_FC5.img | cpio -idmv'
7) 'vi init'
8 ) Find 'mount /sysroot' (near the end of the file)
9) Delete or comment this out
10) Replace with 'mount -o defaults --ro -t
ext3 /dev/VolGroup00/LogVol00 /sysroot' where /dev/VolGroup00/LogVol00
is the mount point for /
11) ':wq' out of vi
12) 'find . | cpio --quiet -c -o >../newinitrd'
13) 'cd ..' - you are now in /boot
14) 'mv initrd-2.6.15-1.2054_FC5.img initrd-2.6.15-1.2054_FC5.bak' -
backup current initrd img file (just in case)
15) 'gzip -9 < newinitrd > initrd-2.6.15-1.2054_FC5.img'
16) Reboot the computer
ive tried to copy vmlinuz,System.map and generate initrd manually as well as doing a make install......no luck..then built SCSI support into the kernel...nothing!...still the same blasted messages... even tried commenting the initrd line in grub.conf (i am really desperate!)..is this a bug in FC5 has anyone successfully compiled a new kernel in an FC5 box....
The mmcongig message can be ignored, since disabling it triggers the “work around” mentioned in the next line. If you don’t want to see the message, add pci=nommconf to the kernel= line in grub.conf. In any case, I don’t think it’s got anything to do with your system trying to “resume” from a “suspend.”
Also, do you have some reason for sticking with FC5? If I understood what I read here, the Fedora project terminated all “Fedora Legacy” support last month, and will not be providing any more bug fixes or upgrades for older releases.
Also, do you have some reason for sticking with FC5? If I understood what I read here, the Fedora project terminated all “Fedora Legacy” support last month, and will not be providing any more bug fixes or upgrades for older releases.
does that mean that you cant compile the latest kernels on an FC5 box anymore..?i really have no reason for sticking with FC5 except that i have downloaded and burnt them to cds and i have to do the whole thing all over again with FC6...can the problem have something to do with the fact that i am using a 32 bit version on a 64 bit machine...in that case even if i install FC6 will i have the same problems that i have now when i try to compile new kernels on it...
..but the problem is the FC5 cds work..the kernel shipped with the 32-bit version works its just that the new kernel that dosent work...surely i must be doing something wrong...if the older kernel works...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.