cpuminer-multi
cpuminer-multi copied to clipboard
0 H/s when mining on Raspberry Pi
I've installed and compiled CPUminer succcessfully with the following commands:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install autoconf libcurl4-openssl-dev libjansson-dev openssl libssl-dev gcc gawk
git clone https://github.com/lucasjones/cpuminer-multi.git
cd cpuminer-multi
sudo ./autogen.sh
sudo ./configure
sudo make
I'm mining Monero on my Raspberry Pi 3B with Raspbian installed.
everything works well but I have a hashrate of zero all the time and my blocks don't get accepted... my wallet also tells me that i'm not mining at all. To run the minerd I use the command:
./minerd -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u <e-mail> -p x -t 4
NOTE: I'm leaving the argument "-p" x
./minerd output:
[2018-06-30 10:34:30] Using JSON-RPC 2.0
[2018-06-30 10:34:30] CPU Supports AES-NI: NO
[2018-06-30 10:34:30] Starting Stratum on stratum+tcp://xmr.pool.minergate.com:45560
[2018-06-30 10:34:30] 4 miner threads started, using 'cryptonight' algorithm.
[2018-06-30 10:34:30] Binding thread 0 to cpu 0
[2018-06-30 10:34:30] Binding thread 1 to cpu 1
[2018-06-30 10:34:30] Binding thread 3 to cpu 3
[2018-06-30 10:34:30] Binding thread 2 to cpu 2
[2018-06-30 10:34:30] Pool set diff to 1063
[2018-06-30 10:34:30] Stratum detected new block
[2018-06-30 10:34:30] thread 1: 0 hashes, 0.00 H/s
[2018-06-30 10:34:30] thread 0: 0 hashes, 0.00 H/s
[2018-06-30 10:34:30] thread 2: 0 hashes, 0.00 H/s
[2018-06-30 10:34:30] thread 3: 0 hashes, 0.00 H/s
[2018-06-30 10:34:45] Stratum detected new block
[2018-06-30 10:34:45] thread 0: 0 hashes, 0.00 H/s
[2018-06-30 10:34:45] thread 3: 0 hashes, 0.00 H/s
[2018-06-30 10:34:45] thread 2: 0 hashes, 0.00 H/s
[2018-06-30 10:34:45] thread 1: 0 hashes, 0.00 H/s
... and so on ...
[2018-06-30 10:38:18] Stratum detected new block
[2018-06-30 10:38:19] thread 0: 0 hashes, 0.00 H/s
[2018-06-30 10:38:19] thread 2: 0 hashes, 0.00 H/s
[2018-06-30 10:38:19] thread 1: 0 hashes, 0.00 H/s
[2018-06-30 10:38:19] thread 3: 0 hashes, 0.00 H/s
[2018-06-30 10:39:20] accepted: 0/1 (0.00%), 5.51 H/s at diff 1063 (booooo)
I have absolutely no idea how to solve this issue... I've heard about running ./config with flags like CFLAGS="-march=native" ./configure
to compile the program but i have no idea what they are used for...
So: What's the problem? Is everything working well? Or did I do something wrong?
Any help would be very appreciated!!
First of all, in readme you have:
./configure CFLAGS="-march=native"
and then make.
When you've done that, come back and show us results.
I'm getting a similar issue. Except it says I'm actually trying to mine XMC instead of XMR and giving invalid shares (despite it saying YAY!!! after having 0 hashes).