From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp6-v.fe.bosch.de (smtp6-v.fe.bosch.de [IPv6:2a03:cc00:ff0:100::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3v6wrn66HPzDqHH for ; Tue, 24 Jan 2017 15:56:57 +1100 (AEDT) From: "Anurag Raghavan (RBEI/ETW11)" To: Boris Brezillon Subject: Bad block Management Patch Date: Tue, 24 Jan 2017 04:56:47 +0000 Message-ID: <8aa988fcc46c480d863cf4ee2ef40b2c@SGPMBX1023.APAC.bosch.com> Content-Type: multipart/alternative; boundary="_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_" MIME-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Boris, I am using kernel version-3.0.35 I am facing uncorrectable ECC error in ubifs. I am suspecting, it is becaus= e of bad blocks are not properly handled in my driver. Is there any patches available to handle the bad block in the specified ver= sion... Best regards Raghavan Anurag RBEI/ETW1 Tel. +91(422)667-4001 | Mobil 9986968950 --_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Boris,

 

 

I am using kernel version-3.0.35

I am facing uncorrectable ECC error in ubifs. I am su= specting, it is because of bad blocks are not properly handled in my driver= .

Is there any patches available to handle the bad bloc= k in the specified version…

 

 

Best regards

Raghavan Anurag
RBEI/ETW1

Tel. +91(422)667-4001 | Mobil 9986968950


--_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cVvzu-0005wx-D7 for linux-mtd@lists.infradead.org; Tue, 24 Jan 2017 07:58:36 +0000 Date: Tue, 24 Jan 2017 08:58:10 +0100 From: Boris Brezillon To: "Anurag Raghavan (RBEI/ETW11)" Cc: "linux-mtd@lists.infradead.org" Subject: Re: Bad block Management Patch Message-ID: <20170124085810.29afbfaf@bbrezillon> In-Reply-To: <8aa988fcc46c480d863cf4ee2ef40b2c@SGPMBX1023.APAC.bosch.com> References: <8aa988fcc46c480d863cf4ee2ef40b2c@SGPMBX1023.APAC.bosch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 24 Jan 2017 04:56:47 +0000 "Anurag Raghavan (RBEI/ETW11)" wrote: > Hi Boris, > > > 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... Is this a joke? Now you're not even adding the mailing list in Cc, and you keep giving too few information (I don't even remember what's your NAND controller). I suggested that you test a mainline kernel, and you keep asking for patches on top of a really old kernel. And by the way, don't expect us to do your job (you can use git log and try to apply the patches that seem relevant to you, but I clearly won't do that for you). So please stop asking us to fix your bugs unless you start listening to our suggestions, and the first one is to try a newer kernel (4.9 for example). Thanks, Boris From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot0-f196.google.com ([74.125.82.196]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cVwDX-0004yu-FS for linux-mtd@lists.infradead.org; Tue, 24 Jan 2017 08:12:42 +0000 Received: by mail-ot0-f196.google.com with SMTP id f9so18648005otd.0 for ; Tue, 24 Jan 2017 00:12:18 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20170124085810.29afbfaf@bbrezillon> References: <8aa988fcc46c480d863cf4ee2ef40b2c@SGPMBX1023.APAC.bosch.com> <20170124085810.29afbfaf@bbrezillon> From: Richard Weinberger Date: Tue, 24 Jan 2017 09:11:17 +0100 Message-ID: Subject: Re: Bad block Management Patch To: Boris Brezillon Cc: "Anurag Raghavan (RBEI/ETW11)" , "linux-mtd@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Raghavan Anurag, On Tue, Jan 24, 2017 at 8:58 AM, Boris Brezillon wrote: > On Tue, 24 Jan 2017 04:56:47 +0000 > "Anurag Raghavan (RBEI/ETW11)" wrote: > >> Hi Boris, >> >> >> 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... This is not how community support works. He happily help with recent kernels but debugging problems on outdated kernels with vendor patches applied is out of scope. What you expect from us is hard and takes a lot of time, we cannot do that for free in our spare time. -- Thanks, //richard From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Anurag Raghavan (RBEI/ETW11)" Subject: Bad block Management Patch Date: Tue, 24 Jan 2017 04:56:47 +0000 Message-ID: <8aa988fcc46c480d863cf4ee2ef40b2c__31488.3616440513$1485250736$gmane$org@SGPMBX1023.APAC.bosch.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0015669814==" Return-path: Received: from smtp6-v.fe.bosch.de (smtp6-v.fe.bosch.de [IPv6:2a03:cc00:ff0:100::2]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E9306E0EF for ; Tue, 24 Jan 2017 04:56:53 +0000 (UTC) Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Boris Brezillon List-Id: dri-devel@lists.freedesktop.org --===============0015669814== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_" --_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Boris, I am using kernel version-3.0.35 I am facing uncorrectable ECC error in ubifs. I am suspecting, it is becaus= e of bad blocks are not properly handled in my driver. Is there any patches available to handle the bad block in the specified ver= sion... Best regards Raghavan Anurag RBEI/ETW1 Tel. +91(422)667-4001 | Mobil 9986968950 --_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Boris,

 

 

I am using kernel version-3.0.35

I am facing uncorrectable ECC error in ubifs. I am su= specting, it is because of bad blocks are not properly handled in my driver= .

Is there any patches available to handle the bad bloc= k in the specified version…

 

 

Best regards

Raghavan Anurag
RBEI/ETW1

Tel. +91(422)667-4001 | Mobil 9986968950


--_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_-- --===============0015669814== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0015669814==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghavan.Anurag@in.bosch.com (Anurag Raghavan (RBEI/ETW11)) Date: Tue, 24 Jan 2017 07:02:25 +0000 Subject: Bad block Management Patch Message-ID: <159c1abb08b540a09fdd3d65a1e9daa6@SGPMBX1023.APAC.bosch.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Tue, 24 Jan 2017 08:09:50 +0100 Subject: Bad block Management Patch In-Reply-To: <159c1abb08b540a09fdd3d65a1e9daa6@SGPMBX1023.APAC.bosch.com> References: <159c1abb08b540a09fdd3d65a1e9daa6@SGPMBX1023.APAC.bosch.com> Message-ID: <20170124070950.GA13251@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghavan.Anurag@in.bosch.com (Anurag Raghavan (RBEI/ETW11)) Date: Tue, 24 Jan 2017 07:15:33 +0000 Subject: Bad block Management Patch In-Reply-To: <20170124070950.GA13251@kroah.com> References: <159c1abb08b540a09fdd3d65a1e9daa6@SGPMBX1023.APAC.bosch.com> <20170124070950.GA13251@kroah.com> Message-ID: <8c362ab6c4194debb9dcced1714cb368@SGPMBX1023.APAC.bosch.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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) 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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Anurag Raghavan (RBEI/ETW11)" Subject: Bad block Management Patch Date: Tue, 24 Jan 2017 04:56:47 +0000 Message-ID: <8aa988fcc46c480d863cf4ee2ef40b2c@SGPMBX1023.APAC.bosch.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7833918454221197670==" Return-path: Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVtA5-0004lh-BX for xen-devel@lists.xenproject.org; Tue, 24 Jan 2017 04:56:53 +0000 Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Boris Brezillon List-Id: xen-devel@lists.xenproject.org --===============7833918454221197670== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_" --_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Boris, I am using kernel version-3.0.35 I am facing uncorrectable ECC error in ubifs. I am suspecting, it is becaus= e of bad blocks are not properly handled in my driver. Is there any patches available to handle the bad block in the specified ver= sion... Best regards Raghavan Anurag RBEI/ETW1 Tel. +91(422)667-4001 | Mobil 9986968950 --_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Boris,

 

 

I am using kernel version-3.0.35

I am facing uncorrectable ECC error in ubifs. I am su= specting, it is because of bad blocks are not properly handled in my driver= .

Is there any patches available to handle the bad bloc= k in the specified version…

 

 

Best regards

Raghavan Anurag
RBEI/ETW1

Tel. +91(422)667-4001 | Mobil 9986968950


--_000_8aa988fcc46c480d863cf4ee2ef40b2cSGPMBX1023APACboschcom_-- --===============7833918454221197670== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============7833918454221197670==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anurag Raghavan (RBEI/ETW11) Date: Tue, 24 Jan 2017 04:56:47 +0000 Subject: [OpenRISC] Bad block Management Patch Message-ID: <8aa988fcc46c480d863cf4ee2ef40b2c@SGPMBX1023.APAC.bosch.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: openrisc@lists.librecores.org Hi Boris, 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: