Messages in this thread Patch in this message |  | | Date | Mon, 25 Feb 2002 07:02:55 -0600 | From | Stephen Lord <> | Subject | Re: [PATCH] only irq-safe atomic ops |
| |
Andrew Morton wrote:
> > >Unfortunately I seem to have found a bug in existing ext2, a bug >in existing block_write_full_page, a probable bug in the aic7xxx >driver, and an oops in the aic7xxx driver. So progress has slowed >down a bit :( >
Try this for the aic driver:
--- /export/xfs1/snapshots-2.5/linus-tree/linux/drivers/scsi/aic7xxx/aic7xxx_lin ux.c Sun Feb 10 19:50:15 2002 +++ linux/drivers/scsi/aic7xxx/aic7xxx_linux.c Sun Jan 27 21:08:28 2002 @@ -1646,6 +1646,7 @@ scb->platform_data->xfer_len = 0; ahc_set_residual(scb, 0); ahc_set_sense_residual(scb, 0); + scb->sg_count = 0; if (cmd->use_sg != 0) { struct ahc_dma_seg *sg; struct scatterlist *cur_seg; You will need to use ignore white space on this, I had to use cut and paste to get it into email.
We hit this once bio got introduced and we maxed out the request size for the driver. Justin has the code in his next aic version.
Steve
- 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/
|  |