Date: Thu, 30 Sep 2004 22:58:50 -0400 From: Ken Smith <kensmith@cse.Buffalo.EDU> To: Scott Long <scottl@freebsd.org> Cc: Tristan <tris@infoeng.flinders.edu.au> Subject: Re: ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=xxx Message-ID: <20041001025849.GA1394@electra.cse.Buffalo.EDU> In-Reply-To: <415CB8D7.7050202@FreeBSD.org> References: <20041001093515.5cd51b2d@rhino> <20041001005227.GA28811@electra.cse.Buffalo.EDU> <20041001032838.A88228@newtrinity.zeist.de> <20041001112104.4bfcd1eb@rhino> <415CB8D7.7050202@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <marius@alchemy.franken.de> 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 <ST315310A/3.28> [29651/16/63] at ata2-master UDMA66 > >>>>acd0: CDRW <LTN486S/YSU1> at ata2-slave PIO4 > >>>>ata3-master: DMA limited to UDMA33, non-ATA66 cable or device > >>>>ad1: 39266MB <IBM-DTLA-305040/TW4OA60A> [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: <AcerLabs Aladdin UDMA66 controller> 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: <OFW PCI-PCI bridge> at device 5.0 on pci0 pci1: <OFW PCI bus> on pcib1 pci0: <display, VGA> at device 19.0 (no driver attached) Timecounters tick every 10.000 msec ad0: 19092MB <ST320011A/3.10> [38792/16/63] at ata2-master UDMA66 acd0: CDRW <LTN486S/Y3S2> 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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041001025849.GA1394>