Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 02:05:45 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        Rich Morin <rdm@cfcl.com>, freebsd-questions@freebsd.org
Subject:   Re: Boot problem: "ata0: resetting devices"
Message-ID:  <200305300205.45549.kstewart@owt.com>
In-Reply-To: <p05200f23bafcb33ef159@[192.168.254.205]>
References:  <p05200f16bafb423c7331@[192.168.254.205]> <oprpypl7pw0cf2rk@fastmail.fm> <p05200f23bafcb33ef159@[192.168.254.205]>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305300205.45549.kstewart>