Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2004 00:15:13 +0200
From:      Thomas Moestl <t.moestl@tu-bs.de>
To:        Pierre Beyssac <beyssac@enst.fr>
Cc:        sos@freebsd.org
Subject:   Re: can't install on Blade 150 (WRITE_DMA timeout)
Message-ID:  <20040513221513.GA982@timesink.dyndns.org>
In-Reply-To: <20040513170411.GA76991@bofh.enst.fr>
References:  <20040513170411.GA76991@bofh.enst.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, 2004/05/13 at 19:04:11 +0200, Pierre Beyssac wrote:
> I'm trying to get -current to install on a Sun Blade 150.
> 
> It boots fine, but the installation fails as soon as it tries to
> newfs the filesystems, with the following messages during the
> timeouts:
> [...]
> ad0: setting UDMA66 on AcerLabs Aladdin chip
> ata3: spurious interrupt - status=0x7f error=0x7f
> acd0: setting PIO4 on AcerLabs Aladdin chip
> ata2: device config done ..
> ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=192

I need to throttle the DMA mode to UDMA 2 on my Blade 100; the cable
it is shipped with is not UDMA-66 capable, but the driver does not
seem to detect that (also, replacing it with a proper cable does not
solve all issues; my theory is that the connector board is responsible
for that).
Maybe that is the case with your machine, too. In that case, the
attached hack should help.

	- Thomas

-- 
Thomas Moestl	<t.moestl@tu-bs.de>	http://www.tu-bs.de/~y0015675/
		<tmm@FreeBSD.org>	http://people.FreeBSD.org/~tmm/
"Fortunately, if we can't get inspiration, we'll accept entertainment."
						-- Calvin and Hobbes

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="acer.diff"

Index: dev/ata/ata-chipset.c
===================================================================
RCS file: /vol/ncvs/src/sys/dev/ata/ata-chipset.c,v
retrieving revision 1.70
diff -u -r1.70 ata-chipset.c
--- dev/ata/ata-chipset.c	24 Apr 2004 15:54:20 -0000	1.70
+++ dev/ata/ata-chipset.c	28 Apr 2004 13:15:23 -0000
@@ -361,7 +361,7 @@
     struct ata_chip_id *idx;
     static struct ata_chip_id ids[] =
     {{ ATA_ALI_5229, 0xc4, 0, ALINEW, ATA_UDMA5, "AcerLabs Aladdin" },
-     { ATA_ALI_5229, 0xc2, 0, ALINEW, ATA_UDMA4, "AcerLabs Aladdin" },
+     { ATA_ALI_5229, 0xc2, 0, ALINEW, ATA_UDMA2, "AcerLabs Aladdin" },
      { ATA_ALI_5229, 0x20, 0, ALIOLD, ATA_UDMA2, "AcerLabs Aladdin" },
      { ATA_ALI_5229, 0x00, 0, ALIOLD, ATA_WDMA2, "AcerLabs Aladdin" },
      { 0, 0, 0, 0, 0, 0}};

--bg08WKrSYDhXBjb5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040513221513.GA982>