Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Installing Nvidia driver on the unRAID host OS

Featured Replies

I am planning to install the Nvidia driver on the unRAID host OS to use the nvidia-docker.

But it seems that I am the first person to do this, I encountered a few problems that even Google couldn't help.

 

I cannot install Nvidia driver on unRAID.

 

I downloaded a .run file from http://www.nvidia.com/object/unix.html.

The installer requires a few packages, "binutils", "GNU make" and "gcc".

 

I downloaded these packages from https://packages.slackware.com, and ran "installpkg" for each of them.

All of them output the same error "ldconfig: cannot execute binary file: Exec format error".

 

Although error occurred, I still tried to run the installer again, then it said it cannot find the kernel header file.

Quote

ERROR: The kernel header file '/lib/modules/4.9.30-unRAID/source/include/linux/kernel.h' does not exist.  The most likely reason for this is that the kernel source path                             

         '/lib/modules/4.9.30-unRAID/source' is incorrect.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux        

         systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source     

         path with the '--kernel-source-path' command line option.

 

Then I installed the package "kernel-headers", it still gave the same errors.

So I tried to run "sh NVIDIA-Linux-x86_64-384.98.run --kernel-source-path </path/to/source>" to point it to the specific directory:

First I tried "--kernel-source-path /usr/include/linux", error occurred,

Quote

ERROR: The kernel header file '/usr/include/linux/include/linux/kernel.h' does not exist....(Same as above)

then I tried "--kernel-source-path /usr", error occurred,

Quote

ERROR: The kernel source path '/usr' is invalid....(Same as above)

Because the installer will locate the kernel source from "/lib/modules/4.9.30-unRAID/source" by default,

so I copied "/usr/include" to "/lib/modules/4.9.30-unRAID/source" and run the installer again without any parameters, but still fail,

Quote

ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/4.9.30-unRAID/source'....(Same as above)

 

The problems are:

How to properly install the packages "binutils", "GNU make" and "gcc" and "kernel-headers" without "ldconfig: cannot execute binary file: Exec format error"?

How to let the Nvidia driver installer determine the version of the kernel source? (Or is it due to the "Exec format error"?)

1 hour ago, kit17 said:

Exec format error

Generally means that you're trying to run a 32 bit executable.  unRaid is not compiled to support 32 bit binaries.

 

  • Author
3 hours ago, Squid said:

Generally means that you're trying to run a 32 bit executable.  unRaid is not compiled to support 32 bit binaries.

 

I don't remember whether ldconfig is installed by me or the system.

 

So how to get rid of the error? Is there a 64-bit version ldconfig?

You need to download and install the 64-bit packages. The easy way is to install the plugin called Dev Tool. It should have all the packages you mention.

  • 10 months later...

did you get it installed ? i have installed the packages and the nvidea installer can´t find the kernel version ... 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.