On Monday 03 September 2007 10:15:34 Richard Griffiths wrote:
> On Mon, 2007-09-03 at 08:07 +1200, Charles Manning wrote:
> > If you have all the tracing turned on and you got no yaffgs 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?
>
> Yes it's an empty directory. If I erase the same partition and mount it
> as '-t jffs2' it works. I get and empty jffs2 mounted fs.
>
> Richard
Curious that you're getting no YAFFS tracing. What is your kernel logging
level set at?
Try adding your own messages at the yaffs_read_super level to make sure that
the calls are happening.
Another thing to try is running the mount with strace.
-- 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
> > > yaffs@lists.aleph1.co.uk
> > > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs