From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Tue, 24 Jan 2017 08:38:13 +0100 Subject: Bad block Management Patch In-Reply-To: <8c362ab6c4194debb9dcced1714cb368@SGPMBX1023.APAC.bosch.com> References: <159c1abb08b540a09fdd3d65a1e9daa6@SGPMBX1023.APAC.bosch.com> <20170124070950.GA13251@kroah.com> <8c362ab6c4194debb9dcced1714cb368@SGPMBX1023.APAC.bosch.com> Message-ID: <20170124073813.GA31455@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, Jan 24, 2017 at 07:15:33AM +0000, Anurag Raghavan (RBEI/ETW11) wrote: > Hi Greg, > > Thank You for the information. I have few more concerns here, > > I am facing the following uncorrectable ECC error, Can you suggest any kernel version or any patches to overcome this issue. > > > Error logs: > > [ 1.797141] UBI error: ubi_io_read: error -74 (ECC error) while reading 253952 bytes from PEB 445:8192, read 253952 bytes > [ 1.808274] UBIFS error (pid 491): ubifs_scan: corrupt empty space at LEB 489:233760 > [ 1.816037] UBIFS error (pid 491): ubifs_scanned_corruption: corruption at LEB 489:233760 > [ 1.828660] UBIFS error (pid 491): ubifs_scan: LEB 489 scanning failed > [ 1.835215] UBIFS warning (pid 491): ubifs_ro_mode: switched to read-only mode, error -117 > [ 1.843502] UBIFS error (pid 491): make_reservation: cannot reserve 58 bytes in jhead 2, error -117 > [ 1.852569] UBIFS error (pid 491): do_writepage: cannot write page 0 of inode 76584, error -117 > dpkg: error: unable to sync new file '/var/lib/dpkg/arch-new': Structure needs cleaning Are you sure your hardware isn't breaking down? Also, can you try the 4.9 kernel tree? Lots of ubifs changes have happened since 3.0 was released, over 5 years ago... thanks, greg k-h