From owner-freebsd-current@FreeBSD.ORG Fri Oct 1 01:55:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F07EC16A4CE for ; Fri, 1 Oct 2004 01:55:26 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FEFD43D45 for ; Fri, 1 Oct 2004 01:55:26 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i911uIxG075096; Thu, 30 Sep 2004 19:56:18 -0600 (MDT) (envelope-from scottl@FreeBSD.org) Message-ID: <415CB8D7.7050202@FreeBSD.org> Date: Thu, 30 Sep 2004 19:54:31 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040831 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tristan References: <20041001093515.5cd51b2d@rhino> <20041001005227.GA28811@electra.cse.Buffalo.EDU> <20041001032838.A88228@newtrinity.zeist.de> <20041001112104.4bfcd1eb@rhino> In-Reply-To: <20041001112104.4bfcd1eb@rhino> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-current@FreeBSD.org Subject: Re: ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=xxx X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 01:55:27 -0000 Tristan wrote: > On Fri, 1 Oct 2004 03:28:38 +0200 > Marius Strobl wrote: > > >>On Thu, Sep 30, 2004 at 08:52:27PM -0400, Ken Smith wrote: >> >>>On Fri, Oct 01, 2004 at 09:35:15AM +0930, Tristan wrote: >>> >>> >>>>FreeBSD 6.0-CURRENT with GENERIC kernel built 27th Sep. >>>>On a SunBlade 100 I see these messages regularly when >>>>dma is enabled. The messages go away when I either use >>>>atacontrol to set the mode to PIO4 or set hw.ata.ata_dma to 0 >>>>I do get data corruption on the disk if left in DMA mode. >>> >>>Just FYI my primary test machine is a SunBlade 100, it seems to >>>be doing OK with a kernel built from this morning's source. I've >>>been doing most of my builds from an NFS server though, I'll do >>>a check with a full buildworld which will use the local drive more. >>> >>> >>>>ad0: 14594MB [29651/16/63] at ata2-master UDMA66 >>>>acd0: CDRW at ata2-slave PIO4 >>>>ata3-master: DMA limited to UDMA33, non-ATA66 cable or device >>>>ad1: 39266MB [79780/16/63] at ata3-master UDMA33 >>>>Mounted root from ufs:/dev/ad0a. >>> >>>Is the data corruption spread across both drives, or just ad1? That >>>message about the cable or device being limited could be a clue. >>> >> >>Did you replace the cable of the primary channel? AFAIK on Blade 100 >>there's a hardware bug that causes data corruption when using UDMA66 >>and Sun ships them with a 40-pin cable as sort of a work-around. So >>these non-ATA66 cable messages should be rather normal on Blade 100. >>Not all revisions might be affected though. >> > > The primary channel is using the Sun Supplied cable, which appears > to be an 80 wire cable. The message about "non-ATA66 cable or device" > is expected because that cable is only a 40 wire cable. that seems to > be a non-issue anyway, as it is only ad0 that is having errors. > I've had a few people say to disconnect the CDROM and see what happens, > perhaps its also worth trying the CDROM in UDMA mode, so I'm not mixing > modes ? Detaching the CDROM would be an easy first test. The CDROM is likely wanting to use WDMA mode which itself can be problematic (and is why FreeBSD turns it off by default). Scott