Re: kernel 2.4.17 crashes on SCSI-errors

Jens Axboe (axboe@suse.de)
Thu, 3 Jan 2002 13:34:34 +0100


seeing an older post on linux-scsi, you might want to retry your test
with the aic7xxx nseg bug fixed. this is against 2.4.17, haven't checked
if it's applied in 2.4.18-pre1 -- if not, Marcelo please apply.

--- drivers/scsi/aic7xxx/aic7xxx_linux.c~ Thu Jan 3 13:32:33 2002
+++ drivers/scsi/aic7xxx/aic7xxx_linux.c Thu Jan 3 13:33:00 2002
@@ -1703,6 +1703,7 @@
cmd->request_buffer,
cmd->request_bufflen,
scsi_to_pci_dma_dir(cmd->sc_data_direction));
+ scb->sg_count = 0;
scb->sg_count = ahc_linux_map_seg(ahc, scb,
sg, addr,
cmd->request_bufflen);

-- 
Jens Axboe

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