Mailing List Archive

Xen 4.12/4.13 cannot boot Ubuntu-DomU with PVH and Kernel 4.15.0-50
Hi,

we use xen from source and are not able to boot our Ubuntu-DomUs with
kernel 4.15.0-50 in PVH-Mode. In PV-Mode they start without problems.

We activated logging, see the log attached.

The boot stops at;
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
[...]
Kernel panic - not syncing: Attempted to kill the idle task!


We use the current staging-version with last commit
2a556b63a22dd68697feb3994e68de939d01a804 (before we tried staging-4.12
with last commit 4ed6c8b95c80a6fdc33fab38d3fdae64b8827916).

Are you working on this issue? With staging the boot freezes, with
staging-4.12 the DomU crashed.
We tried with Dom0-Kernel-versions 4.15.0-50 and 4.15.0-48.

Thank you and best regards,
Kelly.
Re: Xen 4.12/4.13 cannot boot Ubuntu-DomU with PVH and Kernel 4.15.0-50 [ In reply to ]
On 15/05/2019 20:29, Jan Kellermann wrote:
> Hi,
>
> we use xen from source and are not able to boot our Ubuntu-DomUs with
> kernel 4.15.0-50 in PVH-Mode. In PV-Mode they start without problems.
>
> We activated logging, see the log attached.
>
> The boot stops at;
> BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
> [...]
> Kernel panic - not syncing: Attempted to kill the idle task!
>
>
> We use the current staging-version with last commit
> 2a556b63a22dd68697feb3994e68de939d01a804 (before we tried staging-4.12
> with last commit 4ed6c8b95c80a6fdc33fab38d3fdae64b8827916).
>
> Are you working on this issue? With staging the boot freezes, with
> staging-4.12 the DomU crashed.
> We tried with Dom0-Kernel-versions 4.15.0-50 and 4.15.0-48.

You should ask the Ubuntu kernel team. The crash happens in a function
not present in the upstream 4.15 stable tree. There seems to be an
Ubuntu private kernel patch present causing the issue.


Juergen

_______________________________________________
Xen-users mailing list
Xen-users@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-users
Re: Xen 4.12/4.13 cannot boot Ubuntu-DomU with PVH and Kernel 4.15.0-50 [ In reply to ]
Hi Juergen,

thank you very much. Now we use kernel 4.18.0.20.70 from hwe-package and
all DomUs are booting fine.

ky.

Am 16.05.2019 um 08:13 schrieb Juergen Gross:
> On 15/05/2019 20:29, Jan Kellermann wrote:
>> Hi,
>>
>> we use xen from source and are not able to boot our Ubuntu-DomUs with
>> kernel 4.15.0-50 in PVH-Mode. In PV-Mode they start without problems.
>>
>> We activated logging, see the log attached.
>>
>> The boot stops at;
>> BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
>> [...]
>> Kernel panic - not syncing: Attempted to kill the idle task!
>>
>>
>> We use the current staging-version with last commit
>> 2a556b63a22dd68697feb3994e68de939d01a804 (before we tried staging-4.12
>> with last commit 4ed6c8b95c80a6fdc33fab38d3fdae64b8827916).
>>
>> Are you working on this issue? With staging the boot freezes, with
>> staging-4.12 the DomU crashed.
>> We tried with Dom0-Kernel-versions 4.15.0-50 and 4.15.0-48.
>
> You should ask the Ubuntu kernel team. The crash happens in a function
> not present in the upstream 4.15 stable tree. There seems to be an
> Ubuntu private kernel patch present causing the issue.
>
>
> Juergen
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xenproject.org
> https://lists.xenproject.org/mailman/listinfo/xen-users
>

--
werk21 GmbH
Kommunikation für Politik und Verbände

Krausnickstraße 3, 10115 Berlin
Tel: (030) 28 48 48 30
Fax: (030) 28 48 48 31
https://www.werk21.de

GeschäftsführerInnen:
Jan Kellermann, Johannes Stahl, Susanne Fritsche
HRB 131204 - Berlin-Charlottenburg - Sitz: Berlin

_______________________________________________
Xen-users mailing list
Xen-users@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-users
Re: Xen 4.12/4.13 cannot boot Ubuntu-DomU with PVH and Kernel 4.15.0-50 [ In reply to ]
Dear all,

for Ubuntu 16.04 exists no kernel 4.18 and the HWE-kernel (4.15.0-50)
crashes also, so it is not possible to boot an Ubuntu 16.04 as PVH at
this time.

We opened this bug-ticket:
<https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe/+bug/1829378>
If you are affected, please subscribe and mark "affects me" also. TU.

Best regards,
Kelly.

Am 16.05.2019 um 13:18 schrieb Jan Kellermann:
> Hi Juergen,
>
> thank you very much. Now we use kernel 4.18.0.20.70 from hwe-package and
> all DomUs are booting fine.
>
> ky.
>
> Am 16.05.2019 um 08:13 schrieb Juergen Gross:
>> On 15/05/2019 20:29, Jan Kellermann wrote:
>>> Hi,
>>>
>>> we use xen from source and are not able to boot our Ubuntu-DomUs with
>>> kernel 4.15.0-50 in PVH-Mode. In PV-Mode they start without problems.
>>>
>>> We activated logging, see the log attached.
>>>
>>> The boot stops at;
>>> BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
>>> [...]
>>> Kernel panic - not syncing: Attempted to kill the idle task!
>>>
>>>
>>> We use the current staging-version with last commit
>>> 2a556b63a22dd68697feb3994e68de939d01a804 (before we tried staging-4.12
>>> with last commit 4ed6c8b95c80a6fdc33fab38d3fdae64b8827916).
>>>
>>> Are you working on this issue? With staging the boot freezes, with
>>> staging-4.12 the DomU crashed.
>>> We tried with Dom0-Kernel-versions 4.15.0-50 and 4.15.0-48.
>>
>> You should ask the Ubuntu kernel team. The crash happens in a function
>> not present in the upstream 4.15 stable tree. There seems to be an
>> Ubuntu private kernel patch present causing the issue.
>>
>>
>> Juergen
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xenproject.org
>> https://lists.xenproject.org/mailman/listinfo/xen-users
>>
>

--
werk21 GmbH
Kommunikation für Politik und Verbände

Krausnickstraße 3, 10115 Berlin
Tel: (030) 28 48 48 30
Fax: (030) 28 48 48 31
https://www.werk21.de

GeschäftsführerInnen:
Jan Kellermann, Johannes Stahl, Susanne Fritsche
HRB 131204 - Berlin-Charlottenburg - Sitz: Berlin

_______________________________________________
Xen-users mailing list
Xen-users@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-users
Re: Xen 4.12/4.13 cannot boot Ubuntu-DomU with PVH and Kernel 4.15.0-50 [ In reply to ]
Hi,

Ubuntu just released the kernel 4.15.0-58 for 18.04 and 16.04-HWE.
With this kernel you can boot xen guests as PVH again.

Best regards,
Kelly.

Am 16.05.2019 um 13:55 schrieb Jan Kellermann:
> Dear all,
>
> for Ubuntu 16.04 exists no kernel 4.18 and the HWE-kernel (4.15.0-50)
> crashes also, so it is not possible to boot an Ubuntu 16.04 as PVH at
> this time.
>
> We opened this bug-ticket:
> <https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe/+bug/1829378>
> If you are affected, please subscribe and mark "affects me" also. TU.
>
> Best regards,
> Kelly.
>
> Am 16.05.2019 um 13:18 schrieb Jan Kellermann:
>> Hi Juergen,
>>
>> thank you very much. Now we use kernel 4.18.0.20.70 from hwe-package and
>> all DomUs are booting fine.
>>
>> ky.
>>
>> Am 16.05.2019 um 08:13 schrieb Juergen Gross:
>>> On 15/05/2019 20:29, Jan Kellermann wrote:
>>>> Hi,
>>>>
>>>> we use xen from source and are not able to boot our Ubuntu-DomUs with
>>>> kernel 4.15.0-50 in PVH-Mode. In PV-Mode they start without problems.
>>>>
>>>> We activated logging, see the log attached.
>>>>
>>>> The boot stops at;
>>>> BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
>>>> [...]
>>>> Kernel panic - not syncing: Attempted to kill the idle task!
>>>>
>>>>
>>>> We use the current staging-version with last commit
>>>> 2a556b63a22dd68697feb3994e68de939d01a804 (before we tried staging-4.12
>>>> with last commit 4ed6c8b95c80a6fdc33fab38d3fdae64b8827916).
>>>>
>>>> Are you working on this issue? With staging the boot freezes, with
>>>> staging-4.12 the DomU crashed.
>>>> We tried with Dom0-Kernel-versions 4.15.0-50 and 4.15.0-48.
>>>
>>> You should ask the Ubuntu kernel team. The crash happens in a function
>>> not present in the upstream 4.15 stable tree. There seems to be an
>>> Ubuntu private kernel patch present causing the issue.
>>>
>>>
>>> Juergen
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users@lists.xenproject.org
>>> https://lists.xenproject.org/mailman/listinfo/xen-users
>>>
>>
>

--
werk21 GmbH
Kommunikation für Politik und Verbände

Krausnickstraße 3, 10115 Berlin
Tel: (030) 28 48 48 30
Fax: (030) 28 48 48 31
https://www.werk21.de

GeschäftsführerInnen:
Jan Kellermann, Johannes Stahl, Susanne Fritsche
HRB 131204 - Berlin-Charlottenburg - Sitz: Berlin

_______________________________________________
Xen-users mailing list
Xen-users@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-users
Re: Xen 4.12/4.13 cannot boot Ubuntu-DomU with PVH and Kernel 4.15.0-50 [ In reply to ]
Bionic does have kernel-5.0, try
sudo apt-cache policy linux-image-5.0.0-*-generic

I learned this from Thomas Elias.

Bionic 1804 with xen-4.11.2 and kernel-5.0
xen1804:~$ sudo xl info
host : xen1804
release : 5.0.0-20-generic
version : #21~18.04.1-Ubuntu SMP Thu Jun 27 04:04:37 UTC 2019
machine : x86_64
nr_cpus : 2
max_cpu_id : 3
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 3062.680
hw_caps :
bfebfbff:0408e3bd:20100800:00000001:00000000:00000000:00000000:00000000
virt_caps : hvm
total_memory : 4094
free_memory : 694
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 11
xen_extra : .2
xen_version : 4.11.2
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit2
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : 8efcc0d2d3bc3fdc3-x86/msi: fix loop
termination condition in pc
xen_commandline : dom0_mem=600M,max:648M guest_loglvl=all
loglvl=all console=vga vga=gfx-1280x1024x16 conring_size=48k
sched=credit2 cpufreq=none xpti=false xsm=flask flask=permissive
cc_compiler : gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
cc_compile_by : pbuser
cc_compile_domain : prymar56.org
cc_compile_date : Fri Jul 12 17:56:47 PDT 2019
build_id : 52580a949dbe6ab9d7380aaa640d9b27c78c43e7
xend_config_format : 4


DIsco 1904 with xen-4.12.1

>xl info
host : xen1904
release : 5.0.0-15-generic
version : #16-Ubuntu SMP Mon May 6 17:41:33 UTC 2019
machine : x86_64
nr_cpus : 2
max_cpu_id : 3
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 3062.668
hw_caps :
bfebfbff:0408e3bd:20100800:00000001:00000000:00000000:00000000:00000000
virt_caps : pv hvm
total_memory : 4094
free_memory : 694
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 12
xen_extra : .1
xen_version : 4.12.1
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit2
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : ba62d9e360f830ed2-update Xen version to
4.12.1-Fri 9 Aug 2019 0
xen_commandline : dom0_mem=600M,max:648M guest_loglvl=all
loglvl=all console=vga vga=gfx-1280x1024x16 conring_size=48k
sched=credit2 cpufreq=none xpti=false xsm=flask flask=permissive
cc_compiler : gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0
cc_compile_by : pbuser
cc_compile_domain : prymar56.org
cc_compile_date : Fri Aug 9 15:16:05 2019
build_id : 2016f54a46e1c981ea61657719f768667ba420a4
xend_config_format : 4

cheers,
PryMar56 ##xen-packaging on Freenode

_______________________________________________
Xen-users mailing list
Xen-users@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-users