[370.28] with kernel [4.8] on >=2015 machines: driver claims card not supported if nvidia is not primary card

Hi Sandip,

sorry for the late answer. I had the problem with opensuse tumbleweed - probably this issue is related to something of the kernel and/or X customizations they do or the contents of the packages they build.

I don’t have the chance anymore to test this as i’ve sold all of my Optimus Laptops meanwhile. I can check with the one from my sister. But this take time as I don’t see her that much.

Probably you will close the thread.
Alex

Hi Sandip.

I’m sorry, I can not give more clear reproduction steps than described in
https://devtalk.nvidia.com/default/topic/971733/linux/-370-28-with-kernel-4-8-on-gt-2015-machines-driver-claims-card-not-supported-if-nvidia-is-not-primary-card/post/5014713/#5014713
which lists the exact kernel config option, the upstream commit in the kernel to which I bisected the behaviour down, the necessary firmware version on the machine, and the OS configuration.

I did not yet re-test with a newer driver version, though, but I presume the behaviour will be the same.
It for sure is also reproducible without bumblebee, as described in that post.

Cheers,
Oliver

We followed the repro steps, which mentioned in https://devtalk.nvidia.com/default/topic/971733/linux/-370-28-with-kernel-4-8-on-gt-2015-machines-driver-claims-card-not-supported-if-nvidia-is-not-primary-card/post/5014713/#5014713 but found no repro after configure the bumblebee.

Here the dmesg with 375.39.

[ 30.572332] bbswitch: version 0.8
[ 30.572336] bbswitch: Found integrated VGA device 0000:00:02.0: _SB_.PCI0.GFX0
[ 30.572340] bbswitch: Found discrete VGA device 0000:01:00.0: _SB_.PCI0.RP01.PEGP
[ 30.572348] ACPI Warning: _SB.PCI0.RP01.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
[ 30.572421] bbswitch: detected an Optimus _DSM function
[ 30.572428] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 30.576379] [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver
[ 30.594159] nvidia-modeset: Unloading
[ 30.610412] nvidia-nvlink: Unregistered the Nvlink Core, major device number 241
[ 30.702503] ip6_tables: © 2000-2006 Netfilter Core Team
[ 31.022778] Ebtables v2.0 registered
[ 31.228013] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 33.806796] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 33.807817] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 33.808639] alx 0000:02:00.0 enp2s0: NIC Up: 1 Gbps Full
[ 33.808875] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
[ 36.845659] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 37.213682] Netfilter messages via NETLINK v0.30.
[ 37.245176] ip_set: protocol 6
[ 48.240159] fuse init (API version 7.25)
[ 77.529450] nvidia: unknown parameter ‘modeset’ ignored
[ 77.530462] nvidia-nvlink: Nvlink Core is being initialized, major device number 241

Can you test with 381.09 and 375.39

Judging from dmesg, you missed important points of the reproduction steps, for two reasons:

  • My steps don’t even require bumblebee / bbswitch to reproduce the issue. The issue most commonly appears in bumblebee-scenarios, but you can reproduce completely without it.
  • From dmesg, I see:
    [ 30.572428] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
    [ 30.576379] [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver
    So when you loaded bbswitch, the nvidia module was already loaded by some automatic system (udev? nvidia-persistenced?), which indicates it was not blacklisted.

The easiest way to reproduce, to quote myself:

So to reproduce, please try to boot the system without loading the nvidia module or using the nvidia card at all.
Only when the system has finished booting, try “modprobe nvidia”.

Just to make sure, did you check that
dmidecode -t bios | grep -i Release
returns a string ending with “2015”, and which kernel version did you use?

I’ll do that, likely later today, latest tomorrow.

>> In my case, my BIOS also activated PCIe_ASPM for all ports.
Also disable PCIe_ASPM from bios and test

First, I did all tests with kernel version 4.10.1,
and leaving BIOS settings unchanged (i.e. pcie_aspm still on). Here the results:

nvidia driver version     | result with pcie_port_pm not set explicitly | result with pcie_port_pm=off
378.13 (patched for 4.10) | failure to detect card                      | works fine
375.39 (patched for 4.10) | failure to detect card                      | works fine
381.09 (unpatched)        | failure to detect card                      | works fine

Please note that with 381.09, the syslog has become more expressive in case of failure:

[   23.364573] nvidia-nvlink: Nvlink Core is being initialized, major device number 244
[   23.364760] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[   23.364848] NVRM: The NVIDIA GPU 0000:01:00.0
               NVRM: (PCI ID: 10de:139b) installed in this system has
               NVRM: fallen off the bus and is not responding to commands.
[   23.364877] nvidia: probe of 0000:01:00.0 failed with error -1
[   23.364890] NVRM: The NVIDIA probe routine failed for 1 device(s).
[   23.364890] NVRM: None of the NVIDIA graphics adapters were initialized!
[   23.364955] nvidia-nvlink: Unregistered the Nvlink Core, major device number 244
[   23.399149] nvidia-nvlink: Nvlink Core is being initialized, major device number 244
[   23.399487] NVRM: The NVIDIA GPU 0000:01:00.0
               NVRM: (PCI ID: 10de:139b) installed in this system has
               NVRM: fallen off the bus and is not responding to commands.
[   23.399528] nvidia: probe of 0000:01:00.0 failed with error -1
[   23.399540] NVRM: The NVIDIA probe routine failed for 1 device(s).
[   23.399540] NVRM: None of the NVIDIA graphics adapters were initialized!
[   23.399625] nvidia-nvlink: Unregistered the Nvlink Core, major device number 244

In case of success:

[   21.510886] nvidia: module license 'NVIDIA' taints kernel.
[   21.510888] Disabling lock debugging due to kernel taint
[   21.518876] nvidia-nvlink: Nvlink Core is being initialized, major device number 244
[   21.519184] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[   21.519356] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  381.09  Thu Mar 30 20:07:40 PDT 2017 (using threaded interrupts)

Now I tried the following configurations, all with 381.09 on kernel 4.10.1:

BIOS ASPM setting                           | pcie_aspm kernel parameter | pcie_port_pm parameter | result
on (all ports + DMI)                        | off                        | (unset)                | failure to detect card
on (all ports + DMI)                        | force (i.e. "force on")    | (unset)                | failure to detect card
ASPM support disabled for all ports and DMI | (unset)                    | (unset)                | failure to detect card

To my feeling, this problem is fully unrelated to ASPM, but only related to PCIe port power management.

If there are other combinations you’d like to see, just let me know.

Hi All,
Did you test with latest 375.66 and 381.22 ? If issue still reproduce please share detail issue reproduction steps, nvidia bug report as soon as issue hit, The model of affected system. Note we are still not able to reproduce this issue so please provide as mush as detail info so we can reproduce this issue?

~Thanks.

Still running into this issue on Kubuntu 17.04. The same driver (375.66) on 16.04 works fine however (I still have the old system running side by side)

booting the kernel with pcie_port_pm=off however resolves this issue.

Linux matteo-kubuntu 4.10.0-26-generic #30-Ubuntu SMP Tue Jun 27 09:30:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

NVIDIA Driver Version: 375.66
Graphics Processor: GeForce GTX 960M

Without the pcie_port_pm setting:

Jul  2 16:35:19 matteo-kubuntu kernel: [   14.623063] nvidia: loading out-of-tree module taints kernel.
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.623067] nvidia: module license 'NVIDIA' taints kernel.
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.623068] Disabling lock debugging due to kernel taint
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.625995] proc_thermal 0000:00:04.0: enabling device (0000 -> 0002)
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.627545] nvidia: module verification failed: signature and/or required key missing - tainting kernel

Jul  2 16:35:19 matteo-kubuntu kernel: [   14.966927] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967010] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:139b)
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967010] NVRM: installed in this system is not supported by the 375.66
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967010] NVRM: NVIDIA Linux driver release.  Please see 'Appendix
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967010] NVRM: A - Supported NVIDIA GPU Products' in this release's
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967010] NVRM: README, available on the Linux driver download page
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967010] NVRM: at www.nvidia.com.
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967096] nvidia: probe of 0000:01:00.0 failed with error -1
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967137] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967155] NVRM: The NVIDIA probe routine failed for 1 device(s).
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967155] NVRM: None of the NVIDIA graphics adapters were initialized!
Jul  2 16:35:19 matteo-kubuntu kernel: [   14.967156] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242

With the pcie_port_pm setting:

Jul  2 16:44:59 matteo-kubuntu kernel: [    7.962828] nvidia: loading out-of-tree module taints kernel.
Jul  2 16:44:59 matteo-kubuntu kernel: [    7.962833] nvidia: module license 'NVIDIA' taints kernel.
Jul  2 16:44:59 matteo-kubuntu kernel: [    7.962834] Disabling lock debugging due to kernel taint
Jul  2 16:44:59 matteo-kubuntu kernel: [    7.965984] nvidia: module verification failed: signature and/or required key missing - tainting kernel
Jul  2 16:44:59 matteo-kubuntu kernel: [    7.970117] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
Jul  2 16:44:59 matteo-kubuntu kernel: [    7.970277] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
Jul  2 16:44:59 matteo-kubuntu kernel: [    7.970287] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  375.66  Mon May  1 15:29:16 PDT 2017 (using threaded interrupts)
Jul  2 16:44:59 matteo-kubuntu kernel: [    7.992295] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  375.66  Mon May  1 14:33:30 PDT 2017

Do you need any further information / how can I report this officially?

Hi ma2teo,
Please share detail issue reproduction steps, the nvidia bug report log file as soon as issue hit, The model of affected system. Please provide as mush as detail info so we can reproduce this issue?

Hi Sandip,

I am still missing your response to my full, generic reproduction steps. They are fully reproducible, whatever Linux distribution on whatever piece of hardware is used (given the constraints outlined in my detailed instructions).
For reference, the post was #8 in this thread, i.e.:
https://devtalk.nvidia.com/default/topic/971733/linux/-370-28-with-kernel-4-8-on-gt-2015-machines-driver-claims-card-not-supported-if-nvidia-is-not-primary-card/post/5014713/#5014713
Several of my colleagues have reproduced the issue following my instructions on their hardware…

Cheers,
Oliver

  • Can we get detail reproduction steps ?
  1. Install Kubuntu 17.04, maybe Vanilla Ubuntu will work too

  2. Install the nvidia-375 driver from any source (apt-get is sufficient)

  3. Reboot and look into the logs. As reported above the nvidia driver will not be able to start

  4. Add pcie_port_pm=off to the Kernel boot options and it will boot as expected with the driver loading and being capable of selecting the nvidia graphics with prime-select.

  • ALso nvidia bug report of the system on which issue reproduce?
    Not possible because the driver is not even loaded (and thus I could not execute nvidia-bug-report.sh under Ubuntu).

  • What is the model of the system in which issue reproduce ?
    Dell XPS 15 9550

  • Is OS need to be installed in UEFI mode?
    No

  • Is the issue reproduce on other distros like Ubuntu, Fedora etc, OR its specific to Gentoo?
    No idea but it is specific to 17.04 / the 4.10 kernel series. Under 16.04 it works fine.

  • Is the kernel built with any custom config?
    No

Also I just noticed that the installation seems to have failed - I will append the log. Note that I reinstalled the driver several times. This might no be the root cause but rather by induced by one of the installations failing.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jul  2 15:41:34 2017
installer version: 375.66

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

nvidia-installer command line:
    ./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> License accepted.
-> Installing NVIDIA driver version 375.66.
-> Running distribution scripts
   executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed!  Are you sure you want to continue? (Answer: Continue installation)
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes)
-> Installing both new and classic TLS OpenGL libraries.
-> Installing both new and classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility libraries? (Answer: Yes)
-> Will install GLVND GLX client libraries.
-> Will install GLVND EGL client libraries.
-> Skipping GLX non-GLVND file: "libGL.so.375.66"
-> Skipping GLX non-GLVND file: "libGL.so.1"
-> Skipping GLX non-GLVND file: "libGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.375.66"
-> Skipping EGL non-GLVND file: "libEGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.1"
-> Skipping GLX non-GLVND file: "./32/libGL.so.375.66"
-> Skipping GLX non-GLVND file: "libGL.so.1"
-> Skipping GLX non-GLVND file: "libGL.so"
-> Skipping EGL non-GLVND file: "./32/libEGL.so.375.66"
-> Skipping EGL non-GLVND file: "libEGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.1"
Looking for install checker script at ./libglvnd_install_checker/check-libglvnd-install.sh
   executing: '/bin/sh ./libglvnd_install_checker/check-libglvnd-install.sh'...
   Checking for libglvnd installation.
   Checking libGLdispatch...
   Can't load library libGLdispatch.so.0: libGLdispatch.so.0: cannot open shared object file: No such file or directory
Will install libglvnd libraries.
Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d
-> Searching for conflicting files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (375.66):
   executing: '/sbin/ldconfig'...
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
-> done.
ERROR: Unable to load the 'nvidia-drm' kernel module.
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 www.nvidia.com.

>>ALso nvidia bug report of the system on which issue reproduce?
Not possible because the driver is not even loaded (and thus I could not execute nvidia-bug-report.sh under Ubuntu).

You can run this script if driver installed in os. Not necessary that driver should be loaded.

>>Also I just noticed that the installation seems to have failed - I will append the log. Note that I reinstalled the driver several times. This might no be the root cause but rather by induced by one of the installations failing.
You driver installation is is not correct. Please fix it first.

Hi ma2teo, Are you still hit this issue after fixing you driver installation issue? Can I get nvidia bug report?

Fedora 26 with kernel 4.11.10-300 still has the same issue.

System Information
Manufacturer: Dell Inc.
Product Name: Precision 7510

Base Board Information
Manufacturer: Dell Inc.
Product Name: 0M91XC
Version: A00

BIOS Information
Vendor: Dell Inc.
Version: 1.13.6
Release Date: 06/21/2017

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Jul 19 18:51:01 2017
installer version: 375.66

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

nvidia-installer command line:
    ./nvidia-installer
    --accept-license
    --silent
    --no-x-check
    --no-nouveau-check
    --no-recursion
    --opengl-libdir=lib64/nvidia-bumblebee
    --opengl-prefix=/usr
    --x-library-path=lib64/nvidia-bumblebee
    --x-prefix=/usr
    --x-module-path=/usr/lib64/nvidia-bumblebee/xorg/modules
    --no-libglx-indirect
    --no-install-libglvnd
    --no-glvnd-glx-client
    --no-glvnd-egl-client

Using built-in stream user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1106' of a runnning X server.
-> Continuing per the '--no-x-check' option.
-> License accepted by command line option.
-> Installing NVIDIA driver version 375.66.
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/lib/modules/4.11.10-300.fc26.x86_64/source'
-> Kernel output path: '/lib/modules/4.11.10-300.fc26.x86_64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; /usr/bin/make -k -j8 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.11.10-300.fc26.x86_64/source" SYSOUT="/lib/modules/4.11.10-300.fc26.x86_64/build"'...
   rm -f -r conftest
   /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.11.10-300.fc26.x86_64/build KBUILD_VERBOSE= -C /lib/modules/4.11.10-300.fc26.x86_64/source M=/tmp/NVIDIA-Linux-x86_64-375.66/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.11.10-300.fc26.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/4.11.10-300.fc26.x86_64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video clean
   make[1]: Entering directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
   make[2]: Entering directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
   make[2]: Leaving directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
   make[1]: Leaving directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
-> Building kernel modules
   executing: 'cd ./kernel; /usr/bin/make -k -j8  NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.11.10-300.fc26.x86_64/source" SYSOUT="/lib/modules/4.11.10-300.fc26.x86_64/build"'...
   /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.11.10-300.fc26.x86_64/build KBUILD_VERBOSE= -C /lib/modules/4.11.10-300.fc26.x86_64/source M=/tmp/NVIDIA-Linux-x86_64-375.66/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.11.10-300.fc26.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/4.11.10-300.fc26.x86_64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video modules
   make[1]: Entering directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
   make[2]: Entering directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
     SYMLINK /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kernel.o
     SYMLINK /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset/nv-modeset-kernel.o
    CONFTEST: INIT_WORK
    CONFTEST: remap_pfn_range
    CONFTEST: hash__remap_4k_pfn
    CONFTEST: follow_pfn
    CONFTEST: vmap
    CONFTEST: set_pages_uc
    CONFTEST: set_memory_uc
    CONFTEST: set_memory_array_uc
    CONFTEST: change_page_attr
    CONFTEST: pci_get_class
    CONFTEST: pci_choose_state
    CONFTEST: vm_insert_page
    CONFTEST: acpi_device_id
    CONFTEST: acquire_console_sem
    CONFTEST: console_lock
    CONFTEST: kmem_cache_create
    CONFTEST: on_each_cpu
    CONFTEST: smp_call_function
    CONFTEST: acpi_evaluate_integer
    CONFTEST: ioremap_cache
    CONFTEST: ioremap_wc
    CONFTEST: acpi_walk_namespace
    CONFTEST: pci_domain_nr
    CONFTEST: pci_dma_mapping_error
    CONFTEST: sg_alloc_table
    CONFTEST: sg_init_table
    CONFTEST: pci_get_domain_bus_and_slot
    CONFTEST: get_num_physpages
    CONFTEST: efi_enabled
    CONFTEST: proc_create_data
    CONFTEST: pde_data
    CONFTEST: proc_remove
    CONFTEST: pm_vt_switch_required
    CONFTEST: drm_driver_has_set_busid
    CONFTEST: drm_driver_has_gem_prime_res_obj
    CONFTEST: xen_ioemu_inject_msi
    CONFTEST: phys_to_dma
    CONFTEST: get_dma_ops
    CONFTEST: write_cr4
    CONFTEST: of_parse_phandle
    CONFTEST: for_each_online_node
    CONFTEST: node_end_pfn
    CONFTEST: pci_bus_address
    CONFTEST: pci_stop_and_remove_bus_device
    CONFTEST: pci_remove_bus_device
    CONFTEST: request_threaded_irq
    CONFTEST: register_cpu_notifier
    CONFTEST: cpuhp_setup_state
    CONFTEST: remap_page_range
    CONFTEST: address_space_init_once
    CONFTEST: kbasename
    CONFTEST: fatal_signal_pending
    CONFTEST: list_cut_position
    CONFTEST: vzalloc
    CONFTEST: wait_on_bit_lock_argument_count
    CONFTEST: bitmap_clear
    CONFTEST: usleep_range
    CONFTEST: radix_tree_empty
    CONFTEST: drm_dev_unref
    CONFTEST: drm_reinit_primary_mode_group
    CONFTEST: drm_atomic_set_mode_for_crtc
    CONFTEST: drm_atomic_clean_old_fb
    CONFTEST: get_user_pages_remote
    CONFTEST: drm_gem_object_lookup
    CONFTEST: drm_atomic_state_free
    CONFTEST: i2c_adapter
    CONFTEST: pm_message_t
    CONFTEST: irq_handler_t
    CONFTEST: acpi_device_ops
    CONFTEST: acpi_op_remove
    CONFTEST: outer_flush_all
    CONFTEST: proc_dir_entry
    CONFTEST: scatterlist
    CONFTEST: sg_table
    CONFTEST: file_operations
    CONFTEST: vm_operations_struct
    CONFTEST: atomic_long_type
    CONFTEST: pci_save_state
    CONFTEST: file_inode
    CONFTEST: task_struct
    CONFTEST: kuid_t
    CONFTEST: dma_ops
    CONFTEST: dma_map_ops
    CONFTEST: noncoherent_swiotlb_dma_ops
    CONFTEST: vm_fault_present
    CONFTEST: vm_fault_has_address
    CONFTEST: fault_flags
    CONFTEST: atomic64_type
    CONFTEST: address_space
    CONFTEST: backing_dev_info
    CONFTEST: kernel_write
    CONFTEST: strnstr
    CONFTEST: iterate_dir
    CONFTEST: kstrtoull
    CONFTEST: mm_context_t
    CONFTEST: vm_ops_fault_removed_vma_arg
    CONFTEST: drm_bus_present
    CONFTEST: drm_bus_has_bus_type
    CONFTEST: drm_bus_has_get_irq
    CONFTEST: drm_bus_has_get_name
    CONFTEST: drm_driver_has_legacy_dev_list
    CONFTEST: drm_crtc_state_has_connectors_changed
    CONFTEST: drm_init_functions_have_name_arg
    CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
    CONFTEST: drm_helper_mode_fill_fb_struct
    CONFTEST: drm_master_drop_has_from_release_arg
    CONFTEST: drm_mode_config_funcs_has_atomic_state_alloc
    CONFTEST: drm_driver_unload_has_int_return_type
    CONFTEST: dom0_kernel_present
    CONFTEST: nvidia_vgpu_kvm_build
    CONFTEST: drm_available
    CONFTEST: nvidia_grid_build
    CONFTEST: drm_atomic_available
    CONFTEST: drm_atomic_modeset_nonblocking_commit_available
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-gvi.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-i2c.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-mempool.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-mmap.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-p2p.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-pat.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-procfs.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-usermap.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-vm.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-vtophys.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-interface.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-mlock.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-pci.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-registry.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-usermap.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-modeset-interface.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-pci-table.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kthread-q.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kthread-q-selftest.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv_uvm_interface.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/ebridge_linux.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/ibmnpu_linux.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nvlink_linux.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nvlink_pci.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_utils.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_common.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_linux.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration_stubs.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration_kepler.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_page_migration_pascal.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/nvstatus.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/nv-kthread-q.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/nv-kthread-q-selftest.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_kernel_events.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_kernel_counters.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_debug_session.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_mmu_mgmt_pascal.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_mmu_mgmt.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_mmu_mgmt_stubs.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_full_fault_buffer.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm_full_fault_buffer_pascal.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/mmu_fmt.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/gmmu_fmt.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_tools.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_global.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_gpu.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_procfs.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_va_space.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_mem.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_rm_mem.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_channel.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_lock.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_hal.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_tree.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_allocator.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_va_range.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_va_block.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_group.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_gpu_page_fault.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_events.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_module.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_mmu.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pte_batch.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_tlb_batch.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_push.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pushbuffer.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_thread_context.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_tracker.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kepler.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kepler_ce.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kepler_host.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kepler_mmu.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_maxwell.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_maxwell_host.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal_ce.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal_host.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal_mmu.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_policy.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_utils.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kvmalloc.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pmm_gpu.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_migrate.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_map_external.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_user_channel.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_hmm.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_heuristics.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_thrashing.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_prefetch.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_test_rng.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_tree_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_allocator_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_mem_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_rm_mem_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_page_tree_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_tracker_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_push_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_channel_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_ce_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_lock_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_utils_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_pmm_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_events_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_perf_module_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_mmu_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_va_block_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset/nvidia-modeset-linux.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-drv.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-utils.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-crtc.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-encoder.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-connector.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-gem.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-fb.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-modeset.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-mmap.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-fence.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nvidia-drm-linux.o
     CC [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm/nv-pci-table.o
   ld -r -o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-interface.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-gvi.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-i2c.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-mempool.o /tm
   p/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-mmap.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-p2p.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-pat.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-procfs.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-usermap.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-vm.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-vtophys.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-interface.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-mlock.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-pci.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-registry.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/os-usermap.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-modeset-interface.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-pci-table.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kthread-q.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kthread-q-selftest.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv_uvm_interface.o /tmp/NVIDIA-L
   inux-x86_64-375.66/kernel/nvidia/ebridge_linux.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/ibmnpu_linux.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nvlink_linux.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nvlink_pci.o
   ld -r -o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset/nvidia-modeset-linux.o
     LD [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia.o
     LD [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm.o
     LD [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset.o
     LD [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm.o
     Building modules, stage 2.
     MODPOST 4 modules
     CC      /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm.mod.o
     CC      /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset.mod.o
     CC      /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm.mod.o
     CC      /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia.mod.o
     LD [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia.ko
     LD [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset.ko
     LD [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-uvm.ko
     LD [M]  /tmp/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-drm.ko
   make[2]: Leaving directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
   make[1]: Leaving directory '/usr/src/kernels/4.11.10-300.fc26.x86_64'
-> done.
-> Kernel module compilation complete.
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 a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU 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.
-> Kernel module load error: No such device
-> Kernel messages:
[   40.690537] VFIO - User Level meta-driver version: 0.3
[   40.701891] nvidia: module license 'NVIDIA' taints kernel.
[   40.701893] Disabling lock debugging due to kernel taint
[   40.708201] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   40.708227] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:13b0)
               NVRM: installed in this system is not supported by the 375.66
               NVRM: NVIDIA Linux driver release.  Please see 'Appendix
               NVRM: A - Supported NVIDIA GPU Products' in this release's
               NVRM: README, available on the Linux driver download page
               NVRM: at www.nvidia.com.
[   40.708235] nvidia: probe of 0000:01:00.0 failed with error -1
[   40.708251] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[   40.708266] NVRM: The NVIDIA probe routine failed for 1 device(s).
[   40.708267] NVRM: None of the NVIDIA graphics adapters were initialized!
[   40.708268] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237
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 www.nvidia.com.

Hi arcivanov, Can I get nvidia bug report as soon as issue hit? also attach output of rpm -qa . Just installation of driver hit this issue or need to do any other configuration?

Sandipt,

This is a standard driver installation on Intel/NVidia laptop with NVidia secondary.
Bug is related to this https://github.com/Bumblebee-Project/bbswitch/issues/140

kde-settings-26-1.fc26.noarch
python2-bodhi-2.8.1-1.fc26.noarch
libv4l-1.12.5-2.fc26.i686
gzip-1.8-2.fc26.x86_64
libwacom-0.25-1.fc26.x86_64
foomatic-db-filesystem-4.0-52.20161003.fc26.noarch
copy-jdk-configs-2.3-1.fc26.noarch
qemu-block-nfs-2.9.0-1.fc26.1.x86_64
systemtap-3.1-5.fc26.x86_64
bzip2-1.0.6-22.fc26.x86_64
dyninst-9.3.2-1.fc26.x86_64
createrepo_c-libs-0.10.0-9.fc26.x86_64
fedora-repos-26-1.noarch
python2-ndg_httpsclient-0.4.0-7.fc26.noarch
nss-pem-1.0.3-3.fc26.i686
rsyslog-8.27.0-1.fc26.x86_64
libimobiledevice-1.2.0-9.fc26.x86_64
kdepimlibs-devel-4.14.10-18.fc26.x86_64
kf5-kholidays-17.04.1-1.fc26.x86_64
ipset-6.29-3.fc26.x86_64
wine-alsa-2.12-1.fc26.x86_64
abrt-addon-vmcore-2.10.3-1.fc26.x86_64
libbytesize-0.11-1.fc26.x86_64
selinux-policy-3.13.1-260.1.fc26.noarch
perl-GSSAPI-0.28-18.fc26.x86_64
glibc-all-langpacks-2.25-7.fc26.x86_64
rdesktop-1.8.3-3.fc24.x86_64
perl-Net-HTTP-6.16-1.fc26.noarch
libXau-1.0.8-7.fc26.i686
system-config-audit-0.4.21-7.fc24.x86_64
gdb-8.0-13.fc26.x86_64
python-enum34-1.1.6-1.fc26.noarch
filezilla-3.26.2-1.fc26.x86_64
perl-Digest-1.17-367.fc26.noarch
cmake-3.9.0-1.fc26.x86_64
caribou-0.4.21-3.fc26.x86_64
libcaca-0.99-0.31.beta19.fc26.x86_64
libtevent-0.9.31-4.fc26.x86_64
kf5-plasma-5.36.0-1.fc26.x86_64
libreport-anaconda-2.9.1-2.fc26.x86_64
readline-7.0-5.fc26.x86_64
game-music-emu-0.6.1-2.fc26.x86_64
nautilus-sendto-3.8.5-1.fc26.x86_64
python3-sssdconfig-1.15.2-5.fc26.noarch
baobab-3.24.0-1.fc26.x86_64
perl-File-CheckTree-4.42-298.fc26.noarch
kernel-4.11.11-300.fc26.x86_64
ghc-unix-2.7.2.1-57.fc26.x86_64
python3-dnf-2.5.1-1.fc26.noarch
qemu-system-moxie-core-2.9.0-1.fc26.1.x86_64
libinput-1.8.0-2.fc26.x86_64
fipscheck-lib-1.5.0-1.fc26.x86_64
boost-math-1.63.0-5.fc26.x86_64
tbb-2017.7-1.fc26.x86_64
perl-ExtUtils-ParseXS-3.31-368.fc26.noarch
gtk2-2.24.31-4.fc26.i686
kmouth-16.12.3-1.fc26.x86_64
dvgrab-3.5-17.20160616gite46042.fc26.x86_64
libatomic-7.1.1-3.fc26.x86_64
libgomp-7.1.1-3.fc26.x86_64
bumblebee-release-1.2-1.noarch
kaccounts-integration-16.12.3-1.fc26.x86_64
librbd1-10.2.7-2.fc26.x86_64
libffi-debuginfo-3.1-9.fc24.x86_64
libblockdev-crypto-2.10-1.fc26.x86_64
python3-configobj-5.0.6-8.fc26.noarch
device-mapper-persistent-data-0.6.3-5.fc26.x86_64
jbigkit-libs-2.1-6.fc26.x86_64
perl-File-HomeDir-1.00-13.fc26.noarch
alsa-plugins-pulseaudio-1.1.4-1.fc26.i686
krusader-2.5.0-2.fc26.x86_64
fltk-1.3.4-1.fc26.x86_64
tree-1.7.0-8.fc26.x86_64
ghc-transformers-base-0.4.4-5.fc26.x86_64
libkgapi-17.04.1-1.fc26.x86_64
libmtp-1.1.13-1.fc26.x86_64
zlib-devel-1.2.11-2.fc26.x86_64
ffmpeg-libs-3.3.2-1.fc26.x86_64
c-ares-1.13.0-1.fc26.x86_64
libdnet-1.12-19.fc26.x86_64
libxkbcommon-x11-0.7.1-3.fc26.x86_64
git-core-doc-2.13.3-1.fc26.x86_64
gpg-pubkey-7fac5991-4615767f
perl-Pod-Html-1.22.01-393.fc26.noarch
tabish-eeyek-fonts-1.0-10.fc26.noarch
ghc-lifted-base-0.2.3.10-1.fc26.x86_64
kf5-kdav-17.04.1-2.fc26.x86_64
libXau-devel-1.0.8-7.fc26.x86_64
xemacs-filesystem-21.5.34-22.20170124hgf412e9f093d4.fc26.noarch
rubygems-2.6.11-79.fc26.noarch
vte-profile-0.48.3-1.fc26.x86_64
libsoup-2.58.1-2.fc26.x86_64
openCOLLADA-0-28.gitcaad49c.fc26.x86_64
mesa-libEGL-17.1.5-1.fc26.x86_64
ipw2200-firmware-3.1-13.fc26.noarch
ghc-process-1.4.3.0-57.fc26.x86_64
kactivities-libs-4.13.3-21.fc26.x86_64
python3-blockdev-2.10-1.fc26.x86_64
ghc-base-devel-4.9.1.0-57.fc26.x86_64
mozilla-filesystem-1.9-15.fc26.x86_64
python-backports-1.0-9.fc26.x86_64
xorg-x11-xkb-utils-7.7-19.fc26.x86_64
passwd-0.79-9.fc26.x86_64
desktop-file-utils-0.23-3.fc26.x86_64
fwupdate-devel-8-4.fc26.x86_64
perl-ExtUtils-MM-Utils-7.24-3.fc26.noarch
libvorbis-1.3.5-2.fc26.i686
ghc-syb-0.6-3.fc26.x86_64
qemu-user-2.9.0-1.fc26.1.x86_64
plasma-integration-5.10.1-1.fc26.x86_64
python2-pyrfc3339-1.0-6.fc26.noarch
gutenprint-5.2.12-4.fc26.x86_64
e2fsprogs-1.43.4-2.fc26.x86_64
kf5-kservice-5.36.0-1.fc26.x86_64
spice-vdagent-0.17.0-2.fc26.x86_64
gpg-pubkey-0c7ed076-54c398b8
dejavu-sans-fonts-2.35-4.fc26.noarch
ostree-libs-2017.8-3.fc26.x86_64
jasper-libs-2.0.12-1.fc26.i686
ghc-data-default-instances-containers-0.0.1-1.fc26.x86_64
appstream-0.10.6-1.fc26.x86_64
vpnc-script-20140805-5.gitdf5808b.fc26.noarch
sushi-3.24.0-1.fc26.x86_64
kf5-libkexiv2-16.12.3-1.fc26.x86_64
ed-1.14.1-2.fc26.x86_64
perl-Time-Local-1.250-2.fc26.noarch
sssd-client-1.15.2-5.fc26.x86_64
python2-iniparse-0.4-24.fc26.noarch
kf5-kwayland-5.36.0-1.fc26.x86_64
ltrace-0.7.91-22.fc26.x86_64
nspr-4.14.0-2.fc26.x86_64
kernel-headers-4.11.11-300.fc26.x86_64
libXft-2.3.2-5.fc26.i686
perl-Scalar-List-Utils-1.48-1.fc26.x86_64
libcanberra-gtk3-0.30-13.fc26.x86_64
sssd-ldap-1.15.2-5.fc26.x86_64
libcanberra-gtk2-0.30-13.fc26.x86_64
libmodman-2.0.1-13.fc26.x86_64
perl-Data-Dump-1.23-4.fc26.noarch
librepo-1.7.20-3.fc26.x86_64
python3-pytz-2016.10-4.fc26.noarch
kf5-ktexteditor-5.36.0-1.fc26.x86_64
grubby-8.40-4.fc26.x86_64
ghc-containers-0.5.7.1-57.fc26.x86_64
krb5-devel-1.15.1-15.fc26.x86_64
avahi-libs-0.6.32-7.fc26.i686
qemu-system-lm32-2.9.0-1.fc26.1.x86_64
selinux-policy-targeted-3.13.1-260.1.fc26.noarch
kf5-kidentitymanagement-17.04.1-1.fc26.x86_64
libdb-5.3.28-24.fc26.x86_64
json-glib-1.2.6-1.fc26.i686
ncurses-c+±libs-6.0-8.20170212.fc26.x86_64
kwalletmanager-15.04.3-6.fc26.x86_64
perl-Pod-Usage-1.69-2.fc26.noarch
wine-alsa-2.12-1.fc26.i686
lldpad-1.0.1-6.git036e314.fc26.x86_64
libiec61883-1.2.0-15.fc26.x86_64
shapelib-1.4.0-3.fc26.x86_64
kernel-4.11.10-300.fc26.x86_64
kf5-purpose-1.1-3.fc26.x86_64
lua-libs-5.3.4-3.fc26.x86_64
hfsutils-3.2.6-31.fc26.x86_64
protobuf-c-1.2.1-4.fc26.x86_64
khelpcenter-17.04.1-3.fc26.x86_64
python3-parsedatetime-2.2-3.fc26.noarch
automake-1.15-9.fc26.noarch
redhat-lsb-core-4.1-34.fc26.x86_64
wxBase3-3.0.3-2.fc26.x86_64
sssd-common-1.15.2-5.fc26.x86_64
NetworkManager-l2tp-1.2.6-1.fc26.x86_64
gstreamer1-1.12.2-1.fc26.x86_64
khotkeys-5.10.1-1.fc26.x86_64
libyaml-0.1.7-2.fc26.x86_64
jomolhari-fonts-0.003-22.fc26.noarch
libucil-0.9.10-13.fc26.x86_64
nfs-utils-2.1.1-5.rc4.fc26.x86_64
perl-inc-latest-0.500-6.fc26.noarch
hostname-3.18-2.fc26.x86_64
abrt-addon-kerneloops-2.10.3-1.fc26.x86_64
liblayout-0.2.10-13.fc26.noarch
libstaroffice-0.0.4-1.fc26.x86_64
kaddressbook-libs-17.04.1-1.fc26.x86_64
xz-5.2.3-2.fc26.x86_64
kdepim-common-16.12.2-3.fc26.x86_64
libini_config-1.3.0-30.fc26.x86_64
plymouth-system-theme-0.9.3-0.7.20160620git0e65b86c.fc26.x86_64
ruby-irb-2.4.1-79.fc26.noarch
libgta-1.0.7-4.fc26.x86_64
librepository-1.1.3-15.fc26.noarch
openbios-20170311-1.gitf233c3f.fc26.noarch
realmd-0.16.3-5.fc26.x86_64
vim-filesystem-8.0.728-1.fc26.x86_64
kde-runtime-libs-17.04.1-1.fc26.x86_64
m4-1.4.18-3.fc26.x86_64
poppler-0.52.0-4.fc26.x86_64
libffi-3.1-12.fc26.i686
libsolv-0.6.28-1.fc26.x86_64
xorg-x11-drv-intel-2.99.917-28.20160929.fc26.x86_64
python-IPy-0.81-18.fc26.noarch
perl-HTTP-Negotiate-6.01-14.fc26.noarch
langtable-data-0.0.37-1.fc26.noarch
mesa-dri-drivers-17.1.5-1.fc26.i686
golang-src-1.8.1-2.fc26.noarch
libsndfile-1.0.28-3.fc26.x86_64
kf5-ki18n-5.36.0-3.fc26.x86_64
libcrypt-nss-2.25-7.fc26.i686
f26-backgrounds-kde-26.2.6-1.fc26.noarch
nghttp2-1.21.1-1.fc26.x86_64
python2-requests-2.13.0-1.fc26.noarch
gamin-0.1.10-25.fc26.x86_64
kf5-kmime-17.04.1-1.fc26.x86_64
ghc-pandoc-1.19.1-1.fc26.x86_64
lvm2-libs-2.02.168-6.fc26.x86_64
wine-opencl-2.12-1.fc26.x86_64
xmlsec1-1.2.23-2.fc26.x86_64
mariadb-10.1.25-1.fc26.x86_64
cdparanoia-libs-10.2-22.fc26.i686
m17n-db-1.7.0-8.fc26.noarch
libsepol-2.6-1.fc26.x86_64
switchdesk-gui-4.0.10-10.fc26.noarch
mtools-4.0.18-11.fc26.x86_64
libpinyin-2.0.0-1.fc26.x86_64
perl-IO-Socket-IP-0.39-1.fc26.noarch
qimageblitz-0.0.6-12.fc26.x86_64
firmware-tools-2.1.15-2.fc26.noarch
libreoffice-langpack-en-5.3.4.2-4.fc26.x86_64
libgdata-0.17.8-1.fc26.x86_64
gpm-libs-1.20.7-10.fc26.x86_64
kf5-kdelibs4support-5.36.0-1.fc26.x86_64
libepoxy-1.4.1-1.fc26.i686
lzo-minilzo-2.08-9.fc26.x86_64
elfutils-libelf-0.169-1.fc26.x86_64
iotop-0.6-14.fc26.noarch
gpg-pubkey-fdb19c98-56fd6333
python3-decorator-4.0.11-2.fc26.noarch
perl-Compress-Raw-Bzip2-2.074-1.fc26.x86_64
grub2-tools-2.02-0.40.fc26.x86_64

Issue continues on 4.12.8 and 384.69:

[193852.341932] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[193852.342263] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[193852.342285] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:13b0) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[193852.342292] nvidia: probe of 0000:01:00.0 failed with error -1
[193852.342308] NVRM: The NVIDIA probe routine failed for 1 device(s).
[193852.342308] NVRM: None of the NVIDIA graphics adapters were initialized!
[193852.342396] nvidia-nvlink: Unregistered the Nvlink Core, major device number 236

BOOT_IMAGE=/vmlinuz-4.12.8-300.fc26.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rd.driver.blacklist=nouveau rd.driver.blacklist=psmouse i915.enable_guc_loading=1 i915.enable_guc_submission=1 intel_pstate=skylake_hwp i915.enable_psr=1 i915.disable_power_well=0 nouveau.modeset=0 rhgb quiet LANG=en_US.UTF-8

@sandipt For some reason, laptops starting with Skylake (including Kabylake) shipping with GTX 9xxM/10xx GPUs have an issue were runtime power management fails to restore power to the Nvidia device.

On such laptops, you can reproduce the problem by installing (an older version of) TLP, laptop-mode-tools, use powertop, etc. Essentially it boils down to the following commands that enable runtime PM for the Nvidia GPU (01:00.0) and its parent PCIe Root Port (00:01.0 for my laptop):

echo auto > /sys/bus/pci/devices/0000:01:00.0/power/control
echo auto > /sys/bus/pci/devices/0000:00:01.0/power/control

The problem can be observed with Linux kernel version 4.8 and newer which would remove power when the parent PCIe port and its children are idle.

Some affected laptops (as well as another problem that occurs when the device suspends) can be found at https://bugzilla.kernel.org/show_bug.cgi?id=156341