lkml.org 
[lkml]   [2009]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Removed SD card causes kernel panic when a transfer is on-going.
On Fri, 15 May 2009 16:45:06 +0800
yingchao li <rjn637@gmail.com> wrote:

> In my omap3430 board, when a transfer is on-going(i.e. reading from sd
> card), I unpluged directly sd card, then kernel panic.
>

Known issue unfortunately. Something is not properly reference counting
the block queue, but the handling in mmc_block is correct as far as I
can gather.

Your patch works around the problem by basically keeping a reference to
the queue longer than the driver needs (hiding any missing references
in other layers).

I've been trying to find this bug without much success. The block layer
isn't that easy to understand. :/

Rgds
--
-- Pierre Ossman

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-05-19 13:25    [W:0.048 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site