From: Cmmn Ml <cm...@ya...> - 2007-04-20 05:22:03
|
Hello We are working on a SH 7705 processor based board. The linux kernel we are using is 2.6.16 with SH linux stable patch (sh--stable--2.6.16). At the moment the linux kernel is running well with basic features. We're getting following problem with flash file system (JFFS). We can mount a flash partition using JFFS, and can create directories, files without a problem. But when we try to remove a file using rm command we get following error. --------------------------------------------------------------------- Unable to handle kernel NULL pointer dereference at virtual address 00000070 pc = 8c16fabc *pde = 00000000 Oops: 0000 [#1] Pid : 684, Comm: rm PC is at mutex_unlock+0xc/0x40 PC : 8c16fabc SP : 8c28df2c SR : 400001f1 TEA : 00000070 Not tainted R0 : 00000000 R1 : 40000101 R2 : 40000100 R3 : 00000001 R4 : 00000070 R5 : 002f1493 R6 : ffffffff R7 : 000000f0 R8 : 00000000 R9 : 8c67f224 R10 : 8c5306c4 R11 : 8c530740 R12 : 8c67f224 R13 : 00403d6c R14 : 7bed3eac MACH: 0000010c MACL: 00000000 GBR : 00000000 PR : 8c065668 Call trace: [<8c065736>] do_unlinkat+0x96/0x140 [<8c014090>] ret_from_exception+0x0/0xc [<8c014184>] syscall_call+0xc/0xe [<8c065810>] sys_unlink+0x0/0x10 Segmentation fault --------------------------------------------------------------------- Removing a directory using rmdir or rm -r works fine without giving any error. We're using Solution Engine as the target board and modified the linux-2.6.16.9/drivers/mtd/maps/solutionengine.c file according to our needs. Flash memory type is Spansion (MirrorBit family) S29GLxxxN. If any one can give us some thoughts on this, it will be a great help. Thank you in advance Cmmn --------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos. |