ubuntu - Yocto Project: Ubuntu 16.04 LTS keeps crashing when running: bitbake fsl-image-gui
问题描述
Currently using a Dell-Precision-T1650 Machine with 8 GB of RAM, Intel Core i5 Processor (3.3GHz), and an external (USB Connected) Western Digital Hard-drive (3 TB).
The external drive has Ubuntu 16.04 LTS running and am able to boot from that drive.
I am currently building a Yocto Sumo image for my Variscite Dart-iMX8M-Mini Board using a custom Yocto build downloaded from: http://variwiki.com/index.php?title=Yocto_Build_Release&release=RELEASE_SUMO_V2.2_DART-MX8M-MINI
I am able to successfully complete all the steps, but when I get to my final step of building the actual image using: bitbake fsl-image-gui
My computer begins to crash at ~80% completion.No error signs are generated before the crash happens, as the computer just goes blank and asks for my login password. I have to restart the terminal and re-initiate the bitbake command.
I am not sure why this keeps happening as I have tried it on two identical machines and am getting the same malfunction on both.
I have also installed all the appropriate packages and the only warning / error sign I get while building is this:
WARNING: /home/midi/var-fsl-yocto/sources/meta-variscite-imx/recipes-kernel/linux/linux-variscite_4.14.98.bb.do_compile is tainted from a forced run
Any help would be much appreciated.
Best, Mickey
解决方案
You don't make it clear if you are being logged out, or the machine is rebooting.
Spontaneous rebooting is usually caused by thermal overload (an hour of compiling can easily cause insufficient cooling to overhead the processor) or damaged RAM (compiling takes a lot of memory). Run something like memtest86
to verify that your RAM is good, and use a processor temperature monitor to see if you hit any thermal limits that cause a reboot.
Logging out is most likely the out-of-memory killer running. You can check this by looking at the dmesg
output after it happens. If this is the case then you need more RAM.
推荐阅读
- r - 如何根据数据框列设置 R plotrix::polar.plot 中符号的大小和/或颜色?
- python - 如何取数组中各个元素的平均值
- python - 从列表中获取唯一组
- android - 如何将数据从主页传递到 tabLayout (TabItem)
- javascript - 如何在本机反应中将状态值设置为数组?
- node.js - Amplify cli : npm ERR! Maximum call stack size exceeded
- laravel - laravel hyn/multi-tenancy override login method using tenant db redirect again login page try to redirect homepage
- c++ - 如何按列对二维矩阵进行排序?
- swift - SwiftUI Section中的可选页眉和页脚,不透明的返回类型错误
- vue.js - Vue - include Vue file into other Vue file