Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2000 17:09:23 +0200
From:      Samuel Tardieu <sam@inf.enst.fr>
To:        freebsd-current@freebsd.org
Subject:   Booting -CURRENT on Compaq Armada V300
Message-ID:  <2000-04-05-17-09-23%2Btrackit%2Bsam@inf.enst.fr>

next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2000-04-05-17-09-23%2Btrackit%2Bsam>