From owner-freebsd-stable@FreeBSD.ORG Wed Apr 27 08:11:17 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41A6716A4CE for ; Wed, 27 Apr 2005 08:11:17 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE66443D31 for ; Wed, 27 Apr 2005 08:11:16 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so284888nzf for ; Wed, 27 Apr 2005 01:11:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bsxTZt0Ww79Y0okGA7aFCHxK6Ohuxxid58lLIIirtVKlIUc577fUE5JNIHhcIOWnnRHOhgOcQGOAEJ1I+ZJFYX9Cfpi4EmQIeh1eoztEZNPYa6J2R9u2lmwvYcV9HVOoW2KpnLEUe5w6cczni/I78wLoNs5LzoNK34EEv4KxSe0= Received: by 10.36.9.18 with SMTP id 18mr29936nzi; Wed, 27 Apr 2005 01:11:16 -0700 (PDT) Received: by 10.36.79.12 with HTTP; Wed, 27 Apr 2005 01:11:16 -0700 (PDT) Message-ID: Date: Wed, 27 Apr 2005 10:11:16 +0200 From: Arjan Van Leeuwen To: W C In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: cc: freebsd-stable@freebsd.org Subject: Re: VIA M1000 mini-itx system installation woes - WRITE_DMA error - cabling? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Arjan Van Leeuwen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 08:11:17 -0000 On 4/26/05, W C wrote: > Hi all, >=20 > I am attempting to install 5.3-R from cd (iso image download) and > sysinstall is failing > to write the chosen (Auto Layout) filesystem to disk, the Toshiba 80G on = the > primary ide channel as master. The error on vty1 is (from memory) ad0: > WRITE_DMA, error=3D84. > The drive is detected by BIOS as a UDMA100 device. There is nothing else= on > this IDE channel, and only a cd drive on the other IDE slot. >=20 > A search of -questions reveals this error is a UDMA mismatch, possible > caused by 80-pin cabling, and fixable with atacontrol ad0 udma33 pio bla = bla > bla. However, I do not yet have a running system to run atacontrol from,= as > I am installing. I have rooted around in the bios for an option to force > the drive to UDMA33 speed, to no avail. Does anyone know how I can work > around this problem and install FreeBSD to this neat little system? Do = I > have bad cabling, a bad drive, or ??? Yes, I had the same problem. If this is a 2.5" drive, it probably doesn't have a 80-pins cable. Force PIO mode for the install by entering at the boot prompt (option 6 in the boot loader menu): set hw.ata.ata_dma=3D"0" boot After you've installed the system, insert that line into /boot/loader.conf, and load up "atacontrol mode 0 udma33 udma33" as early as possible during the boot (try using /etc/rc.early, for example) to get it up to speed again. Arjan