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>

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

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

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

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

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