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

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



Hi John,

I'm using the uClinux-dist that I get in CVS some time ago. Is there a way to succeed mounting a EXT2 filesystem? Is something missing in my linux configuration?

I will check the permissions and then I post it here!

Best Regards,
Bruno Herrera

On 4/11/07, John Williams <jwilliams@xxxxxxxxxxxxxx> wrote:
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/




--
Bruno Meirelles Herrera
Eng. de Computação / Computer Eng.

SCJP -Sun Certified Programmer for Java 2 Platform 1.4
SCJA -  Sun Certified Associate for Java Platform