Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The first time I run it fails with Zelerius variant the second time it works well #2575

Closed
ghost opened this issue Nov 29, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 29, 2019

For unknown reasons the first time I run xmr-stak using Zelerius variant it fails but the following times it works well.

Connection details and settings:

  • Pool address: pool.zelerius.org:4003
  • Username: ZL4YZLRPb4wgaZ9W7kpuesD76E2nrd4i6J7cD8dpigxwFFkQXEW5Kw9E4w5PWmRGydh2sZt9HH3rUEuLazNVxHDU2kE6z6KJK
  • Password: 'empty'
  • Use simple setup method?: Yes (But this doesn't matter, it fails also with N answer)
  • Does this pool port support TLS/SSL?: Yes
  • Version xmr-stak 2.10.7 fd19a5d
  • OS: macOS Catalina 10.15.1

Building options

cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF -DMICROHTTPD_ENABLE=OFF
make -j4

Logs

Here the logs of the first time I execute xmd-stak with Zelerius variant.
I get RECEIVE error: socket closed I use macOS Catalina 10.15.1

./xmr-stak 
Configuration stored in file 'config.txt'
Please enter:
- Please enter the currency that you want to mine: 
	- aeon7
	- bbscoin
	- bittube
	- cryptonight
	- cryptonight_bittube2
	- cryptonight_masari
	- cryptonight_haven
	- cryptonight_heavy
	- cryptonight_lite
	- cryptonight_lite_v7
	- cryptonight_lite_v7_xor
	- cryptonight_r
	- cryptonight_superfast
	- cryptonight_turtle
	- cryptonight_v7
	- cryptonight_v8
	- cryptonight_v8_double
	- cryptonight_v8_half
	- cryptonight_v8_reversewaltz
	- cryptonight_v8_zelerius
	- cryptonight_v7_stellite
	- cryptonight_gpu
	- cryptonight_conceal
	- graft
	- haven
	- lethean
	- masari
	- monero
	- qrl
	- ryo
	- torque
	- plenteum
	- zelerius

zelerius
- Pool address: e.g. pool.example.com:3333
pool.zelerius.org:4003
- Username (wallet address or pool login):
ZL4YZLRPb4wgaZ9W7kpuesD76E2nrd4i6J7cD8dpigxwFFkQXEW5Kw9E4w5PWmRGydh2sZt9HH3rUEuLazNVxHDU2kE6z6KJK
- Password (mostly empty or x):


Use simple setup method? (Y/n)
y
- Does this pool port support TLS/SSL? Use no if unknown. (y/N)
y
Pool configuration stored in file 'pools.txt'
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : Cryptonight hash self-test NOT defined for POW cryptonight_v8_zelerius
-------------------------------------------------------------------
xmr-stak 2.10.7 fd19a5d

Brought to you by fireice_uk and psychocrypt under GPLv3.
Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).

Configurable dev donation level is set to 0.0%

-------------------------------------------------------------------
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
Upcoming xmr-stak-gui is sponsored by:
   #####   ______               ____
 ##     ## | ___ \             /  _ \
#    _    #| |_/ /_   _   ___  | / \/ _   _  _ _  _ _  ___  _ __    ___  _   _
#   |_|   #|    /| | | | / _ \ | |   | | | || '_|| '_|/ _ \| '_ \  / __|| | | |
#         #| |\ \| |_| || (_) || \_/\| |_| || |  | | |  __/| | | || (__ | |_| |
 ##     ## \_| \_|\__, | \___/ \____/ \__,_||_|  |_|  \___||_| |_| \___| \__, |
   #####           __/ |                                                  __/ |
                  |___/   https://ryo-currency.com                       |___/

This currency is a way for us to implement the ideas that we were unable to in
Monero. See https://github.com/fireice-uk/cryptonote-speedup-demo for details.
-------------------------------------------------------------------
[2019-11-29 10:24:56] : Mining coin: cryptonight_v8_zelerius
[2019-11-29 10:24:56] : CPU configuration stored in file 'cpu.txt'
[2019-11-29 10:24:56] : Starting 2x thread, affinity: 0.
[2019-11-29 10:24:56] : hwloc: memory pinned
[2019-11-29 10:24:56] : Starting 2x thread, affinity: 1.
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:24:56] : hwloc: memory pinned
[2019-11-29 10:24:56] : Starting 1x thread, affinity: 2.
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:24:56] : hwloc: memory pinned
[2019-11-29 10:24:56] : Starting 1x thread, affinity: 3.
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:24:56] : hwloc: memory pinned
[2019-11-29 10:24:56] : Starting 1x thread, affinity: 4.
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:24:56] : hwloc: memory pinned
[2019-11-29 10:24:56] : Starting 1x thread, affinity: 5.
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:24:56] : hwloc: memory pinned
[2019-11-29 10:24:56] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:24:56] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:24:56] : Fast-connecting to pool.zelerius.org:4003 pool ...
[2019-11-29 10:24:56] : Pool pool.zelerius.org:4003 connected. Logging in...
[2019-11-29 10:24:57] : SOCKET ERROR - [pool.zelerius.org:4003] RECEIVE error: socket closed
[2019-11-29 10:25:27] : Fast-connecting to pool.zelerius.org:4003 pool ...
[2019-11-29 10:25:27] : Pool pool.zelerius.org:4003 connected. Logging in...
[2019-11-29 10:25:27] : SOCKET ERROR - [pool.zelerius.org:4003] RECEIVE error: socket closed

The second time it works ok: (with MEMORY ALLOC FAILED warnings)

./xmr-stak 
[2019-11-29 10:26:49] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:49] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:49] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:49] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:49] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:49] : Cryptonight hash self-test NOT defined for POW cryptonight_v8_zelerius
-------------------------------------------------------------------
xmr-stak 2.10.7 fd19a5d

Brought to you by fireice_uk and psychocrypt under GPLv3.
Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).

Configurable dev donation level is set to 0.0%

-------------------------------------------------------------------
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
Upcoming xmr-stak-gui is sponsored by:
   #####   ______               ____
 ##     ## | ___ \             /  _ \
#    _    #| |_/ /_   _   ___  | / \/ _   _  _ _  _ _  ___  _ __    ___  _   _
#   |_|   #|    /| | | | / _ \ | |   | | | || '_|| '_|/ _ \| '_ \  / __|| | | |
#         #| |\ \| |_| || (_) || \_/\| |_| || |  | | |  __/| | | || (__ | |_| |
 ##     ## \_| \_|\__, | \___/ \____/ \__,_||_|  |_|  \___||_| |_| \___| \__, |
   #####           __/ |                                                  __/ |
                  |___/   https://ryo-currency.com                       |___/

This currency is a way for us to implement the ideas that we were unable to in
Monero. See https://github.com/fireice-uk/cryptonote-speedup-demo for details.
-------------------------------------------------------------------
[2019-11-29 10:26:49] : Mining coin: cryptonight_v8_zelerius
[2019-11-29 10:26:49] : Starting 2x thread, affinity: 0.
[2019-11-29 10:26:49] : hwloc: memory pinned
[2019-11-29 10:26:49] : Starting 2x thread, affinity: 1.
[2019-11-29 10:26:49] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:49] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:49] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:49] : hwloc: memory pinned
[2019-11-29 10:26:49] : Starting 1x thread, affinity: 2.
[2019-11-29 10:26:49] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:49] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:49] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:49] : hwloc: memory pinned
[2019-11-29 10:26:49] : Starting 1x thread, affinity: 3.
[2019-11-29 10:26:50] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : hwloc: memory pinned
[2019-11-29 10:26:50] : Starting 1x thread, affinity: 4.
[2019-11-29 10:26:50] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : hwloc: memory pinned
[2019-11-29 10:26:50] : Starting 1x thread, affinity: 5.
[2019-11-29 10:26:50] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : hwloc: memory pinned
[2019-11-29 10:26:50] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : Fast-connecting to pool.zelerius.org:4003 pool ...
[2019-11-29 10:26:50] : TLS fingerprint [pool.zelerius.org:4003] SHA256:gQQ53ohZESBtJeKmIzAIrYERP7IXvBk5mlA0cDIMStM=
[2019-11-29 10:26:50] : Pool pool.zelerius.org:4003 connected. Logging in...
[2019-11-29 10:26:50] : Difficulty changed. Now: 20000.
[2019-11-29 10:26:50] : Pool logged in.
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : Switch to assembler version for 'intel_avx' cpu's
[2019-11-29 10:26:50] : New block detected.
[2019-11-29 10:26:57] : New block detected.
[2019-11-29 10:27:24] : New block detected.

Thanks,
Vic

@psychocrypt
Copy link
Collaborator

Thanks for the full issue report +1

The bug is already fixed in our dev branch: #2559 and the fix will be part of the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant