My panic in amd64/pmap

Larry Rosenman ler at lerctr.org
Fri Jan 18 15:28:30 UTC 2013


On 2013-01-18 09:09, Larry Rosenman wrote:
> On 2013-01-18 08:17, Andriy Gapon wrote:
>> on 17/01/2013 21:50 Larry Rosenman said the following:
>>> I've now seen this panic:
>>>  pmap_insert_pt_page: pindex already inserted
>>>
>>> on 9.1-RELEASE, 9.1-STABLE, and 10.0-CURRENT
>>>
>>> I've got vmcore's from the 9.1-STABLE and 10.0-CURRENT VM's 
>>> available
>>> as well as sources.
>>>
>>> I have the core.txt.* files available at:
>>> http://www.lerctr.org/~ler/core.txt.0  (10.0)
>>> http://www.lerctr.org/~ler/core.txt.2  (9.1-S)
>>>
>>> I'm not sure what other debug info you need.
>>>
>>> I can provide SSH access to both VM's as well as the host.
>>>
>>> These are all in VirtualBox 4.2.6 VM's
>>>
>>> Any help would be appreciated.
>>
>> Hmm, I wonder if VirtualBox is hitting the same popcnt bug that was
>> fixed in qemu...
>>
>> Could you please try a patch from here
>> 
>> http://thread.gmane.org/gmane.comp.emulators.qemu/174532/focus=174567 
>> ?
>>
>> It should be applied to src/recompiler/target-i386/translate.c, make
>> sure that it
>> goes to a section marked as 'case 0x1b8: /* SSE4.2 popcnt */'.
>
> Should this be on the host or the guest?
Never mind, it's in VirtualBox itself.  The line is at ~~line 8020 in 
the same file.  I've patched it and am recompiling
VirtualBox.

If I don't see the panic for a few days, I'll submit a PR.


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: ler at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893


More information about the freebsd-amd64 mailing list