From owner-freebsd-stable@FreeBSD.ORG Mon Dec 13 14:09:56 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 ACD4E16A4CE for ; Mon, 13 Dec 2004 14:09:56 +0000 (GMT) Received: from zam151.fz-juelich.de (zam151.fz-juelich.de [134.94.100.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 028FA43D5D for ; Mon, 13 Dec 2004 14:09:56 +0000 (GMT) (envelope-from c.lackas@kfa-juelich.de) Received: by zam151.fz-juelich.de (Postfix, from userid 65534) id 815647318B; Mon, 13 Dec 2004 15:09:54 +0100 (CET) Received: from zel726.zel.kfa-juelich.de (localhost [127.0.0.1]) by zam151.fz-juelich.de (Postfix) with ESMTP id 2E1A572E57 for ; Mon, 13 Dec 2004 15:09:54 +0100 (CET) Received: from zel726.zel.kfa-juelich.de (localhost [127.0.0.1]) iBDE9rPg041507 for ; Mon, 13 Dec 2004 15:09:53 +0100 (CET) (envelope-from c.lackas@kfa-juelich.de) Received: (from lackas@localhost)iBDE9r7K041506 for freebsd-stable@freebsd.org; Mon, 13 Dec 2004 15:09:53 +0100 (CET) (envelope-from c.lackas@kfa-juelich.de) Date: Mon, 13 Dec 2004 15:09:53 +0100 From: Christian Lackas To: freebsd-stable@freebsd.org Message-ID: <20041213140953.GA41404@zel726.zel.kfa-juelich.de> References: <20041211120123.C9F7D16A4D6@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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: Mon, 13 Dec 2004 14:09:56 -0000 * Erik Hollensbe [041211 16:55]: Hi Erik, > > > I have to dispatch a > > > atacontrol mode 1 foo UDMA33 > > 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. > Note that you can put this in loader.conf as well - if you're having > trouble booting the system to do it, boot to "safe mode" - should get > you in. are you sure you can call atacontrol(1) from within loader.conf? I don't want to disable DMA (by setting hw.ata.ata_dma=0), just a slower DMA mode for a single device. Otherwise the fsck on this device will fail with read errors. I will try rc.early, thanks for the suggestion. Best regards Christian -- http://www.lackas.net/