From owner-freebsd-current Sat Sep 2 19:34:29 2000 Delivered-To: freebsd-current@freebsd.org Received: from midten.fast.no (midten.fast.no [213.188.8.11]) by hub.freebsd.org (Postfix) with ESMTP id 53E9E37B424; Sat, 2 Sep 2000 19:34:26 -0700 (PDT) Received: from fast.no (IDENT:tegge@midten.fast.no [213.188.8.11]) by midten.fast.no (8.9.3/8.9.3) with ESMTP id EAA84082; Sun, 3 Sep 2000 04:34:16 +0200 (CEST) Message-Id: <200009030234.EAA84082@midten.fast.no> To: sheldonh@uunet.co.za Cc: peter@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: panic: pmap_enter: attempted pmap_enter on 4MB page From: Tor.Egge@fast.no In-Reply-To: Your message of "Fri, 01 Sep 2000 14:31:11 +0200" References: <593.967811471@axl.fw.uunet.co.za> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 03 Sep 2000 04:34:16 +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > pci50: physical bus=-1061225984 > > A little dubious, I think. Below is the dmesg(8) output from > kernel.old, my last good kernel built yesterday, booted with ``boot > -v''. > The enclosed patch might be relevant. I got similar problems without it. Index: pcisupport.c =================================================================== RCS file: /home/ncvs/src/sys/pci/pcisupport.c,v retrieving revision 1.168 diff -u -r1.168 pcisupport.c --- pcisupport.c 2000/08/31 23:11:35 1.168 +++ pcisupport.c 2000/09/03 02:16:21 @@ -770,7 +915,7 @@ ivar = malloc(sizeof ivar[0], M_DEVBUF /* XXX */, M_NOWAIT); if (ivar == NULL) panic("out of memory"); - device_set_ivars(child, ivar); + device_set_ivars(dev, ivar); ivar[0] = secondary; return bus_generic_attach(dev); } else - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message