nitr8 / docker-creepminer

creepMiner docker image
6 stars 7 forks source link

Error creating a container in raspberry #6

Open david1111967 opened 5 years ago

david1111967 commented 5 years ago

When executing the Compose of the miner creep he received the following

Creating CreepMiner ... done
Attaching to CreepMiner
CreepMiner | standard_init_linux.go:211: exec user process caused "exec format error"
CreepMiner exited with code 1
golyalpha commented 5 years ago

@david1111967 You need to build the image locally on the Raspberry.

golyalpha commented 5 years ago
git clone https://github.com/nitr8/docker-creepminer.git
cd docker-creepminer
docker build . -t creepminer:latest
docker create \
--name=creepMiner \
-e AUTO_START=TRUE \
-e TZ=<timezone> \
-p 8124:8124 \
-p 9001:9001 \
-p 9002:9002 \
-v </path/to/local/config/dir>:/config
-v </path/to/plot_dir_01>:/plot/01 \
-v </path/to/plot_dir_02>:/plot/02 \
creepminer:latest
david1111967 commented 5 years ago

I tried to compile several times as you told me, but it freezes by 40%. Thanks in advance.

nitr8 commented 5 years ago

@david1111967 what rpi u using?

cat /proc/cpuinfo

Sorry folks - for some reason this project's "issues" where going into trash. I will start monitoring these now..

golyalpha commented 5 years ago

@nitr8 Does creepMiner have fixes for AARCH64 in the dev branch?

david1111967 commented 5 years ago

In the end I got it compiled with a stable version of creepminer and modifying the following parameters

RUN cd /tmp/ && wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py && pip install conan && wget https://github.com/Creepsky/creepMiner/archive/1.7.19.tar.gz && tar -zxvf 1.7.19.tar.gz && cd creepMiner-1.7.19 && conan install . -s compiler.libcxx=libstdc++11 --build=missing && cmake CMakeLists.txt -DMINIMAL_BUILD=ON -DUSE_SSE4=OFF && make && cp -r src/shabal/opencl/mining.cl /usr/local/sbin/ && cp -r bin/creepMiner /usr/local/sbin/ && cp -r resources/public /usr/local/sbin/ && mkdir /config && mkdir /logs

If I managed to compile a more recent version, I will let you know

david1111967 commented 5 years ago

@david1111967 what rpi u using?

cat /proc/cpuinfo

Sorry folks - for some reason this project's "issues" where going into trash. I will start monitoring these now..

I am using a raspberry pi 3 b.

processor : 0 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 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 : 38.40 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 : 38.40 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 : 38.40 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 : BCM2835 Revision : a02082 Serial : 000000008463177d

Nothing's happening mate

nitr8 commented 5 years ago

@nitr8 Does creepMiner have fixes for AARCH64 in the dev branch?

nope NAFAIK :(

golyalpha commented 5 years ago

@nitr8 Because I managed to make it work at some point in the past, and still have my Rock64 with the 64bit Rockchip that I was doing to work on originally... I'll see if I can make a pull request then...