From owner-freebsd-current@FreeBSD.ORG Fri Oct 1 02:58:59 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 C37C816A4CE; Fri, 1 Oct 2004 02:58:59 +0000 (GMT) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 564EB43D2F; Fri, 1 Oct 2004 02:58:59 +0000 (GMT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (localhost [127.0.0.1]) i912wuTH001602; Thu, 30 Sep 2004 22:58:57 -0400 (EDT) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i912wsIh001599; Thu, 30 Sep 2004 22:58:54 -0400 (EDT) Date: Thu, 30 Sep 2004 22:58:50 -0400 From: Ken Smith To: Scott Long Message-ID: <20041001025849.GA1394@electra.cse.Buffalo.EDU> References: <20041001093515.5cd51b2d@rhino> <20041001005227.GA28811@electra.cse.Buffalo.EDU> <20041001032838.A88228@newtrinity.zeist.de> <20041001112104.4bfcd1eb@rhino> <415CB8D7.7050202@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <415CB8D7.7050202@FreeBSD.org> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org cc: Tristan 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 02:58:59 -0000 On Thu, Sep 30, 2004 at 07:54:31PM -0600, Scott Long wrote: > 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. > > 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). Just for reference, this is pieces from a machine I've got here that doesn't *seem* to be having problems: FreeBSD 6.0-CURRENT #0: Thu Sep 30 09:54:31 EDT 2004 kensmith@s-dallas.cse.buffalo.edu:/home/csestaff/kensmith/Projects/timecounter/HEAD/sys/sparc64/compile/GENERIC atapci0: port 0xa20-0xa2f,0xa08-0xa0b,0xa10-0xa17,0xa18-0xa1b,0xa00-0xa07 at device 13.0 on pci0 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 pcib1: at device 5.0 on pci0 pci1: on pcib1 pci0: at device 19.0 (no driver attached) Timecounters tick every 10.000 msec ad0: 19092MB [38792/16/63] at ata2-master UDMA66 acd0: CDRW at ata2-slave UDMA33 Mounted root from ufs:/dev/ad0a. -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |