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

Re: Debian 11 installer crashed and reboot



On 8/16/2021 2:30 AM, John Mok wrote:
Hi all,

Tried to install Debian 11 guest using netinst, but the installer
crashed and reboot automatically.

  Host: Xen 4.11.4 on Debian 10
Guest: Debian 11 (kernel 5.10)

Here is the steps to reproduce the problem:-
1) Either guest BIOS or OVMF boot
2) Select "Expert install" on installation menu

Then, the guest crashed and reboot.

Another try with the installer on Debian Live 11, it immediately
crashed and reboot.

Is it a installer bug or something ?

Thanks a lot.

John Mok


This problem has been reported by Philip Susi on 2021-04-27 in a
comment on linux kernel bug 207695:

https://bugzilla.kernel.org/show_bug.cgi?id=207695#c3

The kernel panic is caused by the Xen virtual keyboard.

I was able to capture a screenshot of the crash by setting
panic=60 and removing quiet from the kernel command line
on the grub menu (the kernel parameters for a grub boot
entry can be adjusted by pressing e when that grub boot
entry is highlighted, when booting with ovmf firmware).

Error message  reported by the kernel is:

failed to write 'add' to '/devices/virtual/input/input2/uevent': cannot allocate memory

This problem only occurs using the kernel on the installation
media, a full-featured bullseye kernel boots fine in a Xen HVM
guest.

The installer bullseye kernel also boots fine from the installer
media in a Xen PV guest.

I think the Xen HVM virtual keyboard is one provided by
Qemu. It apparently needs a larger buffer than the one
provided by the installation kernel.

Any ideas how to fix this in the installation kernel?

Chuck


Reply to: