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

Bug#991951: debian-installer: Text installer sporadically hangs when using 512 - 1024 MB of memory.



Package: debian-installer
Followup-For: Bug #991951

Hi Samuel.

> Witold Baryluk, le ven. 06 août 2021 16:29:50 +0200, a ecrit:
>> https://www.debian.org/releases/bullseye//amd64/ch03s04.en.html says this should be supported.
> Yes, that should be working, and does work in my tests.

Thanks for testing.

>> Using multi-arch image for testing.
>> 
>> wget https://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/multi-arch/iso-cd/debian-testing-amd64-i386-netinst.iso
>> 
>> (image from 2021-08-06 11:00)
>> 
>> qemu-system-x86_64 --enable-kvm -cdrom debian-testing-amd64-i386-netinst.iso -m 1024
> Which version of qemu is this? I guess no other option than this?

This is qemu from Fedora 34. The Fedora is running kernel 5.12.15-300.fc34.x86_64.
The system is a VM running on top of Proxmox 6.4-13 with Debian buster,
on top of AMD EPYC 7502P, and kernel Linux 5.4.124-1-pve #1 SMP PVE 5.4.124-2 (Tue, 20 Jul 2021 21:43:44 +0200).

$ qemu-system-x86_64 --version
QEMU emulator version 5.2.0 (qemu-5.2.0-8.fc34)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
$

No other qemu options.

I belive now this is a bug in the kvm and nested virtualisation. With no
--enable-kvm (using software emulation), the installation proceed fine
with 512 and 1024 MB.

I also now tested it on non-virtualized Debian testing, and it works
fine with kvm and 512MB.

It even works okish with 360 MB (no network cards detected tho then for
some reasons).

>> Select "Install" (text installer, not graphical one).
> I.e. the second boot option? (the 64bit variant)

Correct. Second boot option, the 64-bit variant.

> Select defaults (or other) for language, location and keyboard.

> So just pressing enter to select everything by default? (except the
> "Install" boot option)

Correct.

>> Let it load installer components.
>> 
>> It will sometimes load, but more often than not, if you start again from
>> scratch, it will hang somewhere forever.
> So you mean while loading installer components?

Correct. But, now I was able to trigger the hang even ealier, just after
kernel boot. As I said above, I belive the issue is qemu kvm and nested
virtualisation actually, not debian installer.

> I'm not getting such a problem (and 1024M is really plently to just load
> components, it's partman that needs quite more, notably with crypto
> enabled).

> At worse, note from
> https://www.debian.org/releases/bullseye//amd64/ch02s05.en.html
> that you can force higher lowmem options, but 1024M should really be way
> enough.

Ack.

Please close.

(Network card detection failure when running with 360MB should be
addressed separately. It looks like
/lib/modules/5.10.0-8-amd64/kernel/drivers/net/ethernet has only one
driver present - cnci.ko , not sure how to load others).


Regards,
Witold

Reply to: