Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2004 09:13:26 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        Stevan Tiefert <stevan.tiefert@freenet.de>
Cc:        questions@freebsd.org
Subject:   Re: How to disable UDMA for HDD?
Message-ID:  <20040809151326.GW782@gentoo-npk.bmp.ub>
In-Reply-To: <200408091110.40243.stevan.tiefert@freenet.de>
References:  <200408091110.40243.stevan.tiefert@freenet.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--gn1ylXQ+YRNuZICZ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 09, 2004 at 11:10:40AM +0200, Stevan Tiefert wrote:
> Hello,
>=20
> when I try to install FreeBSD 5.2.1 on my computer with HDD on ata0-maste=
r and=20
> CD-ROM on ata0-slave I got five interessting messages during the=20
> boot-process:
>=20
> ...
> ad0: 4124MB <SAMSUNG VA34323A> [8938/15/63] at ata0-master UDMA33
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=3D8446347
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=3D0
> ad0: WARNING - READ_DMA interrupt was seen but timeout fired LBA=3D8446347
> ad0: WARNING - READ_DMA interrupt was seen but taskqueue stalled LBA=3D84=
46347
>=20
> then the computer stops and he resists in this state till now...
> OpenBSD "downgrades" this DMA-thing automaticly and the CD-ROM seems not=
=20
> supporting UDMA and I assume to set at bootphase 3 a device.hint but I do=
n't=20
> know which one?
>=20
> With regards
> Mr.
> Stevan Tiefert

Here are the two pertinent sysctl variables for your ATA hard disk and
CDROM, respectively:

hw.ata.ata_dma: 1
hw.ata.atapi_dma: 0

These variables are read only once the kernel has been booted, so if you
want to try setting them manually you'll have to put them into
/boot/loader.conf as something like:

hw.ata.ata_dma=3D0

Nathan
--=20
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xD8527E49

--gn1ylXQ+YRNuZICZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBF5SWO0ZIEthSfkkRAnqEAKCb/zW2riiqmOsZ/vFNtJHKY854IgCgyVjq
4PPOeWPYmQ4UAIo59xal068=
=APh9
-----END PGP SIGNATURE-----

--gn1ylXQ+YRNuZICZ--



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