From owner-freebsd-questions Mon Dec 9 11:12:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E79EC37B401 for ; Mon, 9 Dec 2002 11:12:44 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61BD643EB2 for ; Mon, 9 Dec 2002 11:12:44 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gB9JCbOd014455; Mon, 9 Dec 2002 13:12:37 -0600 (CST) (envelope-from dan) Date: Mon, 9 Dec 2002 13:12:36 -0600 From: Dan Nelson To: gagman@canada.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DMA check causes fatal trap exception in FreeBSD 4.7 installation Message-ID: <20021209191234.GA4304@dan.emsphone.com> References: <20021209104515.21317.h005.c009.wm@mail.canada.com.criticalpath.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021209104515.21317.h005.c009.wm@mail.canada.com.criticalpath.net> X-OS: FreeBSD 5.0-RC X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Dec 09), gagman@canada.com said: > I have a Pentium 533 MHz machine with 2 hard drives (10GB and 2GB). > Both drives are manufactured by Fujitsu. The Bios detects that the > first drive uses UDMA 4 and the second drive uses UDMA 2. When I run > hdparm tests on the drives with DMA turned on, my whole system > freezes up but the tests run fine on the second drive. In addition, > hdparm -i doesn't list UDMA-4 as one of the DMA modes for the first > drive. Now that I have given you the scenario, I would like to ask > you how can I disable the DMA check during FreeBSD installation as it > seems to be causing a fatal trap exception during the DMA check? Right at the bneginning of the boot process, you'll see a line that says: Hit [Enter] to boot immediately, or any other key for command prompt. Hit space there, then at the prompt, enter "set hw.ata.ata_dma=0", then enter "boot" to continue the boot process. Once the system is installed, edit (or create) the file /boot/loader.conf and put the line "hw.ata.ata_dma=0" in it. That should keep FreeBSD from trying to use DMA mode on the hard drives. You might want to check your cabling setup and BIOS versions, though. A DMA test shouldn't lock up the system. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message