Install on jetson agx

Open
#198 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux

Research direction

Start with /var/lib/dkms/gdrdrv/2.2/build/make.log and the gdrdrv.service status output from the report. Check whether the Jetson AGX kernel and its NVIDIA module meet the package's requirements, and compare the release package with the git-clone build. Done means documenting confirmed compatibility or the specific installation limitation and required support changes.

Written by the indexing model from the issue text.

Description

question

Is it possible to install this on the Jetson AGX?

I tried installing the .deb package but keep getting the error

sudo dpkg -i gdrdrv-dkms_2.2-1_arm64.deb
Selecting previously unselected package gdrdrv-dkms:arm64.
(Reading database ... 202120 files and directories currently installed.)
Preparing to unpack gdrdrv-dkms_2.2-1_arm64.deb ...
Unpacking gdrdrv-dkms:arm64 (2.2-1) ...
Setting up gdrdrv-dkms:arm64 (2.2-1) ...
Loading new gdrdrv-2.2 DKMS files...
It is likely that 4.9.140-tegra belongs to a chroot's host
Building for 4.15.0-143-generic and 4.9.140-tegra
Building for architecture arm64
Building initial module for 4.15.0-143-generic
ERROR (dkms apport): unable to determine source package for gdrdrv-dkms
Error! Bad return status for module build on kernel: 4.15.0-143-generic (arm64)
Consult /var/lib/dkms/gdrdrv/2.2/build/make.log for more information.
Job for gdrdrv.service failed because the control process exited with error code.
See "systemctl status gdrdrv.service" and "journalctl -xe" for details.
invoke-rc.d: initscript gdrdrv, action "start" failed.
● gdrdrv.service - LSB: Startup/shutdown script for GDRcopy kernel-mode driver
   Loaded: loaded (/etc/init.d/gdrdrv; generated)
   Active: failed (Result: exit-code) since Sun 2021-05-16 14:04:22 EDT; 17ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 13022 ExecStart=/etc/init.d/gdrdrv start (code=exited, status=1/FAILURE)

May 16 14:04:22 jetson-agx systemd[1]: Starting LSB: Startup/shutdown script for GDRcopy kernel-mode driver...
May 16 14:04:22 jetson-agx gdrdrv[13022]: Checking required modules: module nvidia is not loaded
May 16 14:04:22 jetson-agx gdrdrv[13022]:  *
May 16 14:04:22 jetson-agx gdrdrv[13022]: modinfo: ERROR: Module gdrdrv not found.
May 16 14:04:22 jetson-agx gdrdrv[13022]: Module gdrdrv does not exist
May 16 14:04:22 jetson-agx systemd[1]: gdrdrv.service: Control process exited, code=exited status=1
May 16 14:04:22 jetson-agx systemd[1]: gdrdrv.service: Failed with result 'exit-code'.
May 16 14:04:22 jetson-agx systemd[1]: Failed to start LSB: Startup/shutdown script for GDRcopy kernel-mode driver.
dpkg: error processing package gdrdrv-dkms:arm64 (--install):
 installed gdrdrv-dkms:arm64 package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (237-3ubuntu10.47) ...
Errors were encountered while processing:
 gdrdrv-dkms:arm64

Also, I'm using the release version, not the git clone (the git clone gives the same error)

Dominant language
C
Stars
1.4k
Forks
198
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/gdrcopy

All issues in NVIDIA/gdrcopy

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.