<HTML><HEAD><TITLE>Samsung Enterprise Portal mySingle</TITLE>
<META content="text/html; charset=euc-kr" http-equiv=Content-Type>
<STYLE id=mysingle_style>P {
MARGIN-TOP: 5px; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
TD {
MARGIN-TOP: 5px; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
LI {
MARGIN-TOP: 5px; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
BODY {
LINE-HEIGHT: 1.4; MARGIN: 10px; FONT-FAMILY: ±¼¸²Ã¼, arial; FONT-SIZE: 9pt
}
</STYLE>
<META name=GENERATOR content=ActiveSquare></HEAD>
<BODY>
<P>Hi mtd members.</P>
<P> </P>
<P>I have more message regarding nand crash.</P>
<P>It happed both on boot time and runnning with writing</P>
<P>Is it related with unstable bit issue? otherwise It also need mtd test to fix nand driver?</P>
<P>I want fix this problem...</P>
<P> </P>
<P>running</P>
<P> [10:10:59:405][ 666.395000] UBIFS error (pid 3949): ubifs_scan: corrupt empty space at LEB 601:126300<BR>[10:10:59:420][ 666.400000] UBIFS error (pid 3949): ubifs_scanned_corruption: corruption at LEB 601:126300<BR>[10:10:59:434][ 666.410000] UBIFS error (pid 3949): ubifs_scan: LEB 601 scanning failed<BR>[10:10:59:435][ 666.415000] UBIFS warning (pid 3949): ubifs_ro_mode: switched to read-only mode, error -117<BR>[10:10:59:446][ 666.420000] UBIFS error (pid 3949): ubifs_budget_space: cannot budget space, error -117</P>
<P> </P>
<P>on boot</P>
<P>[ 1.805000] UBI: attaching mtd5 to ubi1<BR>[ 1.810000] UBI: physical eraseblock size: 131072 bytes (128 KiB)<BR>[ 1.815000] UBI: logical eraseblock size: 129024 bytes<BR>[ 1.820000] UBI: smallest flash I/O unit: 2048<BR>[ 1.825000] UBI: sub-page size: 512<BR>[ 1.830000] UBI: VID header offset: 512 (aligned 512)<BR>[ 1.835000] UBI: data offset: 2048<BR>[ 2.130000] UBI: attached mtd5 to ubi1<BR>[ 2.135000] UBI: MTD device name: "Android RW"<BR>[ 2.140000] UBI: MTD device size: 150 MiB<BR>[ 2.145000] UBI: number of good PEBs: 1199<BR>[ 2.150000] UBI: number of bad PEBs: 1<BR>[ 2.155000] UBI: max. allowed volumes: 128<BR>[ 2.160000] UBI: wear-leveling threshold: 4096<BR>[ 2.165000] UBI: number of internal volumes: 1<BR>[ 2.170000] UBI: number of user volumes: 1<BR>[ 2.170000] UBI: available PEBs: 0<BR>[ 2.175000] UBI: total number of reserved PEBs: 1199<BR>[ 2.180000] UBI: number of PEBs reserved for bad PEB handling: 22<BR>[ 2.185000] UBI: max/mean erase counter: 1/0<BR>[ 2.185000] UBI: image sequence number: 0<BR>[ 2.190000] UBI: background thread "ubi_bgt1d" started, PID 1746<BR>[ 2.240000] UBIFS: recovery needed<BR>[ 2.375000] UBIFS error (pid 1747): ubifs_recover_leb: corrupt empty space LEB 940:90112, corruption starts at 2048<BR>[ 2.380000] UBIFS error (pid 1747): ubifs_scanned_corruption: corruption at LEB 940:2048<BR>[ 2.390000] UBIFS error (pid 1747): ubifs_recover_leb: LEB 940 scanning failed<BR>[ 2.405000] init: Unable to open persistent property directory /data/property errno: 2<BR>[ 2.410000] init: Unable to write persistent property to temp file /data/property/.temp errno: 2<BR>[ 2.465000] Micom status is set to micom_status = 0</P>
<P> </P>
<P>------- <B>Original Message</B> -------</P>
<P><B>Sender</B> : À̾ç¿ì<yw100.lee@samsung.com> S4(¼±ÀÓ)/¼±ÀÓ/PRT S/W Platform Lab(IT)/»ï¼ºÀüÀÚ</P>
<P><B>Date</B> : 2012-08-29 11:18 (GMT+09:00)</P>
<P><B>Title</B> : ubifs crash with two cases( switched to readonly, recover fail )</P>
<P> </P>
<META name=GENERATOR content=ActiveSquare><X-BODY>
<P>I'm facing some problem of file system crash.<BR>This error happen very some times(about 3%) and seems happen on boot time after power cut.<BR>Anyone tell me that how to fix it. Do I need additional patch?</P>
<P><BR>I'm using ubifs on 512M raw flash device(SLC) and using kernel 2.6.35 with some ubifs patches.<BR>applied patches</P>
<P>1. [PATCH] UBIFS: fix debugging failure in dbg_check_space_info<BR><A href="http://lists.infradead.org/pipermail/linux-mtd/2011-April/034692.html">http://lists.infradead.org/pipermail/linux-mtd/2011-April/034692.html</A></P>
<P>2. Oops when calling fsync on read-only file-system<BR><A href="http://lists.infradead.org/pipermail/linux-mtd/2011-April/034884.html">http://lists.infradead.org/pipermail/linux-mtd/2011-April/034884.html</A></P>
<P>3.[PATCH] UBIFS: handle allocation failures in UBIFS write path<BR><A href="http://lists.infradead.org/pipermail/linux-mtd/2011-March/034286.html">http://lists.infradead.org/pipermail/linux-mtd/2011-March/034286.html</A></P>
<P>4. [PATCH] [93/106] UBIFS: fix master node recovery<BR><A href="http://lkml.indiana.edu/hypermail/linux/kernel/1104.3/01215.html">http://lkml.indiana.edu/hypermail/linux/kernel/1104.3/01215.html</A></P>
<P>5. Patchwork ubi : kernel panic on erroneous block<BR><A href="http://patchwork.ozlabs.org/patch/61368/">http://patchwork.ozlabs.org/patch/61368/</A></P>
<P><crash case 1><BR>[ 1.750000] UBI: attaching mtd5 to ubi1<BR>[ 1.755000] UBI: physical eraseblock size: 131072 bytes (128 KiB)<BR>[ 1.760000] UBI: logical eraseblock size: 129024 bytes<BR>[ 1.765000] UBI: smallest flash I/O unit: 2048<BR>[ 1.770000] UBI: sub-page size: 512<BR>[ 1.775000] UBI: VID header offset: 512 (aligned 512)<BR>[ 1.780000] UBI: data offset: 2048<BR>[ 2.075000] UBI: attached mtd5 to ubi1<BR>[ 2.080000] UBI: MTD device name: "Android RW"<BR>[ 2.085000] UBI: MTD device size: 150 MiB<BR>[ 2.090000] UBI: number of good PEBs: 1200<BR>[ 2.095000] UBI: number of bad PEBs: 0<BR>[ 2.100000] UBI: max. allowed volumes: 128<BR>[ 2.105000] UBI: wear-leveling threshold: 4096<BR>[ 2.110000] UBI: number of internal volumes: 1<BR>[ 2.110000] UBI: number of user volumes: 1<BR>[ 2.115000] UBI: available PEBs: 0<BR>[ 2.120000] UBI: total number of reserved PEBs: 1200<BR>[ 2.125000] UBI: number of PEBs reserved for bad PEB handling: 24<BR>[ 2.130000] UBI: max/mean erase counter: 24/9<BR>[ 2.135000] UBI: image sequence number: 0<BR>[ 2.140000] UBI: background thread "ubi_bgt1d" started, PID 1746<BR>[ 2.195000] UBIFS: recovery needed<BR>[ 2.225000] UBIFS: recovery completed<BR>[ 2.230000] UBIFS: mounted UBI device 1, volume 0, name "rootfs"<BR>[ 2.235000] UBIFS: file system size: 149796864 bytes (146286 KiB, 142 MiB, 1161 LEBs)<BR>[ 2.240000] UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)<BR>[ 2.245000] UBIFS: media format: w4/r0 (latest is w4/r0)<BR>[ 2.250000] UBIFS: default compressor: lzo<BR>[ 2.255000] UBIFS: reserved for root: 0 bytes (0 KiB)<BR>[ 2.335000] UBI error: ubi_io_read: error -74 while reading 128 bytes from PEB 385:3280, read 128 bytes<BR>[ 2.400000] UBI error: ubi_io_read: error -74 while reading 128 bytes from PEB 385:3152, read 128 bytes<BR>....<BR>[ 5.965000] UBI error: ubi_io_read: error -74 while reading 68 bytes from PEB 385:2776, read 68 bytes<BR>[ 5.975000] UBIFS error (pid 1863): ubifs_check_node: bad CRC: calculated 0x6ef6c81c, read 0x2ef6c81c<BR>[ 5.980000] UBIFS error (pid 1863): ubifs_check_node: bad node at LEB 22:728<BR>[ 5.990000] UBIFS error (pid 1863): ubifs_read_node: expected node type 9<BR>[ 6.000000] UBIFS warning (pid 1863): ubifs_ro_mode: switched to read-only mode, error -117<BR>[ 6.010000] [<c002c560>] (unwind_backtrace+0x0/0x164) from [<c019f174>] (ubifs_ro_mode+0x5c/0x78)<BR>[ 6.015000] [<c019f174>] (ubifs_ro_mode+0x5c/0x78) from [<c01a8470>] (ubifs_garbage_collect+0x2c8/0x328)<BR>[ 6.025000] [<c01a8470>] (ubifs_garbage_collect+0x2c8/0x328) from [<c01960a4>] (make_reservation+0x100/0x34c)<BR>[ 6.035000] [<c01960a4>] (make_reservation+0x100/0x34c) from [<c0196988>] (ubifs_jnl_write_data+0x114/0x1f8)<BR>[ 6.040000] [<c0196988>] (ubifs_jnl_write_data+0x114/0x1f8) from [<c01986cc>] (do_writepage+0x84/0x174)<BR>[ 6.050000] [<c01986cc>] (do_writepage+0x84/0x174) from [<c0084e68>] (__writepage+0x14/0x5c)<BR>[ 6.060000] [<c0084e68>] (__writepage+0x14/0x5c) from [<c0085600>] (write_cache_pages+0x254/0x354)<BR>[ 6.105000] [<c0085600>] (write_cache_pages+0x254/0x354) from [<c007fe18>] (__filemap_fdatawrite_range+0x60/0x68)<BR>[ 6.125000] [<c007fe18>] (__filemap_fdatawrite_range+0x60/0x68) from [<c007fe54>] (filemap_write_and_wait_range+0x34/0x68)<BR>[ 6.130000] [<c007fe54>] (filemap_write_and_wait_range+0x34/0x68) from [<c00caa70>] (vfs_fsync_range+0x34/0x7c)<BR>[ 6.155000] [<c00caa70>] (vfs_fsync_range+0x34/0x7c) from [<c00cab50>] (vfs_fsync+0x20/0x28)<BR>[ 6.170000] [<c00cab50>] (vfs_fsync+0x20/0x28) from [<c00cab78>] (do_fsync+0x20/0x34)<BR>[ 6.180000] [<c00cab78>] (do_fsync+0x20/0x34) from [<c00267c0>] (ret_fast_syscall+0x0/0x30)</P>
<P><crash case 2><BR>[ 1.840000] UBI: attaching mtd5 to ubi1<BR>[ 1.840000] UBI: physical eraseblock size: 131072 bytes (128 KiB)<BR>[ 1.845000] UBI: logical eraseblock size: 129024 bytes<BR>[ 1.850000] UBI: smallest flash I/O unit: 2048<BR>[ 1.855000] UBI: sub-page size: 512<BR>[ 1.855000] UBI: VID header offset: 512 (aligned 512)<BR>[ 1.860000] UBI: data offset: 2048<BR>[ 2.165000] UBI: attached mtd5 to ubi1<BR>[ 2.170000] UBI: MTD device name: "Android RW"<BR>[ 2.175000] UBI: MTD device size: 150 MiB<BR>[ 2.180000] UBI: number of good PEBs: 1200<BR>[ 2.185000] UBI: number of bad PEBs: 0<BR>[ 2.190000] UBI: max. allowed volumes: 128<BR>[ 2.195000] UBI: wear-leveling threshold: 4096<BR>[ 2.200000] UBI: number of internal volumes: 1<BR>[ 2.205000] UBI: number of user volumes: 1<BR>[ 2.210000] UBI: available PEBs: 0<BR>[ 2.215000] UBI: total number of reserved PEBs: 1200<BR>[ 2.220000] UBI: number of PEBs reserved for bad PEB handling: 24<BR>[ 2.225000] UBI: max/mean erase counter: 104/16<BR>[ 2.230000] UBI: image sequence number: 0<BR>[ 2.230000] UBI: background thread "ubi_bgt1d" started, PID 1746<BR>[ 2.280000] UBIFS: recovery needed<BR>[ 2.400000] UBIFS error (pid 1747): ubifs_recover_leb: corrupt empty space LEB 189:83968, corruption starts at 2048<BR>[ 2.405000] UBIFS error (pid 1747): ubifs_scanned_corruption: corruption at LEB 189:2048<BR>[ 2.415000] UBIFS error (pid 1747): ubifs_recover_leb: LEB 189 scanning failed</P>
<P> </P>
<P> </P><!--SP:yw100.lee-->
<TABLE style="LINE-HEIGHT: 150%; FONT-FAMILY: ±¼¸²Ã¼,arial; FONT-SIZE: 9pt" border=0 cellSpacing=0 cellPadding=0 width=527>
<TBODY>
<TR>
<TD style="LINE-HEIGHT: 150%; FONT-FAMILY: ±¼¸²Ã¼,arial; FONT-SIZE: 9pt" borderColor=silver width=268 align=middle>
<P style="TEXT-ALIGN: center" align=center> <EMBED height=188 type=application/x-shockwave-flash width=225 src=http://www.prinity.com/microsite/controlp/banner/controlp_banner3.swf> </P></TD>
<TD style="LINE-HEIGHT: 150%; FONT-FAMILY: ±¼¸²Ã¼,arial; FONT-SIZE: 9pt" borderColor=silver width=259 align=left>
<P><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#3452b0><SPAN style="FONT-FAMILY: Verdana"><B>Lee, Yang-Woo</B></SPAN></FONT></P>
<P><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#333333><SPAN style="FONT-FAMILY: Verdana">S/W R&D Group 2<BR>Digital Printing Division</SPAN></FONT><FONT color=#333333><B> </B><BR></FONT><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#333333><SPAN style="FONT-FAMILY: Verdana">Digital Media Business</SPAN></FONT></P>
<P> </P>
<P><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#3452b0><B><SPAN style="FONT-FAMILY: Verdana">SAMSUNG ELECTRONICS CO.,LTD<BR></SPAN></B></FONT></P>
<P><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#666666><SPAN style="FONT-FAMILY: Verdana">TEL : 82-31-277-9248</SPAN></FONT><FONT color=#666666> <BR>yw100</FONT><FONT color=#666666 face=Tahoma>.lee</FONT><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#666666 face=Tahoma><SPAN style="FONT-FAMILY: Verdana">@samsung.com</SPAN></FONT></P></TD></TR></TBODY></TABLE><!--wh.seo:EP--> <!--yw100.lee:EP-->
<P> </P></X-BODY>
<P> </P>
<P> </P><!--SP:yw100.lee-->
<TABLE style="LINE-HEIGHT: 150%; FONT-FAMILY: ±¼¸²Ã¼,arial; FONT-SIZE: 9pt" border=0 cellSpacing=0 cellPadding=0 width=527>
<TBODY>
<TR>
<TD style="LINE-HEIGHT: 150%; FONT-FAMILY: ±¼¸²Ã¼,arial; FONT-SIZE: 9pt" borderColor=silver width=268 align=middle>
<P style="TEXT-ALIGN: center" align=center> <EMBED height=188 type=application/x-shockwave-flash width=225 src=http://www.prinity.com/microsite/controlp/banner/controlp_banner3.swf> </P></TD>
<TD style="LINE-HEIGHT: 150%; FONT-FAMILY: ±¼¸²Ã¼,arial; FONT-SIZE: 9pt" borderColor=silver width=259 align=left>
<P><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#3452b0><SPAN style="FONT-FAMILY: Verdana"><B>Lee, Yang-Woo</B></SPAN></FONT></P>
<P><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#333333><SPAN style="FONT-FAMILY: Verdana">S/W R&D Group 2<BR>Digital Printing Division</SPAN></FONT><FONT color=#333333><B> </B><BR></FONT><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#333333><SPAN style="FONT-FAMILY: Verdana">Digital Media Business</SPAN></FONT></P>
<P> </P>
<P><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#3452b0><B><SPAN style="FONT-FAMILY: Verdana">SAMSUNG ELECTRONICS CO.,LTD<BR></SPAN></B></FONT></P>
<P><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#666666><SPAN style="FONT-FAMILY: Verdana">TEL : 82-31-277-9248</SPAN></FONT><FONT color=#666666> <BR>yw100</FONT><FONT color=#666666 face=Tahoma>.lee</FONT><FONT style="FONT-FAMILY: Verdana; FONT-SIZE: 12px" color=#666666 face=Tahoma><SPAN style="FONT-FAMILY: Verdana">@samsung.com</SPAN></FONT></P></TD></TR></TBODY></TABLE><!--wh.seo:EP--> <!--yw100.lee:EP-->
<P> </P>
<TABLE id=confidentialsignimg>
<TBODY>
<TR>
<TD NAMO_LOCK>
<P><IMG border=0 src="cid:A6X7LP7KBSL8@namo.co.kr" width=520></P></TD></TR></TBODY></TABLE></BODY></HTML><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=b7160a6004eef3aee48c9fb7bdd431ca607071ac956ff2f473ea5b7fa939318792294694e37fae6229eb62efa68a00e3d3be83cd393095bc49e5ff3dfdc8681d76f80bf81d31c863cf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'>