lkml.org 
[lkml]   [2009]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMMC layer regression with single-block controllers
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


\
 
 \ /
  Last update: 2009-03-23 10:45    [W:0.082 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site