From owner-freebsd-questions@FreeBSD.ORG Fri May 30 02:05:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0D9437B401 for ; Fri, 30 May 2003 02:05:48 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DFC743FA3 for ; Fri, 30 May 2003 02:05:48 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h4U95jD04595; Fri, 30 May 2003 02:05:45 -0700 From: Kent Stewart To: Rich Morin , freebsd-questions@freebsd.org Date: Fri, 30 May 2003 02:05:45 -0700 User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305300205.45549.kstewart@owt.com> Subject: Re: Boot problem: "ata0: resetting devices" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2003 09:05:49 -0000 On Friday 30 May 2003 01:54 am, Rich Morin wrote: > At 9:40 PM -0400 5/29/03, Jud wrote: > >This was a common problem along about 4.5-4.6. Upgrade to at least > >4.7, see if it helps; the cause of the common problem was fixed in > >4.7- prerelease. > > I've been running "FreeBSD 4.7-RELEASE" on my production system, so I > tried moving the disks over and booting. Same problem. > > One message I found on eht web indicated that I might be able to get > past the problem by disabling UltraDMA. Unfortunately: > > * There isn't any obvious way to do this in the AMIBIOS. > > * Setting hw.ata.ata_dma to 0 in /etc/sysctl.conf won't help, > because (from sysctl.conf(5)): > > The /etc/sysctl.conf file is read in when the system goes > into multi-user mode ... > > and the problem asserts itself while the system is still in > single-user mode. > > So, I decided to change line 90 of /usr/src/sys/dev/ataata-disk.c to: > > static int ata_dma = 0; > > This allowed the system to boot without (apparent) error, but I'd > still like to boot off a PCI-based ATA card, instead. > Did you try doing it in /boot/loader.conf. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html