Open JonathanLS opened 6 years ago
What if you build hodlminer from source https://github.com/Orava2/hodlminer ?
Does Hodlminer2017v2 of 2018 work with wine?
@Orava2 after reading README on https://github.com/Orava2/hodlminer I tried to execute the command line using 'minerd' instead of 'hodlminer.exe' and it works (It's a solution so stupidly simple!). But it doesn't work with hodl algorithm. Executing minerd -V it is showing 'cpuminer 2.3.2 libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3'. Does hodlminer from source https://github.com/Orava2/hodlminer work with hodl algo? My version uses only these algorithms: scrypt scrypt(1024, 1, 1) (default) sha256d SHA-256d X11 Xcoin.
Because you are running Linux Mint it is best to compile Linux binary from the source code. I tested build instructions on Linux Mint 18.3.
Ubuntu, Debian and Linux Mint build instructions: sudo apt-get install git git-core sudo apt-get install build-essential pkg-config libcurl4-openssl-dev libssl-dev sudo apt-get install automake git clone https://github.com/Orava2/hodlminer cd hodlminer chmod u+x autogen.sh ./autogen.sh ./configure CFLAGS="-O3 -march=native" make
To use Hodlminer with Suprnova run:
./hodlminer -o stratum+tcp://hodl.suprnova.cc:4693 -u
Benchmark: ./hodlminer --benchmark
~/hodlminer $ ./hodlminer -a hodl -o stratum+tcp://roi.optiminer.pl:5000 -u ROIADDR -p x -t 3 [2018-05-21 14:50:30] Starting Stratum on stratum+tcp://roi.optiminer.pl:5000 [2018-05-21 14:50:30] Could not mmap scratchpad with MAP_HUGETLB. Execute 'echo 512 > /proc/sys/vm/nr_hugepages' to allocate hugepages. [2018-05-21 14:50:30] 3 miner threads started, using 'hodl' algorithm. [2018-05-21 14:50:37] thread 1: 331 hashes, 47.34 hash/s [2018-05-21 14:50:38] thread 2: 366 hashes, 43.97 hash/s [2018-05-21 14:50:38] thread 0: 325 hashes, 38.92 hash/s Segmentation fault
Thanks for that report. Segmentation fault was fixed for Windows versions but seems that the problem still exists in Linux. Before fix thread counts 3, 6, 7, 19, 20, 21, 27, 30, 60 and 63 caused segmentation fault and these seems to be the problem in Linux.
Original algo is designed to be used with thread counts 1, 2, 4, 8, 16, 32, 64 etc
In fact It's working with thread counts 2.
People, I have submitted this information advised by Gary (ghobson) from ROIcoin project.
I can't execute hodlminer.exe on linux...always that I try I receive this below error message.
err:winedevice:ServiceMain driver L"WineBus" failed to load fixme:seh:RtlAddFunctionTable 0x489000 2 400000: stub fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 18/02/2018, dlt (d/m/y): 21/10/2018 [2018-05-19 10:56:15] Starting Stratum on stratum+tcp://roi.suprnova.cc:4699 [2018-05-19 10:56:15] 3 miner threads started, using 'hodl' algorithm. [2018-05-19 10:56:22] thread 0: 334 hashes, 56.51 hash/s [2018-05-19 10:56:23] thread 1: 330 hashes, 44.70 hash/s wine: Unhandled page fault on read access to 0x408a1020 at address 0x7fcc80855529 (thread 0030), starting debugger... Unhandled exception: page fault on read access to 0x408a1020 in 64-bit code (0x00007fcc80855529).
My wine version was 1.6.2 and my linux is DISTRIB_DESCRIPTION="Linux Mint 18.2 Sonya".
I have updated wine for version 1.8, but I have received the same error.
I have updated wine for version wine-3.0, but I have received the same error.
[SOLUTION] I replaced hodlminer.exe by
* cpuminer-opt 3.8.8.1 A CPU miner with multi algo support and optimized for CPUs with AES_NI and AVX2 and SHA extensions. BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT