LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   boot error for kernel-2.6.19-1.2288.fc5 (https://www.linuxquestions.org/questions/fedora-35/boot-error-for-kernel-2-6-19-1-2288-fc5-530614/)

jot 02-20-2007 12:02 AM

boot error for kernel-2.6.19-1.2288.fc5
 
Hi all

Is there any known problem with the latest kernel? Few days ago I upgraded my kernel (like a 100 times before) from kernel-2.6.18-1.2257.fc5 to kernel-2.6.19-1.2288.fc5 via yum. Attempting to boot the latter ends up in a kernel panic. The former still does work when booted via my grub menu (my rescue for the moment!).

Ok, for the 2.6.19-1.2288 I get these messages/errors:

Code:

Decompressing linux...done.
Booting the kernel.

Red Hat nash version 5.0.32 starting
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory

kernel panic - not syncing: Attempted to kill init!

As I had mentioned above, the older kernel still works. So the problem must have to do with the latest one (2.6.19). I've also checked if everything is in place in the /boot directory:
Code:

-rw-r--r-- 1 root root  62678 Dec 16 05:28 config-2.6.18-1.2257.fc5
-rw-r--r-- 1 root root  66716 Feb 11 04:21 config-2.6.19-1.2288.fc5
drwxr-xr-x 2 root root    1024 Feb 20 12:53 grub
-rw-r--r-- 1 root root 1946023 Jan  6 03:09 initrd-2.6.18-1.2257.fc5.img
-rw-r--r-- 1 root root 1192375 Feb 18 18:23 initrd-2.6.19-1.2288.fc5.img
drwx------ 2 root root  12288 Sep  6 18:30 lost+found
-rw-r--r-- 1 root root  94600 Feb  8  2006 memtest86+-1.65
-rw-r--r-- 1 root root 1113960 Dec 16 05:28 System.map-2.6.18-1.2257.fc5
-rw-r--r-- 1 root root 1159572 Feb 11 04:21 System.map-2.6.19-1.2288.fc5
-rw-r--r-- 1 root root 1955345 Dec 16 05:28 vmlinuz-2.6.18-1.2257.fc5
-rw-r--r-- 1 root root 2024675 Feb 11 04:21 vmlinuz-2.6.19-1.2288.fc5

Looks fine (to me at least). No surprises in the grub.conf either:

Code:

title Fedora Core (2.6.19-1.2288.fc5)
        root (hd0,0)
        kernel /vmlinuz-2.6.19-1.2288.fc5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.19-1.2288.fc5.img
title Fedora Core (2.6.18-1.2257.fc5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-1.2257.fc5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-1.2257.fc5.img

My configuration:
AMD Athlon 64 X2 Dual Core 4600 on a A8N32 SLI Deluxe board
Fedora Core 5 (x86_64)


Any hints, anyone?

reddazz 02-20-2007 03:22 AM

Moved: This thread is more suitable in the Fedora forum and has been moved accordingly to help your thread/question get the exposure it deserves.

DCOH 02-28-2007 12:29 AM

I had the same problem I just used yumex to remove the new kernel than reinstalled it, worked fine when I rebooted

jot 02-28-2007 10:55 AM

Thanks for your reply, DCOH!

As there was no reply to my post for quite some time, I assumed it had to be an error specific to my box. So I had actually done the same as you earlier: removing kernel 2.6.19 and reinstalling it again (via yum). And it worked for me too!!!

Though it bothered me that there was no obvious reason for the previous error. So I checked /boot again, and - bingo! One file differs in size (increase from 1192375 to 1983731 bytes). I wonder how that could slip through:

Code:

-rw-r--r-- 1 root root  62678 Dec 16 05:28 config-2.6.18-1.2257.fc5
-rw-r--r-- 1 root root  66716 Feb 11 04:21 config-2.6.19-1.2288.fc5
drwxr-xr-x 2 root root    1024 Mar  1 00:21 grub
-rw-r--r-- 1 root root 1946023 Jan  6 03:09 initrd-2.6.18-1.2257.fc5.img
-rw-r--r-- 1 root root 1983731 Mar  1 00:21 initrd-2.6.19-1.2288.fc5.img
drwx------ 2 root root  12288 Sep  6 18:30 lost+found
-rw-r--r-- 1 root root  94600 Feb  8  2006 memtest86+-1.65
-rw-r--r-- 1 root root 1113960 Dec 16 05:28 System.map-2.6.18-1.2257.fc5
-rw-r--r-- 1 root root 1159572 Feb 11 04:21 System.map-2.6.19-1.2288.fc5
-rw-r--r-- 1 root root 1955345 Dec 16 05:28 vmlinuz-2.6.18-1.2257.fc5
-rw-r--r-- 1 root root 2024675 Feb 11 04:21 vmlinuz-2.6.19-1.2288.fc5

Isn't yum running some integrity check after downloading files?

*wonder*

DCOH 02-28-2007 05:53 PM

I'm not sure about an integrity check by yum but it does verify the download. When I reinstalled the kernel with yumex the kernel showed update so there my have been a problem with the kernel.

anajand 03-17-2007 01:13 PM

boot error for kernel-2.6.20.xxxx
 
Hi Fellows,

I have Fedora and had the same problem when updating from 2.6.18.xxxx to 2.6.20.xxxx: I could not boot with the new kernel and got the same messages as below:

"Decompressing linux...done.
Booting the kernel.

Red Hat nash version 5.0.32 starting
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory

kernel panic - not syncing: Attempted to kill init!"


But I could boot with the older one. So with "Add/Remove Software" I removed the 2.6.20 kernel and then added it back to my system and this time everything was fine and I could boot with the new kernel! Now I am worried about the other updated files/modules, could other files have been corrupted during the update process? How to know that? Of course not using them or their associated programs will not show anything but what if this happens weeks from now, how to associate potential issues to the upgrade problem?

Question to Linux experts: is a kernel built (compiled/linked/etc.) on the local computer during the update process, or is it just a file that gets downloaded? The former would mean that the build was not correct; the latter would mean that the file was not downloaded properly. In any case are they other files that could have been build erroneously or downloaded without keeping their integrity?

Thanks


All times are GMT -5. The time now is 08:11 AM.