Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > The Linux Kernel
Reload this Page kernel panic after compiling kernel 2.6.5
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Linux Kernel Compiling, theory, programming or other discussion about the linux kernel

Reply
 
Thread Tools Display Modes
Old 04-19-2004   #1 (permalink)
mines2s
Just Joined!
 
Join Date: Apr 2004
Posts: 46
Send a message via ICQ to mines2s Send a message via Yahoo to mines2s
kernel panic after compiling kernel 2.6.5


hi,
I compiled the new kernel linux-2.6.5,but when i want to boot the new
kernel is halting with this messge:
mountig root file system
mount error 19 mounting ex3
pivootrootivot_root(/sysroot,/sysroot,/initrd) failed:2
freeing unused kernel memory:124k freed
kernel panic:No init found.Try passing init=option to kernel
the grub menu.lst is as:
# 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,4)
# kernel /vmlinuz-version ro root=/dev/hda10
# initrd /initrd-version.img
#boot=/dev/hda5
default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Red Hat 9 (2.4.20-
root (hd0,4)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ devfs=mount
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1

title new linuxs
root (hd0,4)
kernel /vmlinuz-2.6 ro root=LABEL=/ devfs=mount
initrd /initrd-2.6.5.img
plz help me.
__________________
Thanks for yours help
mines2s is offline   Reply With Quote
Old 04-19-2004   #2 (permalink)
Hellmasker
Linux Engineer
 
Join Date: Dec 2002
Location: New Zealand
Posts: 766
Send a message via ICQ to Hellmasker Send a message via MSN to Hellmasker
i know initrd's are supposed to fix this, but try compiling ext2/3 support into the kernel
Hellmasker is offline   Reply With Quote
Old 04-20-2004   #3 (permalink)
mines2s
Just Joined!
 
Join Date: Apr 2004
Posts: 46
Send a message via ICQ to mines2s Send a message via Yahoo to mines2s
thanks for reply


hi,
i compiled the kernel with support of ex2 and ex3 .
plz continue help me to solve the problem
__________________
Thanks for yours help
mines2s is offline   Reply With Quote
Old 04-21-2004   #4 (permalink)
jjmac
Just Joined!
 
Join Date: Aug 2003
Location: Sydney, Australia
Posts: 52
Re: kernel panic after compiling kernel 2.6.5

>>

Quote:
Originally Posted by mines2s

hi,
I compiled the new kernel linux-2.6.5,but when i want to boot the new
kernel is halting with this messge:
mountig root file system
mount error 19 mounting ex3
pivootrootivot_root(/sysroot,/sysroot,/initrd) failed:2
freeing unused kernel memory:124k freed
kernel panic:No init found.Try passing init=option to kernel
the grub menu.lst is as:
# 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,4)
# kernel /vmlinuz-version ro root=/dev/hda10
# initrd /initrd-version.img
#boot=/dev/hda5
default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Red Hat 9 (2.4.20-
root (hd0,4)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ devfs=mount
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1

title new linuxs
root (hd0,4)
kernel /vmlinuz-2.6 ro root=LABEL=/ devfs=mount
initrd /initrd-2.6.5.img
plz help me.
>>

Howdy, I'll just stab at this as a maybe. In my kernel
sources, v2.4.18 error 19 is ENODEV. So i guess it carn't
find it's root dev to pivot the initrd mount on. Seems the
commented part of your Grub config has a root=/dev/hda10
parameter but your uncommented part dosen't. Maybe it
needs the actual device spelt out, as in the commented part.
I don't do Grub so this is just a straw grab.

jm
jjmac is offline   Reply With Quote
Old 04-24-2004   #5 (permalink)
jasonlambert
Linux Guru
 
Join Date: Apr 2003
Location: London, UK
Posts: 3,284
mines2s, If your still having problems on with the same issue, can you continue it in the original thread you started instead of starting a new thread all the time. You have 3 threads on exactly the same issue.

The other 2 are now locked, continue with this problem in this thread.

Thanks,

Jason
jasonlambert is offline   Reply With Quote
Old 05-20-2004   #6 (permalink)
ashokumar.a
Just Joined!
 
Join Date: May 2004
Posts: 1
Compiling 2.6.5 kernel

hi,
I compiled the new kernel linux-2.6.5,but when i want to boot the new
kernel is halting with this messge:
mountig root file system
mount error 19 mounting ex3
pivootrootivot_root(/sysroot,/sysroot,/initrd) failed:2
freeing unused kernel memory:124k freed
kernel panic:No init found.Try passing init=option to kernel
the grub menu.lst is as:
# 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,4)
# kernel /vmlinuz-version ro root=/dev/hda10
# initrd /initrd-version.img
#boot=/dev/hda5
default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Red Hat 9 (2.4.20-
root (hd0,4)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ devfs=mount
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1

title new linuxs
root (hd0,4)
kernel /vmlinuz-2.6 ro root=LABEL=/ devfs=mount
initrd /initrd-2.6.5.img
plz help me.
--------------------------

Hi friend,
compile the ext3fs as kernel not as modules. not clear?

ok...Just edit the file .config which would be created once you do make config, and search for File Syatem and replace <M> by <Y>.

Save and come out.
Again make it .
Now it shoul dbe ok...
Mail me once it is done => ashokumar.a@radixs.com
-

Regards,
Ashok.
ashokumar.a is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 10:51 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0