Giter Club home page Giter Club logo

aminer's Issues

[ERROR]XMRIG is not found, exiting

Hi,最近我在新手机上安装完成后,出现了[ERROR]XMRIG is not found, exiting,多次重新安装均会出现该提示。

Log如下:
Welcome to Termux!

Community forum: https://termux.com/community
Gitter chat: https://gitter.im/termux/termux
IRC channel: #termux on libera.chat

Working with packages:

  • Search packages: pkg search
  • Install a package: pkg install
  • Upgrade packages: pkg upgrade

Subscribing to additional repositories:

  • Root: pkg install root-repo
  • X11: pkg install x11-repo

Report issues at https://termux.com/issues

Aminer is starting

[INFO]Killing other Aminer
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"

Usage:
kill [options] [...]

Options:
[...] send signal to every listed
-, -s, --signal
specify the to be sent
-l, --list=[] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table

-h, --help display this help and exit
-V, --version output version information and exit

For more details see kill(1).
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"

Usage:
kill [options] [...]

Options:
[...] send signal to every listed
-, -s, --signal
specify the to be sent
-l, --list=[] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table

-h, --help display this help and exit
-V, --version output version information and exit

For more details see kill(1).
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"
[ERROR]XMRIG is not found, exiting

Upgrading packages

Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [108 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [114 kB]
Fetched 336 kB in 13s (25.6 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Installing dependency

Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version (3.16.3-1ubuntu1).
libhwloc-dev is already the newest version (2.1.0+dfsg-4).
build-essential is already the newest version (12.8ubuntu1.1).
git is already the newest version (1:2.25.1-1ubuntu3.2).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.11).
libuv1-dev is already the newest version (1.34.2-1ubuntu1.3).
^Croot@localhost:~# c

难道我只能等?

DSC_0162

是要等伺服器回应我?
我需要重开吗,还是他会自动重新连接?

.deb no install, programm don't work (try y/n/i)

dpkg: error processing archive /var/cache/apt/archives/libc6_2.31-0ubuntu9.2_arm64.deb (--unpack):
new libc6:arm64 package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.31-0ubuntu9.2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[INFO]Getting xmrig source code
./install.sh: line 22: git: command not found
[INFO]Changing donate level to 1 %
sed: can't read ./xmrig-C3/src/donate.h: No such file or directory
sed: can't read ./xmrig-C3/src/donate.h: No such file or directory
mkdir: cannot create directory ‘xmrig-C3/build’: No such file or directory
[INFO]XMRIG create success

Huge Pages

Huge Pages is supported but not used.

求助

Screenshot_20210419-023132
Screenshot_20210419-024336
运行程序时报错,是服务器端的问题吗?

求助

Screenshot_20210419-023132
运行程序时报错,是服务器端的问题吗?

Aminer work fine about a week ago till recently

Here is the log,it looks like cmake got some things wrong, but C3pool.xmrig didn't do anything update ,I can't figure out why

[ 41%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuConfig.cpp.o [ 41%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuThreads.cpp.o [ 42%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuThread.cpp.o [ 42%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/CpuWorker.cpp.o [ 43%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/platform/HwlocCpuInfo.cpp.o [ 43%] Building CXX object CMakeFiles/xmrig.dir/src/backend/cpu/platform/BasicCpuInfo_arm.cpp.o In file included from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /root/xmrig-C3/src/crypto/randomx/randomx.h:170:1: error: template with C linkage 170 | template<typename T> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ In file included from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:48: /root/xmrig-C3/src/crypto/astrobwt/AstroBWT.h:37:1: error: template with C linkage 37 | template<Algorithm::Id ALGO> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ In file included from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:48: /root/xmrig-C3/src/crypto/astrobwt/AstroBWT.h:40:1: error: template specialization with C linkage 40 | template<> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:71:1: error: template with C linkage 71 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:109:1: error: template with C linkage 109 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:132:1: error: template with C linkage 132 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:156:1: error: template with C linkage 156 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:246:1: error: template with C linkage 246 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:254:1: error: template with C linkage 254 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:390:1: error: template with C linkage 390 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:409:1: error: template with C linkage 409 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:453:1: error: template with C linkage 453 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:482:1: error: template specialization with C linkage 482 | template<> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:504:1: error: template with C linkage 504 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:522:1: error: template with C linkage 522 | template<size_t N> | ^~~~~~~~ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here 33 | extern "C" { | ^~~~~~~~~~ /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:561:1: error: expected ‘}’ at end of input 561 | } // namespace xmrig | ^ In file included from /root/xmrig-C3/src/crypto/randomx/intrin_portable.h:385, from /root/xmrig-C3/src/crypto/randomx/randomx.h:36, from /root/xmrig-C3/src/backend/cpu/CpuWorker.cpp:43: /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:12: note: to match this ‘{’ 33 | extern "C" { | ^ make[2]: *** [CMakeFiles/xmrig.dir/build.make:1233: CMakeFiles/xmrig.dir/src/backend/cpu/CpuWorker.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:140: CMakeFiles/xmrig.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 [INFO]XMRIG create success ##### Please restart Termux App to run XMRIG ##### root@localhost:~#

经测试,以下手机可用

魅蓝NOTE6 骁龙625 安卓7.1.2 算力40H/s
魅蓝NOTE5 安卓7.1 算力23H/s
华为R9m 骁龙615 安卓7.1 算力30H/s
荣耀5X 骁龙615 安卓7.1 算力20H/s
其他待更新

编译错误

这是什么原因啊

make[2]: *** [CMakeFiles/xmrig.dir/build.make:1012: CMakeFiles/xmrig.dir/src/base/net/stratum/DaemonClient.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/xmrig.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

huge pages 能开启吗

我小米 11 上的骁龙 888 算力怎么只有 732.7H/s,是否能通过开启 huge pages 提升算力

Proot error (Huawei V20 without root)

[INFO] Device architecture :- armhf
[INFO] Downloading Ubuntu image
--2021-04-21 15:42:55-- https://mirrors.ustc.edu.cn/ubuntu-cdimage/ubuntu-base/releases/20.04.1/release/ubuntu-base-20.04.1-base-armhf.tar.gz
Resolving mirrors.ustc.edu.cn... 2001:da8:d800:95::110, 202.141.160.110
Connecting to mirrors.ustc.edu.cn|2001:da8:d800:95::110|:443... connected.
Unable to establish SSL connection.

Install Ubuntu

[INFO] Create /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs
[INFO] Decompressing the ubuntu rootfs

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
/proc/self/fd/63: line 111: etc/resolv.conf: No such file or directory
[INFO] Writing stubs
/proc/self/fd/63: line 116: usr/bin/groups: No such file or directory
[INFO] Successfully wrote stubs
[INFO] Creating the start script
[INFO] Delete Ubuntu image
[INFO] Ubuntu 20.04.1 install complete
[INFO] Ubuntu setup complete
[INFO] Setting termux's .bashrc
[INFO] Setting Ubuntu's .bashrc and service.sh
/proc/self/fd/63: line 342: /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/service.sh: No such file or directory
/proc/self/fd/63: line 379: /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs/root/.bashrc: No such file or directory
[INFO] Start up Ubuntu...
proot warning: can't sanitize binding "ubuntu-fs/tmp": No such file or directory
proot warning: can't chdir("/root/.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot error: '/usr/bin/env' not found (root = /data/data/com.termux/files/home/ubuntu-in-termux/ubuntu-fs, cwd = /, $PATH=(null))
fatal error: see proot --help.
$

无法安装

/proc/self/fd/63: line 9: $'\r': command not found
/proc/self/fd/63: line 13: $'\r': command not found
/proc/self/fd/63: line 22: $'\r': command not found
/proc/self/fd/63: line 23: $'\r': command not found
/proc/self/fd/63: line 24: syntax error near unexpected token $'{\r'' 'proc/self/fd/63: line 24: INFO(){

核心调用不全

我这两台设备都出现了核心调用不完整的情况
1.OPPO A37, CPU: MT6750, 仅调用了两个A53核心(共A53 @ 1.5GHz+A53 @ 1.0GHz)
2.HUAWEI P30, CPU: Kirin980, 仅调用了三个A55核心(共2xA76 2.6GHz+ 2xA76 1.92Ghz + 4xA55 1.8Ghz)
暂不确定是termux的问题还是Aminer的原因

编译失败

cc: error: unrecognized command line option ‘-maes’
make[2]: *** [src/3rdparty/argon2/CMakeFiles/argon2.dir/build.make:63: src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/argon2.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:145: src/3rdparty/argon2/CMakeFiles/argon2.dir/all] Error 2

机器不使用内存算力底下问题

机器是4G内存用xmrig直接在tm上编译然后运行,使用内存算力能达到240H,用这个脚本反而不使用内存,机器cpu是骁龙660
QQ图片20210516125444

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.