Closed juimdpp closed 1 year ago
For anyone who has encountered this problem, make sure your IOMMU is disabled. The module works well once this is done!
You can check this via the methods mentioned in this website.
Personally for me, adding intremap=off
to GRUB_CMDLINE_LINUX
wasn't enough to turn the IOMMU off. I tried to disable it via BIOS, but this didn't work (the setting was reset every time the computer is turned on again).
I finally was able to turn it off by adding amd_iommu=off
to GRUB_CMDLINE_LINUX
(if you're using AMD. Add intel_iommu=off
if you're using Intel).
Hello, I can't manage to use nvmevirt because the Virtual NVMe device is removed after its creation by nvmevirt. Here is the kernel log (
sudo dmesg
):I followed the instructions from README (didn't even change Makefile configurations) and am using Ubuntu 20.04.1 with Linux kernel version 5.15.0-73-generic. I reserved 1G of memory from 4G (
GRUB_CMDLINE_LINUX="memmap=1G\\\$4G"
). As you can see, a Virtual NVMe device is successfully created but then removed after probe fails with a -5 status.insmod
takes quite a long time (a little over a minute I think), and I found out that the nvme_dispatcher does not end properly. I tried diverse memory mappings, but nothing worked. I even tried another version of Ubuntu (22.04 LTS - uses linux kernel version 5.19) but that didn't work either.I would really appreciate it if anyone could help me. Thank you!