[Yaffs] Running fstress on yaffs2 causes kernel crash

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ error_log.zip (application/x-zip-compressed)
Delete this message
Reply to this message
Author: Rohit H
Date:  
To: yaffs
Subject: [Yaffs] Running fstress on yaffs2 causes kernel crash
Hi,

I am running a filesystem testing program called fstress on yaffs2 mounted
on

1Gbit OneNAND with pagesize 2KB. This is causing the kernel to crash as
shown

in the attached file.

I suspect the problem is due to creation of files with names greater than
255

bytes.

Can someone please help..

Thanks

Rohit







Error Log :

----------------------------------------------------------------------------
-----------------------------------------------------------------

root@apollon:/elqap/tools# ./fsstress -d /tmp -n 50000 -p 1 -r -X -C 50 -v

[/tmp] seed = 601978

Unable to handle kernel NULL pointer dereference at virtual address 00000064

pgd = c3020000

[00000064] *pgd=80008031, *pte=00000000, *ppte=00000000

Internal error: Oops: 17 [#1] PREEMPT

Modules linked in:

CPU: 0    Not tainted  (2.6.22-omap1 #111)


PC is at yaffs_RenameObject+0x1c/0xf8

LR is at yaffs_FindObjectByName+0x8c/0x120

pc : [<c0109334>]    lr : [<c0106594>]    psr: 60000013


sp : c3003e4c ip : c3003d24 fp : c3003e6c

r10: c34f3000 r9 : c37f1604 r8 : c3ff0b30

r7 : c30501f0 r6 : c37f19b4 r5 : c37f194c r4 : 00000000

r3 : c30504f8 r2 : 000000ff r1 : c3003d24 r0 : 00000000

Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment user

Control: 00c5387f Table: 83020000 DAC: 00000015

Process fsstress (pid: 197, stack limit = 0xc3002250)

Stack: (0xc3003e4c to 0xc3004000)

3e40:                            c37f194c 00000000 c37f194c c0293258
c3ff0b30


3e60: c3003e9c c3003e70 c01014f8 c0109324 00000000 c37f194c 00000000
00000000

3e80: c3ff0b30 c3ff0b30 00000000 c37f1604 c3003ec4 c3003ea0 c008f650
c0101444

3ea0: ffffffd9 c37f194c c37f1604 c37f1118 c37f1118 c7c17000 c3003f94
c3003ec8

3ec0: c008f870 c008f424 c37cc000 c37f1118 c03f3f20 661fe91b 00000008
c37cc000

3ee0: 00000010 00000000 00000000 c3003ef8 c00826d8 c008ba44 5941ff53
00001000

3f00: 00007960 000076fc 000076fc 00000000 00000000 00000000 00000000
c37f1118

3f20: c03f3f20 d838bab4 00000213 c7c17000 00000010 00000000 00000000
c03f3f20

3f40: c7c54320 40149dfc c3003f64 00000001 00000001 00000000 c3003f80
c3003f68

3f60: c0083ad4 c0085584 00000007 00021be0 4001e000 00008cd4 00000026
c0023044

3f80: c3002000 40149dfc c3003fa4 c3003f98 c008f8f8 c008f708 00000000
c3003fa8

3fa0: c0022ea0 c008f8e0 00021be0 4001e000 40200990 40200ba8 be959ae8
be959afc

3fc0: 00021be0 4001e000 00008cd4 0000000c 4014c4c4 000091ec 40149dfc
be959ac8

3fe0: 00019850 be959298 0000b7a4 40085964 20000010 40200990 00000000
00000000

Backtrace:

[<c0109318>] (yaffs_RenameObject+0x0/0xf8) from [<c01014f8>]
(yaffs_rename+0xc0/0x118)

r7:c3ff0b30 r6:c0293258 r5:c37f194c r4:00000000

[<c0101438>] (yaffs_rename+0x0/0x118) from [<c008f650>]
(vfs_rename+0x238/0x2e4)

[<c008f418>] (vfs_rename+0x0/0x2e4) from [<c008f870>]
(sys_renameat+0x174/0x1d8)

[<c008f6fc>] (sys_renameat+0x0/0x1d8) from [<c008f8f8>]
(sys_rename+0x24/0x28)

[<c008f8d4>] (sys_rename+0x0/0x28) from [<c0022ea0>]
(ret_fast_syscall+0x0/0x2c)

Code: e24dd004 e1a06003 e1a07002 ebfff474 (e5903064)

----------------------------------------------------------------------------
-----------------------------------------------------------------