| Summary: | Large images fail in bizarre ways as live images | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Darren Hart <dvhart> |
| Component: | deployment | Assignee: | Robert Yang <liezhi.yang> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | esteele101, jessica.zhang, randy.macleod, richard.purdie, sgw |
| Version: | 1.6 | ||
| Target Milestone: | 2.1 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Darren Hart
2014-03-13 14:50:57 UTC
We suspect some of the issues may have been as a result of the issue in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=5c71337cd79b03322f39e56c22c3e7634a2d9abd which is now resolved (as an error). That has perhaps removed some of this kind of issue. Moving to unassigned as I doubt Brendan will get to this soon. Checking the system memory size in the live image would be good to ensure we have enough space to run as a live image. I've opted to take a look at this issue as my introduction to Yocto bugs. I'm going to replicate the issue through QEMU before looking at creating some runtime scripts that will see if we have sufficient memory to run the live image. It'll probably just write something to dmesg as a warning if memory is low enough to start triggering the OOM_killer In addition to ensuring that the image is created properly, we should add a check to the initramfs to ensure that the live image is smaller than available ram at runtime. |