hiveos-docker icon indicating copy to clipboard operation
hiveos-docker copied to clipboard

Cannot get it to work - HELP

Open magpern opened this issue 4 years ago • 2 comments

I have been trying for hours! I have tried most things. I found a workaround to get the image (i forked and changed). But regardless of what I do, I get this. Please point me in the right direction. Running on Ubuntu host with NVIDIA gpu

magpern@home:~/mining/hiveos-rig$ docker run -it
--restart unless-stopped
--name hiveos
--gpus all
-v /home/magpern/mining/hiveos-rig:/hiveos-rig
--privileged
--device /dev/kvm
--device /dev/vfio/vfio
--device /dev/vfio/1
-v /lib/modules:/lib/modules:ro
--ulimit memlock=-1:-1
magpern/hiveos-docker:latest Unbinding consoles... Binding vfio to all NVIDIA/AMD cards... modprobe: module vfio_pci not found in modules.dep modprobe: module vfio_iommu_type1 not found in modules.dep Starting QEMU... QEMU 6.0.0 monitor - type 'help' for more information (qemu) qemu-system-x86_64: -device vfio-pci,host=01:00.0: vfio 0000:01:00.0: failed to open /dev/vfio/1: No such file or directory

magpern avatar Sep 26 '21 15:09 magpern

Think you need to enable immou and SR-IOV in bios, NFA as zombie tired

Lazydayz137 avatar Oct 11 '24 05:10 Lazydayz137

So, I was trying on obscure AMD Apu and get the same thing. Think it still has to do with direct pass through to the container.

Lazydayz137 avatar Oct 16 '24 08:10 Lazydayz137