lkml.org 
[lkml]   [2003]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: ide-scsi scheduling while atomic in linux-2.6.0-test11
    Date
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:59    [W:0.020 / U:2.120 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site