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

Bug#1035854: Bookworm netboot image fails in VM



On Wed, May 10, 2023 at 11:35:14AM +0200, Cyril Brulebois wrote:
> Hallo Moritz,
> 
> And thanks for the report…
> 
> Moritz Mühlenhoff <jmm@inutil.org> (2023-05-10):
> > Moritz Muehlenhoff wrote:
> > > call. $MENU is set to '/usr/bin/main-menu' and in fact running
> > > 
> > > "debconf -o d-i /usr/bin/main-menu" tries to emit some output (I can see the cursor
> > > moving), but drops back to the shell right away.
> > > 
> > > I'm not familiar with cdebconf, if there's some suggested steps to narrow down the
> > > failure further, I'm happy to try them.
> > 
> > Looking at dmesg, there's actually a log entry about steal-ctty segfaulting:
> > 
> > [    1.945968] steal-ctty[139]: segfault at 0 ip 00007f3c073b9fa0 sp 00007fff38 0)b70 error 4 in libc.so.6[7f3c0730b000+155000] likely on CPU 0 (core 0, socket
> > [    1.946977] Code: 2e 04 00 0f 1f 80 00 00 00 00 55 48 89 e5 41 57 41 56 41 5f 84 47 01 00 00 49 89 f4 be 2f 00 00 00 48 89 fb 49 89 45 c8 31 c0 <80> 3f 00 0f
> 
> … and that follow-up. For those not following IRC, I'm wondering whether
> this could be a redux of #932149; that'd be consistent with PXE-booting
> being successful on baremetal, but not with a 1G VM. Moritz will try
> bumping that and will let us know later on.

This turned out to be redux of #932149: Bumping the memory of the netboot-installed
VM to 1536M RAM fixed it. There was anectotal evidence of non-netboot installations
still succeeding with 1024M, so should we reassign to installation-guide to bump the
documented minimum RAM at least for netboot?

When debugging the issue is also noticed that rootskel/src/lib/debian-installer/menu
currently checks how much RAM is present and if it's less than 250M it exports
DEBCONF_DROP_TRANSLATIONS=1 to cdebconf.

Given that we already document 780MB as the minimum requirement for Bullseye that
seems obsolete, happy to create MRs to remove it from rootskel and cdebconf to clean
this up.

Cheers,
        Moritz


Reply to: