Re: ide-scsi scheduling while atomic in linux-2.6.0-test11

From: dan carpenter
Date: Wed Dec 10 2003 - 01:44:31 EST


On Tuesday 09 December 2003 09:30 pm, Bart Samwel wrote:
> [1.] One line summary of the problem:
>
> ide-scsi scheduling while atomic in linux-2.6.0-test11
>

You don't need ide-cd to burn cds in 2.6 so the easiest fix is to just stop
using ide-cd. Anyway, here is the buggy code that causes the problem:

drivers/scsi/ide-scsi.c
895: spin_lock_irqsave(&ide_lock, flags);
896: while (HWGROUP(drive)->handler) {
897: HWGROUP(drive)->handler = NULL;
898: schedule_timeout(1);
899: }

The fix is quite complicated and I don't know how to do it correctly. :/

regards,
dan carpenter


-
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/