[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/4] x86/PVH: Dom0 building adjustments


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 1 Sep 2021 17:51:54 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yDUxKs17CBRyEk1FI7eJvE3umkbbk3O/fEeF6QKW0cg=; b=H0gxnNBCyS13nzEsQDbay45/XVyIxd2pcUBQF2pl6UzgbIYFE9mOD2RyISD6H69siqDZ6Am0957f8AkdTpUV757DCOnb7jyad4I4nYs9Ae+0KcX97DhG9re6a1ijJ+5aAFvAqWyjIzXuCp1j14vRbXfUV7/dze1JQ4YToziES1bri6cGizGQJsP5a1ftSlNuHaQC+rZ37h9J92VgKVwg1rd081zOLtiQGwZBdc30a6K3rc7z9+PfW0uBgNYwSGiZ4sB9VTHtqJIgoMCRZqYQVyS/IOxpLHO8BgojhThsfUX9H+oHdFMJYXvO0CwFMWzdQArj5al8gTG2nUYU1fX52Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gk8N2VnkqjKffSgjxCLbiPTQs40owmPlLJsXp4oEjqm6t6KOtI0hNgdNerZV25Y0hzGetzG9WmqNhtzg7zzGJPMSjJkKc0TLKCGaTK6EY+zuTbA4/s5H3kwpLDkKwA9XvrJe3+37UGszrkDMZ5SezPaT6OukqhKTr3PvToA/E9HXE13iXeqVdnejRGQY0007jKjKX7FqW8SyMOaXcO7Al4oMF5q9P94bgvdsJRQS8HMs1fgjsjv86oS1zOYiNfKqiOdqKiwUETVIfpO8ECLoPGqxgGOB5py6xWtnrDTAAwPSy6GhT5l3GwVXgQd1N6jdIWo51iiW3NMb6CuFixCFhQ==
  • Authentication-results: citrix.com; dkim=none (message not signed) header.d=none;citrix.com; dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Wed, 01 Sep 2021 15:52:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 01.09.2021 17:24, Juergen Gross wrote:
> On 01.09.21 17:06, Jan Beulich wrote:
>> On 30.08.2021 15:01, Jan Beulich wrote:
>>> The code building PVH Dom0 made use of sequences of P2M changes
>>> which are disallowed as of XSA-378. First of all population of the
>>> first Mb of memory needs to be redone. Then, largely as a
>>> workaround, checking introduced by XSA-378 needs to be slightly
>>> relaxed.
>>>
>>> Note that with these adjustments I get Dom0 to start booting on my
>>> development system, but the Dom0 kernel then gets stuck. Since it
>>> was the first time for me to try PVH Dom0 in this context (see
>>> below for why I was hesitant), I cannot tell yet whether this is
>>> due further fallout from the XSA, or some further unrelated
>>> problem. Dom0's BSP is in VPF_blocked state while all APs are
>>> still in VPF_down. The '0' debug key, unhelpfully, doesn't produce
>>> any output, so it's non-trivial to check whether (like PV likes to
>>> do) Dom0 has panic()ed without leaving any (visible) output.
>>
>> Having made '0' work at least partly, I can now see that Dom0's
>> vCPU0 enters its idle loop after having gone through all normal
>> initialization. Clearly certain things must not have worked as
>> intended (no APs booted, no drivers loaded afaict), but I'm
>> having a hard time seeing how to find out what that might be
>> when there's no output at all. PV Dom0 does not require any
>> special command line option to do output to both the VGA console
>> and through hvc_xen (making its output also go to the serial
>> log) - is this perhaps different for PVH? I couldn't find
>> anything under docs/ ...
> 
> Did you add earlyprintk=xen to the dom0 boot parameters?

Yes (I did mention this before) - no difference at all. I guess I'll
try again, just in case I made a stupid mistake.

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.