From owner-freebsd-stable@FreeBSD.ORG Fri Dec 10 12:27:13 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 47CC816A4CE for ; Fri, 10 Dec 2004 12:27:13 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id E54BA43D55 for ; Fri, 10 Dec 2004 12:27:12 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: by rproxy.gmail.com with SMTP id 1so265048rny for ; Fri, 10 Dec 2004 04:27:12 -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=qbedJJLU4Aa/QYbb3gApINGebCaBnTAy0gE2gSAD1SqNN1lY1MlhpfkZ4N48mHDEQXmxGYIhLrzJaPU0ZQt7N4jr69SfxvbVDs87yIcoMfA8WSyC8LUikLvd/vv9KHmjKgmaV+n9clen0bOwp37fCfHHWjCHQX+/SaI92ijsYlw= Received: by 10.38.8.44 with SMTP id 44mr1205582rnh; Fri, 10 Dec 2004 04:27:12 -0800 (PST) Received: by 10.38.206.16 with HTTP; Fri, 10 Dec 2004 04:27:12 -0800 (PST) Message-ID: Date: Fri, 10 Dec 2004 13:27:12 +0100 From: Arjan Van Leeuwen To: Christian Lackas In-Reply-To: <20041209183140.GB2679@zel726.zel.kfa-juelich.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41B7E193.4090807@yahoo.com> <41B86489.8070306@freebsd.org> <20041209183140.GB2679@zel726.zel.kfa-juelich.de> 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: Fri, 10 Dec 2004 12:27:13 -0000 On Thu, 9 Dec 2004 19:31:40 +0100, Christian Lackas wrote: > * Scott Long [041209 15:59]: > > Hello, > > > > 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 > > btw: I have a similar problems, but not with the boot disc, but one of > my data drives, thus I want ata_dma enabled for the other discs. > > I have to dispatch a > > atacontrol mode 1 foo UDMA33 > > to set this drive (slave on second controller) to UDMA33 (otherwise it > would use UDMA100). But I have to do it before /etc/rc.d/fsck starts > accessing the device. Right now I've added above line to the beginning > of aforesaid script. > Is there a nicer/better place to tell the kernel (don't like editing the > rc-scripts). You can use /etc/rc.early for that. You'll have to create it if it doesn't yet exist. Put 'atacontrol mode 1 foo UDMA33' in it, and it should execute that command before mounting the drives. Best regards, Arjan > > Best regards > Christian > > -- > http://www.lackas.net/ > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >