From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-bw0-f159.google.com ([209.85.218.159]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1Lpobg-00027C-Sz for linux-mtd@lists.infradead.org; Fri, 03 Apr 2009 18:59:22 +0000 Received: by bwz3 with SMTP id 3so1191857bwz.18 for ; Fri, 03 Apr 2009 11:59:09 -0700 (PDT) Message-ID: <49D65C94.5080101@gmail.com> Date: Fri, 03 Apr 2009 21:59:32 +0300 From: Darius Augulis MIME-Version: 1.0 To: hari prasath Subject: Re: Kernel OOPS - JFFS2 file system on NOR flash References: <5730fc040904020659w360c53c6u6cdc513d5c3055d9@mail.gmail.com> In-Reply-To: <5730fc040904020659w360c53c6u6cdc513d5c3055d9@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , hari prasath wrote: > Dear all, > > I have a embedded device with 32MB NOR flash. I am mounting a part of > this as a MTD device. what is the part number of memory chip? > > Now i have a script which echo's a string to a file in the flash. At > certain stage, the 'echo' process becomes a Demon. 'dmesg' shows that > 'Kernel unable to handle page request is generated" > > The output of 'dmesg' is given below for reference. > > I am using linux kernel 2.6.22 and my NOR flash is a Intel P30 device. > > argh. node added in wrong place > Unable to handle kernel paging request at virtual address ffffffee > pgd = c3df8000 > [ffffffee] *pgd=a0002021, *pte=00000000, *ppte=00000000 > Internal error: Oops: f3 [#1] > Modules linked in: modem_driver Gpio_ctrl > CPU: 0 Not tainted (2.6.22 #1) > PC is at jffs2_add_full_dnode_to_inode+0xb8/0x408 > LR is at jffs2_add_full_dnode_to_inode+0x60/0x408 > pc : [] lr : [] psr: a0000013 > sp : c3db9c50 ip : c3846fb0 fp : c3db9c74 > r10: c2894200 r9 : 000015bc r8 : c3be4cf8 > r7 : c2d941ac r6 : c3846aa0 r5 : c3846fb0 r4 : c2d94198 > r3 : c3be4cf8 r2 : ffffffea r1 : 000015bc r0 : 000015bc > Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user > Control: 0000397f Table: a3df8000 DAC: 00000015 > Process echo (pid: 4474, stack limit = 0xc3db8260) > Stack: (0xc3db9c50 to 0xc3dba000) > 9c40: c3be4cf8 c2d8af98 c2d94198 > c2894200 > 9c60: 00000000 00000000 c3db9ccc c3db9c78 c00e986c c00e4d30 00000022 > 00000003 > 9c80: 00000000 00000000 c38085bc 00000022 00000022 c38085bc 00008cb0 > 2bdf0c0b > 9ca0: 2bdf0c0b c2d94198 000005bc c2894200 c2d8af98 c2d941c4 000005bc > c036d100 > 9cc0: c3db9d18 c3db9cd0 c00e481c c00e9618 000015bc 00000022 c3db9ce4 > 00000000 > 9ce0: 000005de 00000000 49d2e5da 49d2e5da 00000022 c3db8000 00000000 > 00000022 > 9d00: c036d100 40000000 000005bc c3db9db4 c3db9d1c c005db24 c00e46f4 > c004f91c > 9d20: 000005de c2d941c4 c023b510 c2d94258 c1b3e720 00000001 c3db9e9c > 00000000 > 9d40: 00000000 c3db9e94 50d941c4 00000000 00000000 c3db9de4 c2894400 > c3db9d94 > 9d60: c3db9d6c c00945f8 c00eefe0 c3db9d94 c3db9d7c c2d941c4 c3db9d98 > 00000001 > 9d80: c3db9de4 000015bc c3db9db8 000015bc 00000000 c3db9de8 c3db9de4 > 000015bc > 9da0: 00000000 00000000 c3db9e48 c3db9dbc c005e4c4 c005d718 000015bc > 00000000 > 9dc0: c3db9ee4 00000022 00000000 00000000 c2d94258 c1b3e720 c3db9ee4 > c3db9e94 > 9de0: c3db9e9c 00000022 000015bc 00000000 00000022 00000001 00000044 > 000200d2 > 9e00: c02cf2b0 00000000 000200d2 c02cf2ac 00000000 c3d23d60 c1b39d00 > c3db9e68 > 9e20: c3db9e9c c2d941c4 00000000 00000000 c3db9ee4 00000001 c2d9422c > c3db9e88 > 9e40: c3db9e4c c005e578 c005dfd4 c3d8a800 c3db9e78 c2d94258 c1b3e720 > c3db9e94 > 9e60: 00000000 00000000 c3db9e9c c3db9ee4 c1b3e720 c3db9e94 c3db9f78 > c3db9f4c > 9e80: c3db9e90 c0077940 c005e504 00000000 00000000 40000000 00000022 > 00069000 > 9ea0: c3db9ebc 00000000 00000001 ffffffff c1b3e720 00000000 00000000 > 00000000 > 9ec0: 00000000 c1b39d00 00000000 00000000 c281e4a8 c1b39d00 c004c740 > c3db9edc > 9ee0: c3db9edc 00000000 00000000 c3db8000 00069000 c3db9f4c c3db9f04 > c0069da8 > 9f00: 00000022 c0029834 00000000 00000000 00000000 00000000 c3df8000 > 00000000 > 9f20: 00000002 c1b3e720 40000000 c0077880 00000022 c3db9f78 c3db8000 > 00000002 > 9f40: c3db9f74 c3db9f50 c0077a5c c007788c c0027254 c1b3e740 c1b3e720 > c3db9f78 > 9f60: 00000000 00000000 c3db9fa4 c3db9f78 c0077ba0 c007799c 00000000 > 00000000 > 9f80: 00000000 40000000 00000022 0017ba08 00000004 c0023f84 00000000 > c3db9fa8 > 9fa0: c0023de0 c0077b60 40000000 00000022 00000001 40000000 00000022 > 40000000 > 9fc0: 40000000 00000022 0017ba08 00000022 00000022 00192304 00000002 > 000082d0 > 9fe0: 00000000 be85fc14 000b9804 000e1704 60000010 00000001 00000000 > 00000000 > Backtrace: > [] (jffs2_add_full_dnode_to_inode+0x0/0x408) from [] > (jffs2_write_inode_range+0x260/0x36c) > [] (jffs2_write_inode_range+0x0/0x36c) from [] > (jffs2_commit_write+0x134/0x270) > [] (jffs2_commit_write+0x0/0x270) from [] > (generic_file_buffered_write+0x41c/0x610) > [] (generic_file_buffered_write+0x4/0x610) from [] > (__generic_file_aio_write_nolock+0x4fc/0x52c) > [] (__generic_file_aio_write_nolock+0x0/0x52c) from > [] (generic_file_aio_write+0x84/0x100) > [] (generic_file_aio_write+0x4/0x100) from [] > (do_sync_write+0xc0/0x110) > [] (do_sync_write+0x0/0x110) from [] > (vfs_write+0xcc/0x150) > [] (vfs_write+0x0/0x150) from [] (sys_write+0x4c/0x74) > r8:00000000 r7:00000000 r6:c3db9f78 r5:c1b3e720 r4:c1b3e740 > [] (sys_write+0x0/0x74) from [] > (ret_fast_syscall+0x0/0x2c) > r8:c0023f84 r7:00000004 r6:0017ba08 r5:00000022 r4:40000000 > Code: 13833003 15823004 e596300c e5932000 (e5923004) > Node totlen on flash (0x00000046) != totlen from node ref (0x00000058) > Node totlen on flash (0x00000000) != totlen from node ref (0x0000005c) > > > -- > Best Regards, > G.E.Hari Prasath > > > > > > ------------------------------------------------------------------------ > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/