panic: invalid PDPE on recend amd64

Paul B Mahol onemda at gmail.com
Sat Oct 30 15:34:23 UTC 2010


On 10/30/10, Paul B Mahol <onemda at gmail.com> wrote:
> On 10/30/10, Andriy Gapon <avg at icyb.net.ua> wrote:
>> on 30/10/2010 17:43 Paul B Mahol said the following:
>>> Hi,
>>>
>>> Booting amd64 kernel panic in pmap_demote_DMAP(): invalid PDPE
>>>
>>> This is on:
>>>
>>> Copyright (c) 1992-2010 The FreeBSD Project.
>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>> 	The Regents of the University of California. All rights reserved.
>>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>>> FreeBSD 9.0-CURRENT #1 r214542+ac89f9b: Sat Oct 30 09:40:45 UTC 2010
>>>     root@:/usr/obj/usr/src/sys/kernel i386
>> ----------------------------------------^^^^
>> amd64 or i386?
>
> That is working i386 kernel, I can send bt of amd64 kernel as picture.
>>
>>> CPU: Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz (1662.54-MHz
>>> 686-class CPU)
>>>   Origin = "GenuineIntel"  Id = 0x6f2  Family = 6  Model = f  Stepping =
>>> 2
>>>
>>> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>>>
>>> Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
>>>   AMD Features=0x20100000<NX,LM>
>>>   AMD Features2=0x1<LAHF>
>>>   TSC: P-state invariant
>>> real memory  = 2147483648 (2048 MB)
>>> avail memory = 2087346176 (1990 MB)
>>> ACPI APIC Table: <HP     30A2    >
>>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>>> FreeBSD/SMP: 1 package(s) x 2 core(s)
>>>  cpu0 (BSP): APIC ID:  0
>>>  cpu1 (AP): APIC ID:  1
>>> ioapic0: Changing APIC ID to 1
>>> ioapic0 <Version 2.0> irqs 0-23 on motherboard
>>> acpi0: <HPQOEM SLIC-MPC> on motherboard
>>> acpi0: Power Button (fixed)
>>> acpi0: reservation of 0, a0000 (3) failed
>>
>> It seems that the panic happens at the stage where you should be able to
>> enter
>> ddb and obtain a backtrace at the very least, after adding DDB option to
>> your
>> kernel.

panic: pmap_demote_DMAP: Invalid PDPE
cpuid=0
KDB: enter: panic:
[  thread pid 0 tid ..
Stopped at ..
db> bt
Tracing pid 0 ..
kdb_enter() ..
panic() ..
pmap_demote_DMAP() ..
amd64_mrinit() ..
mem_modevent() ..
module_register_init() ..
mi_startup() ..


If I remove mem module from loader.conf kernel boots fine.
If I kldload mem after boot, panic happens.


More information about the freebsd-current mailing list