Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 10:11:16 +0200
From:      Arjan Van Leeuwen <avleeuwen@gmail.com>
To:        W C <woodycarey@hotmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: VIA M1000 mini-itx system installation woes - WRITE_DMA error - cabling?
Message-ID:  <d86b487305042701114ba75409@mail.gmail.com>
In-Reply-To: <BAY102-F266489846554E24E0A0F95C9210@phx.gbl>
References:  <BAY102-F266489846554E24E0A0F95C9210@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/26/05, W C <woodycarey@hotmail.com> wrote:
> Hi all,
>=20
> I am attempting to install 5.3-R from cd (iso image download)  and
> sysinstall is failing
> to write the chosen (Auto Layout) filesystem to disk, the Toshiba 80G on =
the
> primary ide channel as master.   The error on vty1 is (from memory) ad0:
> WRITE_DMA, error=3D84.
> The drive is detected by BIOS as a UDMA100 device.  There is nothing else=
 on
> this IDE channel, and only a cd drive on the other IDE slot.
>=20
> A search of -questions reveals this error is a UDMA mismatch, possible
> caused by 80-pin cabling, and fixable with atacontrol ad0 udma33 pio bla =
bla
> bla.  However, I do not yet have a running system to run atacontrol from,=
 as
> I am installing.  I have rooted around in the bios for an option to force
> the drive to UDMA33 speed, to no avail.  Does anyone know how I can work
> around this problem and  install FreeBSD to this neat little system?  Do =
I
> have bad cabling, a bad drive, or ???

Yes, I had the same problem.

If this is a 2.5" drive, it probably doesn't have a 80-pins cable.
Force PIO mode for the install by entering at the boot prompt (option
6 in the boot loader menu):
  set hw.ata.ata_dma=3D"0"
  boot

After you've installed the system, insert that line into
/boot/loader.conf, and load up "atacontrol mode 0 udma33 udma33" as
early as possible during the boot (try using /etc/rc.early, for
example) to get it up to speed again.

Arjan



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