[BUG: barebox-git] failure at common/block.c:248/block_put()!

Sascha Hauer s.hauer at pengutronix.de
Wed May 30 01:33:42 EDT 2012


On Tue, May 29, 2012 at 09:57:38PM +0200, Roberto Nibali wrote:
> Hi
> 
> > Data Write Failed in PIO Mode.imx-esdhc at imx-esdhc0: timeout 2
> > > imx-esdhc at imx-esdhc0: timeout 1
> > > imx-esdhc at imx-esdhc0: timeout 1
> > > imx-esdhc at 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.

The driver comes from U-Boot, but the kernel might also be a good source
to see where the i.MX25 gets special handling.

> 
> 
> > > 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 ;).

I only want to get rid of the BUG() (see the patches I just sent). Of
course this won't fix your problems with the driver.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list