As described in i386/17228, the following patch, which disables DMA on ATAPI
if not explicitely enabled, makes my Compaq Aramada V300 laptop able to boot
-CURRENT.

While this patch may not be correct, it shows once again that DMA is
playing an active role in the lockup described in the PR. I'll provide
detailled kernel information as soon as I've installed FreeBSD on the
laptop, now that I have working boot disks.

  Sam

Index: ata-dma.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/ata/ata-dma.c,v
retrieving revision 1.35
diff -u -r1.35 ata-dma.c
--- ata-dma.c   2000/03/05 16:52:24     1.35
+++ ata-dma.c   2000/04/05 14:35:02
@@ -70,6 +70,10 @@
     if (!scp->bmaddr)
        return;
 
+#ifndef ATA_ENABLE_ATAPI_DMA
+    return;
+#endif
+
     /* if simplex controller, only allow DMA on primary channel */
     if (scp->unit == 1) {
        outb(scp->bmaddr + ATA_BMSTAT_PORT, inb(scp->bmaddr + ATA_BMSTAT_PORT) &



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to