From owner-freebsd-current Wed Apr 5 8: 9:49 2000 Delivered-To: freebsd-current@freebsd.org Received: from ada.eu.org (marvin.enst.fr [137.194.161.2]) by hub.freebsd.org (Postfix) with ESMTP id 52F1C37B65B for ; Wed, 5 Apr 2000 08:09:46 -0700 (PDT) (envelope-from sam@inf.enst.fr) Received: from antinea.enst.fr (antinea.enst.fr [137.194.160.145]) by ada.eu.org (Postfix) with ESMTP id D07721905C; Wed, 5 Apr 2000 17:09:23 +0200 (CEST) Received: by antinea.enst.fr (Postfix, from userid 1000) id AC05E539; Wed, 5 Apr 2000 17:09:23 +0200 (CEST) Date: Wed, 5 Apr 2000 17:09:23 +0200 To: freebsd-current@freebsd.org Subject: Booting -CURRENT on Compaq Armada V300 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i From: Samuel Tardieu Organization: Ecole Nationale Superieure des Telecommunications Reply-To: Samuel Tardieu Content-Transfer-Encoding: 8bit X-WWW: http://www.inf.enst.fr/~tardieu/ X-Mail-Processing: Sam's procmail tools X-ICQ: 21547599 Message-Id: <2000-04-05-17-09-23+trackit+sam@inf.enst.fr> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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