[Bug 1139325] New: rPi installer OOM crash
http://bugzilla.suse.com/show_bug.cgi?id=1139325 Bug ID: 1139325 Summary: rPi installer OOM crash Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: msuchanek@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 808442 --> http://bugzilla.suse.com/attachment.cgi?id=808442&action=edit yast log When installing on Raspberry Pi the installer is killed by OOM killer. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1139325
http://bugzilla.suse.com/show_bug.cgi?id=1139325#c1
--- Comment #1 from Michal Suchanek
http://bugzilla.suse.com/show_bug.cgi?id=1139325
http://bugzilla.suse.com/show_bug.cgi?id=1139325#c2
Steffen Winterfeldt
http://bugzilla.suse.com/show_bug.cgi?id=1139325
Steffen Winterfeldt
http://bugzilla.suse.com/show_bug.cgi?id=1139325
http://bugzilla.suse.com/show_bug.cgi?id=1139325#c3
Steffen Winterfeldt
http://bugzilla.suse.com/show_bug.cgi?id=1139325
http://bugzilla.suse.com/show_bug.cgi?id=1139325#c4
--- Comment #4 from Steffen Winterfeldt
http://bugzilla.suse.com/show_bug.cgi?id=1139325
http://bugzilla.suse.com/show_bug.cgi?id=1139325#c5
--- Comment #5 from Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=1139325
http://bugzilla.suse.com/show_bug.cgi?id=1139325#c6
--- Comment #6 from Michal Suchanek
We actually display a warning (https://github.com/yast/yast-packager/blob/master/src/lib/y2packager/ clients/inst_productsources.rb#L1699) when we detect a low memory system
But in this case the memory size *exactly* matches the limit when the warning is not yet displayed.
This is probably no accident. rPi 3 is a supported platform so the installer is supposed to work on it.
But IIRC with only OSS, NonOSS and Updates (without Debug and Sources) it should work fine...
It also works fine offline without any online repositories. The problem is you can select these repositories and then the installer crashes. It could disable some with low memory, it could detect oom before it's too late, it could add swap. Whatever it is it should not rely on user not checking a checkbox which does not have "Don't use, this will crash your system" written next to it. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1139325
https://bugzilla.suse.com/show_bug.cgi?id=1139325#c7
Ladislav Slez�k
https://bugzilla.suse.com/show_bug.cgi?id=1139325
https://bugzilla.suse.com/show_bug.cgi?id=1139325#c10
Fabian Vogt
https://bugzilla.suse.com/show_bug.cgi?id=1139325
https://bugzilla.suse.com/show_bug.cgi?id=1139325#c11
--- Comment #11 from Lukas Ocilka
https://bugzilla.suse.com/show_bug.cgi?id=1139325
https://bugzilla.suse.com/show_bug.cgi?id=1139325#c12
--- Comment #12 from Fabian Vogt
total used free shared buff/cache available Mem: 987204 641252 63424 704 282528 182328 Swap: 2573304 326912 2246392
Does not look like a 1 GB exactly
QEMU is started with "-m 1024" and the message only appears with that particular yast2-packager submission. I suppose the output of "free" has reserved memory areas (firmware, kernel) already subtracted, but YaST looks at the physical memory configuration. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1139325
https://bugzilla.suse.com/show_bug.cgi?id=1139325#c16
--- Comment #16 from Ladislav Slez�k
https://bugzilla.suse.com/show_bug.cgi?id=1139325
https://bugzilla.suse.com/show_bug.cgi?id=1139325#c17
Ladislav Slez�k
The openQA tests in TW stagings run with exactly 1024MiB of RAM, so YaST runs into this condition there.
It actually found a (minor) bug: https://openqa.opensuse.org/tests/1879992#step/online_repos/2
It still says "has less than 1024MiB of memory", which is not true anymore and should be updated to reflect the changed check.
The message has been fixed in yast2-packager-4.4.11 (https://github.com/yast/yast-packager/pull/588) -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com