From owner-freebsd-hardware@FreeBSD.ORG Fri Jan 2 02:46:56 2009 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92E5D106566B for ; Fri, 2 Jan 2009 02:46:56 +0000 (UTC) (envelope-from rabe@uugrn.org) Received: from mail.uugrn.org (mail.uugrn.org [195.49.138.123]) by mx1.freebsd.org (Postfix) with ESMTP id E31038FC19 for ; Fri, 2 Jan 2009 02:46:55 +0000 (UTC) (envelope-from rabe@uugrn.org) Received: from rabe.uugrn.org (root@rabe.uugrn.org [195.49.138.102]) by mail.uugrn.org (8.14.3/8.13.8) with ESMTP id n022BI6T021071 for ; Fri, 2 Jan 2009 03:11:28 +0100 (CET) (envelope-from rabe@uugrn.org) Received: from daemon.ma.sigsys.de (rabe@rabe.uugrn.org [195.49.138.102]) by rabe.uugrn.org (8.14.3/8.13.8) with ESMTP id n022BFTm021067 for ; Fri, 2 Jan 2009 03:11:15 +0100 (CET) (envelope-from rabe@uugrn.org) Received: from daemon.ma.sigsys.de (localhost.ma.sigsys.de [127.0.0.1]) by daemon.ma.sigsys.de (8.14.3/8.14.2) with ESMTP id n022BTri010180 for ; Fri, 2 Jan 2009 03:11:29 +0100 (CET) (envelope-from rabe@uugrn.org) Received: (from rabe@localhost) by daemon.ma.sigsys.de (8.14.3/8.14.2/Submit) id n022BTii010179 for freebsd-hardware@freebsd.org; Fri, 2 Jan 2009 03:11:29 +0100 (CET) (envelope-from rabe@uugrn.org) X-Authentication-Warning: daemon.ma.sigsys.de: rabe set sender to rabe@uugrn.org using -f Date: Fri, 2 Jan 2009 03:11:29 +0100 From: Raphael Becker To: freebsd-hardware@freebsd.org Message-ID: <20090102021129.GA7331@ma.sigsys.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: UDMA vs. VIA 82C686B X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2009 02:46:56 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I have had some problems with a VIA 82C686B UDMA100 controller with an attached 2.5" Harddisk (Samsung-foo, 40GB) running 7.1-RELEASE (GENERIC): UDMA-access is not possible even tough the HDD is able to do (in my Laptop) and the controller claims to support UDMA100.=20 I tried a CF-Card with the same hardware running 6.2 or 6.3-RELEASE with the same effect: some bad g_vfs-errors. I got around this problem by adding (at least one of) the lines to=20 /boot/loader.conf: hw.ata.atapi_dma=3D0 hw.ata.ata_dma=3D0 Is this a known issue?=20 Is there a workaround/patch for UDMA on this VIA-chipset? Do you need more details on it? It's kind of difficult to get the exact errors, because hw.ata.* seems to be a read-only ("boot-only") sysctl and I have limited (serial) access to the box. In case of hw.ata.ata_dma=3D1 I'm not able to unset this value in /boot/loader.conf because I cannot write to the disk because of the udma-errors then.=20 Regards Raphael --=20 Raphael Becker http://rabe.uugrn.org/ GnuPG: E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D =2E........|.........|.........|.........|.........|.........|.........|.. --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFJXXfRnNo+exDKny0RAv81AKDnfjoAE0WJP3eeIUwpdrS4NC+87QCg3jJt xHLkXRHkpyZpNtIy45RHZLc= =h8Vn -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--