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

"gdrdrv-dkms:amd64 is not configured" in container when installing NVSHMEM #24

Open
JoeyYoung opened this issue Feb 26, 2025 · 5 comments

Comments

@JoeyYoung
Copy link

Hi all,

I have successfully installed and loaded the kernel modules on the host machine (with gdrcopy_copybw verified), but when I enter the container env to install the prebuilt debs, instructed as follows:

Container: install DEB packages without rebuilding modules:
sudo dpkg -i gdrcopy_2.4.4_amd64.Ubuntu22_04.deb \
             libgdrapi_2.4.4_amd64.Ubuntu22_04.deb \
             gdrcopy-tests_2.4.4_amd64.Ubuntu22_04+cuda12.3.deb

I encounter the following errors:

(Reading database ... 29421 files and directories currently installed.)
Preparing to unpack gdrcopy_2.4.4_amd64.Ubuntu22_04.deb ...
Unpacking gdrcopy:amd64 (2.4.4) over (2.4.4) ...
dpkg: dependency problems prevent configuration of gdrcopy:amd64:
 gdrcopy:amd64 depends on gdrdrv-dkms (= 2.4.4); however:
  Package gdrdrv-dkms:amd64 is not configured yet.

dpkg: error processing package gdrcopy:amd64 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gdrcopy:amd64

Any hints on how to solve the problem?

@piotrmaciejbednarski
Copy link

piotrmaciejbednarski commented Feb 26, 2025

If this is a WSL2 container then gdrcopy is not supported.
NVIDIA/gdrcopy#219

@JoeyYoung
Copy link
Author

If this is a WSL2 container then gdrcopy is not supported. NVIDIA/gdrcopy#219

no, we use linux kernel 5.15.0-131-generic

@piotrmaciejbednarski
Copy link

Then I don't know. Can you try building gdrcopy from source?

@haswelliris
Copy link
Collaborator

@JoeyYoung Would you be able to try installing the gdrdrv-dkms_2.4.4_amd64.Ubuntu22_04.deb package inside the container as well?

@alexsun07
Copy link

@JoeyYoung Would you be able to try installing the gdrdrv-dkms_2.4.4_amd64.Ubuntu22_04.deb package inside the container as well?

Thanks, this one works! (also need to install dkms in container)

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

4 participants