Re: Oops with 2.4.9

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 27 Aug 2001 20:31:54 +0100 (BST)


> I have a problem with 2.4.9 (vanilla) and HP NetServer 5/100 LC
> (Pentium 133MHz) with Adaptec AIC 7770 EISA SCSI host adapter.
>
> The system also has one PCI card - Digital DS21140 Tulip rev 18 NIC.
>
> Here is the oops output from bootup (in attachment is .config):

Does this help

--- drivers/scsi/aic7xxx/aic7xxx_linux.c~ Sat Aug 11 23:50:55 2001
+++ drivers/scsi/aic7xxx/aic7xxx_linux.c Mon Aug 27 20:34:30 2001
@@ -788,10 +788,11 @@
* address). For this reason, we have to reset
* our dma mask when doing allocations.
*/
+ if(ahc->dev_softc)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,3)
- pci_set_dma_mask(ahc->dev_softc, 0xFFFFFFFF);
+ pci_set_dma_mask(ahc->dev_softc, 0xFFFFFFFF);
#else
- ahc->dev_softc->dma_mask = 0xFFFFFFFF;
+ ahc->dev_softc->dma_mask = 0xFFFFFFFF;
#endif
*vaddr = pci_alloc_consistent(ahc->dev_softc,
dmat->maxsize, &map->bus_addr);
-
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/