* Re: Removed SD card causes kernel panic when a transfer is on-going.
[not found] <437bd5150905150145k6d750c7er89fa9b02749f738d@mail.gmail.com>
@ 2009-05-19 11:21 ` Pierre Ossman
0 siblings, 0 replies; only message in thread
From: Pierre Ossman @ 2009-05-19 11:21 UTC (permalink / raw)
To: yingchao li; +Cc: linux-omap, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 877 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-19 11:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <437bd5150905150145k6d750c7er89fa9b02749f738d@mail.gmail.com>
2009-05-19 11:21 ` Removed SD card causes kernel panic when a transfer is on-going Pierre Ossman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®