[Yaffs] Yaffs & uclinux kernel 2.4.22 problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ludovic Guilhamat
Date:  
To: yaffs
Subject: [Yaffs] Yaffs & uclinux kernel 2.4.22 problem
Hi,

I'm trying to shift from Jffs2 to Yaffs, but I have some problems...

Well, I work on a Coldfire platform, with uClinux and a 2.4.22 kernel.

I successfully compiled Yaffs on this distrib, but I've a problem when I
want to mount a Nand partition with Yaffs.
Actually, it's a Jffs2 partition (empty), so I unmount it, I use
'mkyaffs /dev/mtd1' to format it, and I use 'mount -t yaffs /dev/mtd1
/var/parameters' to mount it, but I have this message :

mtdblock_open
ok
yaffs: dev is 7937 name is "1f:01"
yaffs_read_super: MTD block size 4096
yaffs: Attempting MTD mount on 31.1, "1f:01"
yaffs locking


yaffs_read_super: guts initialised
yaffs_read_super : guts initialized...
yaffs_get_inode for object 146776
yaffs_read_inode for 146776
bad frame format: 00000000
PC: [<00078c64>]
SR: 2008  SP: 015b5d78  a2: 00000108
d0: 015ad4d0    d1: 00023d58    d2: 015ad000    d3: 00000000
d4: 00000000    d5: 00000000    a0: e0000ff8    a1: e0001000
Process mount (pid: 65, stackpage=015b5000)
Frame format=4 Stack from 015b5db4:
        015b5dcc 00076e20 015ad000 00023d58 00023d58 00335188 015b5df0 
0004faa6
        015ecda0 00023d58 01e90c00 00335188 00000000 0002df3a 01e90c00 
015b5e28
        0004fdc4 01e90c00 00023d58 00335188 00000000 00000000 01e90400 
fffffff0
        00001f01 00000000 015ae000 0002df3a 00000000 015b5e4c 00076294 
01e90c00
        00023d58 00000000 00000000 01e90400 0002df3a 015ad000 015b5e7c 
0007727e
        01e90c00 000041ed 00000000 00000000 015ad000 000ebdfa 01e90c00 
01fdf210
Call Trace:
        [<00076e20>] [<00023d58>] [<00023d58>] [<0004faa6>]
        [<00023d58>] [<0002df3a>] [<0004fdc4>] [<00023d58>]
        [<0002df3a>] [<00076294>] [<00023d58>] [<0002df3a>]
        [<0007727e>] [<000ebdfa>] [<000773ba>] [<000428bc>]
        [<00050f8c>] [<00042ae6>] [<00051e62>] [<000520e2>]
        [<00051f2e>] [<00051f7e>] [<0005242a>] [<000523b2>]
        [<00023bc6>]
Code: b2a8 002c 660e 4a28 0050 57c0 49c0 2208 c081 6008



I tried to trace it a bit, and it seems there is a problem with
list_entry stuff...

I must say that this not the last MTD (this is the original MTD from
uClinux-dist-200412xx distrib) : indeed, I tested newests MTD, but then,
Jffs2 didn't work and I had some kernel bug panic stuff..!

So, if you have some ideas and/or some advices, I would appreciate it.

Thanks.
Ludovic.