You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./result/bin/cudominercli
Pkg: Error reading from file.
$ strace ./result/bin/cudominercli 2>&1 | grep open
...
openat(AT_FDCWD, "/sys/fs/cgroup/memory/memory.limit_in_bytes", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
...
$ ls /sys/fs/cgroup/memory.* | cat
/sys/fs/cgroup/memory.numa_stat
/sys/fs/cgroup/memory.pressure
/sys/fs/cgroup/memory.reclaim
/sys/fs/cgroup/memory.stat
# https://stackoverflow.com/questions/65646317/sys-fs-cgroup-memory-memory-limit-in-bytes-not-present-in-fedora-33
$ findmnt /sys/fs/cgroup
TARGET SOURCE FSTYPE OPTIONS
/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
The issue is related to new cgroup v2. To resolve this, revert cgroup to v1:
sudo sed -i '/^GRUB_CMDLINE_LINUX/ s/"$/ systemd.unified_cgroup_hierarchy=0"/' /etc/default/grub
and reboot.
After this /sys/fs/cgroup/memory/memory.limit_in_bytes will be present.
Hi, I just wanted to let you know that I'm only a user. I used this software on Windows but I haven't tried to use it on Linux since I use NixOS as my primary OS. CudoMiner was made primarily for Ubuntu as far as I'm aware. I haven't tried packaging software for Nix.
Here is a screenshot of the download page from CudoMiner for Ubuntu
Here is the line of bash as text: sudo su -c "bash <(wget -qO- https://download.cudo.org/tenants/135790374f46b0107c516a5f5e13069b/5e5f800fdf87209fdf8f9b61441e53a1/linux/x64/stable/install.sh)" root
all good : )
i just wanted to share my progress
waiting for NixOS#333219 could take forever, because low priority
download page from CudoMiner
yepp, i have a user account at cudominer.com, and i get the same url for install.sh
a possible workaround for the cgroup2 error would be to downgrade to cgroup1
as described on stackoverflow
but i hope that cudominer will fix their code in the near future...
cryptocurrency miner from https://www.cudominer.com/cudo-miner-cryptocurrency-mining-software/
draft in milahu/nur-packages@843fed8
status: fails to run
readme.txt
issue reported in discord chat https://discord.com/channels/541993453467336704/541993454180237333/1291413717568716862
upstream issue NixOS#333219 - ping @Nika03
the download url for
install.sh
seems to be stable for different users at cudominer.comThe text was updated successfully, but these errors were encountered: