Re: 2.6.23-rc8-mm2: OOPS in mmc on boot

From: Pierre Ossman
Date: Thu Oct 04 2007 - 03:28:58 EST


On Wed, 3 Oct 2007 23:16:59 -0700
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, 03 Oct 2007 23:11:02 -0700 Don Mullis <dwm@xxxxxxxx> wrote:
>
> > OOPS followed by a 3 minute timeout, then completion of boot.
> > Not seen if card (Kingston microSD adapter) is ejected; not seen in
> > 2.6.23-rc8. Running on a Dell XPS M1330 laptop.
> >

Impossible! My code is bug free!

> > [ 13.709831] EIP is at blk_rq_map_sg+0xc0/0x160
> > [ 13.711857] Call Trace:
> > [ 13.711971] [<f8c39e58>] mmc_queue_map_sg+0x28/0xc0 [mmc_block]
> > [ 13.712085] [<f8c396c9>] mmc_blk_issue_rq+0x199/0x780 [mmc_block]
> > [ 13.712193] [<f8c3a168>] mmc_queue_thread+0x78/0xe0 [mmc_block]

Seems to be in the handling of the bounce buffer. I don't see how any
of the parameters to blk_rq_map_sg() could be incorrect though, so I
suspect the problem is not in the mmc layer.

Don, is MMC_BLOCK_BOUNCE enabled? Could you try toggling it and see if
things change?

>
> This could be due to git-block changes (or a lack of them ;))
>

There are no pending patches, or recent changes that mess about in any
real way in there.

Don, when did this work last?

Rgds
Pierre

Attachment: signature.asc
Description: PGP signature