Since Phoenix relies on ZONE_DEVICE to provide memory mapping services, the system must ensure that no other applications or kernel drivers are using the PCIe BAR resources when installing the kernel module (phxfs.ko).
If you encounter the following error during installation:
insmod: ERROR: could not insert module phoenixfs.ko: Operation not permittedit typically indicates that the PCIe BAR resources required by Phoenix are already in use. Follow the steps below to identify and resolve the conflict.
First, verify whether any user-space applications are currently accessing NVIDIA device resources:
sudo lsof /dev/nvidia*If any processes are listed, terminate them and retry installing the kernel module.
Next, inspect the set of loaded NVIDIA-related kernel modules:
sudo lsmod | grep nvidiaIn most cases, you will see that nvidia_drm is used by other DRM-related modules, which results in partial occupation of GPU memory resources.
To resolve this issue, you may either:
- Add
nvidia_drmto the system blacklist to prevent it from being loaded automatically, or - Manually unload
nvidia_drmand its dependent modules using rmmod, then retry the installation.