E450 panic - SNAP 20030423 5.0-Current
Jake Burkholder
jake at locore.ca
Thu May 1 09:40:02 PDT 2003
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
> To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe at freebsd.org"
More information about the freebsd-sparc64
mailing list