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

Bug#814342: lowmem should not block when in network-console d-i mode



Dear Martin,

On Thu, Feb 11, 2016 at 5:21 AM, Martin Michlmayr <tbm@cyrius.com> wrote:
> * Roger Shimizu <rogershimizu@gmail.com> [2016-02-11 01:19]:
>> Package: lowmem
>>
>> There's a mode calling network-console in d-i, which let user to use
>> SSH to connect to the target device for Debian installation.
>> But if lowmem detects memory is low, it will block d-i and prevent SSH
>> daemon to start, so user has no chance to see the warning by lowmem,
>> and then proceed.
>
> oldsys-preseed generates a preseed file that contains:
>
>         # Just continue if d-i enters lowmem mode
>         add "$FILE" "lowmem/low" "note"
>
> So the real question is why this isn't working or why oldsys-preseed
> isn't generating that on your device.

Thanks for your info!
Now it's clear, since in d-i, file
build/pkg-lists/netboot/network-console/armel/orion5x.cfg

oldsys-preseed
# sata and ext2/ext3 modules are needed by oldsys-preseed to read the disk
# -> disable due to size problems

I think maybe it's necessary to split "orion5x" as:
- orion5x with serial console support, which keeps current config, so
as kuroboxpro can be supported
- orion5x without serial console support, re-enable sata and ext4, but
disable jffs2 and micro-evtd

What's your idea?

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 17B3ACB1


Reply to: