Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 16:55:30 +0530
From:      Pratyush Yadav <pratiy0100@gmail.com>
To:        =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= <roger.pau@citrix.com>
Cc:        FreeBSD-Xen <freebsd-xen@freebsd.org>
Subject:   Re: Xen kernel fails to boot, d0v1 triple fault looks like the cuplrit
Message-ID:  <CA%2BX=3TJB64BFVyXi7xtB565uQjJy8-1DMi2PMfwKbiMmzQqFxw@mail.gmail.com>
In-Reply-To: <20180523151108.cxize3bblbpw3ewc@MBP-de-Roger.citrite.net>
References:  <CA%2BX=3T%2BYiUmNNPSSA36QmwYsamgAf0hHEsEock-FcomCHc-Jww@mail.gmail.com> <20180519081030.qhzyjdrpwcekmcac@MacBook-Pro-de-Roger.local> <CA%2BX=3TKazXMk%2BUqL35Fzoa-F7YQWWtt-c6BSSNJQqL-WC31D1A@mail.gmail.com> <20180521090310.c46eexnwe4c7w62x@MacBook-Pro-de-Roger.local> <CA%2BX=3TK0M0j=oqyjgsggy4TdkhAuO6vpRqAaJnmOb_J8cvBZ9g@mail.gmail.com> <20180523081547.2vvthg42vmphvbex@MacBook-Pro-de-Roger.local> <CA%2BX=3TKx39D068NRzmdJ39-4%2BWmfa8gjncKCyBPT81hzDc=p%2BA@mail.gmail.com> <20180523151108.cxize3bblbpw3ewc@MBP-de-Roger.citrite.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 23, 2018 at 8:41 PM, Roger Pau Monn=C3=A9 <roger.pau@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=3D1.

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?

--=20
Regards,
Pratyush Yadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BX=3TJB64BFVyXi7xtB565uQjJy8-1DMi2PMfwKbiMmzQqFxw>