From owner-freebsd-bugs@FreeBSD.ORG Tue Jul 29 07:42:50 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F77D1065679 for ; Tue, 29 Jul 2008 07:42:50 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp15.yandex.ru (smtp15.yandex.ru [77.88.32.85]) by mx1.freebsd.org (Postfix) with ESMTP id A1D1D8FC14 for ; Tue, 29 Jul 2008 07:42:49 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:25070 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S1377496AbYG2HPV (ORCPT ); Tue, 29 Jul 2008 11:15:21 +0400 X-Yandex-Spam: 1 X-Yandex-Front: smtp15 X-Yandex-TimeMark: 1217315721 X-MsgDayCount: 7 X-Comment: RFC 2476 MSA function at smtp15.yandex.ru logged sender identity as: bu7cher Message-ID: <488EC386.3020502@yandex.ru> Date: Tue, 29 Jul 2008 11:15:18 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: "Sergey N. Voronkov" References: <200807290520.m6T5K6nD086467@freefall.freebsd.org> <20080729063843.GD12671@tmn.ru> In-Reply-To: <20080729063843.GD12671@tmn.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@freebsd.org Subject: Re: kern/120177: [ata] ATA DMA modes don't work on CF cards X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2008 07:42:50 -0000 Sergey N. Voronkov wrote: >> Can you try to set UDMA33 or UDMA66 mode? >> If it will work you can try this patch: >> http://butcher.heavennet.ru/patches/kernel/ata/ata_limit_mode_from_device_hints.diff >> >> With this patch you can set mode in /boot/device.hints (or from loader >> prompt), for example: >> hint.ad.0.mode="UDMA33" >> hint.ad.1.mode="UDMA66" > > This can be done a bit simpler: > > echo atacontrol mode ad4 UDMA33>> /etc/rc.local Yes, you can. But you should booted with DMA disabled first. -- WBR, Andrey V. Elsukov