Re: linux-next-20090225: ide-cd triggers BUG at arch/x86/mm/ioremap.c:80!

From: Borislav Petkov
Date: Thu Feb 26 2009 - 10:51:46 EST


Hi,

On Thu, Feb 26, 2009 at 3:29 PM, Bartlomiej Zolnierkiewicz
<bzolnier@xxxxxxxxx> wrote:
> On Thursday 26 February 2009, Tetsuo Handa wrote:
>> 2.6.29-rc6 is OK.
>
> Could you try to narrow down the issue by bisecting linux-next?

Can you also apply the following patch and send us the output?

Thanks.

--
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 9e19aec..fca6e64 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -918,6 +918,12 @@ static ide_startstop_t
ide_cd_do_request(ide_drive_t *drive, struct request *rq,

ide_init_sg_cmd(&cmd,
blk_fs_request(rq) ? (rq->nr_sectors << 9) : rq->data_len);
+
+ blk_dump_rq_flags(rq, "mapping rq to sg");
+
+ if ((unsigned long)rq->data < PAGE_OFFSET)
+ dump_stack();
+
ide_map_sg(drive, &cmd);

return ide_issue_pc(drive, &cmd);

--
Regards/Gruss,
Boris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/