LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 03-05-2008, 10:05 AM   #1
sud_vijay
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
JFFS2 [VFS mount root /dev/mtdblock2 ok] - kernel panic on running init process


Hi All,

We are working in embedded LINUX (set top box). We run LINUX (2.6.14) over MIPS.
We are in process of replacing existing CRAMFS with JFFS2 (due to shortage of RAM).

Our kernel command line is as follows:
++++++++++++++++++++++++++++++++++++++
Kernel command line: root=1f02 rootfstype=jffs2 rw dhash_entries=1024 ihash_entries=1024 nokgdb console=ttyUSB0,115200 pmemaddr=0x9F000000 pmemlen=0x00010000 rd_start=0x90C39000 rd_size=0x018ED6F0 mtdparts=ImageStore:0x04000000(BootSet)ro,0x02000000(UpdateSet),0x02000000(AppData)
++++++++++++++++++++++++++++++++++++++

We managed to build a JFFS2 file system image using mkfs.jffs2.
After this change from CRAMFS to JFFS2, on boot up we get the following error.
++++++++++++++++++++++++++++++++++++++++++++
5:42 |[4294672.288000] VFS: Mounted root (jffs2 filesystem).
5:42 |[4294672.289000] Warning: unable to open an initial console.
5:42 |[4294672.289000] Kernel panic - not syncing: No init found. Try passing init= option to kernel.
++++++++++++++++++++++++++++++++++++++++++++

Do we need boot loader changes for replacing CRAMFS with JFFS2.
Also do we need to make special changes in kernel source as well.
I could see fs/jffs2 folder in kernel source [2.6.14], will that suffice.

Please help.

Thanks,
Sudharsan.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic:VFS:can not mount root fs avinash_goud Linux - General 3 10-12-2006 04:40 PM
kernel panic VFS Unable to mount root fs w3stfa11 Linux - Kernel 2 09-20-2006 06:48 PM
Kernel Panic: VFS: Unable to mount root fs oa 16:40 alex1986 Slackware 3 07-29-2006 03:54 AM
Kernel Panic: VFS: Unable to mount root fs on 09:02 verbali Linux - Hardware 8 02-24-2004 06:11 PM
Kernel Panic: VFS: Unable to mount root fs on 09:02 verbali Linux - General 6 05-26-2002 02:30 PM


All times are GMT -5. The time now is 12:34 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration