Bad block Management Patch
Hi All, I am using kernel version-3.0.35 I am facing uncorrectable ECC error in ubifs. I am suspecting, it is because of bad blocks are not properly handled in my driver. Is there any patches available to handle the bad block in the specified version... Best regards Raghavan Anurag RBEI/ETW1 Tel. +91(422)667-4001 | Mobil 9986968950
On Tue, Jan 24, 2017 at 07:02:25AM +0000, Anurag Raghavan (RBEI/ETW11) wrote:
Hi All,
I am using kernel version-3.0.35
That is very very old and obsolete and insecure. I strongly recommend you update to a modern and maintained kernel version in order to get any help from the community, and to ensure that your device actually works properly. If you are stuck at this kernel version because it is supported by a vendor, please contact them for support as you are paying them, and they are the only ones that can help you out. Good luck! greg k-h
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 Best regards Raghavan Anurag RBEI/ETW1 Tel. +91(422)667-4001 | Mobil 9986968950 -----Original Message----- From: kernelnewbies-bounces@kernelnewbies.org [mailto:kernelnewbies-bounces@kernelnewbies.org] On Behalf Of Greg KH Sent: Tuesday, January 24, 2017 12:40 PM To: Anurag Raghavan (RBEI/ETW11) <Raghavan.Anurag@in.bosch.com> Cc: Kernelnewbies@kernelnewbies.org Subject: Re: Bad block Management Patch On Tue, Jan 24, 2017 at 07:02:25AM +0000, Anurag Raghavan (RBEI/ETW11) wrote:
Hi All,
I am using kernel version-3.0.35
That is very very old and obsolete and insecure. I strongly recommend you update to a modern and maintained kernel version in order to get any help from the community, and to ensure that your device actually works properly. If you are stuck at this kernel version because it is supported by a vendor, please contact them for support as you are paying them, and they are the only ones that can help you out. Good luck! greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
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
participants (2)
-
Anurag Raghavan (RBEI/ETW11) -
Greg KH