Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 17:10:07 +0100
From:      Thomas Moestl <tmoestl@gmx.net>
To:        Steven Haywood <freebsd@keybaud.org>
Cc:        current@freebsd.org
Subject:   Re: kernel panic with today's CURRENT on sparc64 at boot
Message-ID:  <20030124161007.GA234@crow.dom2ip.de>
In-Reply-To: <20030124115441.GB11545@keybaud.org>
References:  <20030121173342.GA15661@keybaud.org> <20030122195951.GA16868@crow.dom2ip.de> <20030124115441.GB11545@keybaud.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2003/01/24 at 11:54:41 +0000, Steven Haywood wrote:
> 	     hme6: <Sun HME 10/100 Ethernet> mem 0xc800000-0xc807fff irq
> 	     26 at device 1.1 on
> 	     pci2
> 	     hme6: DMA buffer map load error 12
> 	     hme6: could not be configured
> 	     device_probe_and_attach: hme6 attach returned 6
> 	     pci2: <bridge, PCI-unknown> at device 2.0 (no driver
> 	     attached)
> 	     hme6: <Sun HME 10/100 Ethernet> mem 0xe800000-0xe807fff irq
> 	     27 at device 2.1 on
> 	     pci2
> 	     hme6: DMA buffer map load error 12
> 	     hme6: could not be configured
> 	     device_probe_and_attach: hme6 attach returned 6
> 	     pci2: <bridge, PCI-unknown> at device 3.0 (no driver
> 	     attached)
> 	     pci2: <bridge, PCI-unknown> at device 3.0 (no driver
> 	     attached)
> 	     n pci2
> 	     hme6: DMA buffer map load error 12
> 	     hme6: could not be configured
> 	     device_probe_and_attach: hme6 attach returned 6
> 	     pci0: <display> at device 5.0 (no driver attached)
> 	     pcib3: <U2P UPA-PCI bridge> on nexus0
> 	     pcib3: Psycho, impl 0, version 4, ign 0x7c0
> 	     pci3: <PCI bus> on pcib3
> 	     Timecounters tick every 10.000 msec
> 	     ipfw2 initialized, divert disabled, rule-based forwarding
> 	     enabled, default to de
> 	     ny, logging limited to 100 packets/entry by default
> 	     Waiting 5 seconds for SCSI devices to settle
> 	     da0 at sym0 bus 0 target 1 lun 0
> 	     da0: <FUJITSU MAG3091L SUN9.0G 1111> Fixed Direct Access
> 	     SCSI-2 device
> 	     da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit),
> 	     Tagged Queueing Enabled
> 	     da0: 8637MB (17689267 512 byte sectors: 255H 63S/T 1101C)
> 	     Mounting root from ufs:/dev/da0a
> 	     exec /sbin/init: error 8
> 	     init: not found in path
> 	     /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall
> 	     panic: no init
> 	     cpuid = 0;
> 	     Debugger("panic")
> 	     Stopped at      Debugger+0x1c:  ta              %xcc, 1

This is probably easy to work around for you by increasing the amount
of available DVMA:

--
diff -u -r1.26 psycho.c
--- sparc64/pci/psycho.c	21 Jan 2003 08:56:14 -0000	1.26
+++ sparc64/pci/psycho.c	24 Jan 2003 16:05:00 -0000
@@ -565,7 +565,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;
--

If that still doesn't help, you can further increase the constant to 4
or 5 (at the expense of another 64kB or 192kB of memory).

	- Thomas

-- 
Thomas Moestl <tmoestl@gmx.net>	http://www.tu-bs.de/~y0015675/
              <tmm@FreeBSD.org>	http://people.FreeBSD.org/~tmm/
PGP fingerprint: 1C97 A604 2BD0 E492 51D0  9C0F 1FE6 4F1D 419C 776C

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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