From owner-freebsd-stable@FreeBSD.ORG Thu Dec 9 18:31:43 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 23A1C16A4CE for ; Thu, 9 Dec 2004 18:31:43 +0000 (GMT) Received: from zam151.fz-juelich.de (zam151.fz-juelich.de [134.94.100.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80C6D43D46 for ; Thu, 9 Dec 2004 18:31:42 +0000 (GMT) (envelope-from c.lackas@kfa-juelich.de) Received: by zam151.fz-juelich.de (Postfix, from userid 65534) id 2BD2772F99; Thu, 9 Dec 2004 19:31:41 +0100 (CET) Received: from zel726.zel.kfa-juelich.de (localhost [127.0.0.1]) by zam151.fz-juelich.de (Postfix) with ESMTP id D359472F07 for ; Thu, 9 Dec 2004 19:31:40 +0100 (CET) Received: from zel726.zel.kfa-juelich.de (localhost [127.0.0.1]) iB9IVePg076924 for ; Thu, 9 Dec 2004 19:31:40 +0100 (CET) (envelope-from c.lackas@kfa-juelich.de) Received: (from lackas@localhost)iB9IVeMd076923 for freebsd-stable@freebsd.org; Thu, 9 Dec 2004 19:31:40 +0100 (CET) (envelope-from c.lackas@kfa-juelich.de) Date: Thu, 9 Dec 2004 19:31:40 +0100 From: Christian Lackas To: freebsd-stable@freebsd.org Message-ID: <20041209183140.GB2679@zel726.zel.kfa-juelich.de> References: <41B7E193.4090807@yahoo.com> <41B86489.8070306@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41B86489.8070306@freebsd.org> X-Accept-Language: de en Organization: Forschungszentrum Juelich X-Url: X-PGP-Fingerprint: E78C 1105 710D D01A 8D1C 5B86 BDF7 6FD4 AC64 9ED9 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on zam151.fz-juelich.de X-Spam-Level: X-Spam-Status: No, hits=-100.0 required=5.0 tests=USER_IN_WHITELIST autolearn=no version=2.63 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 18:31:43 -0000 * 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). Best regards Christian -- http://www.lackas.net/