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

Bug#934487: cdrom: detect incomplete initramfs



Package: cdrom
Severity: wishlist
Tags: d-i


Hello,
when I tried to find something about #932149,
which got closed because the submitter received spam,
I found something that may still of interest.

When RAM is limited it might happen, that not the whole
initrd fits into RAM. But the kernel gets loaded and
can unpack that part of the initrd that got loaded.

In case of #932149 I assume that because no /var exists
the variable cons gets nothing assigned and then
steal-ctty crashes because that unconditionally looks at the
second paramter.

Therefore the installer could never start and inform the
user about the low memory situation.

Might it be desireable to have init check if it can
find a message "Initramfs unpacking failed" in dmesg,
or put something at the end of the initrd and check for it
existing, to know if all could be unpacked?

And if detected stop further actions, or at least warn the user.

Kind regards,
Bernhard


Reply to: