public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MMC layer regression with single-block controllers
@ 2009-03-23  9:28 Manuel Lauss
  2009-03-24 20:01 ` Pierre Ossman
  0 siblings, 1 reply; 10+ messages in thread
From: Manuel Lauss @ 2009-03-23  9:28 UTC (permalink / raw)
  To: Pierre Ossman; +Cc: linux-kernel

Hello Pierre,

Since about 2.6.28-rc1, I hit the following BUG_ON() in mmc/core.c
(line 155):

        if (mrq->data) {
                BUG_ON(mrq->data->blksz > host->max_blk_size);
>>>>>>>>>       BUG_ON(mrq->data->blocks > host->max_blk_count);  <<<<<<
                BUG_ON(mrq->data->blocks * mrq->data->blksz >
                        host->max_req_size);

It's easy to reproduce; just set your favorite host controllers'
mmc->max_blk_cnt to 1 (or anything smaller than 4).  As far as I can
tell it was introduced with some block layer changes before 2.6.28-rc1
was released.

Thanks,
	Manuel Lauss

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-03-25 17:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23  9:28 MMC layer regression with single-block controllers Manuel Lauss
2009-03-24 20:01 ` Pierre Ossman
2009-03-25 10:48   ` Manuel Lauss
2009-03-25 11:04     ` Jens Axboe
2009-03-25 11:36       ` Pierre Ossman
2009-03-25 11:42         ` Jens Axboe
2009-03-25 15:53           ` Pierre Ossman
2009-03-25 16:14             ` Jens Axboe
2009-03-25 16:24               ` Pierre Ossman
2009-03-25 17:43                 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox