MoneroOcean / xmrig

Monero (rx/0, rx/wow, rx/loki, defyx, rx/arq, rx/sfx, rx/keva, cn/0, cn/1, cn/2, cn/r, cn/fast, cn/half, cn/xao, cn/rto, cn/rwz, cn/zls, cn/double, cn/gpu, cn-lite/0, cn-lite/1, cn-heavy/0, cn-heavy/tube, cn-heavy/xhv, cn-pico, cn-pico/tlo, argon2/chukwa, argon2/wrkz, astrobwt) CPU/GPU miner
https://moneroocean.stream
GNU General Public License v3.0
271 stars 83 forks source link

All threds fail on a Rasberry Pi 4 #125

Open NastroukaPro opened 6 months ago

NastroukaPro commented 6 months ago

Describe the bug When starting Xmrig on a Rasberry Pi 4 it tries to run the Ghostrider test but all threads fail and nothing happens. When Ctrl + C is pressed, it shows a Segmentation fault.

To Reproduce Install Xmrig from the Pi app store

Expected behaviour Ghostrider test is passed successfully

Required data

Output

 * ABOUT        XMRig/6.19.2-mo1 gcc/12.2.0
 * LIBS         libuv/1.44.2 OpenSSL/3.0.11 hwloc/2.9.0
 * HUGE PAGES   supported
 * 1GB PAGES    unavailable
 * CPU          ARM Cortex-A72 (1) 64-bit -AES
                L2:1.0 MB L3:0.0 MB 4C/4T NUMA:1
 * MEMORY       0.4/3.7 GB (11%)
 * DONATE       1%
 * POOL #1      pool.hashvault.pro:443 algo auto
 * COMMANDS     'h' hashrate, 'p' pause, 'r' resume, 's' results, 'c' connection
 * OPENCL       disabled
 * CUDA         disabled
[2023-12-22 19:11:29.112]  config   configuration saved to: "/home/npro/.xmrig.json"
[2023-12-22 19:11:29.113]  benchmk   STARTING ALGO PERFORMANCE CALIBRATION (with 10 seconds round) 
[2023-12-22 19:11:29.113]  benchmk   Algo ghostrider Preparation 
[2023-12-22 19:11:29.113]  cpu      use profile  ghostrider  (4 threads) scratchpad 2048 KB
[2023-12-22 19:11:31.403]  cpu      thread #2 self-test failed
[2023-12-22 19:11:31.414]  cpu      thread #1 self-test failed
[2023-12-22 19:11:31.437]  cpu      thread #0 self-test failed
[2023-12-22 19:11:31.438]  cpu      thread #3 self-test failed
[2023-12-22 19:11:31.438]  cpu      disabled (failed to start threads)
[2023-12-22 19:12:29.147]  miner    speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s avg n/a H/s
[2023-12-22 19:13:29.185]  miner    speed 10s/60s/15m n/a n/a n/a H/s max n/a H/s avg n/a H/s
[2023-12-22 19:14:14.751]  signal   Ctrl+C received, exiting
Segmentation fault

Json config


{
    "http": {
        "enabled": true,
        "host": "0.0.0.0",
        "port": 62448,
        "access-token": null,
        "restricted": true
    },
    "autosave": true,
    "cpu": true,
    "opencl": false,
    "cuda": false,
    "pools": [
        {
            "url": "pool.hashvault.pro:443",
            "user": "(Wallet was here)",
            "pass": "npro-rpi",
            "keepalive": true,
            "tls": true
        }
    ]
}
realsetvin commented 1 month ago

do you have hwloc installed? seems some kind of memory issue. Undoubtedly due to arm incompatibility

https://github.com/xmrig/xmrig/issues/3183

seems to be ongoing

image