Re: [Yaffs] Yaffs & uclinux kernel 2.4.22 problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Yaffs & uclinux kernel 2.4.22 problem
On Thursday 28 July 2005 19:30, Ludovic Guilhamat wrote:
> Hi,
>
> First, thank you for your answers.
>
> Charles : I already set traceMask to 0xffffffff, but I had set the MTD
> debug too... So I removed it (thanks Sergey), but I have no new messages.
> I'm working with yaffs (not yaffs2).


To quote from your previous email:
yaffs_get_inode for object 146776
yaffs_read_inode for 146776

Now what is odd to me is that the object being referred to is supposed to be
the root object (with an objectId of YAFFS_OBJECTID_ROOT which is 1).

Big question: Why is the object Id 146776?

Are you able to debug a bit more?
The root object is dev->rootDir and dev->rootDir->objectId should be set up
during yaffs_GutsInitialise().

Perhaps yaffs_GutsInitialise() is failing and returning early and the failure
is not being handled correctly.

Could you try doing some tracing in yaffs_GutsInitialise()?

Thanx

-- Charles


>
> So, here is the oops message decoded by ksymoops :
> >>PC; 00078bd0 <yaffs_FindObjectByNumber+8c/e2> <=====
>
> Trace; 00076dfa <yaffs_read_inode+3c/60>
> Trace; 00023d58 <trap+0/6a>
> Trace; 00023d58 <trap+0/6a>
> Trace; 0004faa6 <get_new_inode+b0/14a>
> Trace; 00023d58 <trap+0/6a>
> Trace; 0004fdc4 <iget4+d2/dc>
> Trace; 00023d58 <trap+0/6a>
> Trace; 00076280 <yaffs_get_inode+38/40>
> Trace; 00023d58 <trap+0/6a>
> Trace; 000771f8 <yaffs_internal_read_super+33c/3d6>
> Trace; 000772f0 <yaffs_read_super+18/1c>
> Trace; 000428bc <get_sb_bdev+18c/204>
> Trace; 00050f8c <alloc_vfsmnt+94/a4>
> Trace; 00042ae6 <do_kern_mount+5c/104>
> Trace; 00051e62 <do_add_mount+6e/13a>
> Trace; 000520e2 <do_mount+120/13c>
> Trace; 00051f2e <copy_mount_options+0/94>
> Trace; 00051f7e <copy_mount_options+50/94>
> Trace; 0005242a <sys_mount+78/c2>
> Trace; 000523b2 <sys_mount+0/c2>
> Trace; 00023bc6 <system_call+96/d4>
>
> Many thanks.
>
> Ludovic.
>
> _______________________________________________
> yaffs mailing list
>
> http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs