[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

jffs2 testing and oops!



Just for fun (and the fact that I am completely frustrated with jffs1 wrt pwr
fail testing) I mounted jffs2 and
started my "checkfs" program that just writes out 100 files with random
data+CRC in a round robin fashion (no power fail yet).

Things were ok till the program was writing the files out. Then garbage
collection started and went on for a few minutes,
then the system oops'd out on me.

I have the debug level 1 log and the OOPS output. Do you think that will
help?

At this stage, what is the feedback that you are looking for in jffs2
testing? (level 1,2 or 3 logs, flash images etc. ?)

I can provide anything that you would like.

Vipin


> vmalik@xxxxxxx.com said:
> >  P.S. Is JFFS2 ready for some power fail testing ;)
>
> Yes please.
>

********Portion of the log that caused Oops
fault **************************************
<....snip.....>
 jffs2_complete_reservation()
 thread_should_wake(): nr_free_blocks 5, nr_erasing_blocks 0, dirty_size
0x2dc840
 jffs2_add_full_dnode_to_inode(ino #1055, f c23aa8a4, fn c238b970)
 obliterating obsoleted node at 0x0051481c
 increasing writtenlen by 4096
 jffs2_commit_write() returning 4096. nrpages is 3
 jffs2_prepare_write() nrpages 4
 jffs2_do_readpage_nolock(): ino #1055, page at offset 0x3000
 readpage finished
 end prepare_write(). nrpages 4
 jffs2_commit_write(): ino #1055, page at 0x3000, range 0-1296, nrpages 4
 jffs2_reserve_space(): Requested 0xc0 bytes
 jffs2_reserve_space(): alloc sem got
 jffs2_do_reserve_space(): Giving 0x2f784 bytes at 0x15087c
 calling deflate with avail_in 1284, avail_out 1284
 deflate returned with avail_in 0, avail_out 434, total_in 1284, total_out
850
 calling deflate with avail_in 12, avail_out 434
 deflate returned with avail_in 0, avail_out 422, total_in 1296, total_out
862
 zlib compressed 1296 bytes into 868
 jffs2_add_physical_node_ref(): Node at 0x15087c, size 0x3a4
 jffs2_write_dnode wrote node at 0x0015087c with dsize 0x510, csize 0x364,
node_crc 0x9c1079cc, data_crc 0xe08ca4e3
 jffs2_complete_reservation()
 thread_should_wake(): nr_free_blocks 5, nr_erasing_blocks 0, dirty_size
0x2dc91c
 jffs2_add_full_dnode_to_inode(ino #1055, f c23aa8a4, fn c238b990)
 increasing writtenlen by 1296
 jffs2_commit_write() returning 1296. nrpages is 4
 jffs2_do_readpage_nolock(): ino #1055, page at offset 0x0
 Node read from 0014e9e8: node_crc 1096bb91, calculated CRC 1096bb91. dsize
1000, csize 9f1, offset 0, buf c22e9000
 readpage finished
 jffs2_do_readpage_nolock(): ino #1055, page at offset 0x1000
 Node read from 0014f41c: node_crc 4fc525b0, calculated CRC 4fc525b0. dsize
1000, csize 9e9, offset 1000, buf c2626000
 readpage finished
 jffs2_do_readpage_nolock(): ino #1055, page at offset 0x2000
 Node read from 0014fe48: node_crc f42d8f2f, calculated CRC f42d8f2f. dsize
1000, csize 9f3, offset 2000, buf c236c000
 readpage finished
 jffs2_prepare_write() nrpages 4
 end prepare_write(). nrpages 4
 jffs2_commit_write(): ino #1055, page at 0x3000, range 1296-1298, nrpages 4
 jffs2_reserve_space(): Requested 0xc0 bytes
 jffs2_reserve_space(): alloc sem got
 jffs2_do_reserve_space(): Giving 0x2f3e0 bytes at 0x150c20
 calling deflate with avail_in 1286, avail_out 1286
 deflate returned with avail_in 0, avail_out 434, total_in 1286, total_out
852
 calling deflate with avail_in 12, avail_out 434
 deflate returned with avail_in 0, avail_out 421, total_in 1298, total_out
865
 zlib compressed 1298 bytes into 871
 jffs2_add_physical_node_ref(): Node at 0x150c20, size 0x3a8
 jffs2_write_dnode wrote node at 0x00150c20 with dsize 0x512, csize 0x367,
node_crc 0xfde30c6d, data_crc 0x9f6eb884
 jffs2_complete_reservation()
 thread_should_wake(): nr_free_blocks 5, nr_erasing_blocks 0, dirty_size
0x2dc91c
 jffs2_add_full_dnode_to_inode(ino #1055, f c23aa8a4, fn c238b980)
 obliterating obsoleted node at 0x0015087c
 increasing writtenlen by 1298
 jffs2_commit_write() returning 2. nrpages is 4
 jffs2_setattr(): ino #1056
 jffs2_reserve_space(): Requested 0x40 bytes
 jffs2_reserve_space(): alloc sem got
 jffs2_do_reserve_space(): Giving 0x2f038 bytes at 0x150fc8
 jffs2_add_physical_node_ref(): Node at 0x150fc8, size 0x40
 jffs2_write_dnode wrote node at 0x00150fc8 with dsize 0x0, csize 0x0,
node_crc 0x9010105c, data_crc 0x00000000
 jffs2_complete_reservation()
 thread_should_wake(): nr_free_blocks 5, nr_erasing_blocks 0, dirty_size
0x2dccc0
 jffs2_prepare_write() nrpages 1
 end prepare_write(). nrpages 1
 jffs2_commit_write(): ino #1056, page at 0x0, range 0-4096, nrpages 1
 jffs2_reserve_space(): Requested 0xc0 bytes
 jffs2_reserve_space(): alloc sem got
 jffs2_do_reserve_space(): Giving 0x2eff8 bytes at 0x151008
 calling deflate with avail_in 4084, avail_out 4084
 deflate returned with avail_in 0, avail_out 1559, total_in 4084, total_out
2525
 calling deflate with avail_in 12, avail_out 1559
 deflate returned with avail_in 0, avail_out 1547, total_in 4096, total_out
2537
 zlib compressed 4096 bytes into 2543
 jffs2_add_physical_node_ref(): Node at 0x151008, size 0xa30
 jffs2_write_dnode wrote node at 0x00151008 with dsize 0x1000, csize 0x9ef,
node_crc 0x6c207fa7, data_crc 0x0fcf6379
 jffs2_complete_reservation()
 thread_should_wake(): nr_free_blocks 5, nr_erasing_blocks 0, dirty_size
0x2dccc0
 jffs2_add_full_dnode_to_inode(ino #1056, f c23aac44, fn c238b930)
 obliterating obsoleted node at 0x00225d48
 obliterating obsoleted node at 0x002fb180
 obliterating obsoleted node at 0x00150fc8
 increasing writtenlen by 4096
 jffs2_commit_write() returning 4096. nrpages is 1
 jffs2_prepare_write() nrpages 2
 jffs2_do_readpage_nolock(): ino #1056, page at offset 0x1000
 Node read from 002fbbb0: node_crc 11d1f1e0, calculated CRC 11d1f1e0. dsize
1000, csize 9e9, offset 1000, buf c24ab000
 readpage finished
 end prepare_write(). nrpages 2
 jffs2_commit_write(): ino #1056, page at 0x1000, range 0-2804, nrpages 2
 jffs2_reserve_space(): Requested 0xc0 bytes
 jffs2_reserve_space(): alloc sem got
 jffs2_do_reserve_space(): Giving 0x2e5c8 bytes at 0x151a38
 calling deflate with avail_in 2792, avail_out 2792
 deflate returned with avail_in 0, avail_out 1040, total_in 2792, total_out
1752
 calling deflate with avail_in 12, avail_out 1040
 deflate returned with avail_in 0, avail_out 1028, total_in 2804, total_out
1764
 zlib compressed 2804 bytes into 1770
 jffs2_add_physical_node_ref(): Node at 0x151a38, size 0x72c
 jffs2_write_dnode wrote node at 0x00151a38 with dsize 0xaf4, csize 0x6ea,
node_crc 0x519d6b3f, data_crc 0x77a74aff
 jffs2_complete_reservation()
 thread_should_wake(): nr_free_blocks 5, nr_erasing_blocks 0, dirty_size
0x2ddb1c
 jffs2_add_full_dnode_to_inode(ino #1056, f c23aac44, fn c238b990)
 increasing writtenlen by 2804
 jffs2_commit_write() returning 2804. nrpages is 2
 jffs2_do_readpage_nolock(): ino #1056, page at offset 0x0
 Node read from 00151008: node_crc 6c207fa7, calculated CRC 6c207fa7. dsize
1000, csize 9ef, offset 0, buf c22cc000
 readpage finished
 jffs2_prepare_write() nrpages 2
 end prepare_write(). nrpages 2
 jffs2_commit_write(): ino #1056, page at 0x1000, range 2804-2806, nrpages 2
 jffs2_reserve_space(): Requested 0xc0 bytes
 jffs2_reserve_space(): alloc sem got
 jffs2_do_reserve_space(): Giving 0x2de9c bytes at 0x152164
 calling deflate with avail_in 2794, avail_out 2794
 deflate returned with avail_in 0, avail_out 1038, total_in 2794, total_out
1756
 calling deflate with avail_in 12, avail_out 1038
 deflate returned with avail_in 0, avail_out 1025, total_in 2806, total_out
1769
 zlib compressed 2806 bytes into 1775
 jffs2_add_physical_node_ref(): Node at 0x152164, size 0x730
 jffs2_write_dnode wrote node at 0x00152164 with dsize 0xaf6, csize 0x6ef,
node_crc 0xd8285499, data_crc 0x898b7ca2
 jffs2_complete_reservation()
 thread_should_wake(): nr_free_blocks 5, nr_erasing_blocks 0, dirty_size
0x2ddb1c
 Unable to handle kernel paging request at virtual address 080503cc
  printing eip:
 c011a477
 *pde = 034fb067
 *pte = 00000000
 Oops: 0000
 CPU:    0
 EIP:    0010:[<c011a477>]
 EFLAGS: 00010006
 eax: 080503cc   ebx: c312a000   ecx: 00000001   edx: 00000000
 esi: 00000202   edi: 00000001   ebp: 00000000   esp: c2119e68
 ds: 0018   es: 0018   ss: 0018
 Process checkfs (pid: 1537, stackpage=c2119000)
 Stack: c011a4de 00000001 080503c8 c011a6f2 00000001 c312a000 00000001
c312a000
        c3ea4e9c c3135120 c109bd7c c23aac44 c011a9ad 00000001 00000001
c312a000
        c583abeb 00000001 c312a000 00000001 c3ea4e9c c58367a5 c3ea4e9c
c583d980
 Call Trace: [<c011a4de>] [<c011a6f2>] [<c011a9ad>] [<c583abeb>] [<c58367a5>]
[<c583d980>] [<c5834e9f>]
        [<c0124165>] [<c012e40e>] [<c0108f13>] [<c010002b>]

 Code: 8b 04 90 83 f8 01 76 06 b8 01 00 00 00 c3 83 f8 01 75 0c 83
 Kernel panic: Aiee, killing interrupt handler!
 In interrupt handler - not syncing



To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com