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

Notices


Reply
  Search this Thread
Old 01-14-2008, 07:14 PM   #1
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Rep: Reputation: 15
Kernel panic - not syncing: No init found


Hi All,

I am building the 2.6.10 version of the kernel with a ramdisk (for
mips). When I build it with a gcc 3.4.3-glibc-2.3.6 toolchain, it
works find. When I build it with a gcc-4.2.2-glibc-2.7 toolchain I get
the following error:

Kernel panic - not syncing: No init found

Any suggestions? Note: the ramdisk images was built with Busybox (so
that can be the culprit). However, why would it work with the older
version of glibc? I am sure I am being stupid here; all help is appreciated!

Mike
 
Old 01-14-2008, 09:18 PM   #2
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Original Poster
Rep: Reputation: 15
I am open to all suggestions: ie compile options etc.

Thanks!
 
Old 01-15-2008, 04:29 AM   #3
jayeola
Member
 
Registered: Dec 2005
Location: london, uk
Distribution: BLAG GNU/Linux
Posts: 58

Rep: Reputation: 15
Sounds like you build your kernel to use an init but have not got one in your /boot directory. Here are the relevant lines in my .config.

grep -i init proj/build/kernel/linux-2.6.23.9/.config
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""

You may need to use mkinitrd.
 
Old 01-15-2008, 06:22 AM   #4
arnabneogy
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
insert boot disk and start recovery of grub
 
Old 01-15-2008, 07:08 AM   #5
DOTT.EVARISTI
Member
 
Registered: Jan 2007
Location: La spezia ( Italia )
Distribution: Fedora 9 amd 64, Gnome,PCLOS 2007,OpenSuse 11 amd 64,Sabayon 3.4,Xp,Vista
Posts: 248

Rep: Reputation: 31
Talking Did you use Partimage ?

If you made a partimage image,you could restore it and everything would go ok

without becoming mad.
 
Old 01-15-2008, 07:46 AM   #6
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Original Poster
Rep: Reputation: 15
This is a kernel image built for an embedded system. I have a very simple bootloader. The thing that is strange is that it works fine with the older toolchain but does not work with the newer one. Does anyone know any known issues there? I am using the same ramdisk for both.
 
Old 01-15-2008, 08:18 AM   #7
skibud2
Member
 
Registered: Sep 2003
Location: Waltham MA
Distribution: Mandriva 2007 w/ KDE
Posts: 87

Original Poster
Rep: Reputation: 15
Just kidding .. Turns out it was one of my "simple" changes to the kernel sources. Hmmmm
 
Old 01-16-2008, 11:31 PM   #8
delnortey
LQ Newbie
 
Registered: Sep 2007
Location: Arlington WA
Distribution: Fedora C5
Posts: 7

Rep: Reputation: 0
I had a similar problem with Fedora C5.
"Kernel Panic - not syncing: Attempted to kill init!"

This would occur randomly during boot up, but not usually
twice in a row.

I fixed it by updating the kernel to 2.6.20.
 
  


Reply


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-not syncing: No init found joirnange Linux - Newbie 7 09-12-2010 04:27 AM
kernel panic!!! not syncing: not init found Gremo Linux - Hardware 1 06-19-2006 06:16 AM
Kernel panic - not syncing: No init found 686plus Fedora 5 05-11-2006 08:35 PM
kernel panic not syncing no init found CloudBuilder SUSE / openSUSE 2 04-30-2005 03:26 AM
kernel panic - not syncing:no init found amimusa Linux - Software 17 01-17-2005 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:28 AM.

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