Date: Sat, 26 Sep 2009 08:24:31 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Alan Cox <alc@cs.rice.edu> Cc: Attilio Rao <attilio@freebsd.org>, alc@freebsd.org, freebsd-stable@freebsd.org, John Baldwin <jhb@freebsd.org> Subject: Re: 8.0-RC1 panic attaching ppc Message-ID: <200909260824.39985.doconnor@gsoft.com.au> In-Reply-To: <4ABD000F.5080007@cs.rice.edu> References: <200909232322.51060.doconnor@gsoft.com.au> <200909250957.06252.jhb@freebsd.org> <4ABD000F.5080007@cs.rice.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG= E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=3D0x802009<SSE3,MON,CX16,POPCNT> AMD Features=3D0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+= ,3DNow!> AMD Features2=3D0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OS= VW,IBS,SKINIT,WDT> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909260824.39985.doconnor>