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

MSR MOD failed on Docker desktop (windows) #3

Open
gandadil opened this issue Mar 17, 2022 · 3 comments
Open

MSR MOD failed on Docker desktop (windows) #3

gandadil opened this issue Mar 17, 2022 · 3 comments

Comments

@gandadil
Copy link

gandadil commented Mar 17, 2022

MSR MOD is failed on run in my Docker Desktop (Windows). Here is my log. This is the first run of the container:

  • ABOUT XMRig/6.16.4-mo1 gcc/10.3.1
  • LIBS libuv/1.42.0 OpenSSL/1.1.1l hwloc/2.5.0
  • HUGE PAGES supported
  • 1GB PAGES disabled
  • CPU AMD Ryzen 5 5600G with Radeon Graphics (1) 64-bit AES VM
    L2:3.0 MB L3:16.0 MB 6C/12T NUMA:1
  • MEMORY 2.2/7.4 GB (29%)
  • DONATE 0%
  • ASSEMBLY auto:ryzen
  • POOL 1 gulf.moneroocean.stream:10128 algo auto
  • COMMANDS hashrate, pause, resume, results, connection
  • HTTP API 0.0.0.0:3000
    [2022-03-17 15:32:45.020] net use pool gulf.moneroocean.stream:10128 18.210.126.40
    [2022-03-17 15:32:45.020] net new job from gulf.moneroocean.stream:10128 diff 128001 algo rx/0 height 2581662 (18 tx)
    [2022-03-17 15:32:45.020] cpu use argon2 implementation AVX2
    [2022-03-17 15:32:45.021] msr msr kernel module is not available
    [2022-03-17 15:32:45.021] msr FAILED TO APPLY MSR MOD, HASHRATE WILL BE LOW

Is there something I can do?

@thelolagemann
Copy link
Owner

How are you starting the container? Are you providing it with the privileged flag? Note that this does have serious security implications, and is not to be used lightly as it allows the container to perform almost any operations the host can. I would strongly suggest reading up on how the privileged flag works and the permissions given, before deciding to make use of it.

@gandadil
Copy link
Author

I am not using this flag. I just set a volume to config file and wallet address and rig name. All other options is copied from readme here from github

@gandadil
Copy link
Author

gandadil commented Mar 17, 2022

here is my command line. --privileged don't change anything:
docker run -d --privileged --name=xmrig-mo -e WALLET_ADDRESS="mywalet" -e RIG_NAME="DESKTOP_ANDRE" -v C:/users/acres/moneroocean/xmrig-mo:/cfg:rw -p 127.0.0.1:3001:3001 thelolagemann/xmrig-mo

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

2 participants