Code Monkey home page Code Monkey logo

Comments (6)

Bendr0id avatar Bendr0id commented on July 17, 2024

I don't have a NAS but I can setup a FreeBSD build machine and include binaries in the next release.

I thought that the static generic Linux build will also work for FreeBSD. Did you tried that?

from xmrigcc.

PSLLSP avatar PSLLSP commented on July 17, 2024

Linux version doesn't work in the TrueNAS jail (TrueNAS-12.0-U7)...

xmrig that is installed from plugin:

root@xmrig-x:~ # uname -a
FreeBSD xmrig-x 12.2-RELEASE-p11 FreeBSD 12.2-RELEASE-p11 75566f060d4(HEAD) TRUENAS  amd64

root@xmrig-x:~ # file /usr/local/bin/xmrig
/usr/local/bin/xmrig: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked,

root@xmrig-x:~ # /usr/local/bin/xmrig --version
XMRig 6.16.2
 built on Jan 12 2022 with clang 10.0.1 ([email protected]:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)
 features: 64-bit AES

libuv/1.42.0
OpenSSL/1.1.1h-freebsd
hwloc/2.5.0

Segmentation fault for GhostRider (RTM) on older AMD CPU; XMR and other algos that I tried work ok:

root@xmrig-x:~ # /usr/local/bin/xmrig -c config-rtm-test.json
[2022-01-14 13:57:28.410] hwloc auto configuration for algorithm "cn/1" failed.
[2022-01-14 13:57:28.410] hwloc auto configuration for algorithm "cn-heavy/0" failed.
[2022-01-14 13:57:28.410] hwloc auto configuration for algorithm "rx/0" failed.
[2022-01-14 13:57:28.410] hwloc auto configuration for algorithm "ghostrider" failed.
 * ABOUT        XMRig/6.16.2 clang/10.0.1
 * LIBS         libuv/1.42.0 OpenSSL/1.1.1h-freebsd hwloc/2.5.0
 * HUGE PAGES   supported
 * 1GB PAGES    unavailable
 * CPU          AMD Athlon(tm) II X4 610e Processor (1) 64-bit -AES
                L2:2.0 MB L3:0.0 MB 4C/4T NUMA:1
 * MEMORY       15.4/15.7 GB (98%)
 * DONATE       0%
 * ASSEMBLY     auto:none
 * POOL #1      eu-de01.miningrigrentals.com:50821 algo ghostrider
 * COMMANDS     hashrate, pause, resume, results, connection
 * OPENCL       disabled
 * CUDA         disabled
[2022-01-14 13:57:28.927]  net      use pool eu-de01.miningrigrentals.com:50821 188.166.161.62
[2022-01-14 13:57:28.927]  net      new job from eu-de01.miningrigrentals.com:50821 diff 12456 algo ghostrider height 227331
Segmentation fault

xmrigCC, Linux version, it cannot be started at all:

root@xmrig-x:~ # file xmrigCC/miner/xmrigDaemon
xmrigCC/miner/xmrigDaemon: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),statically linked, stripped

root@xmrig-x:~ # xmrigCC/miner/xmrigDaemon --version
ELF binary type "0" not known.
xmrigCC/miner/xmrigDaemon: Exec format error. Binary file not executable.

root@xmrig-x:~ # xmrigCC/miner/xmrigDaemon -c config.json
ELF binary type "0" not known.
xmrigCC/miner/xmrigDaemon: Exec format error. Binary file not executable.

xmrig from xmrig-6.16.2-freebsd-static-x64.tar.gz, it works without any issue:

root@xmrig-x:~ # file xmrig-6.16.2/xmrig
xmrig-6.16.2/xmrig: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 11.4, FreeBSD-style, stripped

root@xmrig-x:~ # xmrig-6.16.2/xmrig --version
XMRig 6.16.2
 built on Dec  2 2021 with clang 10.0.0 ([email protected]:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b)
 features: 64-bit AES

libuv/1.42.0
OpenSSL/1.1.1l
hwloc/2.5.0

It is possible to run Linux virtual machine at TrueNAS and I have several virtual machines with Ubuntu configured on my TrueNAS but such virtual machine is not fast enough to run miner effectively, miner running in a jail has significantly higher hashrate...

from xmrigcc.

Bendr0id avatar Bendr0id commented on July 17, 2024

Added freebsd static binaries to the release 3.0.0

Can you please verify if that fits for you?

Thanks in advance,

from xmrigcc.

Bendr0id avatar Bendr0id commented on July 17, 2024

Miner only:
https://github.com/Bendr0id/xmrigCC/releases/download/3.0.0/xmrigCC-miner_only-3.0.0-freebsd-static-amd64.tar.gz

Miner+Server:
https://github.com/Bendr0id/xmrigCC/releases/download/3.0.0/xmrigCC-3.0.0-freebsd-static-amd64.tar.gz

from xmrigcc.

PSLLSP avatar PSLLSP commented on July 17, 2024

I did fast test and it works, I do not see any issue! Well, it reports miner version as Linux (not FreeBSD) but the same is with original xmrig... The version is visible on some pools, XMRigCC/3.0.0 (Linux x86_64) libuv/1.42.0 clang/11.0.1.

I will play with this miner, I have to explore remote control, it looks like a cool feature...

from xmrigcc.

Bendr0id avatar Bendr0id commented on July 17, 2024

Sure, let me know if I can help you.

Feel free to join the discord and/or telegram channel for support.

from xmrigcc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.