Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 04-24-2006, 12:45 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
kernel panic at boot : Failure-22

I'm tring to update my kernel version on my very old PentuimII PC here. Kernel compiles just fine, but at boot I get the following kenel panic message:

RAMDISK: cramfs filesysem found at block 0
RAMDISK: Loading 1420KiB [1 disk] into ram disk... done
Mount JFS Failure: -22
Kernel panic - not syncing: VFS: Unable to mount root fs on unkown-block(2,3)

My primary hda1 is a IDE hard disk and kenel detects it just fine a few line before that. So please if ayone knows how to get out of this ... Should I avoid configuring ram disks in menuconfig??
Thanks in advance.

Last edited by slone; 04-24-2006 at 12:46 PM.
Old 04-24-2006, 04:33 PM   #2
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,455
Blog Entries: 4

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
There are two possibilities...

(1) Where is the boot device? Did you specify it correctly when you built the boot-loader (Grub or Lilo) specification? It think's it's device (2,3); does that make sense?

(2) It's mounting a "JFS" filesystem? Really? Is that right? If it is right, did you properly format the drive?

The RAMDISK messages probably aren't part of the puzzle because it appears to me that they succeeded. What they were doing is loading the "initial RAM-disk" (initrd, initramfs), which controls the boot-process on most stock distros. It superficially appears to me that whatever went wrong, happened next.
Old 04-24-2006, 11:39 PM   #3
Registered: Sep 2005
Posts: 41

Rep: Reputation: 15
Are you using the cramfs for anything in particular? That's usually used on portable devices - I'm not sure the initrd needs it.
Old 04-26-2006, 09:29 AM   #4
LQ Newbie
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks a lot for the advices. Block(2,3)seemed to be correct for hda2 which was root. Unfortunately ext3 partition was damaged and I tried to fix it with fsck, but that finally killed it. Then I reinstalled the whole debian sarge from the beginnig, and repartitioned. Now it's all fixed, but with brutal force. This time I've really given up


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
Kernel Panic when simulating drive failure on software RAID1 DukeLeto Linux - Software 2 02-07-2006 07:35 AM
Kernel Panic at boot from Promise ATA100 w/ Kernel 2.6 MikTheUser Linux - Hardware 9 07-24-2004 01:24 PM
Kernel 2.6.7 / SCSI boot failure with sym53c8xx-2 Luzipher Linux - General 2 06-30-2004 09:48 AM
Kernel upgrade - failure to boot bob49 Fedora 2 06-26-2004 08:48 AM
Boot failure: kernel panic, busybox messages ethrbunny Linux - General 2 06-18-2003 03:19 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration