Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2013 09:28:28 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, freebsd-amd64@freebsd.org
Subject:   Re: My panic in amd64/pmap
Message-ID:  <f70186b875feed59491b078fab2bdb06@webmail.lerctr.org>
In-Reply-To: <6f1d46304fbcc6e32f51109f6ab4c60d@webmail.lerctr.org>
References:  <38def6b37be1a3128fb1b64595e9044e@webmail.lerctr.org> <50F95964.6060706@FreeBSD.org> <6f1d46304fbcc6e32f51109f6ab4c60d@webmail.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f70186b875feed59491b078fab2bdb06>