[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using jffs as root filesystem



On Tue, Aug 01, 2000 at 07:46:05PM -0400, Juan Gonzo wrote:
> I changed somethings in our code to setup jffs/mtd as the
> root filesystem/dev for our system.  I created a JFFS image
> using mkfs.jffs and burned it into flash and then let 'er
> rip.
> 
> Here is a snippet of the startup:
> 
> =====
> JFFS: Trying to mount device 1f:03.
> JFFS: Successfully mounted device 1f:03.
> VFS: Mounted root (jffs filesystem) readonly.
> Freeing unused kernel memory: 16k init
>   f->size: 0
> Warning: unable to open an initial console.

This is bad.  It means your init starts without any fds connected to stdin,
stdout, and stderr.  This might be corrupting things.

Can you check /dev/console exists on your jffs flash ?

> This "jffs_follow_link" part is repeated without end and the system
> never gets beyond this.  

How can you tell ?  You've never seen init's output, since it didn't have
a console open.