From owner-freebsd-sparc64@FreeBSD.ORG Thu May 13 15:15:16 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73BF516A4CE for ; Thu, 13 May 2004 15:15:16 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 7105F43D49 for ; Thu, 13 May 2004 15:15:13 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 15758 invoked by uid 65534); 13 May 2004 22:15:11 -0000 Received: from p50906F90.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.144.111.144) by mail.gmx.net (mp025) with SMTP; 14 May 2004 00:15:11 +0200 X-Authenticated: #5374206 Received: by abel (Postfix, from userid 1001) id F3A7D6B7; Fri, 14 May 2004 00:15:13 +0200 (CEST) Date: Fri, 14 May 2004 00:15:13 +0200 From: Thomas Moestl To: Pierre Beyssac Message-ID: <20040513221513.GA982@timesink.dyndns.org> References: <20040513170411.GA76991@bofh.enst.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <20040513170411.GA76991@bofh.enst.fr> User-Agent: Mutt/1.5.6i cc: freebsd-sparc64@freebsd.org cc: sos@freebsd.org Subject: Re: can't install on Blade 150 (WRITE_DMA timeout) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 22:15:16 -0000 --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 http://www.tu-bs.de/~y0015675/ 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--