Failed to build emulationstation-kids
-
dmesg confirms "out of memory."
Everything is a default Pi 3. No overclock. Memory split was 128. Should I set to 32? How long should I expect this build to take?
-
did you have other things running ? Should be enough memory - or did you change anything else relating to building from source (eg number of parallel jobs etc).
Or have you removed the default swap ?
-
It's possible it's related to the swap. I only kind of know what I'm doing here. Basically, I burned the image to a usb drive after configuring my pi for USB booting. Changed a few items in config, and updated fstab. I don't recall seeing a swap partition if that's what you mean. Nothing else of note... I launched the script from within the interface, then went to add the package.
I'm guessing that no one has experimental binary sources from the lack of response. Are these build times expected?
proc /proc proc defaults 0 0 /dev/sda1 /boot vfat defaults 0 2 /dev/sda2 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that
-
@timbellomo what is the output of
free
?ES takes a little while to build, but I can't tell you exactly how long.
-
free:
total used free shared buffers cached Mem: 120196 93880 26316 440 2196 20096 -/+ buffers/cache: 71588 48608 Swap: 404472 268136 136336
Granted, it's building again... Stuck on 4% (HelpStyle.cpp) for about 30 minutes. FYI, i dropped GPU to 32.
df -h:
Filesystem Size Used Avail Use% Mounted on /dev/root 29G 4.5G 23G 17% / devtmpfs 55M 0 55M 0% /dev tmpfs 59M 0 59M 0% /dev/shm tmpfs 59M 4.8M 54M 9% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 59M 0 59M 0% /sys/fs/cgroup /dev/sda1 57M 21M 37M 36% /boot
-
@timbellomo You are low on memory. Are you sure you have a RPI3. Looks more like you have a 256 or 512MB Raspberry Pi 1 -depending on split. (in which case you should lower gpu split to 32 for compiling probably).
What's the output of
cat /proc/cpuinfo
? -
if I don't have a Pi 3, i'm going to have some strong words with MicroCenter.
processor : 0 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 76.80 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 1 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 76.80 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 2 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 76.80 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 3 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 76.80 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 Hardware : BCM2709 Revision : a22082 Serial : 0000000068e065c1
-
You do, but you don't have the right amount of free ram. Are you sure about your gpu split ?
Please post me the contents of your
/boot/config.txt
-
Thanks for your help... sorry for the delay. I'm in the middle selling a house and haggling with real estate agents:
pi@retropie:~ $ tail /boot/config.txt # Enable audio (loads snd_bcm2835) dtparam=audio=on #gpu_mem_256=128 #gpu_mem_512=256 #gpu_mem_1024=256 overscan_scale=1 program_usb_boot_mode=1 gpu_mem=32
-
All of it please. Also the output of
uname -a
. -
sorry...
/boot/config.txt:
http://pastebin.com/hpba4CQ1uname -a:
Linux retropie 4.4.26-v7+ #915 SMP Thu Oct 20 17:08:44 BST 2016 armv7l GNU/Linux -
@timbellomo please
sudo apt-get update; sudo apt-get dist-upgrade
to update firmware/kernel. then boot up and dofree
again. -
The full output of
dmesg
would be useful too. thanks. -
dmesg:
http://pastebin.com/1GGexvsRnote: i was building again, but Ctrl+C'd it to run the upgrade
-
Something's definitely wrong - did you update the firmware/kernel via rpi-update at any point ?
[ 0.000000] Memory: 111528K/131072K available (6348K kernel code, 432K rwdata, 1716K rodata, 476K init, 764K bss, 11352K reserved, 8192K cma-reserved)
Let's see when you have updated to the current firmware/kernel
-
Are you running a standard RetroPie image downloaded from our site or something custom ?
-
i burned retropie-4.1-rpi2_rpi3.img. 99% sure from your site. But as I said, I'm running it 100% off of USB, without any SD card. After dist-upgrade it doesn't boot at all anymore :/. Nothing on screen
-
@timbellomo I've not done any booting off USB, but you will want to probably request for help from raspberrypi.org forums where the firmware/kernel devs etc are. I can't really advise further (It's a Raspbian/firmware issue).
-
copied bootcode.bin and start.elf from backup and it's booting again.
new dmesg:
http://pastebin.com/6vJKQkgwi haven't updated the firmware/kernel via rpi-update.
-
There is an issue with the firmware/kernel you are running I think - I cannot advise further and if updating stops it booting, perhaps there is something wrong with your usb booting set-up. I would report to raspberrypi.org and get some advice from there.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.