From owner-freebsd-questions@FreeBSD.ORG Fri May 30 01:54:22 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 1A20637B404 for ; Fri, 30 May 2003 01:54:22 -0700 (PDT) Received: from cfcl.com (cpe-24-221-172-174.ca.sprintbbd.net [24.221.172.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 332CD43F75 for ; Fri, 30 May 2003 01:54:21 -0700 (PDT) (envelope-from rdm@cfcl.com) Received: from [192.168.254.205] ([192.168.254.205]) by cfcl.com (8.12.6/8.11.1) with ESMTP id h4U8q6bq000502 for ; Fri, 30 May 2003 01:52:06 -0700 (PDT) (envelope-from rdm@cfcl.com) Mime-Version: 1.0 Message-Id: In-Reply-To: References: X-Mailer: Eudora for Macintosh! Date: Fri, 30 May 2003 01:54:17 -0700 To: freebsd-questions@freebsd.org From: Rich Morin Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 08:54:22 -0000 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. -r -- email: rdm@cfcl.com; phone: +1 650-873-7841 http://www.cfcl.com/rdm - my home page, resume, etc. http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc. http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection