From owner-freebsd-stable@FreeBSD.ORG Sun Feb 12 18:13:57 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61B9610656B0 for ; Sun, 12 Feb 2012 18:13:57 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta13.emeryville.ca.mail.comcast.net (qmta13.emeryville.ca.mail.comcast.net [76.96.27.243]) by mx1.freebsd.org (Postfix) with ESMTP id 41B378FC14 for ; Sun, 12 Feb 2012 18:13:56 +0000 (UTC) Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta13.emeryville.ca.mail.comcast.net with comcast id Z6051i0041Y3wxoAD6Dwo2; Sun, 12 Feb 2012 18:13:56 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta15.emeryville.ca.mail.comcast.net with comcast id Z6Dv1i0054NgCEG8b6DvPZ; Sun, 12 Feb 2012 18:13:56 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q1CIDr9U036938; Sun, 12 Feb 2012 11:13:53 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Peter =?ISO-8859-1?Q?Ankerst=E5l?= In-Reply-To: References: <4F36D0DA.4050208@FreeBSD.org> Content-Type: text/plain; charset="ISO-8859-1" Date: Sun, 12 Feb 2012 11:13:53 -0700 Message-Id: <1329070433.7556.4.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.26.0 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org Subject: Re: Disable DMA. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2012 18:13:57 -0000 On Sun, 2012-02-12 at 10:29 +0100, Peter Ankerstål wrote: > On Feb 11, 2012, at 9:34 PM, Alexander Motin wrote: > > > On 02/11/12 20:15, Peter Ankerstål wrote: > >> In FreeBSD 8 i used the loader-variable hw.ata.ata_dma=0 to get my computer boot on a CF card. But > >> in FreeBSD 9.0 it doesn't seem to work. Could it be another variable or is it something else that doesn't work > >> in 9? The machine boots up the installer when the CF-card is not present but when it is present it stops right > >> after the "Timecounter" stuff. > > > > On 9.0 you can to it with > > hint.ata.X.mode=PIO4 > > , where X is a bus number. > > > > In recent 8/9-STABLE I've also resurrected hw.ata.ata_dma=0. > > > That works, thanks! It's also useful to try modes other than PIO4 when using the finer-grained mode= control. We've been disabling dma completely on SBCs with CF sockets for years due to the kind of lockup you mention, but I recently discovered that some units run just fine with mode=WDMA2 (but not any dma modes faster than that). -- Ian