This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: jffs2_1 test case error


On Thu, Oct 26, 2006 at 11:33:41AM +0100, Srinivas rao wrote:
> Hi All,
> 
> Iam running jffs2 test cases on my board. After
> reading the directories getting error like below.
> Pls give me the solution.

Sorry, but we don't give solutions. We try to help you find the
solution to your problem.

> 
> <INFO>: reading directory /
> <INFO>: entry              . [mode 016f0001 ino
> 00000001 nlink 1 size 0]
> <INFO>: entry             .. [mode 016f0001 ino
> 00000001 nlink 1 size 0]
> <INFO>: entry            etc [mode 017f0001 ino
> 00000004 nlink 1 size 0]
> <INFO>: entry            dev<FAIL>: stat() returned -1
> No such entity
> 
> <INFO>: entry            bin [mode 017f0001 ino
> 00000002 nlink 1 size 0]
> <INFO>: entry            lib [mode 017f0001 ino
> 00000005 nlink 1 size 0]
> <INFO>: entry            mnt [mode 017f0001 ino
> 00000006 nlink 1 size 0]
> <INFO>: entry            var [mode 017f0001 ino
> 000000f6 nlink 1 size 0]
> <INFO>: entry            tmp [mode 017f0001 ino
> 000000fb nlink 1 size 0]
> <INFO>: entry           sbin [mode 017f0001 ino
> 00000007 nlink 1 size 0]
> <INFO>: create file /foo size 202
> <5>Write of 68 bytes at 0x003e3144 failed. returned
> -5, retlen 68

Well if you look in packages/error/current/include/codes.h you will
find that 5 is EIO. So you probably need to single step this write
call and find out where and why it returns EIO.

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]