Creating docker image for alarm

This forum is for discussion about general software issues.

Creating docker image for alarm

Postby 02m » Fri Feb 26, 2016 11:36 pm

Hi,,

I am trying to make alarm docker image on my RPi 1st generation. I have installed latest alarm image and I am following instructions from here with edited Architecture to match my RPis. The mkimage-arch script stops with en error. The strange thing is that error is different every time I run the script.

First it fails with:
$this->bbcode_second_pass_code('', '
...
:: Processing package changes...
( 1/87) installing linux-api-headers [#########################################################################################################] 100%
( 2/87) installing tzdata [#########################################################################################################] 100%
( 3/87) installing iana-etc [#########################################################################################################] 100%
( 4/87) installing filesystem [#########################################################################################################] 100%
chroot: failed to run command '/bin/sh': No such file or directory
')

another time with:

$this->bbcode_second_pass_code('', '
...
(16/87) installing gdbm [#########################################################################################################] 100%
(17/87) installing db [#########################################################################################################] 100%
(18/87) installing perl [#########################################################################################################] 100%
(19/87) installing openssl [#########################################################################################################] 100%
Optional dependencies for openssl
ca-certificates [pending]
/bin/sh: haveged: command not found [##########################################################################-------------------------------] 71%
/bin/sh: pacman-key: command not found
/bin/sh: pkill: command not found
/bin/sh: pacman: command not found
/bin/sh: pacman-key: command not found
/bin/sh: pkill: command not found
')

next time:

$this->bbcode_second_pass_code('', '
( 6/87) installing gcc-libs [#########################################################################################################] 100%
( 7/87) installing ncurses [#########################################################################################################] 100%
( 8/87) installing readline [#########################################################################################################] 100%
chroot: failed to run command '/bin/sh': No such file or directory
')

What could be the reason of this sporadic behaviour?
02m
 
Posts: 2
Joined: Fri Feb 26, 2016 12:25 pm

Re: Creating docker image for alarm

Postby WarheadsSE » Sat Feb 27, 2016 11:06 pm

You could be running out of memory, be out of sync with the disk, etc. I would have to examine the whole thing to see more.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Creating docker image for alarm

Postby 02m » Sun Feb 28, 2016 3:46 am

Thanks for the tips. According to free memory usage does not go above 55M while mk-image-arch script is running and stops with an error. I also tried running it with 2G swap file on, but got same results. Also no messages are present in dmesg when the script fails. What could I do to gather more information which might indicate that this is a sync problem?
02m
 
Posts: 2
Joined: Fri Feb 26, 2016 12:25 pm


Return to General

Who is online

Users browsing this forum: No registered users and 27 guests