Xen kernel fails to boot, d0v1 triple fault looks like the cuplrit
Pratyush Yadav
pratiy0100 at gmail.com
Thu May 24 11:26:13 UTC 2018
On Wed, May 23, 2018 at 8:41 PM, Roger Pau Monné <roger.pau at citrix.com> wrote:
> On Wed, May 23, 2018 at 08:27:29PM +0530, Pratyush Yadav wrote:
>> Hi,
>>
>> I think we have different pv.c files. For me, line 113 is:
>> /* Xen init_ops implementation. */
>>
>> The declarations of doublefault_stach, mce_stack, etc are in line 101.
>>
>> Similarly, line 329 for me is:
>> {
>>
>> in function xen_pv_parse_symtab(void). The declarations your diff
>> mentions in line 329 are in line 224.
>>
>> This is in sync with the official repository [0]. Maybe you have
>> modifications that are not yet upstream?
>
> Sorry, I did indeed have other changes in pv.c. I'm appending the
> patch on top of current HEAD.
>
>> Anyway, I manually made the changes. It still does not boot (I used
>> make kernel -DKERNFAST, but I don't think that should make a
>> difference).
>
> FWIW, I think the recommended way is KERNFAST=1.
Thanks!
> Can you paste the error? I think you should no longer get a triple
> page fault in mp_machdep.c:307.
>
Yeah, the address does change. RIP now points to ffffffff80b52fbe. I
ran addr2line on it and it points to ./machine/pcpu.h:231
I didn't write the full error because it is a lot of typing which
takes time. Most of it is probably not useful information. If you do
want the full error log, let me know and I'll type it out.
One thing, I simply ran make kernel. Does that update kernel.debug, or
do I have to do something else to update it?
--
Regards,
Pratyush Yadav
More information about the freebsd-xen
mailing list