LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-09-2012, 06:12 PM   #1
Aqua_Regia
Member
 
Registered: Oct 2011
Posts: 37

Rep: Reputation: Disabled
Kernel Panic when network booting for diskless linux


I have been trying to setup a diskless Linux cluster using Fedora 16. The boot server is working but I have run into a kernel error with my bzImage version 3.1.7. See the text below I get for kernel panic.

Code:
 md:  ...  autorun DONE.

RAMDISK: gzip image found at block 0

EXT4-fs  (ram0):  couldn't mount as ext3 due to feature incompatabilities

EXT4-fs  (ram0):  mounting ext2 file system using the ext4 subsystem

EXT4-fs  (ram0):  mounted filesystem without journal. Opts: (null)

VFS: mounted root (ext2 filesystem) on device 1:0.

devtmpfs:  mounted

Freeing unused kernel memory: 1376k freed

Write protecting the kernel text: 21908k

Write protecting the kerenel read-only data: 8816k

Kernel panic  - not syncing: No inti found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

Pid: 1, comm: swapper Not tainted 3.1.4 #1

Call Trace:

[<c1939acc>]  ?  printk+0x2d/0x2f

[<c193997c>]  panic +0x5c/0x15f

[<c19375d5>]  init_post+0xae/0xae

[<c2404a06>]  kernel_inti+0x13b/0x13b

[<c24048cb>]  ?  do_one_initcall+0x13b/0x13b

[<c19630fe>]  kernel_thread_helper+0x6/0x10

panic occured, switched back to text console
Here are the parameters passed to the kernel during boot.

Code:
DEFAULT bzImage

APPEND initrd=rootfs2.gz root=/dev/ram rw ip=192.168.0.254:192.168.0.2:192.168.0.1:255.255.255.0:llama0:eth0:off
I'm not really sure how to solve this problem it is a bit beyond me. I have attached my kernel configuration file if that is the problem.
Attached Files
File Type: txt Kernel Error.txt (928 Bytes, 13 views)

Last edited by Aqua_Regia; 01-09-2012 at 06:13 PM.
 
Old 01-11-2012, 10:05 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I think the error messages point to the solution
Code:
Kernel panic  - not syncing: No inti found. Try passing init= option to kernel.
You have to tell the kernel what init process to use. Usually, this will be something like /sbin/init. You can add the setting 'init=/sbin/init' (use the appropriate filespec for your setup) to the kernel argument list in the bootloader 'APPEND' record.

--- rod.
 
1 members found this post helpful.
Old 01-11-2012, 10:12 AM   #3
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE/Debian/ubuntu
Posts: 362

Rep: Reputation: 42
Hey,

I have done a fair bit of diskless cluster building in my time. Not for a while thankfully. You should check DRBL out (http://drbl.sourceforge.net/). It makes the config much easier and then you can even set it up to use things like SGE etc. It might not be suitable for your application but worth looking at.

Cheers,
Phil
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Diskless: Kernel panic-not syncing: No init found. Try passing init= option to kernel Pier Gentoo 6 10-10-2011 06:17 AM
An interesting challenge involving diskless booting a Linux PC Caldus Linux - Server 1 05-20-2010 02:11 PM
[SOLVED] kernel panic when booting linux-2.6.30 uImage on at91rm9200ek board alexf007 Linux - Embedded & Single-board computer 4 07-21-2009 04:04 PM
Diskless Booting - Kernel Panic ukrobo Linux - Networking 0 10-25-2007 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:07 PM.

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