[Yaffs-archive] newbie to yaffs

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Steve Tsai
Date:  
To: yaffs
Subject: [Yaffs-archive] newbie to yaffs
I am using uClinux 2.4.17 on my ARM board and I used JFFS2 before. I
tried to put YAFFS to the kernal tree and use it on my system. After 
compiling, I can mount YAFFS and access the file system, but I have few 
problems about yaffs.
1. When I mount yaffs, the mount function will return none-zero value, 
but it mounts successfully. I try to hack sys_mount, but it return zero.
2. I do the following steps and got some errors.
          mount -t yaffs /dev/mtdblock1 /mnt
          cd /mnt
          mkdir test
           cd test
            -- kernel BUG at dcache.h:247       //dget()
            -- kernel BUG at dcache.c:129       //dput()


    How can I trace the problem.
3. I found the nBlocks have to be set as the value that is power of 2. 
Why? I have to set the MTD partition to 16Mbytes to fit the value and I 
set the partition to 31Mbytes before. I think it constrains the size of 
the MTD partition.


Steve Tsai



---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to with the text "unsubscribe"
(without the quotes) as the subject.