Date: Fri, 30 May 2003 01:54:17 -0700 From: Rich Morin <rdm@cfcl.com> To: freebsd-questions@freebsd.org Subject: Re: Boot problem: "ata0: resetting devices" Message-ID: <p05200f23bafcb33ef159@[192.168.254.205]> In-Reply-To: <oprpypl7pw0cf2rk@fastmail.fm> References: <p05200f16bafb423c7331@[192.168.254.205]> <p05200f19bafb6d6590fd@[192.168.254.205]> <oprpypl7pw0cf2rk@fastmail.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05200f23bafcb33ef159>
