Re: [Yaffs] mount of empty yaffs2 fails

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] mount of empty yaffs2 fails
If you have all the tracing turned on and you got no yaffs tracing then the
mount was failed by the VFS (ie. before any yaffs mount code was executed).

Suggest you check that the mount point is valid. Is /mnt/yaffs2 a directory?

-- Charles

On Sunday 02 September 2007 09:43:10 Richard Griffiths wrote:
> I'm trying to add yaffs2 to an omap2430 which has large block NAND and
> OneNAND. I used flash_eraseall on a partition then tried to mount the
> empty partition as yaffs2.
> # mount -t yaffs2 /dev/mtdblock8 /mnt/yaffs2
> mount: mounting /dev/mtdblock8 on /mnt/yaffs2 failed
>
> Yaffs debug is enabled but this is all I get as an error.
> What am I missing?
>
> Thanks.
>
> #cat /proc/filesystems
> nodev   sysfs
> nodev   rootfs
> nodev   bdev
> nodev   proc
> nodev   debugfs
> nodev   securityfs
> nodev   sockfs
> nodev   pipefs
> nodev   futexfs
> nodev   tmpfs
> nodev   inotifyfs
> nodev   eventpollfs
> nodev   devpts
>         ext3
>         ext2
> nodev   ramfs
> nodev   nfs
> nodev   nfs4
> nodev   jffs2
> nodev   unionfs
>         yaffs
>         yaffs2
> nodev   mqueue
> nodev   rpc_pipefs

>
> and I enabled debug for yaffs.
> # echo all>/proc/yaffs
> new trace = 0xFFFFFFFF
> +allocate
> +always
> +bad_blocks
> +buffers
> +bug
> +checkpt
> +deletion
> +erase
> +error
> +gc_detail
> +gc
> +mtd
> +nandaccess
> +os
> +scan_debug
> +scan
> +tracing
> +verify
> +verify_nand
> +verify_full
> +verify_all
> +write
> +all
> +none
>
>
> _______________________________________________
> yaffs mailing list
>
> http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs