[GH-ISSUE #24] "gdrdrv-dkms:amd64 is not configured" in container when installing NVSHMEM #23

Closed
opened 2026-10-26 09:52:41 +00:00 by bsakaguchi · 6 comments
Owner

Originally created by @JoeyYoung on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/24

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?

Originally created by @JoeyYoung on GitHub (Feb 26, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/24 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?
Author
Owner

@piotrmaciejbednarski commented on GitHub (Feb 26, 2025):

If this is a WSL2 container then gdrcopy is not supported.
https://github.com/NVIDIA/gdrcopy/issues/219

<!-- gh-comment-id:2684414473 --> @piotrmaciejbednarski commented on GitHub (Feb 26, 2025): If this is a WSL2 container then gdrcopy is not supported. https://github.com/NVIDIA/gdrcopy/issues/219
Author
Owner

@JoeyYoung commented on GitHub (Feb 26, 2025):

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

no, we use linux kernel 5.15.0-131-generic

<!-- gh-comment-id:2684493739 --> @JoeyYoung commented on GitHub (Feb 26, 2025): > If this is a WSL2 container then gdrcopy is not supported. [NVIDIA/gdrcopy#219](https://github.com/NVIDIA/gdrcopy/issues/219) no, we use linux kernel 5.15.0-131-generic
Author
Owner

@piotrmaciejbednarski commented on GitHub (Feb 26, 2025):

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

<!-- gh-comment-id:2684571163 --> @piotrmaciejbednarski commented on GitHub (Feb 26, 2025): Then I don't know. Can you try building gdrcopy from source?
Author
Owner

@haswelliris commented on GitHub (Feb 26, 2025):

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

<!-- gh-comment-id:2684870268 --> @haswelliris commented on GitHub (Feb 26, 2025): @JoeyYoung Would you be able to try installing the gdrdrv-dkms_2.4.4_amd64.Ubuntu22_04.deb package inside the container as well?
Author
Owner

@alexsun07 commented on GitHub (Mar 11, 2025):

@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)

<!-- gh-comment-id:2712535688 --> @alexsun07 commented on GitHub (Mar 11, 2025): > [@JoeyYoung](https://github.com/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)
Author
Owner

@JoeyYoung commented on GitHub (Apr 8, 2025):

closed as the official dockerfile.deepep provides the container environment

<!-- gh-comment-id:2785067585 --> @JoeyYoung commented on GitHub (Apr 8, 2025): closed as the official dockerfile.deepep provides the container environment
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#23
No description provided.