From owner-freebsd-stable@FreeBSD.ORG Fri Sep 25 22:55:06 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B8A41065670; Fri, 25 Sep 2009 22:55:06 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id E606B8FC14; Fri, 25 Sep 2009 22:55:05 +0000 (UTC) Received: from inchoate.gsoft.com.au ([118.210.91.254]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n8PMsrR3052429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 26 Sep 2009 08:24:54 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Alan Cox Date: Sat, 26 Sep 2009 08:24:31 +0930 User-Agent: KMail/1.9.10 References: <200909232322.51060.doconnor@gsoft.com.au> <200909250957.06252.jhb@freebsd.org> <4ABD000F.5080007@cs.rice.edu> In-Reply-To: <4ABD000F.5080007@cs.rice.edu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6059673.y4KubdhCtN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200909260824.39985.doconnor@gsoft.com.au> X-Spam-Score: -2.212 () BAYES_00,RDNS_NONE X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Attilio Rao , alc@freebsd.org, freebsd-stable@freebsd.org, John Baldwin Subject: Re: 8.0-RC1 panic attaching ppc X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 22:55:06 -0000 --nextPart6059673.y4KubdhCtN Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sat, 26 Sep 2009, Alan Cox wrote: > John Baldwin wrote: > > On Friday 25 September 2009 3:20:05 am Daniel O'Connor wrote: > >> On Thu, 24 Sep 2009, John Baldwin wrote: > >>> Can you try this patch perhaps: > >>> > >>> Index: sys/amd64/isa/isa_dma.c > >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>=3D=3D --- isa_dma.c (revision 197430) > >>> +++ isa_dma.c (working copy) > >> > >> This patch fixes the panic for me. > >> > >> I haven't tried printing (don't have any device handy here). > > > > I wonder if pmap_extract(kernel_pmap) doesn't work with direct map > > addresses for some reason? I kind of find that hard to believe > > actually. Alan, the original panic was in > > pmap_extract(kernel_pmap, ...) calls in the isa_dma code. My patch > > that "fixes" the panic just changes them to pmap_kextract(). > > Is this problem occurring on an AMD processor? Yes, CPU: AMD Athlon(tm) II X2 240 Processor (2812.73-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x100f62 Stepping =3D 2 Features=3D0x178bfbff Features2=3D0x802009 AMD Features=3D0xee500800 AMD Features2=3D0x37ff TSC: P-state invariant real memory =3D 4294967296 (4096 MB) avail memory =3D 3974762496 (3790 MB) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart6059673.y4KubdhCtN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBKvUov5ZPcIHs/zowRAooWAJ9AIVF7re4a/VpPnUs6dG4fxgXZNACfa6G3 iIekr7NQlr9bA8Ba44W1/Uk= =1m+B -----END PGP SIGNATURE----- --nextPart6059673.y4KubdhCtN--