From owner-freebsd-stable@FreeBSD.ORG Thu Dec 9 14:43:22 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E38D116A4CE for ; Thu, 9 Dec 2004 14:43:22 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CBE043D2F for ; Thu, 9 Dec 2004 14:43:22 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.1.102] (CPE000625f86c85-CM000e5c22aba0.cpe.net.cable.rogers.com [69.193.110.163] (may be forged)) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id iB9EjXXc021158; Thu, 9 Dec 2004 07:45:34 -0700 (MST) (envelope-from scottl@freebsd.org) Message-ID: <41B86489.8070306@freebsd.org> Date: Thu, 09 Dec 2004 07:43:21 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob References: <41B7E193.4090807@yahoo.com> In-Reply-To: <41B7E193.4090807@yahoo.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-stable@freebsd.org Subject: Re: hw.ata.ata_dma="0": can I do this during bootup at the loader prompt? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 14:43:23 -0000 Rob wrote: > > Hi, > > In /boot/loader.conf, I have > hw.ata.ata_dma="0" > to prevent a WRITE_DMA failure crash at bootup. > Unfortunately, this forces my UDMA100 harddisk to operate > at PIO4 speed. > > There are patches flying around on this mailing list that might > solve the problem. I'm very keen on testing such patches, but I > should remove the line in loader.conf. However, if the patch does > not work, I end up with an unbootable disk. > > It would be nice if I can set hw.ata.ata_dma="0" at the loader > prompt during bootup, so that the system at least will boot from > harddisk. Is that possible? > Yes, that's possible. Drop the loader to the prompt and do the following: set hw.ata.ata_dma=0 boot Scott