Messages in this thread |  | | From | Christian Borntraeger <> | Subject | Re: ide-scsi scheduling while atomic in linux-2.6.0-test11 | Date | Wed, 10 Dec 2003 08:03:29 +0100 |
| |
dan carpenter wrote: > > 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:
ide-scsi....ide-cd is working. > > 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. :/
First idea I have is to replace the spinlocks with semaphores.
cheers
CHristian
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |