From owner-freebsd-questions@FreeBSD.ORG Fri Apr 14 02:54:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9CDBE16A402 for ; Fri, 14 Apr 2006 02:54:52 +0000 (UTC) (envelope-from bc3910@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id E32F443D46 for ; Fri, 14 Apr 2006 02:54:51 +0000 (GMT) (envelope-from bc3910@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so2029106pyc for ; Thu, 13 Apr 2006 19:54:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=SIQr/+vugE47IPkzaPBBSHZccZLiSlwz6/qVZTRreaO3jAJGjx+DNAo88bf7Ay4R3sQmzVH2ph11WbkBWbd1Lb2tv+FL1zsQQlMraE829EgcxE3hO43FeRq++P1ZoO+rPWPAdWW8PuZkF/9OXUYefPIfoSX9zezT7h8qApQqaeg= Received: by 10.35.15.11 with SMTP id s11mr547464pyi; Thu, 13 Apr 2006 19:54:50 -0700 (PDT) Received: by 10.35.12.4 with HTTP; Thu, 13 Apr 2006 19:54:50 -0700 (PDT) Message-ID: <51257d370604131954n19904149j90c887f4df703be5@mail.gmail.com> Date: Thu, 13 Apr 2006 20:54:50 -0600 From: "Bryan Curl" To: freebsd-questions In-Reply-To: <200604101016.13863.daeg@houston.rr.com> MIME-Version: 1.0 References: <20060410142612.34022.qmail@web30607.mail.mud.yahoo.com> <200604101016.13863.daeg@houston.rr.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Drive errors on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 02:54:52 -0000 On 4/10/06, David J Brooks wrote: > > On Monday 10 April 2006 09:26, Bryan Curl wrote: > > --- Lowell Gilbert > > > > wrote: > > > Bryan Curl writes: > > > > My apologies if this is a repost. It seems either > > > > > > I > > > > > > > had a gmail problem or list never posted the > > > > > > question. > > > > > > > I have subscribed with another address to monitor > > > > problem. > > > > > > > > Anyway, here is my question again. > > > > > > > > I get the following errors from dmesg on one of my > > > > > > ide > > > > > > > drives on boot. > > > > Other similar drives dont error and are setup the > > > > > > same > > > > > > > in bios (except cylinder & block config of course) > > > > System and this drive seem to work fine otherwise. > > > > > > I > > > > > > > re-fdisk this one but it still does this error. > > > > > > > > FreeBSD 6.0-RELEASE-p6 #0: Tue Apr 4 09:43:53 MDT > > > > 2006 > > > > > > > > ad1: 1916MB at > > > > > > ata0-slave > > > > > > > WDMA2 > > > > ad1: FAILURE - READ_DMA status=3D51 > > > > error=3D10 LBA=3D3924359 > > > > ad1: FAILURE - READ_DMA status=3D51 > > > > error=3D10 LBA=3D3924343 > > > > ad1: FAILURE - READ_DMA status=3D51 > > > > error=3D10 LBA=3D3924356 > > > > ad1: FAILURE - READ_DMA status=3D51 > > > > error=3D10 LBA=3D3924359 > > > > > > This is probably a hardware problem. My first guess > > > would be > > > cabling. Try swapping the cable. And make sure > > > there is a master on > > > the bus if this one is probing as a slave. > > > > This is the primary slave drive. Primary master is the > > boot drive where OS lives. The master is cabled on the > > end connector and the slave is connected to the middle > > connector on the cable. > > > > The supplied documentation on the drive jumpers is > > vague at best. It only makes mention of one jumper > > (master or slave positions) There are 3 other jumpers > > on the drive that are not mentioned. > > > > Looks to me like DMA feature isn't working but I dont > > know if this is activated by a jumper or by firmware > > somehow. > > > > > > I dont know what causes these errors either. > > > > > > > > dc0: failed to force tx and rx to idle state > > > > dc0: failed to force tx and rx to idle state > > > > > > The driver tried to force the transmitter and > > > receiver to be "idle" > > > temporarily, and failed. There are a number of > > > different cases where > > > the driver tries to do this, so it's hard to guess > > > exactly what's > > > happening this time. Some of the relevant variables > > > are: whether this > > > happens at boot time, whether it happens after an > > > underrun or overrun, > > > and which real controller chip you have. > > > > I have seen this error on every FreeBSD installation I > > have ever had. To my knowledge, it never seemed to > > bother anything. I just hate watching errors scroll by. > > I solved this same error on my machine by adding > sysctl hw.ata.ata_dma=3D0 > to /boot/loader.conf > > That slows down drive access something fierce, but it worked for me. Once > the > machine has booted you may be able to turn DMA access back on with > atacontrol(8). > > The problem was ultimately solved for me by upgrading to 6.1-PRERELEASE. > > HTH, > David > -- > Sure God created the world in only six days, > but He didn't have an established user-base. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Writing a file to the drive the other day it coredumped. So I pulled the drive and booted to an old WIn98 foppy and partitioned and formatted the drive just to start from scratch, no problems indicated in that process. Then I CVSUPed to RELENG_6_1. No problems upgrading at all. I reinstalled the drive with a different cable and put it on the secondary slave position, and fdisk and labeled per sysinstall, full use, no MBR changes. I tried different bios settings like auto recognition, user defined, with LBA, Normal and Large Modes. No change. fsck /dev/ad3s1d looks good this time but same dmesg errors exists on boot. This an older Maxtor 72004 AP 2Gig Could be time for trashcan to take ownership. Any more ideas? -- -- Bryan bc3910 'at' gmail 'dot' com