Hello All, I am using Linux 2.6.14 kernel on ARM cpu and added Yaffs support. I can mount and umount nand flash using Yaffs file system. However, I receive a kernel bug message if I delete the files on yaffs mtd device. After the error message, I cannot umount the mtd device. What is the root cause? Below is the message: / $ Internal error: Oops: 817 [#1] Modules linked in: CPU: 0 PC is at __bug+0x40/0x54 LR is at 0x1 pc : [] lr : [<00000001>] Not tainted sp : c1bcdebc ip : 60000093 fp : c1bcdec8 r10: 000a00a8 r9 : c1bcc000 r8 : c1bcdf44 r7 : c384f2b0 r6 : c00227a8 r5 : c04ac168 r4 : 00000000 r3 : 00000000 r2 : 00000000 r1 : 026a6ee7 r0 : 00000001 Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment user Control: C000717F Table: 328D0000 DAC: 00000015 Process rm (pid: 340, stack limit = 0xc1bcc194) Stack: (0xc1bcdebc to 0xc1bce000) dea0: c1bcdedc dec0: c1bcdecc c0091b40 c0029d50 c36a7000 c1bcdef8 c1bcdee0 c0101064 c0091af0 dee0: c00227a8 c0100ff4 c00227a8 c1bcdf10 c1bcdefc c0092c18 c0101004 c00227a8 df00: c285a000 c1bcdf2c c1bcdf14 c0092cac c0092b98 c00227a8 c285a000 c00227a8 df20: c1bcdf40 c1bcdf30 c0091db0 c0092c9c 00000000 c1bcdfa4 c1bcdf44 c0088aa8 df40: c0091d34 c384f090 c0394c60 643d0b71 0000000c c285a006 00000010 00000000 df60: 00000000 00000000 02c13c00 00000000 449182ff 00000000 44917637 be988f74 df80: 00000000 be988f74 00000000 00000000 0000000a c0025144 00000000 c1bcdfa8 dfa0: c0024fc0 c0088984 be988f74 c002be54 be988f74 00000002 00000000 00000000 dfc0: be988f74 00000000 00000000 00000002 000a0d7c 00000002 000a00a8 0000837c dfe0: 00000000 be988d88 0005cbc0 0007e65c 60000010 be988f74 00000000 00000000 Backtrace: [] (__bug+0x0/0x54) from [] (clear_inode+0x60/0xd4) [] (clear_inode+0x0/0xd4) from [] (yaffs_delete_inode+0x70/0x84) r4 = C36A7000 [] (yaffs_delete_inode+0x0/0x84) from [] (generic_delete_inode+0x90/0x104) r6 = C00227A8 r5 = C0100FF4 r4 = C00227A8 [] (generic_delete_inode+0x0/0x104) from [] (generic_drop_inode+0x20/0x16c) r5 = C285A000 r4 = C00227A8 [] (generic_drop_inode+0x0/0x16c) from [] (iput+0x8c/0xa0) r6 = C00227A8 r5 = C285A000 r4 = C00227A8 [] (iput+0x0/0xa0) from [] (sys_unlink+0x134/0x184) r4 = 00000000 [] (sys_unlink+0x0/0x184) from [] (ret_fast_syscall+0x0/0x2c) r8 = C0025144 r7 = 0000000A r6 = 00000000 r5 = 00000000 r4 = BE988F74 Code: 1b004972 e59f0014 eb004970 e3a03000 (e5833000)