metal3d / docker-xmrig

Xmrig containeried to mine monero cryptocurrency
MIT License
68 stars 48 forks source link

MSR kernel module is not available #4

Closed c0dyhi11 closed 1 year ago

c0dyhi11 commented 2 years ago
[2022-01-11 03:14:08.182]  msr      msr kernel module is not available
[2022-01-11 03:14:08.182]  msr      FAILED TO APPLY MSR MOD, HASHRATE WILL BE LOW

Is this something that you've experienced? Or have gotten a work around for? This reduces hashrate by a lot compared to running xmrig outside a container.

$ docker --version
Docker version 20.10.9, build c2ea9bc
metal3d commented 2 years ago

I have this warning too. I will recompile a new version in a few days. Sorry for the delay, some problems to resolve outside this project ;)

thibp commented 2 years ago

How about this issue? Thanks

metal3d commented 2 years ago

Sorry, too busy for a moment, I will take a look in a few hours/days (baby is born, hard to find some times)

dankthropod commented 1 year ago

I'm sorry to disturb, but I'm still having this issue. Are you planning on maintaining this?

metal3d commented 1 year ago

I'm sorry, I had a lot of stuffs to do. I'm currently checking what happend to my proxy and I will update the image / Dockerfile

metal3d commented 1 year ago

I finally found why it doesn't set MSR.

I give explanation in the README file. You need to set some devices, use privileged container and sudo (to make it possible to touch host CPU MSR)

Can you try, and reopen the issue if it doesn't work for you ?