From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 15:14:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9AE616A4CE for ; Mon, 9 Aug 2004 15:14:32 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CFA743D5D for ; Mon, 9 Aug 2004 15:14:31 +0000 (GMT) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: TYWeYpOvxZM4FGjtA3AM9A 1092064469 Received: from gentoo-npk.bmp.ub (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id 77A8EC1403F; Mon, 9 Aug 2004 11:14:29 -0400 (EDT) Received: from nkinkade by gentoo-npk.bmp.ub with local (Exim 4.21) id 1BuBq2-0002HL-F2; Mon, 09 Aug 2004 09:13:26 -0600 Date: Mon, 9 Aug 2004 09:13:26 -0600 From: Nathan Kinkade To: Stevan Tiefert Message-ID: <20040809151326.GW782@gentoo-npk.bmp.ub> References: <200408091110.40243.stevan.tiefert@freenet.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gn1ylXQ+YRNuZICZ" Content-Disposition: inline In-Reply-To: <200408091110.40243.stevan.tiefert@freenet.de> User-Agent: Mutt/1.5.6i Sender: cc: questions@freebsd.org Subject: Re: How to disable UDMA for HDD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 15:14:33 -0000 --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 [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--