Re: kernel BUG at drivers/block/ub.c:820!

From: Martin Schwidefsky
Date: Thu Apr 03 2008 - 11:19:51 EST


Hi Kiyoshi,

On Thu, 2008-04-03 at 11:08 -0500, Kiyoshi Ueda wrote:
> I believe the patch from Pete fixes this BUG():
> http://marc.info/?l=linux-usb&m=120613888005382&w=2
>
> Could you try that?

Just tested the patch and it indeed fixes the bug.

> Original ub driver was probably ignoring bio completion on BLOCK_PC,
> and I missed the conversion to blk_end_request for BLOCK_PC.
> Sorry about that.

Could we push this upstream for 2.6.25? It is a regression, I would
prefer to have a 2.6.25 that doesn't panic my machine when I attach a
USB stick..

Anyway, thanks for the patch. For now my machine is happy again :-)

--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/