Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2009 03:11:29 +0100
From:      Raphael Becker <rabe@uugrn.org>
To:        freebsd-hardware@freebsd.org
Subject:   UDMA vs. VIA 82C686B
Message-ID:  <20090102021129.GA7331@ma.sigsys.de>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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. 

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 
/boot/loader.conf:

hw.ata.atapi_dma=0
hw.ata.ata_dma=0


Is this a known issue? 
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=1 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. 

Regards
Raphael

-- 
Raphael Becker          <rabe@uugrn.org>          http://rabe.uugrn.org/
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
.........|.........|.........|.........|.........|.........|.........|..

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFJXXfRnNo+exDKny0RAv81AKDnfjoAE0WJP3eeIUwpdrS4NC+87QCg3jJt
xHLkXRHkpyZpNtIy45RHZLc=
=h8Vn
-----END PGP SIGNATURE-----
help

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