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

Re: [microblaze-uclinux] EXT2 error / read only file system



Hi Bruno,

Bruno Herrera wrote:
[snip]

uclinux[mtd]: root filesystem index=0
*******
VFS: test name = </dev/root>
VFS: fs_name = <ext2>
VFS: fs_name = <romfs>
VFS: root name <1f:00>
*******
VFS: tried fs_name = <ext2> err= -22
VFS: tried fs_name = <romfs> err= 0

At boot, the kernel attempts to mount the root device with all known filesystems. You have compiled ext2 and romfs support into your kernel, so both filesystems "get a go" at mounting the root device. Since your root dev points to a memory-based romfs filesystem, ext2 fails, but romfs succeeeds. This is not an error, it's just how it's designed.

VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 36K
init started:  BusyBox v1.00 (2006.12.05-04:15+0000) multi-call binary
Could not run '/etc/rc.sysinit': Permission denied

On your development machine, have a look in petalinux-dist/romfs/etc - what are the permissions on the rc.sysinit file?

Are you using a standard petalinux install, or uClinux-dist?

Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/