[Yaffs] BUG: soft lockup detected on CPU#0!

Manav Gautam bandwidthcrunch at gmail.com
Tue Aug 23 09:41:48 BST 2005


Hi All,
        Am using 2.6.11 kernel with frank rowland's set of patches .
When i try to copy a file to the yaffs partition i see this crash
[root at Sarva yaffs]#cp /root/exp/nanddump.c ./
Writing data without ECC to NAND-FLASH is not recommended
Reading data from NAND FLASH without ECC is not recommended
nand_write_oob: Failed write, page 0x00001850
BUG: soft lockup detected on CPU#0!

Pid: 662, comm:                   cp
CPU: 0
PC is at nand_command+0x1a8/0x1e4
LR is at nand_command+0x1a8/0x1e4
pc : [<c01167b8>]    lr : [<c01167b8>]    Not tainted
sp : c0f45648  ip : c0f45648  fp : c0f45668
r10: 000185f5  r9 : 00000000  r8 : ffffffff
r7 : 000000ff  r6 : c0f3c800  r5 : c0f3c980  r4 : ffffffff
r3 : c1852000  r2 : 00080000  r1 : 00000003  r0 : 00000000
Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: 397F  Table: A0EF8000  DAC: 00000015
[<c00187b4>] (show_regs+0x0/0x4c) from [<c0047920>] (softlockup_tick+0x64/0x7c)
 r4 = C0F45600
[<c00478bc>] (softlockup_tick+0x0/0x7c) from [<c00347a4>] (do_timer+0x414/0x490)
 r4 = 00000000
[<c0034390>] (do_timer+0x0/0x490) from [<c001b658>] (timer_tick+0xb4/0xe4)
[<c001b5a4>] (timer_tick+0x0/0xe4) from [<c0020618>]
(pxa_timer_interrupt+0x28/0x6c)
 r6 = 00000000  r5 = C0F45600  r4 = C0178F30
[<c00205f0>] (pxa_timer_interrupt+0x0/0x6c) from [<c0017938>]
(__do_irq+0x4c/0x88)
 r5 = 00000000  r4 = C0147E98
[<c00178ec>] (__do_irq+0x0/0x88) from [<c0017b74>] (do_level_IRQ+0x68/0xb8)
 r8 = C0F45600  r7 = 000000FF  r6 = C0F45600  r5 = 00000013
 r4 = C0172084
[<c0017b0c>] (do_level_IRQ+0x0/0xb8) from [<c0017c10>] (asm_do_IRQ+0x4c/0x124)
 r6 = 04000000  r5 = F2D00000  r4 = C0172084
[<c0017bc4>] (asm_do_IRQ+0x0/0x124) from [<c0016944>] (__irq_svc+0x24/0x80)
[<c0116610>] (nand_command+0x0/0x1e4) from [<c0116dcc>]
(nand_write_oob+0xd4/0x200)
 r8 = 00000000  r7 = C0F3C800  r6 = C0F3C980  r5 = 00000000
 r4 = FFFFFFFF
[<c0116cf8>] (nand_write_oob+0x0/0x200) from [<c010e368>]
(part_write_oob+0xb8/0xc0)
[<c010e2b0>] (part_write_oob+0x0/0xc0) from [<c00bdb90>]
(nandmtd_WriteChunkToNAND+0xdc/0x100)
 r8 = 00000000  r7 = C0F4571C  r6 = 00000000  r5 = 030BEA00
 r4 = C0363600
[<c00bdab4>] (nandmtd_WriteChunkToNAND+0x0/0x100) from [<c00b9180>]
(yaffs_WriteChunkToNAND+0x48/0x50)
 r8 = 00000001  r7 = 00000C2F  r6 = 000185F5  r5 = C0F2B000
 r4 = C0F2B000
[<c00b9138>] (yaffs_WriteChunkToNAND+0x0/0x50) from [<c00ba528>]
(yaffs_DeleteChunk+0x8c/0x1a8)
 r4 = C0F4571C
[<c00ba49c>] (yaffs_DeleteChunk+0x0/0x1a8) from [<c00baa34>]
(yaffs_WriteNewChunkToNAND+0x3f0/0x458)
[<c00ba644>] (yaffs_WriteNewChunkToNAND+0x0/0x458) from [<c00bab14>]
(yaffs_WriteNewChunkWithTagsToNAND+0x78/0x88)
[<c00baa9c>] (yaffs_WriteNewChunkWithTagsToNAND+0x0/0x88) from
[<c00bb8f4>] (yaffs_UpdateObjectHeader+0x220/0x25c)
 r8 = C0F16288  r7 = C0F7C078  r6 = C0F7C168  r5 = 00000000
 r4 = C0F459DC
[<c00bb6d4>] (yaffs_UpdateObjectHeader+0x0/0x25c) from [<c00bc7d8>]
(yaffs_MknodObject+0x13c/0x1b4)
[<c00bc69c>] (yaffs_MknodObject+0x0/0x1b4) from [<c00bc9f4>]
(yaffs_MknodFile+0x48/0x50)
[<c00bc9ac>] (yaffs_MknodFile+0x0/0x50) from [<c00b80a8>]
(yaffs_mknod+0x130/0x228)
[<c00b7f78>] (yaffs_mknod+0x0/0x228) from [<c00b822c>] (yaffs_create+0x40/0x4c)
[<c00b81ec>] (yaffs_create+0x0/0x4c) from [<c0075f08>] (vfs_create+0x94/0xd0)
 r6 = C035C0E8  r5 = 000001A4  r4 = 00000000
[<c0075e74>] (vfs_create+0x0/0xd0) from [<c00762dc>] (open_namei+0x1b4/0x730)
 r8 = C0016E64  r7 = 00000004  r6 = C0F166EC  r5 = C0F45F2C
 r4 = C0F16224
[<c0076128>] (open_namei+0x0/0x730) from [<c0065690>] (filp_open+0x30/0x4c)
[<c0065660>] (filp_open+0x0/0x4c) from [<c0065860>] (sys_open+0x44/0xd4)
 r4 = 00000041
[<c006581c>] (sys_open+0x0/0xd4) from [<c0016ce0>] (ret_fast_syscall+0x0/0x2c)
cp: unable to open `./nanddump.c': Cannot allocate memory

Any one seen this one before ? 

Warm regards,
Manav



More information about the yaffs mailing list