Kernel not syncing

Submitted by Saravananp
on February 22, 2005 - 11:17am

I compiled the kernel 2.6.10 and it compiled without any errors. The grub.conf file was edited to load the new kernel. But when i boot i get the following error....

error: /bin/insmod exited abnormally

mount: error 19 mounting ext3

pivotroot: pivot_root (/sysroot, /sysroot/initrd) failed:2

umount /initrd/proc failed:2

kernel panic - not syncing. No init found. Try passing init = option to kernel.

I am new to Linux... Please help me!

'not syncing' is a feature here

strcmp
on
February 23, 2005 - 4:49am

'kernel panic - not syncing' just means that because of the errors that happened before the kernel stops work and especially doesn't write anything to disk. which is a good thing, because it would destroy you data otherwise...

the problem was, that the kernel did not find the program 'init', which is not surprising, because it got lots of errors when trying to find the system partition. as you can see before, the mount of your filesystem failed, so changing from the temporary initrd to the real root failed as well (pivot_root), and deallocation the initrd had to fail because of this (because it is still used).

The reason for the 'mount error' is still unknown, the only hint you gave us is the "error: /bin/insmod exited abnormally" message which indicates that e.g. the ext3 filesystem driver module or the disk controller module were not loaded, the really interesting event, which caused all this, must have occured before that point.

So everything you told us are just the aftereffects (like saying 'Columbia disintegrated at reentry into the atmosphere' when to prevent further similar accidents you have to say 'insulating material from the external tank was loose'). Maybe you don't have all needed ext3 or disk controller driver modules on your initrd, the program /bin/insmod is missing on your initrd or the initrd-image is outdated or corrupt for another reason.

Mounting File System

Saravananp
on
February 27, 2005 - 10:50am

Sorry for late reply. I compiled the kernel with ext3 support as a part of the kernel and not as a part of module and it all worked fine. Now i have a strange problem that I am not able to mount the Windows file system. Please help! Thanks in advance

Now you just need vfat and/or

Anonymous (not verified)
on
February 27, 2005 - 11:54pm

Now you just need vfat and/or NTFS support. Makes sense.

There's a good strategy: if it looks like you could ever use it and there's nothing mentioned about it being harmful, compile it in. Remove it only when you REALLY know you don't need it.

On modern machines there's no penalty for even 300kb worth of drivers not being used, but the difficulties it could save you while studying the kernel are well worth it.

hi, I am having the same

Anon (not verified)
on
March 18, 2005 - 1:31pm

hi,

I am having the same problem "mount: error 19 mounting ext 3"

will be grateful if you could provide some detail on how you
"..compiled the kernel with ext3 support as a part of the kernel and not as a part of module and it all worked fine. "

thanks

Saravananp, I'm having the

Temple Owl 1999 (not verified)
on
April 6, 2005 - 5:47am

Saravananp,

I'm having the same problem with mount:error 19 mounting ext3. My question to you is......How do you compile the kernel with ext 3 support as part of the kernel and not as part of the module? Do I do this in Xconfig? Also how can I check to see if the kernel is compiled with ext3 support as part of the kernel and not as part of the module?

TempleOwl1999

kernel image load error

bohemistanbul (not verified)
on
June 21, 2005 - 1:01am

hi; i wonder how you compile the kernel with ext3 support as a part of the kernel
i faced to the same problem after loading the new version of the kernel.
please help me !!!
thanks a lot.

To install ext3 in the kernel

JoshM (not verified)
on
September 9, 2005 - 5:54pm

To install ext3 in the kernel, not as a module, from your kernel source dir run:

make menuconfig
select File Systems
go down to EXT3 Journaling File System Support and hit Y
hit escape twice to get out, and save the config
run make depend
run make
run make install

should get you past that error.
-josh

Worked for me!

Beads
on
June 28, 2005 - 2:23pm

Thank you strcmp! I had the kernel non-syncing problem with 2.6.12. I read your response, and compiled the correct filesystem module into my kernel. Booted right up.

sorrta simillar doubt ...

virus (not verified)
on
October 14, 2006 - 2:17pm

well, as to start off with, I am putting the kernel and initrd image in my SDcard and using it to boot the kernel through USB. It was great until I got this error 19 with regard to ext3. I now understand from the above posts that I need to recompile the kernel as stated. However, a simple doubt I still have is ... will the booted kernel recognize my usb scsi drive (SDcard) and use these partitions or will it use the laptop's hard drive ??? well apparently it should, but just asking if anyone has already tried it out ...

thanks.

hey plz help me out man....

anirudh_anomaly (not verified)
on
December 13, 2006 - 1:15pm

hey plz help me out man....
i'm getting the error as
kernel panic-not syncing(0)-tried to kill init.....

so wht do i do to escape rm this error n install linux...
i face the same prob with all types of linux...
plz
plz
plz
help me out

kernel panic

Maheswara Meddy.P (not verified)
on
January 30, 2007 - 10:41pm

hi
i have linux - 2.4.20-8
i want to upgrde my linux to 2.6.18.6
i have compiled the kernel successfully,then i rebooted the system,i entered into linux-2.6.28.6
i is giving error
mount:error 19 mount ext3
pivotroot :pivot_root(/sysroot,/sysroot/initrd)failed2
unmount /intird/proc failed :2
freeing unused kernel memory :264 k trend
kernel - not syncing:no init found,try passing init = option to kernel
can u please help me out this problem

check dependencies

Anonymous (not verified)
on
January 31, 2007 - 12:47am

For anything >2.6.12 you need the latest init tools, module tools, etc. If you don't have that, you won't be able to boot properly.

Since your root partition could not be mounted, everything else failed - if your system falls back to 'blackbox' on failure then you can do a lot more without the help of a live CD.

If you use an initrd image (well, probably initramfs now) you need to make sure the ext3 driver is included and is loaded - or else compile the ext3 driver into the kernel.

If you cannot boot your older kernel then you need a live CD to help you. If you use initrd/ramfs, there is a very good chance that you ran the build script while in a 2.4 kernel and the image was not built properly (manual intervention required).

Hi even latest kernel

ganeshG
on
January 31, 2007 - 12:58pm

Hi
even latest kernel requires sysfs support also
all those not provided by older file systems of
any distributions.
regards
gG
http://forum.nirmitsu.com/
http://www.nirmitsu.com

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.