Issues

Select view

Enter to search
Shift+Enter to add a new line
    Select search mode

     
    1-50 of 128
    1 of 128

    NVIDIA drivers fail to install - unable to load the kernel module

    Not Applicable

    Description

    When selecting “Install NVIDIA drivers” in the Applications ->Settings menu it goes through the motions and then spits out a wall of text saying that it failed .

    error
    FAILED
    [EFAULT] Command /root/tmp04d41j9j/NVIDIA-Linux-x86_64-550.120-no-compat32.run --tmpdir /root/tmp04d41j9j -s failed (code 1): Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 550.120....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA device(s), or no NVIDIA device installed in this system is supported by this NVIDIA Linux graphics driver release. Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at .
    remove_circle_outline
    More info...
    Error: Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/middlewared/job.py", line 488, in run
    await self.future
    File "/usr/lib/python3/dist-packages/middlewared/job.py", line 535, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *args)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1363, in run_in_thread
    return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1360, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/middlewared/plugins/nvidia.py", line 65, in install
    self._install_driver(job, td, path)
    File "/usr/lib/python3/dist-packages/middlewared/plugins/nvidia.py", line 133, in _install_driver
    subprocess.run([path, "--tmpdir", td, "-s"], capture_output=True, check=True, text=True)
    File "/usr/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['/root/tmp04d41j9j/NVIDIA-Linux-x86_64-550.120-no-compat32.run', '--tmpdir', '/root/tmp04d41j9j', '-s']' returned non-zero exit status 1.

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/middlewared/job.py", line 488, in run
    await self.future
    File "/usr/lib/python3/dist-packages/middlewared/job.py", line 533, in __run_body
    rv = await self.method(*args)
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 49, in nf
    res = await f(*args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 179, in nf
    return await func(*args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/middlewared/plugins/docker/update.py", line 109, in do_update
    await (
    File "/usr/lib/python3/dist-packages/middlewared/job.py", line 436, in wait
    raise self.exc_info[1]
    File "/usr/lib/python3/dist-packages/middlewared/job.py", line 492, in run
    raise handled
    middlewared.service_exception.CallError: [EFAULT] Command /root/tmp04d41j9j/NVIDIA-Linux-x86_64-550.120-no-compat32.run --tmpdir /root/tmp04d41j9j -s failed (code 1):
    Verifying archive integrity... OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 550.120.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

    ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA device(s), or no NVIDIA device installed in this system is supported by this NVIDIA Linux graphics driver release.

    Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information.

    ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at .

    Problem/Justification

    None

    Impact

    None

    relates to

    Pinned fields
    Click on the next to a field label to start pinning.

    Details

    Assignee

    Reporter

    Impact

    Medium

    Components

    Fix versions

    Priority

    More fields

    Katalon Platform

    Created October 4, 2024 at 8:45 AM
    Updated October 10, 2024 at 12:43 PM
    Resolved October 10, 2024 at 12:19 PM

    Activity

    Show:

    Bug Clerk October 10, 2024 at 12:19 PM

    This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

    Bug Clerk October 10, 2024 at 12:19 PM

    Thanks for the ticket but we simply install the latest supported drivers from upstream Nvidia. It seems the hardware you’re using needs the legacy drivers. We do not support installing legacy drivers at this time. However, we hope to investigate and see if there is a way to add this functionality in a future release.

    Bug Clerk October 4, 2024 at 8:46 AM

    Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

    https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

    Loading...