On 9/25/2021 11:27 PM, Elliott Mitchell wrote:
I checked out the Debian Xen source via git. I got the current "master" branch which is presently the candidate 4.14.3-1 version, which includes urgent fixes. The hash is: e7a17db0305c8de891b366ad37777528e5a43015 On top of this I cherry-picked 3 commits from Xen's main branch: 5a4087004d1adbbb223925f3306db0e5824a2bdc 0f089bbf43ecce6f27576cb548ba4341d0ec46a8 bc141e8ca56200bdd0a12e04a6ebff3c19d6c27b (these can be retrieved via Xen's gitweb at https://xenbits.xen.org/gitweb/?p=xen.git;a=patch;h=<$hash> which is suitable for the `git am` command) With these I built 4.14.3-1 and then tried kernels 4.19.181-1 and 4.19.194-3 (this system is presently mostly on oldstable). The results were: Xen 4.14.3-1 with Linux 4.19.181-1: system reboots were successful Xen 4.14.3-1 with Linux 4.19.194-3: system reboots hung
I presume the Xen 4.14.3-1 you are referring to is not the official version, but the one patched with the three extra aforementioned commits. Note: I use quilt to manage the packages, and quilt rejected the last commit because the context within three lines of the patched code was changed. A goto bad was changed to goto done by another commit on the Xen unstable branch, so I fixed the patch file and changed the 'done' to 'bad' to get the third patch to succeed. Let's call this patched version of Xen version 4.14.3-1.1 I tried these on my hardware, which is a Haswell processor, EFI boot, and systemd for init, and my results are: Xen 4.14.3-1.1 with Linux 4.19.181-1: system reboots hung Xen 4.14.3-1.1 with Linux 4.19.194-3: system reboots hung Xen 4.14.3-1.1 with Linux 5.10.46-4: system reboots hung I still cannot reproduce this result, not even with the extra three commits. Perhaps it depends on differences in the BIOS or EFI, or maybe systemd vs. sysv. I share this result in case it is of help to you. Regards, Chuck Zmudzinski

