Hi Meher, You should make a symlink from /init to /bin/busybox, in stead of /sbin/init to busybox. At startup, Linux will try to run /init (mind the slash). If it cannot find it, Linux will panic.
Hope this helps. Regards, Sander -----Original Message----- From: [EMAIL PROTECTED] cidsp.com [mailto:[EMAIL PROTECTED] ux.davincidsp.com] On Behalf Of Meher Sent: Tuesday, February 06, 2007 2:52 AM To: davinci-linux-open-source Subject: Problem with root file system in flash Hi, I am not sure if this is the right list for this question but I guess many of you might have tried with root file system on flash so I will test my luck. I am using 2.6.10 kernel and when I use JFFS2 as my root file system I get the following error while booting: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 4096) NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: No network devices available. Inode #7 was a directory with children - removing those too... Inode #9 was a directory with children - removing those too... Inode #12 was a directory with children - removing those too... Inode #14 was a directory with children - removing those too... Inode #16 was a directory with children - removing those too... Inode #18 was a directory with children - removing those too... Inode #20 was a directory with children - removing those too... Inode #21 was a directory with children - removing those too... Inode #22 was a directory with children - removing those too... Inode #23 was a directory with children - removing those too... Inode #25 was a directory with children - removing those too... Inode #27 was a directory with children - removing those too... Inode #31 was a directory with children - removing those too... Inode #32 was a directory with children - removing those too... Inode #33 was a directory with children - removing those too... Inode #34 was a directory with children - removing those too... VFS: Mounted root (jffs2 filesystem) readonly. Freeing unused kernel memory: 108k freed Warning: unable to open an initial console. Kernel panic - not syncing: No init found. Try passing init= option to kernel. I made a file system with busybox and made sure I have symbolic links for /sbin/init-->/bin/busybox and /dev/console is present with major 5 and minor num of 1. I made a JFFS2 image using the command: mkfs.jffs2 <src_dir> -o <dst_file.img> Am I doing anything wrong here :( Any pointers will be greatly appreciated -- Regards, Meher _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source -------------------------------------------------------- CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify Sander Huijsen by telephone or [EMAIL PROTECTED] and delete the original transmission and its attachments without reading or saving in any manner. _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
