Public bug reported:

I install NVIDIA driver in ubuntu 16.04, get the error message: Unable
to load the 'nvidia-drm' kernel module

Some error in dmsg:
[  155.904924] nvidia 0000:02:00.0: Refused to change power state, currently in 
D3
[  155.905012] NVRM: This is a 64-bit BAR mapped above 4GB by the system
               NVRM: BIOS or the Linux kernel, but the PCI bridge
               NVRM: immediately upstream of this GPU does not define
               NVRM: a matching prefetchable memory window.
[  155.905012] NVRM: This may be due to a known Linux kernel bug.  Please
               NVRM: see the README section on 64-bit BARs for additional
               NVRM: information.
[  155.905015] nvidia: probe of 0000:02:00.0 failed with error -1
[  155.905034] NVRM: The NVIDIA probe routine failed for 1 device(s).
[  155.905035] NVRM: None of the NVIDIA graphics adapters were initialized!

Some error in dmsg for "pci 0000:02:00.0"
[    0.264074] pci 0000:02:00.0: [10de:1c8c] type 00 class 0x030200
[    0.264082] pci 0000:02:00.0: reg 0x10: [mem 0xd1000000-0xd1ffffff]
[    0.264090] pci 0000:02:00.0: reg 0x14: [mem 0xa0000000-0xafffffff 64bit 
pref]
[    0.264097] pci 0000:02:00.0: reg 0x1c: [mem 0xb0000000-0xb1ffffff 64bit 
pref]
[    0.264102] pci 0000:02:00.0: reg 0x24: [io  0xd000-0xd07f]
[    0.264107] pci 0000:02:00.0: reg 0x30: [mem 0xfff80000-0xffffffff pref]
[    0.384960] pci 0000:02:00.0: can't claim BAR 6 [mem 0xfff80000-0xffffffff 
pref]: no compatible bridge window
[    0.385040] pci 0000:02:00.0: BAR 6: no space for [mem size 0x00080000 pref]
[    0.385041] pci 0000:02:00.0: BAR 6: failed to assign [mem size 0x00080000 
pref]

it seems that the NVIDIA card doesn't get the memory the bios tells the
kernel it wants, it gets remapped and then the drivers fails.

My machine is ThinkPad S5 (with NVIDIA GTK 1050 Ti), I have disabled the
secure boot in the BIOS.

output of lspci:
02:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1c8c] (rev ff) 
(prog-if ff)
        !!! Unknown header type 7f
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: nvidia

** Attachment added: "apport.linux-image-4.10.0-42-generic.001un_o1.apport"
   
https://bugs.launchpad.net/bugs/1742112/+attachment/5033356/+files/apport.linux-image-4.10.0-42-generic.001un_o1.apport

** Description changed:

  I install NVIDIA driver in ubuntu 16.04, get the error message: Unable
  to load the 'nvidia-drm' kernel module
  
- I find some error in dmsg:
+ Some error in dmsg:
  [  155.904924] nvidia 0000:02:00.0: Refused to change power state, currently 
in D3
  [  155.905012] NVRM: This is a 64-bit BAR mapped above 4GB by the system
-                NVRM: BIOS or the Linux kernel, but the PCI bridge
-                NVRM: immediately upstream of this GPU does not define
-                NVRM: a matching prefetchable memory window.
+                NVRM: BIOS or the Linux kernel, but the PCI bridge
+                NVRM: immediately upstream of this GPU does not define
+                NVRM: a matching prefetchable memory window.
  [  155.905012] NVRM: This may be due to a known Linux kernel bug.  Please
-                NVRM: see the README section on 64-bit BARs for additional
-                NVRM: information.
+                NVRM: see the README section on 64-bit BARs for additional
+                NVRM: information.
  [  155.905015] nvidia: probe of 0000:02:00.0 failed with error -1
  [  155.905034] NVRM: The NVIDIA probe routine failed for 1 device(s).
  [  155.905035] NVRM: None of the NVIDIA graphics adapters were initialized!
- The NVIDIA card doesn't get the memory the bios tells the kernel it wants, it 
gets remapped and then the drivers fails.
+ 
+ Some error in dmsg for "pci 0000:02:00.0"
+ [    0.264074] pci 0000:02:00.0: [10de:1c8c] type 00 class 0x030200
+ [    0.264082] pci 0000:02:00.0: reg 0x10: [mem 0xd1000000-0xd1ffffff]
+ [    0.264090] pci 0000:02:00.0: reg 0x14: [mem 0xa0000000-0xafffffff 64bit 
pref]
+ [    0.264097] pci 0000:02:00.0: reg 0x1c: [mem 0xb0000000-0xb1ffffff 64bit 
pref]
+ [    0.264102] pci 0000:02:00.0: reg 0x24: [io  0xd000-0xd07f]
+ [    0.264107] pci 0000:02:00.0: reg 0x30: [mem 0xfff80000-0xffffffff pref]
+ [    0.384960] pci 0000:02:00.0: can't claim BAR 6 [mem 0xfff80000-0xffffffff 
pref]: no compatible bridge window
+ [    0.385040] pci 0000:02:00.0: BAR 6: no space for [mem size 0x00080000 
pref]
+ [    0.385041] pci 0000:02:00.0: BAR 6: failed to assign [mem size 0x00080000 
pref]
+ 
+ it seems that the NVIDIA card doesn't get the memory the bios tells the
+ kernel it wants, it gets remapped and then the drivers fails.
  
  My machine is ThinkPad S5 (with NVIDIA GTK 1050 Ti), I have disabled the
  secure boot in the BIOS.
  
  output of lspci:
  02:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1c8c] (rev ff) 
(prog-if ff)
-         !!! Unknown header type 7f
-         Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
+         !!! Unknown header type 7f
+         Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742112

Title:
   NVIDIA graphics card failed to initialized

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I install NVIDIA driver in ubuntu 16.04, get the error message: Unable
  to load the 'nvidia-drm' kernel module

  Some error in dmsg:
  [  155.904924] nvidia 0000:02:00.0: Refused to change power state, currently 
in D3
  [  155.905012] NVRM: This is a 64-bit BAR mapped above 4GB by the system
                 NVRM: BIOS or the Linux kernel, but the PCI bridge
                 NVRM: immediately upstream of this GPU does not define
                 NVRM: a matching prefetchable memory window.
  [  155.905012] NVRM: This may be due to a known Linux kernel bug.  Please
                 NVRM: see the README section on 64-bit BARs for additional
                 NVRM: information.
  [  155.905015] nvidia: probe of 0000:02:00.0 failed with error -1
  [  155.905034] NVRM: The NVIDIA probe routine failed for 1 device(s).
  [  155.905035] NVRM: None of the NVIDIA graphics adapters were initialized!

  Some error in dmsg for "pci 0000:02:00.0"
  [    0.264074] pci 0000:02:00.0: [10de:1c8c] type 00 class 0x030200
  [    0.264082] pci 0000:02:00.0: reg 0x10: [mem 0xd1000000-0xd1ffffff]
  [    0.264090] pci 0000:02:00.0: reg 0x14: [mem 0xa0000000-0xafffffff 64bit 
pref]
  [    0.264097] pci 0000:02:00.0: reg 0x1c: [mem 0xb0000000-0xb1ffffff 64bit 
pref]
  [    0.264102] pci 0000:02:00.0: reg 0x24: [io  0xd000-0xd07f]
  [    0.264107] pci 0000:02:00.0: reg 0x30: [mem 0xfff80000-0xffffffff pref]
  [    0.384960] pci 0000:02:00.0: can't claim BAR 6 [mem 0xfff80000-0xffffffff 
pref]: no compatible bridge window
  [    0.385040] pci 0000:02:00.0: BAR 6: no space for [mem size 0x00080000 
pref]
  [    0.385041] pci 0000:02:00.0: BAR 6: failed to assign [mem size 0x00080000 
pref]

  it seems that the NVIDIA card doesn't get the memory the bios tells
  the kernel it wants, it gets remapped and then the drivers fails.

  My machine is ThinkPad S5 (with NVIDIA GTK 1050 Ti), I have disabled
  the secure boot in the BIOS.

  output of lspci:
  02:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1c8c] (rev ff) 
(prog-if ff)
          !!! Unknown header type 7f
          Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742112/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to