From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 23:16:56 2005 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 0FA3A16A4CE for ; Wed, 9 Mar 2005 23:16:56 +0000 (GMT) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 827D743D41 for ; Wed, 9 Mar 2005 23:16:55 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 82589 invoked from network); 9 Mar 2005 23:16:54 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 9 Mar 2005 23:16:54 -0000 X-pair-Authenticated: 200.115.214.28 Date: Wed, 9 Mar 2005 20:17:35 -0300 From: Alejandro Pulver To: Benjamin Keating Message-ID: <20050309201735.1210157f@ale.varnet.bsd> In-Reply-To: <20050309192449.1013fc93@ale.varnet.bsd> References: <781e2bc0050307150012c172a0@mail.gmail.com> <20050308103516.4b0b7698@ale.varnet.bsd> <781e2bc005030913144e77ab3c@mail.gmail.com> <20050309192449.1013fc93@ale.varnet.bsd> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions Subject: Re: Recompiling the Kernel for better ATA support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 23:16:56 -0000 On Wed, 9 Mar 2005 19:24:49 -0300 Alejandro Pulver wrote: > On Wed, 9 Mar 2005 13:14:39 -0800 > Benjamin Keating wrote: > > > Thank you very much for your help. > > > > You are welcome. > > > So this file would kick in after recompiling just the kernel. I was > > thinking more would need to be done, like the make world stuffage > > that I do not yet understand. > > > > Ben > > > > Notice that the kernel sources are in the 'sys' subdirectory under > '/usr/src'. A "make world" compiles and install the sources in all the > subdirectories of '/usr/src' (not only the kernel, that is in 'sys'). > For more information about the components of '/usr/src' (and all the > system) see 'man 7 hier'. > > Best Regards, > Ale Hello again, I did not notice it but there were other discussions about this (and I also had my own experience). You can also try the following (1 to 4 were copied from other posts): 1) Check if your hd is connected through a 80 pin ide cable (for UDMA133). 2) Try disabling or changing the UDMA speed in BIOS settings. 3) Try using 'atacontrol mode 0' or 'atacontrol mode 0 udma33 biospio' (as root). See 'man 8 atacontrol'. 4) Add the line 'hw.ata.ata_dma="0"' to '/boot/loader.conf'. I think it is a persistant version of the previous procedure. 5) In my case I had an 80 GB Samsung hard disk (with an 80 pin IDE cable) sharing the IDE channel with an internal Zip or CDROM (I tried with both) slave drive and had similar errors when enabling UDMA133 from the BIOS settings. There were a few errors even when disabling UDMA from BIOS. Finally I removed the Zip/CDROM, leaving the hard disk as the only drive in the IDE channel. Then the errors dissapeared even at the highest UDMA speed. I did not try with software ('atacontrol', etc.). Please let me know about the results you obtained. P.S.: when you reply to someone about a list discussion please CC it to the list. Best Regards, Ale