pas16 SCSI driver hangs at boot

Dick Streefland (dick_streefland@tasking.com)
Tue, 1 Sep 1998 12:29:11 +0200


Recent 2.1.XXX kernels (probably since 2.1.102) lock up during the bus
scan of the PAS16 SCSI driver. The machine hangs with interrupts
disabled. The following sti() seems to cure the problem, but I'm not
sure if this is a proper solution. Perhaps someone more familiar with
the code can take a look at this?

--- linux/drivers/scsi/NCR5380.c.orig Sun Jun 21 15:14:03 1998
+++ linux/drivers/scsi/NCR5380.c Tue Sep 1 00:28:14 1998
@@ -1825,6 +1825,7 @@
hostdata->selecting = 0; /* clear this pointer, because we passed the
waiting period */
#else
+ sti();
while ((jiffies < timeout) && !(NCR5380_read(STATUS_REG) &
(SR_BSY | SR_IO)));
#endif

-- 
Dick Streefland                      ////            Tasking Software BV
dick_streefland@tasking.com         (@ @)         http://www.tasking.com
--------------------------------oOO--(_)--OOo---------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html