From owner-freebsd-stable@FreeBSD.ORG Thu Dec 9 11:47:12 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 2B4DC16A4CE for ; Thu, 9 Dec 2004 11:47:12 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC61743D49 for ; Thu, 9 Dec 2004 11:47:11 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: by rproxy.gmail.com with SMTP id 1so205251rny for ; Thu, 09 Dec 2004 03:47:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=dvrzqbzLmSDGRHX49iBRRR+67/DI7T1l8A4kFp2plwqHzuWbu/Jexm5a4mE/+42K7AjHZN5TaGy2HvkxWyTpkkduniUJ5T5ZpOSra7rwoVLrLzbZeffhuX5qQdQMyPkNsTeq/tmXbsUz78EvBb5463uSM743Nj+RsW94t6tl9Mo= Received: by 10.38.206.19 with SMTP id d19mr110947rng; Thu, 09 Dec 2004 03:47:10 -0800 (PST) Received: by 10.38.206.16 with HTTP; Thu, 9 Dec 2004 03:47:10 -0800 (PST) Message-ID: Date: Thu, 9 Dec 2004 12:47:10 +0100 From: Arjan Van Leeuwen To: Rob In-Reply-To: <41B7E193.4090807@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41B7E193.4090807@yahoo.com> 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 Reply-To: Arjan Van Leeuwen 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 11:47:12 -0000 On Thu, 09 Dec 2004 14:24:35 +0900, 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? > I'm not sure if I understand what you want, but you can use eg 'atacontrol mode udma33 udma33' to set your hard drive to UDMA-33 after the system has booted. Arjan