[Yaffs] sys_rename crash

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Amol Lad
Date:  
To: yaffs
Subject: [Yaffs] sys_rename crash
Hi,

I'm using a little older (6 months) old CVS version of yaffs2.
Sometimes I get a crash in sys_rename [ crash log below ]. The problem
is very difficult to reproduce and I'll try latest CVS. Anyone has
seen such problem before ? If yes, please point me in sources what
change I need to take. I'll then take that change alone (I cannot take
all current cvs changes presently)

THanks
(Please CC me)

Details:
cpu core- ARM926EJS (TI DM6446)
Linux: 2.6.18

Please let me know if I need to provide more info

Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c1e4c000
[00000000] *pgd=81e36031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in: zd1211b vfat fat nls_iso8859_1 nls_cp437 nls_base
usb_storage sd_mod scsi_mod musb_hdrc usbcore mafv2 idecode ividio
dm420_codec memmod imanage davinci_resiz
er
CPU: 0
PC is at 0xc1d71824
LR is at run_timer_softirq+0x110/0x254
pc : [<c1d71824>]    lr : [<c0047e34>]    Tainted: P
sp : c0aa79d4  ip : c02aa380  fp : c0aa7a08
r10: c02aa158  r9 : 00000000  r8 : 00000000
r7 : c0aa79d4  r6 : c1d71790  r5 : c0aa6000  r4 : 00000102
r3 : 00000000  r2 : c1d71730  r1 : c0aa79d4  r0 : 00000000
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: 5317F  Table: 81E4C000  DAC: 00000015
Process cpgui (pid: 1429, stack limit = 0xc0aa6250)
Stack: (0xc0aa79d4 to 0xc0aa8000)
79c0:                                              c1d71730 c039fd6c c0aa7a5c
79e0: 00000011 c02a9f30 00000001 c02ab9ac 0000000a c0aa6000 c02a9f00 c0aa7a30
7a00: c0aa7a0c c0043298 c0047d34 c0aa6000 e1448000 ffffffff 00000001 00000000
7a20: 00000000 c0aa7a44 c0aa7a34 c00434e4 c0043238 c0258840 c0aa7a58 c0aa7a48
7a40: c0023758 c004349c ffffffff c0aa7afc c0aa7a5c c0022a18 c0023724 c03c5d20
7a60: c3270000 00000800 00000800 0002072d 00000800 0002072d c32700b4 00000000
7a80: 00000000 00000000 c0aa7afc 00000015 c0aa7aa4 c0176840 c0176898 60000013
7aa0: ffffffff c38f0800 c03c5d20 00000800 00000001 0000003f 00000000 c0aa7b90
7ac0: c3270000 00000000 00000000 00000002 00000000 00000000 fffffdf4 00000000
7ae0: c3270000 c0aa7b90 10396800 00000000 c0aa7b44 c0aa7b00 c0177158 c01767b4
7b00: 03b16000 00000000 00000000 c38f0800 00000000 c32700b4 00000000 00000000
7b20: 03b16800 00000000 c37ce1c0 00000000 03b16800 00000000 c0aa7b64 c0aa7b48
7b40: c0171778 c0176f08 c0aa7d48 c38f0800 c379b000 c37ce1c0 c0aa7bd4 c0aa7b68
7b60: c01131d8 c01716fc 00000800 0000001c 00000000 c38f0800 c0aa7ba8 c32700b4
7b80: 00000000 c38f0800 c0aa7bd0 c0aa7b98 00000001 00000800 00000000 0000001c
7ba0: 00000000 c38f0800 c03c5d20 c0aa7d48 c379b000 0000766d c38f0800 00000000
7bc0: 0000766d c2dc97b8 c0aa7c3c c0aa7bd8 c011134c c0113140 c0aa7c0c c0aa7be8
7be0: c01761ec c01757b8 0002072d 0002072d c32700b4 c3270000 10396800 c0aa6000
7c00: 80000013 c0aa7cc0 c3270000 00000000 00000000 00000000 c0aa7c48 c23b6834
7c20: c0aa7d48 c0aa7c48 c23b6834 c38f0800 c0aa7e00 c0aa7c40 c010bc6c c011131c
7c40: c379b000 00000000 6c6c6973 6c6f2079 616e2064 c000656d c0175744 00000000
7c60: 03b17000 00000000 00000000 c38f0800 c0aa6000 c0aa7cb4 c0aa7c84 c009e078
7c80: c012f040 c26328f4 c23b67b8 c23b67d8 c0aa7cdc c0aa7cd8 c0aa7ca4 c010acd4
7ca0: c012eb80 c0aa7cf0 c0aa7ce4 c0aa7cb8 c00923ec c009217c c23b67b8 c23b67d8
7cc0: c2dc97b8 c38f43cc 000029aa c0aa7e00 c0aa7cdc c010ae60 c012ed4c 69726556
7ce0: 2e6f6d73 666e6f63 00006769 00000000 00000000 00000000 00000000 00000000
7d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7dc0: 00000000 00000000 00000000 00000000 00000000 c23b6854 c38f4364 c23b6834
7de0: 00000000 c2dc97b8 00000000 00000975 00000000 c0aa7e30 c0aa7e04 c010afa8
7e00: c010bbbc 00000975 c23b6834 c2dc97b8 c23b67b8 c38f4364 c1e3a64c c2dc9478
7e20: c379b000 c0aa7e54 c0aa7e34 c010de04 c010aea8 00000975 c23b67b8 c2dc9760
7e40: c0263eac c1e3a64c c0aa7e84 c0aa7e58 c01058b8 c010dd38 00000000 00000000
7e60: c2dc9760 c2dc9478 cf392414 c1e3a64c c0aa7f1c c1e3a64c c0aa7ebc c0aa7e88
7e80: c0095f30 c0105840 c10c7cd4 c0aa7ecc c11fac60 c10c7cd4 c0aa7ecc c2638000
7ea0: c10c7cd4 ffffffd9 c0aa7f1c c2134000 c0aa7f94 c0aa7ec0 c00961d4 c0095cf4
7ec0: 00000000 c2dc9760 c2dc9478 c10c7cd4 c0372e20 5452fe6d 0000000e c213400f
7ee0: 00000010 00000000 00000000 00000111 00000000 00000000 00000001 00000112
7f00: 00000000 00000000 c08607c0 c0aa7f30 c0aa7f1c c00a2980 c012ae70 c10c7cd4
7f20: c0372e20 220285af 00000008 c263800f 00000010 00000000 00000000 c038e8c0
7f40: 00000000 00000006 c0022fc4 0055a0b4 c0aa7f6c c0aa7f60 c00830ec c0082eb4
7f60: c0aa7f88 c0aa7f70 c0081364 00000180 bc1f3b14 0055a2b4 00000026 c0022fc4
7f80: c0aa6000 0055a0b4 c0aa7fa4 c0aa7f98 c0096244 c009603c 00000000 c0aa7fa8
7fa0: c0022e20 c0096230 00000180 bc1f3b14 004d0994 004d11b8 40051da4 004d11b8
7fc0: 00000180 bc1f3b14 0055a2b4 00000001 00000006 0043ea78 0055a0b4 bc1f3a48
7fe0: 004e93d8 bc1f3a2c 003de77c 40254c74 20000010 004d0994 00000000 00000000
Backtrace:
[<c0047d24>] (run_timer_softirq+0x0/0x254) from [<c0043298>]
(__do_softirq+0x70/0xe0)
[<c0043228>] (__do_softirq+0x0/0xe0) from [<c00434e4>] (irq_exit+0x58/0x6c)
[<c004348c>] (irq_exit+0x0/0x6c) from [<c0023758>] (asm_do_IRQ+0x44/0x50)
r4 = C0258840
[<c0023714>] (asm_do_IRQ+0x0/0x50) from [<c0022a18>] (__irq_svc+0x38/0x74)
r4 = FFFFFFFF
[<c01767a4>] (nand_do_read_ops+0x0/0x310) from [<c0177158>]
(nand_read_oob+0x260/0x28c)
[<c0176ef8>] (nand_read_oob+0x0/0x28c) from [<c0171778>]
(part_read_oob+0x8c/0xbc)
[<c01716ec>] (part_read_oob+0x0/0xbc) from [<c01131d8>]
(nandmtd2_ReadChunkWithTagsFromNAND+0xa8/0x140)
r7 = C37CE1C0  r6 = C379B000  r5 = C38F0800  r4 = C0AA7D48
[<c0113130>] (nandmtd2_ReadChunkWithTagsFromNAND+0x0/0x140) from
[<c011134c>] (yaffs_ReadChunkWithTagsFromNAND+0x40/0xd4)
[<c011130c>] (yaffs_ReadChunkWithTagsFromNAND+0x0/0xd4) from
[<c010bc6c>] (yaffs_UpdateObjectHeader+0xc0/0x3f4)
r7 = C38F0800  r6 = C23B6834  r5 = C0AA7C48  r4 = C0AA7D48
[<c010bbac>] (yaffs_UpdateObjectHeader+0x0/0x3f4) from [<c010afa8>]
(yaffs_ChangeObjectName+0x110/0x14c)
[<c010ae98>] (yaffs_ChangeObjectName+0x0/0x14c) from [<c010de04>]
(yaffs_RenameObject+0xdc/0x108)
[<c010dd28>] (yaffs_RenameObject+0x0/0x108) from [<c01058b8>]
(yaffs_rename+0x88/0x120)
r7 = C1E3A64C  r6 = C0263EAC  r5 = C2DC9760  r4 = C23B67B8
[<c0105830>] (yaffs_rename+0x0/0x120) from [<c0095f30>] (vfs_rename+0x24c/0x348)
[<c0095ce4>] (vfs_rename+0x0/0x348) from [<c00961d4>] (sys_renameat+0x1a8/0x1f4)
[<c009602c>] (sys_renameat+0x0/0x1f4) from [<c0096244>] (sys_rename+0x24/0x28)
[<c0096220>] (sys_rename+0x0/0x28) from [<c0022e20>] (ret_fast_syscall+0x0/0x2c)