From owner-freebsd-sparc64@FreeBSD.ORG Thu May 1 09:40:01 2003 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 CCC0537B401; Thu, 1 May 2003 09:40:01 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C02243FBF; Thu, 1 May 2003 09:40:00 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.8/8.12.8) with ESMTP id h41GhHxS010478; Thu, 1 May 2003 12:43:17 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.8/8.12.8/Submit) id h41GhGj2010477; Thu, 1 May 2003 12:43:16 -0400 (EDT) Date: Thu, 1 May 2003 12:43:16 -0400 From: Jake Burkholder To: Brian Denehy , freebsd-sparc64@freebsd.org Message-ID: <20030501164316.GB95632@locore.ca> References: <20030501003341.GA969@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030501003341.GA969@crow.dom2ip.de> User-Agent: Mutt/1.4i Subject: Re: E450 panic - SNAP 20030423 5.0-Current 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, 01 May 2003 16:40:02 -0000 Apparently, On Thu, May 01, 2003 at 02:33:42AM +0200, Thomas Moestl said words to the effect of; > On Wed, 2003/04/30 at 17:30:03 +1000, Brian Denehy wrote: > > Hi folks, > > > > > > I'm trying to use sparc64 for the first time - any ideas on this problem? > > The CURRENT hardware release notes suggest it should boot. > > [...] > > Looks like you were might have been running out of DVMA; the attached > patch, which I will commit shortly, should fix that (getbaddrcb() in > sym does not detect errors reliably, so this is just an assumption). > Can you commit this so I can build a new snapshot for people with e450s to test? Thanks, Jake > Index: sparc64/sparc64/iommu.c > =================================================================== > RCS file: /d/ncvs/src/sys/sparc64/sparc64/iommu.c,v > retrieving revision 1.24 > diff -u -r1.24 iommu.c > --- sparc64/sparc64/iommu.c 10 Apr 2003 23:03:33 -0000 1.24 > +++ sparc64/sparc64/iommu.c 1 May 2003 00:33:10 -0000 > @@ -143,7 +143,7 @@ > /* > * Tuning constants. > */ > -#define IOMMU_MAX_PRE (128 * 1024) > +#define IOMMU_MAX_PRE (32 * 1024) > #define IOMMU_MAX_PRE_SEG 3 > > MALLOC_DEFINE(M_IOMMU, "dvmamem", "IOMMU DVMA Buffers"); > Index: sparc64/pci/psycho.c > =================================================================== > RCS file: /d/ncvs/src/sys/sparc64/pci/psycho.c,v > retrieving revision 1.31 > diff -u -r1.31 psycho.c > --- sparc64/pci/psycho.c 10 Apr 2003 23:03:33 -0000 1.31 > +++ sparc64/pci/psycho.c 1 May 2003 00:33:19 -0000 > @@ -571,7 +571,7 @@ > sc->sc_is->is_sb[1] = 0; > if (OF_getproplen(sc->sc_node, "no-streaming-cache") < 0) > sc->sc_is->is_sb[0] = sc->sc_pcictl + PCR_STRBUF; > - psycho_iommu_init(sc, 2); > + psycho_iommu_init(sc, 3); > } else { > /* Just copy IOMMU state, config tag and address */ > sc->sc_is = osc->sc_is; > Index: sparc64/sbus/sbus.c > =================================================================== > RCS file: /d/ncvs/src/sys/sparc64/sbus/sbus.c,v > retrieving revision 1.16 > diff -u -r1.16 sbus.c > --- sparc64/sbus/sbus.c 12 Apr 2003 06:43:28 -0000 1.16 > +++ sparc64/sbus/sbus.c 1 May 2003 00:33:44 -0000 > @@ -430,7 +430,7 @@ > * DMA pointer will be translated by the first page of the IOTSB. > * To detect bugs we'll allocate and ignore the first entry. > */ > - iommu_init(name, &sc->sc_is, 2, -1, 1); > + iommu_init(name, &sc->sc_is, 3, -1, 1); > > /* Enable the over-temperature and power-fail intrrupts. */ > rid = 0; > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org"