kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Bad block Management Patch
@ 2017-01-24  7:02 Anurag Raghavan (RBEI/ETW11)
  2017-01-24  7:09 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Anurag Raghavan (RBEI/ETW11) @ 2017-01-24  7:02 UTC (permalink / raw)
  To: kernelnewbies

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170124/c0059746/attachment-0001.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Bad block Management Patch
  2017-01-24  7:02 Bad block Management Patch Anurag Raghavan (RBEI/ETW11)
@ 2017-01-24  7:09 ` Greg KH
  2017-01-24  7:15   ` Anurag Raghavan (RBEI/ETW11)
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2017-01-24  7:09 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Bad block Management Patch
  2017-01-24  7:09 ` Greg KH
@ 2017-01-24  7:15   ` Anurag Raghavan (RBEI/ETW11)
  2017-01-24  7:38     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Anurag Raghavan (RBEI/ETW11) @ 2017-01-24  7:15 UTC (permalink / raw)
  To: kernelnewbies

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 at 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 at 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 at kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Bad block Management Patch
  2017-01-24  7:15   ` Anurag Raghavan (RBEI/ETW11)
@ 2017-01-24  7:38     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2017-01-24  7:38 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-24  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24  7:02 Bad block Management Patch Anurag Raghavan (RBEI/ETW11)
2017-01-24  7:09 ` Greg KH
2017-01-24  7:15   ` Anurag Raghavan (RBEI/ETW11)
2017-01-24  7:38     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).