From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-gg0-f177.google.com ([209.85.161.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SZSYL-0007qT-2e for barebox@lists.infradead.org; Tue, 29 May 2012 19:58:01 +0000 Received: by ggcs5 with SMTP id s5so3297624ggc.36 for ; Tue, 29 May 2012 12:57:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20120529185755.GD30400@pengutronix.de> References: <20120529101450.GS30400@pengutronix.de> <20120529185755.GD30400@pengutronix.de> From: Roberto Nibali Date: Tue, 29 May 2012 21:57:38 +0200 Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4106565961100489614==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [BUG: barebox-git] failure at common/block.c:248/block_put()! To: Sascha Hauer Cc: barebox@lists.infradead.org --===============4106565961100489614== Content-Type: multipart/alternative; boundary=14dae9340cff602f3704c13240eb --14dae9340cff602f3704c13240eb Content-Type: text/plain; charset=ISO-8859-1 Hi > Data Write Failed in PIO Mode.imx-esdhc@imx-esdhc0: timeout 2 > > imx-esdhc@imx-esdhc0: timeout 1 > > imx-esdhc@imx-esdhc0: timeout 1 > > imx-esdhc@imx-esdhc0: timeout 1 > > block_cache: blk->ops->read returned -110 > > Ok, so your problem is inside the esdhc driver. Sorry, I don't know what > quirks we may need here. Might be worth looking at the kernel or U-Boot > to find out. I don't know where this driver comes from, however I have been revising the i.MX25 Chipset Errata and there are heaps of problems with regard to eSDHC. I will try to address some of them (for example WML related) and see if this fixes anything. > > BUG: failure at common/block.c:249/block_put()! > > BUG! > > Nevertheless we'll need a fix for this. I'll prepare a patch for this if > noone else is faster ;) Well, the BUG() is legit, I just seem to be the first to hit it. I am not sure how you want to fix it, because if it's an issue with regard to chipset errata, at least a warning has to be issues. Maybe BUG() is a bit excessive ;). Cheers Roberto > --14dae9340cff602f3704c13240eb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi

> Data Write Failed in PIO Mode.imx-esdhc@imx-esdhc0: timeout= 2
> imx-esdhc@imx-esdhc0: timeout 1
> imx-esdhc@imx-esdhc0: timeout 1
> imx-esdhc@imx-esdhc0: timeout 1
> block_cache: blk->ops->read returned -110

Ok, so your problem is inside the esdhc driver. Sorry, I don't kn= ow what
quirks we may need here. Might be worth looking at the kernel or U-Boot
to find out.

I don't know where this dr= iver comes from, however I have been revising the i.MX25 Chipset Errata and= there are heaps of problems with regard to eSDHC. I will try to address so= me of them (for example WML related) and see if this fixes anything.
=A0
> BUG: failure at common/block.c:249/block_put()!
> BUG!

Nevertheless we'll need a fix for this. I'll prepare a patch = for this if
noone else is faster ;)

Well, the BUG() is = legit, I just seem to be the first to hit it. I am not sure how you want to= fix it, because if it's an issue with regard to chipset errata, at lea= st a warning has to be issues. Maybe BUG() is a bit excessive ;).

Cheers
Roberto=A0
=A0
--14dae9340cff602f3704c13240eb-- --===============4106565961100489614== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============4106565961100489614==--