after upgrading kernel nvidia module must be loaded manually

Asked by slamdunk on 2007-09-22

After every kernel upgrade (for example last 2.6.22-10 -> 2.6.22-11 -> 2.6.22-12) everytime xorg starts, it enters in configure mode. And so I need to:

# killall -9 gdm Xorg
# modprobe -r nvidia
# modprobe nvidia_new
# gdm

to get a rightly setted desktop.

some infos:

# sh -x /sbin/lrm-video nvidia
+ PATH=/sbin:/bin
+ MODULE=nvidia
+ shift
+ [ nvidia = nvidia ]
+ [ -e /lib/linux-restricted-modules/.nvidia_legacy_installed ]
+ [ -e /lib/linux-restricted-modules/.nvidia_new_installed ]
+ MODULE=nvidia_new
+ XORG=nvidia
+ cat /etc/X11/xorg.conf
+ sed -n -e /^[ \t]*section[ \\t]*"device"/I,/^[ \t]*endsection/I{/^[ \t]*driver[ \t]*/I{s/^[ \t]*driver[ \t]*"*//I;s/"*[ \t]*$//;p}}
+ grep -q -w nvidia
+ modprobe --ignore-install -Qb nvidia_new

# apt-show-versions | grep linux
linux-ubuntu-modules-2.6.22-12-generic/gutsy uptodate 2.6.22-12.30
linux-headers-2.6.22-12-generic/gutsy uptodate 2.6.22-12.36
linux-headers-2.6.22-12/gutsy uptodate 2.6.22-12.36
linux-generic/gutsy uptodate 2.6.22.12.14
util-linux-locales/gutsy uptodate 2.13-6ubuntu1
linux-image-generic/gutsy uptodate 2.6.22.12.14
linux-libc-dev/gutsy uptodate 2.6.22-12.36
linux-image-2.6.22-12-generic/gutsy uptodate 2.6.22-12.36
linux-restricted-modules-common/gutsy uptodate 2.6.22.3-12.5
linux-sound-base/gutsy uptodate 1.0.14-1ubuntu1
linux-headers-generic/gutsy uptodate 2.6.22.12.14
linux-restricted-modules-2.6.22-12-generic/gutsy uptodate 2.6.22.3-12.5
linux-restricted-modules-generic/gutsy uptodate 2.6.22.12.14
libselinux1/gutsy uptodate 2.0.15-2ubuntu1
util-linux/gutsy uptodate 2.13-6ubuntu1

# apt-show-versions | grep nvidia
nvidia-kernel-common/gutsy uptodate 20051028+1ubuntu7
nvidia-glx-new/gutsy uptodate 100.14.11+2.6.22.3-12.5
nvidia-new-kernel-source/gutsy uptodate 100.14.11+2.6.22.3-12.5

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2007-10-11
Last reply:
2007-10-11

This question was reopened

slamdunk (antongiulio05) said : #1

my Xorg.0.log:

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu6)
Current Operating System: Linux mybox 2.6.22-12-generic #1 SMP Thu Sep 20 18:51:18 GMT 2007 i686
Build Date: 21 September 2007
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Sep 22 07:29:28 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "nVidia Corporation NVIDIA Default Card"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "stylus"
(**) |-->Input Device "cursor"
(**) |-->Input Device "eraser"
(**) |-->Input Device "Synaptics Touchpad"
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(==) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81ea5e0
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.3
 X.Org Video Driver: 1.2
 X.Org XInput driver : 0.7
 X.Org Server Extension : 0.3
 X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.0.0
 ABI class: X.Org Video Driver, version 1.2
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2a00 card 1028,0209 rev 0c class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,2a01 card 0000,0000 rev 0c class 06,04,00 hdr 01
(II) PCI: 00:1a:0: chip 8086,2834 card 1028,0209 rev 02 class 0c,03,00 hdr 80
(II) PCI: 00:1a:1: chip 8086,2835 card 1028,0209 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1a:7: chip 8086,283a card 1028,0209 rev 02 class 0c,03,20 hdr 00
(II) PCI: 00:1b:0: chip 8086,284b card 1028,0209 rev 02 class 04,03,00 hdr 00
(II) PCI: 00:1c:0: chip 8086,283f card 0000,0000 rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1c:1: chip 8086,2841 card 0000,0000 rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1c:3: chip 8086,2845 card 0000,0000 rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1c:5: chip 8086,2849 card 0000,0000 rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1d:0: chip 8086,2830 card 1028,0209 rev 02 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,2831 card 1028,0209 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,2832 card 1028,0209 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,2836 card 1028,0209 rev 02 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev f2 class 06,04,01 hdr 01
(II) PCI: 00:1f:0: chip 8086,2815 card 1028,0209 rev 02 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,2850 card 1028,0209 rev 02 class 01,01,8a hdr 00
(II) PCI: 00:1f:2: chip 8086,2829 card 1028,0209 rev 02 class 01,06,01 hdr 00
(II) PCI: 00:1f:3: chip 8086,283e card 1028,0209 rev 02 class 0c,05,00 hdr 00
(II) PCI: 01:00:0: chip 10de,0427 card 1028,0209 rev a1 class 03,00,00 hdr 00
(II) PCI: 03:01:0: chip 1180,0832 card 1028,0209 rev 05 class 0c,00,10 hdr 80
(II) PCI: 03:01:1: chip 1180,0822 card 1028,0209 rev 22 class 08,05,01 hdr 80
(II) PCI: 03:01:2: chip 1180,0843 card 1028,0209 rev 12 class 08,80,00 hdr 80
(II) PCI: 03:01:3: chip 1180,0592 card 1028,0209 rev 12 class 08,80,00 hdr 80
(II) PCI: 03:01:4: chip 1180,0852 card 1028,0209 rev 12 class 08,80,00 hdr 80
(II) PCI: 09:00:0: chip 14e4,1713 card 1028,0209 rev 02 class 02,00,00 hdr 00
(II) PCI: 0c:00:0: chip 8086,4229 card 8086,1121 rev 61 class 02,80,00 hdr 00
(II) PCI: End of PCI scan
(II) Intel Bridge workaround enabled
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,13), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
 [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
 [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
 [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x001a (VGA_EN is set)
(II) Bus 1 I/O range:
 [0] -1 0 0x0000e000 - 0x0000efff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
 [0] -1 0 0xfa000000 - 0xfeafffff (0x4b00000) MX[B]
(II) Bus 1 prefetchable memory range:
 [0] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 11: bridge is at (0:28:0), (0,11,11), BCTRL: 0x0002 (VGA_EN is cleared)
(II) PCI-to-PCI bridge:
(II) Bus 12: bridge is at (0:28:1), (0,12,12), BCTRL: 0x0002 (VGA_EN is cleared)
(II) Bus 12 non-prefetchable memory range:
 [0] -1 0 0xf9f00000 - 0xf9ffffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 13: bridge is at (0:28:3), (0,13,14), BCTRL: 0x0002 (VGA_EN is cleared)
(II) Bus 13 I/O range:
 [0] -1 0 0x0000d000 - 0x0000dfff (0x1000) IX[B]
(II) Bus 13 non-prefetchable memory range:
 [0] -1 0 0xf9c00000 - 0xf9efffff (0x300000) MX[B]
(II) Bus 13 prefetchable memory range:
 [0] -1 0 0xf0000000 - 0xf01fffff (0x200000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 9: bridge is at (0:28:5), (0,9,9), BCTRL: 0x0002 (VGA_EN is cleared)
(II) Bus 9 non-prefetchable memory range:
 [0] -1 0 0xf9b00000 - 0xf9bfffff (0x100000) MX[B]
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 3: bridge is at (0:30:0), (0,3,3), BCTRL: 0x0002 (VGA_EN is cleared)
(II) Bus 3 non-prefetchable memory range:
 [0] -1 0 0xf9a00000 - 0xf9afffff (0x100000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) nVidia Corporation unknown chipset (0x0427) rev 161, Mem @ 0xfd000000/24, 0xe0000000/28, 0xfa000000/25, I/O @ 0xef00/7
(II) Addressable bus resource ranges are
 [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
 [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
 [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
 [0] -1 0 0xf9ffe000 - 0xf9ffffff (0x2000) MX[B]
 [1] -1 0 0xf9bf0000 - 0xf9bfffff (0x10000) MX[B]
 [2] -1 0 0xf9aff700 - 0xf9aff7ff (0x100) MX[B]
 [3] -1 0 0xf9aff600 - 0xf9aff6ff (0x100) MX[B]
 [4] -1 0 0xf9aff500 - 0xf9aff5ff (0x100) MX[B]
 [5] -1 0 0xf9aff400 - 0xf9aff4ff (0x100) MX[B]
 [6] -1 0 0xf9aff800 - 0xf9afffff (0x800) MX[B]
 [7] -1 0 0xfebfb700 - 0xfebfb7ff (0x100) MX[B]
 [8] -1 0 0xfebfb800 - 0xfebfbfff (0x800) MX[B]
 [9] -1 0 0xfed1c000 - 0xfed1c3ff (0x400) MX[B]
 [10] -1 0 0xfebfc000 - 0xfebfffff (0x4000) MX[B]
 [11] -1 0 0xfed1c400 - 0xfed1c7ff (0x400) MX[B]
 [12] -1 0 0xfa000000 - 0xfbffffff (0x2000000) MX[B](B)
 [13] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
 [14] -1 0 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
 [15] -1 0 0x000010c0 - 0x000010df (0x20) IX[B]
 [16] -1 0 0x00006ee0 - 0x00006eff (0x20) IX[B]
 [17] -1 0 0x00006ec8 - 0x00006ecb (0x4) IX[B]
 [18] -1 0 0x00006ec0 - 0x00006ec7 (0x8) IX[B]
 [19] -1 0 0x00006eb8 - 0x00006ebb (0x4) IX[B]
 [20] -1 0 0x00006eb0 - 0x00006eb7 (0x8) IX[B]
 [21] -1 0 0x00006fa0 - 0x00006faf (0x10) IX[B]
 [22] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
 [23] -1 0 0x00000170 - 0x00000177 (0x8) IX[B]
 [24] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
 [25] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[B]
 [26] -1 0 0x00006f40 - 0x00006f5f (0x20) IX[B]
 [27] -1 0 0x00006f60 - 0x00006f7f (0x20) IX[B]
 [28] -1 0 0x00006f80 - 0x00006f9f (0x20) IX[B]
 [29] -1 0 0x00006f00 - 0x00006f1f (0x20) IX[B]
 [30] -1 0 0x00006f20 - 0x00006f3f (0x20) IX[B]
 [31] -1 0 0x0000ef00 - 0x0000ef7f (0x80) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
 [0] -1 0 0xf9ffe000 - 0xf9ffffff (0x2000) MX[B]
 [1] -1 0 0xf9bf0000 - 0xf9bfffff (0x10000) MX[B]
 [2] -1 0 0xf9aff700 - 0xf9aff7ff (0x100) MX[B]
 [3] -1 0 0xf9aff600 - 0xf9aff6ff (0x100) MX[B]
 [4] -1 0 0xf9aff500 - 0xf9aff5ff (0x100) MX[B]
 [5] -1 0 0xf9aff400 - 0xf9aff4ff (0x100) MX[B]
 [6] -1 0 0xf9aff800 - 0xf9afffff (0x800) MX[B]
 [7] -1 0 0xfebfb700 - 0xfebfb7ff (0x100) MX[B]
 [8] -1 0 0xfebfb800 - 0xfebfbfff (0x800) MX[B]
 [9] -1 0 0xfed1c000 - 0xfed1c3ff (0x400) MX[B]
 [10] -1 0 0xfebfc000 - 0xfebfffff (0x4000) MX[B]
 [11] -1 0 0xfed1c400 - 0xfed1c7ff (0x400) MX[B]
 [12] -1 0 0xfa000000 - 0xfbffffff (0x2000000) MX[B](B)
 [13] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
 [14] -1 0 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
 [15] -1 0 0x000010c0 - 0x000010df (0x20) IX[B]
 [16] -1 0 0x00006ee0 - 0x00006eff (0x20) IX[B]
 [17] -1 0 0x00006ec8 - 0x00006ecb (0x4) IX[B]
 [18] -1 0 0x00006ec0 - 0x00006ec7 (0x8) IX[B]
 [19] -1 0 0x00006eb8 - 0x00006ebb (0x4) IX[B]
 [20] -1 0 0x00006eb0 - 0x00006eb7 (0x8) IX[B]
 [21] -1 0 0x00006fa0 - 0x00006faf (0x10) IX[B]
 [22] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
 [23] -1 0 0x00000170 - 0x00000177 (0x8) IX[B]
 [24] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
 [25] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[B]
 [26] -1 0 0x00006f40 - 0x00006f5f (0x20) IX[B]
 [27] -1 0 0x00006f60 - 0x00006f7f (0x20) IX[B]
 [28] -1 0 0x00006f80 - 0x00006f9f (0x20) IX[B]
 [29] -1 0 0x00006f00 - 0x00006f1f (0x20) IX[B]
 [30] -1 0 0x00006f20 - 0x00006f3f (0x20) IX[B]
 [31] -1 0 0x0000ef00 - 0x0000ef7f (0x80) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
 [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
 [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0xf9ffe000 - 0xf9ffffff (0x2000) MX[B]
 [5] -1 0 0xf9bf0000 - 0xf9bfffff (0x10000) MX[B]
 [6] -1 0 0xf9aff700 - 0xf9aff7ff (0x100) MX[B]
 [7] -1 0 0xf9aff600 - 0xf9aff6ff (0x100) MX[B]
 [8] -1 0 0xf9aff500 - 0xf9aff5ff (0x100) MX[B]
 [9] -1 0 0xf9aff400 - 0xf9aff4ff (0x100) MX[B]
 [10] -1 0 0xf9aff800 - 0xf9afffff (0x800) MX[B]
 [11] -1 0 0xfebfb700 - 0xfebfb7ff (0x100) MX[B]
 [12] -1 0 0xfebfb800 - 0xfebfbfff (0x800) MX[B]
 [13] -1 0 0xfed1c000 - 0xfed1c3ff (0x400) MX[B]
 [14] -1 0 0xfebfc000 - 0xfebfffff (0x4000) MX[B]
 [15] -1 0 0xfed1c400 - 0xfed1c7ff (0x400) MX[B]
 [16] -1 0 0xfa000000 - 0xfbffffff (0x2000000) MX[B](B)
 [17] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
 [18] -1 0 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
 [19] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [20] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
 [21] -1 0 0x000010c0 - 0x000010df (0x20) IX[B]
 [22] -1 0 0x00006ee0 - 0x00006eff (0x20) IX[B]
 [23] -1 0 0x00006ec8 - 0x00006ecb (0x4) IX[B]
 [24] -1 0 0x00006ec0 - 0x00006ec7 (0x8) IX[B]
 [25] -1 0 0x00006eb8 - 0x00006ebb (0x4) IX[B]
 [26] -1 0 0x00006eb0 - 0x00006eb7 (0x8) IX[B]
 [27] -1 0 0x00006fa0 - 0x00006faf (0x10) IX[B]
 [28] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
 [29] -1 0 0x00000170 - 0x00000177 (0x8) IX[B]
 [30] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
 [31] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[B]
 [32] -1 0 0x00006f40 - 0x00006f5f (0x20) IX[B]
 [33] -1 0 0x00006f60 - 0x00006f7f (0x20) IX[B]
 [34] -1 0 0x00006f80 - 0x00006f9f (0x20) IX[B]
 [35] -1 0 0x00006f00 - 0x00006f1f (0x20) IX[B]
 [36] -1 0 0x00006f20 - 0x00006f3f (0x20) IX[B]
 [37] -1 0 0x0000ef00 - 0x0000ef7f (0x80) IX[B](B)
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
 compiled for 4.0.2, module version = 1.0.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 0.1
(II) NVIDIA GLX Module 100.14.11 Wed Jun 13 18:58:58 PDT 2007
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.0.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.0.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "freetype"
(II) Loading /usr/lib/xorg/modules//fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
 compiled for 1.3.0, module version = 2.1.0
 Module class: X.Org Font Renderer
 ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.13.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 0.3
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.0.0
 ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
 compiled for 4.0.2, module version = 1.0.0
 Module class: X.Org Video Driver
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.2.1
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.2.1
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input//wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
 compiled for 4.3.99.902, module version = 1.0.0
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 0.7
(II) Wacom driver level: 47-0.7.7-7 $
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="The XFree86 Project"
 compiled for 4.2.0, module version = 1.0.0
 Module class: XFree86 XInput Driver
 ABI class: XFree86 XInput driver, version 0.3
(II) NVIDIA dlloader X Driver 100.14.11 Wed Jun 13 18:23:34 PDT 2007
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Chipset NVIDIA GPU found
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
 compiled for 1.3.0, module version = 1.0.0
 ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="NVIDIA Corporation"
 compiled for 7.1.99.2, module version = 1.0.0
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"(II) Module already built-in
(II) resource ranges after xf86ClaimFixedResources() call:
 [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0xf9ffe000 - 0xf9ffffff (0x2000) MX[B]
 [5] -1 0 0xf9bf0000 - 0xf9bfffff (0x10000) MX[B]
 [6] -1 0 0xf9aff700 - 0xf9aff7ff (0x100) MX[B]
 [7] -1 0 0xf9aff600 - 0xf9aff6ff (0x100) MX[B]
 [8] -1 0 0xf9aff500 - 0xf9aff5ff (0x100) MX[B]
 [9] -1 0 0xf9aff400 - 0xf9aff4ff (0x100) MX[B]
 [10] -1 0 0xf9aff800 - 0xf9afffff (0x800) MX[B]
 [11] -1 0 0xfebfb700 - 0xfebfb7ff (0x100) MX[B]
 [12] -1 0 0xfebfb800 - 0xfebfbfff (0x800) MX[B]
 [13] -1 0 0xfed1c000 - 0xfed1c3ff (0x400) MX[B]
 [14] -1 0 0xfebfc000 - 0xfebfffff (0x4000) MX[B]
 [15] -1 0 0xfed1c400 - 0xfed1c7ff (0x400) MX[B]
 [16] -1 0 0xfa000000 - 0xfbffffff (0x2000000) MX[B](B)
 [17] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
 [18] -1 0 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
 [19] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [20] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
 [21] -1 0 0x000010c0 - 0x000010df (0x20) IX[B]
 [22] -1 0 0x00006ee0 - 0x00006eff (0x20) IX[B]
 [23] -1 0 0x00006ec8 - 0x00006ecb (0x4) IX[B]
 [24] -1 0 0x00006ec0 - 0x00006ec7 (0x8) IX[B]
 [25] -1 0 0x00006eb8 - 0x00006ebb (0x4) IX[B]
 [26] -1 0 0x00006eb0 - 0x00006eb7 (0x8) IX[B]
 [27] -1 0 0x00006fa0 - 0x00006faf (0x10) IX[B]
 [28] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
 [29] -1 0 0x00000170 - 0x00000177 (0x8) IX[B]
 [30] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
 [31] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[B]
 [32] -1 0 0x00006f40 - 0x00006f5f (0x20) IX[B]
 [33] -1 0 0x00006f60 - 0x00006f7f (0x20) IX[B]
 [34] -1 0 0x00006f80 - 0x00006f9f (0x20) IX[B]
 [35] -1 0 0x00006f00 - 0x00006f1f (0x20) IX[B]
 [36] -1 0 0x00006f20 - 0x00006f3f (0x20) IX[B]
 [37] -1 0 0x0000ef00 - 0x0000ef7f (0x80) IX[B](B)
(II) resource ranges after probing:
 [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0xf9ffe000 - 0xf9ffffff (0x2000) MX[B]
 [5] -1 0 0xf9bf0000 - 0xf9bfffff (0x10000) MX[B]
 [6] -1 0 0xf9aff700 - 0xf9aff7ff (0x100) MX[B]
 [7] -1 0 0xf9aff600 - 0xf9aff6ff (0x100) MX[B]
 [8] -1 0 0xf9aff500 - 0xf9aff5ff (0x100) MX[B]
 [9] -1 0 0xf9aff400 - 0xf9aff4ff (0x100) MX[B]
 [10] -1 0 0xf9aff800 - 0xf9afffff (0x800) MX[B]
 [11] -1 0 0xfebfb700 - 0xfebfb7ff (0x100) MX[B]
 [12] -1 0 0xfebfb800 - 0xfebfbfff (0x800) MX[B]
 [13] -1 0 0xfed1c000 - 0xfed1c3ff (0x400) MX[B]
 [14] -1 0 0xfebfc000 - 0xfebfffff (0x4000) MX[B]
 [15] -1 0 0xfed1c400 - 0xfed1c7ff (0x400) MX[B]
 [16] -1 0 0xfa000000 - 0xfbffffff (0x2000000) MX[B](B)
 [17] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
 [18] -1 0 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
 [19] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
 [20] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
 [21] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
 [22] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [23] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
 [24] -1 0 0x000010c0 - 0x000010df (0x20) IX[B]
 [25] -1 0 0x00006ee0 - 0x00006eff (0x20) IX[B]
 [26] -1 0 0x00006ec8 - 0x00006ecb (0x4) IX[B]
 [27] -1 0 0x00006ec0 - 0x00006ec7 (0x8) IX[B]
 [28] -1 0 0x00006eb8 - 0x00006ebb (0x4) IX[B]
 [29] -1 0 0x00006eb0 - 0x00006eb7 (0x8) IX[B]
 [30] -1 0 0x00006fa0 - 0x00006faf (0x10) IX[B]
 [31] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
 [32] -1 0 0x00000170 - 0x00000177 (0x8) IX[B]
 [33] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
 [34] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[B]
 [35] -1 0 0x00006f40 - 0x00006f5f (0x20) IX[B]
 [36] -1 0 0x00006f60 - 0x00006f7f (0x20) IX[B]
 [37] -1 0 0x00006f80 - 0x00006f9f (0x20) IX[B]
 [38] -1 0 0x00006f00 - 0x00006f1f (0x20) IX[B]
 [39] -1 0 0x00006f20 - 0x00006f3f (0x20) IX[B]
 [40] -1 0 0x0000ef00 - 0x0000ef7f (0x80) IX[B](B)
 [41] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
 [42] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "True"
(**) NVIDIA(0): Option "AddARGBGLXVisuals" "True"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce 8400M GS (G86) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 60.86.45.00.32
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 8400M GS at PCI:1:0:0:
(--) NVIDIA(0): LPL (DFP-0)
(--) NVIDIA(0): LPL (DFP-0): 330.0 MHz maximum pixel clock
(--) NVIDIA(0): LPL (DFP-0): Internal Dual Link LVDS
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1280x1280"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0): "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 800
(--) NVIDIA(0): DPI set to (112, 112); computed from "UseEdidDpi" X config
(--) NVIDIA(0): option
(**) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
 [0] 0 0 0xfa000000 - 0xfbffffff (0x2000000) MX[B]
 [1] 0 0 0xe0000000 - 0xefffffff (0x10000000) MX[B]
 [2] 0 0 0xfd000000 - 0xfdffffff (0x1000000) MX[B]
 [3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
 [4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [7] -1 0 0xf9ffe000 - 0xf9ffffff (0x2000) MX[B]
 [8] -1 0 0xf9bf0000 - 0xf9bfffff (0x10000) MX[B]
 [9] -1 0 0xf9aff700 - 0xf9aff7ff (0x100) MX[B]
 [10] -1 0 0xf9aff600 - 0xf9aff6ff (0x100) MX[B]
 [11] -1 0 0xf9aff500 - 0xf9aff5ff (0x100) MX[B]
 [12] -1 0 0xf9aff400 - 0xf9aff4ff (0x100) MX[B]
 [13] -1 0 0xf9aff800 - 0xf9afffff (0x800) MX[B]
 [14] -1 0 0xfebfb700 - 0xfebfb7ff (0x100) MX[B]
 [15] -1 0 0xfebfb800 - 0xfebfbfff (0x800) MX[B]
 [16] -1 0 0xfed1c000 - 0xfed1c3ff (0x400) MX[B]
 [17] -1 0 0xfebfc000 - 0xfebfffff (0x4000) MX[B]
 [18] -1 0 0xfed1c400 - 0xfed1c7ff (0x400) MX[B]
 [19] -1 0 0xfa000000 - 0xfbffffff (0x2000000) MX[B](B)
 [20] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
 [21] -1 0 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
 [22] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
 [23] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
 [24] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
 [25] 0 0 0x0000ef00 - 0x0000ef7f (0x80) IX[B]
 [26] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [27] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
 [28] -1 0 0x000010c0 - 0x000010df (0x20) IX[B]
 [29] -1 0 0x00006ee0 - 0x00006eff (0x20) IX[B]
 [30] -1 0 0x00006ec8 - 0x00006ecb (0x4) IX[B]
 [31] -1 0 0x00006ec0 - 0x00006ec7 (0x8) IX[B]
 [32] -1 0 0x00006eb8 - 0x00006ebb (0x4) IX[B]
 [33] -1 0 0x00006eb0 - 0x00006eb7 (0x8) IX[B]
 [34] -1 0 0x00006fa0 - 0x00006faf (0x10) IX[B]
 [35] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
 [36] -1 0 0x00000170 - 0x00000177 (0x8) IX[B]
 [37] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
 [38] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[B]
 [39] -1 0 0x00006f40 - 0x00006f5f (0x20) IX[B]
 [40] -1 0 0x00006f60 - 0x00006f7f (0x20) IX[B]
 [41] -1 0 0x00006f80 - 0x00006f9f (0x20) IX[B]
 [42] -1 0 0x00006f00 - 0x00006f1f (0x20) IX[B]
 [43] -1 0 0x00006f20 - 0x00006f3f (0x20) IX[B]
 [44] -1 0 0x0000ef00 - 0x0000ef7f (0x80) IX[B](B)
 [45] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
 [46] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NVIDIA(0): Setting mode "nvidia-auto-select"
(--) NVIDIA(0): No video decoder detected
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(WW) NVIDIA(0): Option "AddARGBVisuals" is not used
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension XAccessControlExtension
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
(**) Option "CoreKeyboard"
(**) Generic Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "it"
(**) Generic Keyboard: XkbLayout: "it"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(**) Option "Protocol" "ImPS/2"
(**) Configured Mouse: Device: "/dev/input/mice"
(**) Configured Mouse: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 9
(**) Configured Mouse: Sensitivity: 1
(**) Option "SendCoreEvents"
(**) stylus: always reports core events
(**) stylus device is /dev/input/wacom
(**) stylus is in absolute mode
(**) stylus: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) stylus: serial speed 9600
(**) Option "SendCoreEvents"
(**) cursor: always reports core events
(**) cursor device is /dev/input/wacom
(**) cursor is in relative mode
(**) cursor: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) cursor: serial speed 9600
(**) Option "SendCoreEvents"
(**) eraser: always reports core events
(**) eraser device is /dev/input/wacom
(**) eraser is in absolute mode
(**) eraser: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) eraser: serial speed 9600
Atom 4, CARD32 4, unsigned long 4
(II) Synaptics touchpad driver version 0.14.6 (1406)
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event5
(**) Option "Device" "/dev/input/event5"
(**) Option "SHMConfig" "true"
(**) Option "HorizScrollDelta" "0"
(--) Synaptics Touchpad touchpad found
(**) Option "SendCoreEvents" "true"
(**) Synaptics Touchpad: always reports core events
(II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: MOUSE)
(II) XINPUT: Adding extended input device "eraser" (type: Wacom Eraser)
(II) XINPUT: Adding extended input device "cursor" (type: Wacom Cursor)
(II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus)
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(**) Option "Device" "/dev/input/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
 No such file or directory.
Error opening /dev/input/wacom : No such file or directory
(**) Option "Device" "/dev/input/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
 No such file or directory.
Error opening /dev/input/wacom : No such file or directory
(**) Option "Device" "/dev/input/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
 No such file or directory.
Error opening /dev/input/wacom : No such file or directory
Synaptics DeviceInit called
SynapticsCtrl called.
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Synaptics DeviceOn called
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event5
(**) Option "Device" "/dev/input/event5"
(--) Synaptics Touchpad touchpad found
ProcXCloseDevice to close or not ?
ProcXCloseDevice to close or not ?
ProcXCloseDevice to close or not ?
ProcXCloseDevice to close or not ?
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled

Massimo Forti (slackwarelife) said : #2

Thanks for your question and your good description. I see you are using the new nvidia modules, I think you are compiling the module with nvidia installer. If you read the documentation you can see that you must recompile the modules after kernel update. I hope this help you.

Thanks

slamdunk (antongiulio05) said : #3

Ok, it's very clumsy for me...

nvidia driver is it not shipped with 'restricted modules package'?

/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new
/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new/nv-kernel.o
/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new/nv.o
/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new/nv-vm.o
/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new/os-agp.o
/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new/os-interface.o
/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new/os-registry.o
/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new/nv-i2c.o
/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new/nvacpi.o
/lib/linux-restricted-modules/2.6.22-12-generic/nvidia_new/nvidia.mod.o

but I suppose it's "nv" in xorg.conf... and not "nvidia"

# dpkg -L nvidia-glx-new | grep \.ko

returns nothing

with modules-assistant I cannot compile nvidia because it searches for an old version, and not needed 100.14.*

I have installed nvidia-new-kernel-source -> /usr/src/nvidia-new-kernel-source.tar.gz

and followed steps in (method #1):

/usr/share/doc/nvidia-new-kernel-source/README.Debian.gz

but when I launch:

# debian/rules binary_modules

and I got errors:

cat: /usr/src/kernel-headers-2.6.22-12-generic/include/linux/version.h: Nessun file o directory
test: 1: 132608: unexpected operator
# select which makefile to use.
rm -f /usr/src/modules/nvidia-new-kernel/nv/Makefile || true
if [ 4 = 6 ]; then \
             cd /usr/src/modules/nvidia-new-kernel/nv ; \
             ln -s Makefile.kbuild Makefile ; \
             cd .. ; \
             if [ 0 = 1 ]; then \
                dpatch apply 01_sysfs ; \
                dpatch status 01_sysfs >patch-stamp ; \
                dpatch apply 02_pcialias ; \
                dpatch status 02_pcialias >>patch-stamp ; \
             fi \
        fi
if [ 4 = 4 ]; then \
             cd /usr/src/modules/nvidia-new-kernel/nv ; \
             ln -s Makefile.nvidia Makefile ; \
             cd .. ; \
        fi
#nothing here anymore
touch configure-stamp
if [ -f /usr/src/modules/nvidia-new-kernel/debian/control.template ]; then \
                cp /usr/src/modules/nvidia-new-kernel/debian/control.template /usr/src/modules/nvidia-new-kernel/debian/control; \
        fi
dh_testdir
dh_testroot
PATCHLEVEL = 4
Kernel compiler version : 4.1.2
Detected compiler version : 4.1.2
Using compiler gcc version 4.1.2
touch /usr/src/modules/nvidia-new-kernel/nv/gcc-check
touch /usr/src/modules/nvidia-new-kernel/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc" /usr/bin/make -C /usr/src/modules/nvidia-new-kernel/nv -f Makefile SYSSRC=/usr/src/kernel-headers-2.6.22-12-generic KBUILD_PARAMS="-C /usr/src/kernel-headers-2.6.22-12-generic SUBDIRS=/usr/src/modules/nvidia-new-kernel/nv" module;
make[1]: Entering directory `/usr/src/modules/nvidia-new-kernel/nv'
Your kernel was configured to include rivafb support!

The rivafb driver conflicts with the NVIDIA driver, please
reconfigure your kernel and *disable* rivafb support, then
try installing the NVIDIA kernel module again.

*** Failed rivafb sanity check. Bailing out! ***

echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNVRM -DNV_VERSION_STRING=\"100.14.19\" -DNV_CHANGE_PAGE_ATTR_PRESENT -I. -I/usr/src/kernel-headers-2.6.22-12-generic/include -Wsign-compare -Wno-cast-qual -Wno-error nv.c
In file included from nv.c:14:
nv-linux.h:17:28: error: linux/autoconf.h: Nessun file o directory
nv-linux.h:51:26: error: linux/module.h: Nessun file o directory
nv-linux.h:52:24: error: linux/kmod.h: Nessun file o directory
nv-linux.h:54:75: error: linux/init.h: Nessun file o directory
nv-linux.h:57:75: error: linux/list.h: Nessun file o directory
nv-linux.h:60:75: error: linux/string.h: Nessun file o directory
nv-linux.h:61:75: error: linux/ctype.h: Nessun file o directory
nv-linux.h:62:75: error: linux/console.h: Nessun file o directory
nv-linux.h:64:75: error: linux/slab.h: Nessun file o directory
nv-linux.h:65:75: error: linux/vmalloc.h: Nessun file o directory
nv-linux.h:68:75: error: linux/delay.h: Nessun file o directory
nv-linux.h:72:75: error: linux/moduleparam.h: Nessun file o directory
nv-linux.h:73:75: error: linux/smp_lock.h: Nessun file o directory
nv-linux.h:74:75: error: asm/tlbflush.h: Nessun file o directory
nv-linux.h:75:75: error: asm/kmap_types.h: Nessun file o directory
nv-linux.h:79:75: error: linux/interrupt.h: Nessun file o directory
nv-linux.h:80:25: error: linux/timer.h: Nessun file o directory
nv-linux.h:82:75: error: asm/system.h: Nessun file o directory
nv-linux.h:83:75: error: asm/io.h: Nessun file o directory
nv-linux.h:84:75: error: asm/uaccess.h: Nessun file o directory
nv-linux.h:86:75: error: asm/pgtable.h: Nessun file o directory
nv-linux.h:97:28: error: linux/spinlock.h: Nessun file o directory
nv-linux.h:98:27: error: asm/semaphore.h: Nessun file o directory
nv-linux.h:99:30: error: linux/completion.h: Nessun file o directory
nv-linux.h:100:27: error: linux/highmem.h: Nessun file o directory
nv-linux.h:546:2: warning: #warning "conftest.sh failed, assuming kmem_cache_create(6)!"
In file included from nv.c:14:
nv-linux.h:802: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pm_message_t’
nv-linux.h:847:2: warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
nv-linux.h: In function ‘NV_IRQL_IS_RAISED’:
nv-linux.h:973: warning: implicit declaration of function ‘local_save_flags’
nv-linux.h: At top level:
nv-linux.h:988: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgprot_noncached_weak’
nv-linux.h:997: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgprot_noncached’
nv-linux.h:1007: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgprot_writecombined’
nv-linux.h:1031: error: expected specifier-qualifier-list before ‘dma_addr_t’
nv-linux.h:1044: error: expected specifier-qualifier-list before ‘atomic_t’
nv-linux.h:1085: error: expected specifier-qualifier-list before ‘atomic_t’
nv-linux.h:1153: error: field ‘sp_lock’ has incomplete type
nv-linux.h:1157: error: expected specifier-qualifier-list before ‘spinlock_t’
In file included from nv.c:17:
nv-vm.h:14: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’
nv-vm.h:14: warning: ‘struct page’ declared inside parameter list
nv-vm.h:14: warning: its scope is only this definition or declaration, which is probably not what you want
nv.c:37: warning: data definition has no type or storage class
nv.c:37: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
nv.c:37: warning: parameter names (without types) in function declaration
nv.c:49: error: expected ‘)’ before ‘int’
nv.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nv_ctl_waitqueue’
nv.c: In function ‘nv_check_pci_config_space’:
nv.c:227: warning: implicit declaration of function ‘pci_read_config_word’
nv.c:227: error: ‘nv_linux_state_t’ has no member named ‘dev’
nv.c:243: warning: implicit declaration of function ‘pci_write_config_word’
nv.c:243: error: ‘nv_linux_state_t’ has no member named ‘dev’
nv.c:245: warning: implicit declaration of function ‘in_interrupt’
nv.c:245: warning: implicit declaration of function ‘in_atomic’
nv.c:246: error: ‘nv_linux_state_t’ has no member named ‘dev’
nv.c: In function ‘nv_verify_pci_config’:
nv.c:252: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c: At top level:
nv.c:264: warning: ‘struct proc_dir_entry’ declared inside parameter list
nv.c:268: warning: ‘struct pci_dev’ declared inside parameter list
nv.c:285: warning: ‘struct vm_area_struct’ declared inside parameter list
nv.c:286: warning: ‘struct vm_area_struct’ declared inside parameter list
nv.c:288: warning: ‘struct file’ declared inside parameter list
nv.c:288: warning: ‘struct inode’ declared inside parameter list
nv.c:289: warning: ‘struct file’ declared inside parameter list
nv.c:289: warning: ‘struct inode’ declared inside parameter list
nv.c:290: warning: ‘struct vm_area_struct’ declared inside parameter list
nv.c:290: warning: ‘struct file’ declared inside parameter list
nv.c:291: error: expected declaration specifiers or ‘...’ before ‘poll_table’
nv.c:291: warning: ‘struct file’ declared inside parameter list
nv.c:292: warning: ‘struct file’ declared inside parameter list
nv.c:292: warning: ‘struct inode’ declared inside parameter list
nv.c:293: warning: ‘struct file’ declared inside parameter list
nv.c:294: warning: ‘struct file’ declared inside parameter list
nv.c:318: warning: ‘struct file’ declared inside parameter list
nv.c:318: warning: ‘struct inode’ declared inside parameter list
nv.c:319: warning: ‘struct file’ declared inside parameter list
nv.c:319: warning: ‘struct inode’ declared inside parameter list
nv.c:320: error: expected declaration specifiers or ‘...’ before ‘poll_table’
nv.c:320: warning: ‘struct file’ declared inside parameter list
nv.c:322: warning: ‘struct pci_device_id’ declared inside parameter list
nv.c:322: warning: ‘struct pci_dev’ declared inside parameter list
nv.c:333: error: array type has incomplete element type
nv.c:335: error: field name not in record or union initializer
nv.c:335: error: (near initialization for ‘nv_pci_table’)
nv.c:335: error: ‘PCI_VENDOR_ID_NVIDIA’ undeclared here (not in a function)
nv.c:336: error: field name not in record or union initializer
nv.c:336: error: (near initialization for ‘nv_pci_table’)
nv.c:336: error: ‘PCI_ANY_ID’ undeclared here (not in a function)
nv.c:337: error: field name not in record or union initializer
nv.c:337: error: (near initialization for ‘nv_pci_table’)
nv.c:338: error: field name not in record or union initializer
nv.c:338: error: (near initialization for ‘nv_pci_table’)
nv.c:339: error: field name not in record or union initializer
nv.c:339: error: (near initialization for ‘nv_pci_table’)
nv.c:339: error: ‘PCI_CLASS_DISPLAY_VGA’ undeclared here (not in a function)
nv.c:340: error: field name not in record or union initializer
nv.c:340: error: (near initialization for ‘nv_pci_table’)
nv.c:343: error: field name not in record or union initializer
nv.c:343: error: (near initialization for ‘nv_pci_table’)
nv.c:344: error: field name not in record or union initializer
nv.c:344: error: (near initialization for ‘nv_pci_table’)
nv.c:345: error: field name not in record or union initializer
nv.c:345: error: (near initialization for ‘nv_pci_table’)
nv.c:346: error: field name not in record or union initializer
nv.c:346: error: (near initialization for ‘nv_pci_table’)
nv.c:347: error: field name not in record or union initializer
nv.c:347: error: (near initialization for ‘nv_pci_table’)
nv.c:347: error: ‘PCI_CLASS_DISPLAY_3D’ undeclared here (not in a function)
nv.c:348: error: field name not in record or union initializer
nv.c:348: error: (near initialization for ‘nv_pci_table’)
nv.c:353: warning: data definition has no type or storage class
nv.c:353: warning: type defaults to ‘int’ in declaration of ‘MODULE_DEVICE_TABLE’
nv.c:353: warning: parameter names (without types) in function declaration
nv.c:355: error: variable ‘nv_pci_driver’ has initializer but incomplete type
nv.c:356: error: unknown field ‘name’ specified in initializer
nv.c:356: warning: excess elements in struct initializer
nv.c:356: warning: (near initialization for ‘nv_pci_driver’)
nv.c:357: error: unknown field ‘id_table’ specified in initializer
nv.c:357: warning: excess elements in struct initializer
nv.c:357: warning: (near initialization for ‘nv_pci_driver’)
nv.c:358: error: unknown field ‘probe’ specified in initializer
nv.c:358: warning: excess elements in struct initializer
nv.c:358: warning: (near initialization for ‘nv_pci_driver’)
nv.c:367: error: variable ‘nv_fops’ has initializer but incomplete type
nv.c:368: error: unknown field ‘owner’ specified in initializer
nv.c:368: error: ‘THIS_MODULE’ undeclared here (not in a function)
nv.c:368: warning: excess elements in struct initializer
nv.c:368: warning: (near initialization for ‘nv_fops’)
nv.c:369: error: unknown field ‘poll’ specified in initializer
nv.c:369: warning: excess elements in struct initializer
nv.c:369: warning: (near initialization for ‘nv_fops’)
nv.c:370: error: unknown field ‘ioctl’ specified in initializer
nv.c:370: warning: excess elements in struct initializer
nv.c:370: warning: (near initialization for ‘nv_fops’)
nv.c:377: error: unknown field ‘mmap’ specified in initializer
nv.c:377: warning: excess elements in struct initializer
nv.c:377: warning: (near initialization for ‘nv_fops’)
nv.c:378: error: unknown field ‘open’ specified in initializer
nv.c:378: warning: excess elements in struct initializer
nv.c:378: warning: (near initialization for ‘nv_fops’)
nv.c:379: error: unknown field ‘release’ specified in initializer
nv.c:379: warning: excess elements in struct initializer
nv.c:379: warning: (near initialization for ‘nv_fops’)
nv.c:435: warning: ‘struct pci_dev’ declared inside parameter list
nv.c:436: error: conflicting types for ‘nvos_create_alloc’
nv.c:268: error: previous declaration of ‘nvos_create_alloc’ was here
nv.c: In function ‘nvos_create_alloc’:
nv.c:440: warning: implicit declaration of function ‘kmalloc’
nv.c:440: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:440: error: (Each undeclared identifier is reported only once
nv.c:440: error: for each function it appears in.)
nv.c:440: warning: assignment makes pointer from integer without a cast
nv.c:447: warning: implicit declaration of function ‘memset’
nv.c:447: warning: incompatible implicit declaration of built-in function ‘memset’
nv.c:450: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:453: warning: implicit declaration of function ‘kfree’
nv.c:457: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:458: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:459: warning: implicit declaration of function ‘atomic_set’
nv.c:459: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:461: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:463: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:463: warning: implicit declaration of function ‘kmem_cache_alloc’
nv.c:464: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:471: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:474: error: ‘nv_alloc_t’ has no member named ‘pid’
nv.c: In function ‘nvos_free_alloc’:
nv.c:489: warning: implicit declaration of function ‘atomic_read’
nv.c:489: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:492: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:494: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:495: warning: implicit declaration of function ‘kmem_cache_free’
nv.c:495: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:497: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c: At top level:
nv.c:504: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nvos_find_agp_capability’
nv.c:534: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nvos_find_pci_express_capability’
nv.c: In function ‘nvos_get_agp_device_by_class’:
nv.c:567: error: ‘u32’ undeclared (first use in this function)
nv.c:567: error: expected ‘;’ before ‘slot’
nv.c:569: warning: implicit declaration of function ‘pci_find_class’
nv.c:569: warning: assignment makes pointer from integer without a cast
nv.c:571: error: ‘slot’ undeclared (first use in this function)
nv.c:571: error: dereferencing pointer to incomplete type
nv.c:572: error: ‘func’ undeclared (first use in this function)
nv.c:573: error: ‘fn’ undeclared (first use in this function)
nv.c:574: warning: implicit declaration of function ‘pci_find_slot’
nv.c:574: error: dereferencing pointer to incomplete type
nv.c:574: warning: assignment makes pointer from integer without a cast
nv.c:577: warning: implicit declaration of function ‘nvos_find_agp_capability’
nv.c:583: warning: assignment makes pointer from integer without a cast
nv.c: In function ‘nv_get_pci_device’:
nv.c:593: warning: implicit declaration of function ‘pci_find_device’
nv.c:593: warning: assignment makes pointer from integer without a cast
nv.c:595: error: dereferencing pointer to incomplete type
nv.c:596: error: dereferencing pointer to incomplete type
nv.c:598: warning: assignment makes pointer from integer without a cast
nv.c: In function ‘nvl_find_alloc’:
nv.c:804: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:810: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:814: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:818: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:819: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:820: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:820: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:823: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:825: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:830: error: ‘nv_pte_t’ has no member named ‘dma_addr’
nv.c:831: error: ‘nv_pte_t’ has no member named ‘dma_addr’
nv.c: In function ‘nvl_add_alloc’:
nv.c:847: warning: implicit declaration of function ‘down’
nv.c:847: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:848: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:849: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:850: warning: implicit declaration of function ‘up’
nv.c:850: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c: In function ‘nvl_remove_alloc’:
nv.c:861: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:863: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:863: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:867: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c: In function ‘__nv_disable_caches’:
nv.c:897: warning: implicit declaration of function ‘read_cr0’
nv.c:898: warning: implicit declaration of function ‘write_cr0’
nv.c:902: warning: implicit declaration of function ‘__flush_tlb’
nv.c: In function ‘__check_pat_support’:
nv.c:918: warning: implicit declaration of function ‘test_bit’
nv.c:918: error: ‘X86_FEATURE_PAT’ undeclared (first use in this function)
nv.c:918: error: ‘boot_cpu_data’ undeclared (first use in this function)
nv.c:925: warning: implicit declaration of function ‘rdmsr’
nv.c: In function ‘__nv_setup_pat_entries’:
nv.c:963: warning: implicit declaration of function ‘local_irq_disable’
nv.c:971: warning: implicit declaration of function ‘wrmsr’
nv.c:974: warning: implicit declaration of function ‘local_irq_restore’
nv.c: In function ‘nv_verify_page_mappings’:
nv.c:1200: error: ‘pgd_t’ undeclared (first use in this function)
nv.c:1200: error: ‘pgd’ undeclared (first use in this function)
nv.c:1201: error: ‘pmd_t’ undeclared (first use in this function)
nv.c:1201: error: ‘pmd’ undeclared (first use in this function)
nv.c:1202: error: ‘pte_t’ undeclared (first use in this function)
nv.c:1202: error: ‘pte’ undeclared (first use in this function)
nv.c:1208: warning: implicit declaration of function ‘__va’
nv.c:1209: error: ‘init_mm’ undeclared (first use in this function)
nv.c:1211: error: ‘__pgd’ undeclared (first use in this function)
nv.c:1211: warning: implicit declaration of function ‘pgd_offset’
nv.c:1211: warning: implicit declaration of function ‘pgd_offset_k’
nv.c:1212: warning: implicit declaration of function ‘pgd_bad’
nv.c:1212: warning: implicit declaration of function ‘pgd_none’
nv.c:1218: error: ‘__pmd’ undeclared (first use in this function)
nv.c:1218: warning: implicit declaration of function ‘pmd_offset’
nv.c:1219: warning: implicit declaration of function ‘pmd_none’
nv.c:1226: warning: implicit declaration of function ‘pmd_val’
nv.c:1226: error: ‘_PAGE_PSE’ undeclared (first use in this function)
nv.c:1226: error: ‘_PAGE_PRESENT’ undeclared (first use in this function)
nv.c:1228: error: expected expression before ‘)’ token
nv.c:1229: warning: implicit declaration of function ‘pte_val’
nv.c:1234: error: ‘__pte’ undeclared (first use in this function)
nv.c:1234: warning: implicit declaration of function ‘pte_offset_map’
nv.c:1235: warning: implicit declaration of function ‘pte_present’
nv.c:1235: warning: implicit declaration of function ‘pte_unmap’
nv.c:1247: warning: implicit declaration of function ‘pgprot_val’
nv.c:1247: error: ‘PAGE_KERNEL’ undeclared (first use in this function)
nv.c:1252: error: ‘PAGE_KERNEL_NOCACHE’ undeclared (first use in this function)
nv.c: At top level:
nv.c:1320: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nvidia_init_module’
nv.c:1599: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nvidia_exit_module’
nv.c:1715: warning: data definition has no type or storage class
nv.c:1715: warning: type defaults to ‘int’ in declaration of ‘module_init’
nv.c:1715: warning: parameter names (without types) in function declaration
nv.c:1716: warning: data definition has no type or storage class
nv.c:1716: warning: type defaults to ‘int’ in declaration of ‘module_exit’
nv.c:1716: warning: parameter names (without types) in function declaration
nv.c:1756: warning: ‘struct vm_area_struct’ declared inside parameter list
nv.c:1757: error: conflicting types for ‘nv_kern_vma_open’
nv.c:285: error: previous declaration of ‘nv_kern_vma_open’ was here
nv.c: In function ‘nv_kern_vma_open’:
nv.c:1758: error: dereferencing pointer to incomplete type
nv.c:1758: error: dereferencing pointer to incomplete type
nv.c:1758: error: dereferencing pointer to incomplete type
nv.c:1758: error: dereferencing pointer to incomplete type
nv.c:1758: error: dereferencing pointer to incomplete type
nv.c:1758: error: dereferencing pointer to incomplete type
nv.c:1758: error: dereferencing pointer to incomplete type
nv.c:1760: error: dereferencing pointer to incomplete type
nv.c:1762: error: dereferencing pointer to incomplete type
nv.c:1763: warning: implicit declaration of function ‘atomic_inc’
nv.c:1763: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:1765: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:1767: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:1767: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:1767: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:1767: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:1767: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c: At top level:
nv.c:1785: warning: ‘struct vm_area_struct’ declared inside parameter list
nv.c:1786: error: conflicting types for ‘nv_kern_vma_release’
nv.c:286: error: previous declaration of ‘nv_kern_vma_release’ was here
nv.c: In function ‘nv_kern_vma_release’:
nv.c:1787: error: dereferencing pointer to incomplete type
nv.c:1787: error: dereferencing pointer to incomplete type
nv.c:1787: error: dereferencing pointer to incomplete type
nv.c:1787: error: dereferencing pointer to incomplete type
nv.c:1787: error: dereferencing pointer to incomplete type
nv.c:1787: error: dereferencing pointer to incomplete type
nv.c:1787: error: dereferencing pointer to incomplete type
nv.c:1789: error: dereferencing pointer to incomplete type
nv.c:1791: error: dereferencing pointer to incomplete type
nv.c:1793: warning: implicit declaration of function ‘atomic_dec_and_test’
nv.c:1793: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:1796: error: ‘nv_alloc_t’ has no member named ‘pid’
nv.c:1801: error: ‘current’ undeclared (first use in this function)
nv.c:1803: error: ‘nv_alloc_t’ has no member named ‘file’
nv.c:1803: error: dereferencing pointer to incomplete type
nv.c:1806: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:1808: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:1808: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:1808: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:1808: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:1808: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c: At top level:
nv.c:1822: warning: ‘struct vm_area_struct’ declared inside parameter list
nv.c: In function ‘nv_kern_vma_nopage’:
nv.c:1827: warning: implicit declaration of function ‘pfn_to_page’
nv.c:1827: error: dereferencing pointer to incomplete type
nv.c:1827: warning: assignment makes pointer from integer without a cast
nv.c:1828: warning: implicit declaration of function ‘get_page’
nv.c: At top level:
nv.c:1836: error: variable ‘nv_vm_ops’ has initializer but incomplete type
nv.c:1837: error: unknown field ‘open’ specified in initializer
nv.c:1837: warning: excess elements in struct initializer
nv.c:1837: warning: (near initialization for ‘nv_vm_ops’)
nv.c:1838: error: unknown field ‘close’ specified in initializer
nv.c:1838: warning: excess elements in struct initializer
nv.c:1838: warning: (near initialization for ‘nv_vm_ops’)
nv.c:1839: error: unknown field ‘nopage’ specified in initializer
nv.c:1839: warning: excess elements in struct initializer
nv.c:1839: warning: (near initialization for ‘nv_vm_ops’)
nv.c: In function ‘nv_alloc_file_private’:
nv.c:1847: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:1847: warning: assignment makes pointer from integer without a cast
nv.c:1851: warning: incompatible implicit declaration of built-in function ‘memset’
nv.c:1853: warning: implicit declaration of function ‘sema_init’
nv.c:1856: warning: implicit declaration of function ‘init_waitqueue_head’
nv.c:1856: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
nv.c:1858: warning: implicit declaration of function ‘spin_lock_init’
nv.c:1858: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
nv.c:1860: error: ‘nv_file_private_t’ has no member named ‘event_fifo’
nv.c:1861: error: ‘nv_file_private_t’ has no member named ‘event_fifo’
nv.c: In function ‘nv_free_file_private’:
nv.c:1876: error: ‘nv_file_private_t’ has no member named ‘event_fifo’
nv.c: At top level:
nv.c:1889: warning: ‘struct file’ declared inside parameter list
nv.c:1889: warning: ‘struct inode’ declared inside parameter list
nv.c:1890: error: conflicting types for ‘nv_kern_open’
nv.c:288: error: previous declaration of ‘nv_kern_open’ was here
nv.c: In function ‘nv_kern_open’:
nv.c:1907: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:1907: warning: assignment makes pointer from integer without a cast
nv.c:1915: error: dereferencing pointer to incomplete type
nv.c:1920: warning: implicit declaration of function ‘MINOR’
nv.c:1920: error: dereferencing pointer to incomplete type
nv.c:1922: warning: passing argument 1 of ‘nv_kern_ctl_open’ from incompatible pointer type
nv.c:1922: warning: passing argument 2 of ‘nv_kern_ctl_open’ from incompatible pointer type
nv.c:1929: error: dereferencing pointer to incomplete type
nv.c:1940: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
nv.c:1960: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:1960: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:1960: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:1960: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:1960: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:1960: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:1960: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:1961: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:1968: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:1968: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:1968: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:1968: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:1968: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:1968: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:1968: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:1969: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:1976: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:1976: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:1976: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:1976: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:1976: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:1976: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:1976: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:1977: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:1984: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:1984: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:1984: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:1984: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:1984: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:1984: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:1984: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:1985: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:1992: warning: implicit declaration of function ‘request_irq’
nv.c:1993: error: ‘SA_INTERRUPT’ undeclared (first use in this function)
nv.c:1993: error: ‘SA_SHIRQ’ undeclared (first use in this function)
nv.c:2014: warning: implicit declaration of function ‘free_irq’
nv.c:2022: error: ‘nv_linux_state_t’ has no member named ‘tasklet’
nv.c:2023: error: ‘nv_linux_state_t’ has no member named ‘tasklet’
nv.c:2024: warning: implicit declaration of function ‘tasklet_enable’
nv.c:2024: error: ‘nv_linux_state_t’ has no member named ‘tasklet’
nv.c:2043: error: ‘nv_linux_state_t’ has no member named ‘usage_count’
nv.c:2046: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
nv.c:2050: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:2052: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:2053: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:2056: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:2058: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:2059: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:2062: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:2064: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:2065: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:2068: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:2070: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:2071: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:2079: error: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:2096: warning: ‘struct file’ declared inside parameter list
nv.c:2096: warning: ‘struct inode’ declared inside parameter list
nv.c:2097: error: conflicting types for ‘nv_kern_close’
nv.c:289: error: previous declaration of ‘nv_kern_close’ was here
nv.c: In function ‘nv_kern_close’:
nv.c:2098: error: dereferencing pointer to incomplete type
nv.c:2100: error: dereferencing pointer to incomplete type
nv.c:2107: error: dereferencing pointer to incomplete type
nv.c:2108: warning: passing argument 1 of ‘nv_kern_ctl_close’ from incompatible pointer type
nv.c:2108: warning: passing argument 2 of ‘nv_kern_ctl_close’ from incompatible pointer type
nv.c:2111: error: dereferencing pointer to incomplete type
nv.c:2115: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2116: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:2118: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:2123: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2123: error: ‘nv_alloc_t’ has no member named ‘file’
nv.c:2125: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2126: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2127: error: ‘nv_alloc_t’ has no member named ‘pid’
nv.c:2128: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:2128: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2128: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2128: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:2128: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:2129: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:2130: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2131: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2132: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2134: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2135: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:2140: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2142: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
nv.c:2143: error: ‘nv_linux_state_t’ has no member named ‘usage_count’
nv.c:2145: warning: implicit declaration of function ‘tasklet_disable’
nv.c:2145: error: ‘nv_linux_state_t’ has no member named ‘tasklet’
nv.c:2147: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:2148: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:2149: error: ‘nv_linux_state_t’ has no member named ‘pci_cfgchk_sp’
nv.c:2150: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:2156: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:2158: error: ‘nv_linux_state_t’ has no member named ‘alloc_queue’
nv.c:2161: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:2161: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2161: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2161: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:2161: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:2164: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:2165: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2166: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2167: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2176: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
nv.c:2178: error: dereferencing pointer to incomplete type
nv.c:2180: error: dereferencing pointer to incomplete type
nv.c:2181: error: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:2190: error: expected ‘)’ before ‘*’ token
nv.c:2267: warning: ‘struct vm_area_struct’ declared inside parameter list
nv.c:2267: warning: ‘struct file’ declared inside parameter list
nv.c:2268: error: conflicting types for ‘nv_kern_mmap’
nv.c:290: error: previous declaration of ‘nv_kern_mmap’ was here
nv.c: In function ‘nv_kern_mmap’:
nv.c:2271: error: dereferencing pointer to incomplete type
nv.c:2273: error: dereferencing pointer to incomplete type
nv.c:2277: error: dereferencing pointer to incomplete type
nv.c:2277: error: dereferencing pointer to incomplete type
nv.c:2277: error: dereferencing pointer to incomplete type
nv.c:2277: error: dereferencing pointer to incomplete type
nv.c:2277: error: dereferencing pointer to incomplete type
nv.c:2277: error: dereferencing pointer to incomplete type
nv.c:2277: error: dereferencing pointer to incomplete type
nv.c:2285: error: dereferencing pointer to incomplete type
nv.c:2286: error: dereferencing pointer to incomplete type
nv.c:2290: error: dereferencing pointer to incomplete type
nv.c:2290: error: dereferencing pointer to incomplete type
nv.c:2295: error: dereferencing pointer to incomplete type
nv.c:2295: error: dereferencing pointer to incomplete type
nv.c:2296: error: dereferencing pointer to incomplete type
nv.c:2298: error: dereferencing pointer to incomplete type
nv.c:2302: error: dereferencing pointer to incomplete type
nv.c:2304: error: dereferencing pointer to incomplete type
nv.c:2305: error: dereferencing pointer to incomplete type
nv.c:2305: error: dereferencing pointer to incomplete type
nv.c:2307: error: dereferencing pointer to incomplete type
nv.c:2307: error: ‘VM_WRITE’ undeclared (first use in this function)
nv.c:2312: error: dereferencing pointer to incomplete type
nv.c:2312: error: ‘VM_IO’ undeclared (first use in this function)
nv.c:2312: error: ‘VM_LOCKED’ undeclared (first use in this function)
nv.c:2323: error: dereferencing pointer to incomplete type
nv.c:2330: error: dereferencing pointer to incomplete type
nv.c:2330: error: dereferencing pointer to incomplete type
nv.c:2330: error: dereferencing pointer to incomplete type
nv.c:2330: error: dereferencing pointer to incomplete type
nv.c:2332: warning: implicit declaration of function ‘nv_encode_caching’
nv.c:2332: error: dereferencing pointer to incomplete type
nv.c:2340: warning: implicit declaration of function ‘remap_page_range’
nv.c:2340: error: dereferencing pointer to incomplete type
nv.c:2340: error: dereferencing pointer to incomplete type
nv.c:2340: error: dereferencing pointer to incomplete type
nv.c:2340: error: dereferencing pointer to incomplete type
nv.c:2340: error: dereferencing pointer to incomplete type
nv.c:2348: error: dereferencing pointer to incomplete type
nv.c:2352: error: dereferencing pointer to incomplete type
nv.c:2352: error: dereferencing pointer to incomplete type
nv.c:2352: error: dereferencing pointer to incomplete type
nv.c:2352: error: dereferencing pointer to incomplete type
nv.c:2354: error: dereferencing pointer to incomplete type
nv.c:2358: error: dereferencing pointer to incomplete type
nv.c:2367: error: dereferencing pointer to incomplete type
nv.c:2367: error: dereferencing pointer to incomplete type
nv.c:2367: error: dereferencing pointer to incomplete type
nv.c:2367: error: dereferencing pointer to incomplete type
nv.c:2367: error: dereferencing pointer to incomplete type
nv.c:2375: error: dereferencing pointer to incomplete type
nv.c:2379: error: dereferencing pointer to incomplete type
nv.c:2379: error: dereferencing pointer to incomplete type
nv.c:2379: error: dereferencing pointer to incomplete type
nv.c:2379: error: dereferencing pointer to incomplete type
nv.c:2381: error: dereferencing pointer to incomplete type
nv.c:2389: error: dereferencing pointer to incomplete type
nv.c:2389: error: dereferencing pointer to incomplete type
nv.c:2389: error: dereferencing pointer to incomplete type
nv.c:2389: error: dereferencing pointer to incomplete type
nv.c:2389: error: dereferencing pointer to incomplete type
nv.c:2397: error: dereferencing pointer to incomplete type
nv.c:2401: error: dereferencing pointer to incomplete type
nv.c:2401: error: dereferencing pointer to incomplete type
nv.c:2401: error: dereferencing pointer to incomplete type
nv.c:2401: error: dereferencing pointer to incomplete type
nv.c:2405: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2406: error: dereferencing pointer to incomplete type
nv.c:2415: error: dereferencing pointer to incomplete type
nv.c:2415: error: dereferencing pointer to incomplete type
nv.c:2415: error: dereferencing pointer to incomplete type
nv.c:2417: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2422: error: dereferencing pointer to incomplete type
nv.c:2426: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2431: error: dereferencing pointer to incomplete type
nv.c:2432: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2433: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2435: error: dereferencing pointer to incomplete type
nv.c:2435: error: dereferencing pointer to incomplete type
nv.c:2435: error: dereferencing pointer to incomplete type
nv.c:2435: error: dereferencing pointer to incomplete type
nv.c:2435: error: dereferencing pointer to incomplete type
nv.c:2438: warning: implicit declaration of function ‘atomic_dec’
nv.c:2438: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2443: error: dereferencing pointer to incomplete type
nv.c:2443: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:2445: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:2445: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2445: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2445: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:2445: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:2449: error: dereferencing pointer to incomplete type
nv.c:2458: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2459: error: dereferencing pointer to incomplete type
nv.c:2464: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2465: error: dereferencing pointer to incomplete type
nv.c:2466: error: dereferencing pointer to incomplete type
nv.c:2466: error: dereferencing pointer to incomplete type
nv.c:2468: error: dereferencing pointer to incomplete type
nv.c:2473: error: dereferencing pointer to incomplete type
nv.c:2487: error: dereferencing pointer to incomplete type
nv.c:2487: error: dereferencing pointer to incomplete type
nv.c:2487: error: dereferencing pointer to incomplete type
nv.c:2493: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:2495: error: dereferencing pointer to incomplete type
nv.c:2495: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:2496: error: dereferencing pointer to incomplete type
nv.c:2496: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:2500: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:2502: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2507: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:2511: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2516: error: dereferencing pointer to incomplete type
nv.c:2517: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2520: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2525: error: dereferencing pointer to incomplete type
nv.c:2526: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2527: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:2532: error: dereferencing pointer to incomplete type
nv.c:2535: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:2535: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2540: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:2540: error: dereferencing pointer to incomplete type
nv.c:2544: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2551: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:2551: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:2551: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:2551: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:2551: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:2556: error: dereferencing pointer to incomplete type
nv.c:2556: error: ‘VM_RESERVED’ undeclared (first use in this function)
nv.c:2559: error: dereferencing pointer to incomplete type
nv.c: At top level:
nv.c:2575: error: expected declaration specifiers or ‘...’ before ‘poll_table’
nv.c:2576: warning: ‘struct file’ declared inside parameter list
nv.c:2577: error: conflicting types for ‘nv_kern_poll’
nv.c:291: error: previous declaration of ‘nv_kern_poll’ was here
nv.c: In function ‘nv_kern_poll’:
nv.c:2582: error: dereferencing pointer to incomplete type
nv.c:2584: error: dereferencing pointer to incomplete type
nv.c:2584: error: ‘O_NONBLOCK’ undeclared (first use in this function)
nv.c:2587: warning: implicit declaration of function ‘poll_wait’
nv.c:2587: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
nv.c:2587: error: ‘wait’ undeclared (first use in this function)
nv.c:2590: warning: implicit declaration of function ‘spin_lock_irqsave’
nv.c:2590: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
nv.c:2601: warning: implicit declaration of function ‘spin_unlock_irqrestore’
nv.c:2601: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
nv.c: At top level:
nv.c:2630: warning: ‘struct file’ declared inside parameter list
nv.c:2630: warning: ‘struct inode’ declared inside parameter list
nv.c:2631: error: conflicting types for ‘nv_kern_ioctl’
nv.c:292: error: previous declaration of ‘nv_kern_ioctl’ was here
nv.c: In function ‘nv_kern_ioctl’:
nv.c:2633: error: dereferencing pointer to incomplete type
nv.c:2635: error: dereferencing pointer to incomplete type
nv.c:2642: warning: implicit declaration of function ‘_IOC_NR’
nv.c:2642: warning: implicit declaration of function ‘_IOC_SIZE’
nv.c:2650: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:2650: warning: assignment makes pointer from integer without a cast
nv.c:2658: warning: implicit declaration of function ‘copy_from_user’
nv.c:2718: warning: incompatible implicit declaration of built-in function ‘memset’
nv.c:2772: warning: implicit declaration of function ‘copy_to_user’
nv.c: At top level:
nv.c:2786: warning: ‘struct file’ declared inside parameter list
nv.c:2787: error: conflicting types for ‘nv_kern_unlocked_ioctl’
nv.c:293: error: previous declaration of ‘nv_kern_unlocked_ioctl’ was here
nv.c: In function ‘nv_kern_unlocked_ioctl’:
nv.c:2788: error: dereferencing pointer to incomplete type
nv.c:2788: warning: passing argument 2 of ‘nv_kern_ioctl’ from incompatible pointer type
nv.c: At top level:
nv.c:2795: warning: ‘struct file’ declared inside parameter list
nv.c:2796: error: conflicting types for ‘nv_kern_compat_ioctl’
nv.c:294: error: previous declaration of ‘nv_kern_compat_ioctl’ was here
nv.c: In function ‘nv_kern_compat_ioctl’:
nv.c:2797: error: dereferencing pointer to incomplete type
nv.c:2797: warning: passing argument 2 of ‘nv_kern_ioctl’ from incompatible pointer type
nv.c: In function ‘nv_kern_isr’:
nv.c:2817: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:2818: error: ‘nv_linux_state_t’ has no member named ‘isr_sp’
nv.c:2821: warning: implicit declaration of function ‘tasklet_schedule’
nv.c:2821: error: ‘nv_linux_state_t’ has no member named ‘tasklet’
nv.c: In function ‘nv_kern_isr_bh’:
nv.c:2839: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c:2840: error: ‘nv_linux_state_t’ has no member named ‘isr_bh_sp’
nv.c: In function ‘nv_kern_rc_timer’:
nv.c:2852: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:2853: error: ‘nv_linux_state_t’ has no member named ‘timer_sp’
nv.c:2854: warning: implicit declaration of function ‘mod_timer’
nv.c:2854: error: ‘nv_linux_state_t’ has no member named ‘rc_timer’
nv.c:2854: error: ‘jiffies’ undeclared (first use in this function)
nv.c:2854: error: ‘HZ’ undeclared (first use in this function)
nv.c: At top level:
nv.c:2942: warning: ‘struct file’ declared inside parameter list
nv.c:2942: warning: ‘struct inode’ declared inside parameter list
nv.c:2943: error: conflicting types for ‘nv_kern_ctl_open’
nv.c:318: error: previous declaration of ‘nv_kern_ctl_open’ was here
nv.c: In function ‘nv_kern_ctl_open’:
nv.c:2946: error: dereferencing pointer to incomplete type
nv.c:2951: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
nv.c:2956: error: ‘nv_linux_state_t’ has no member named ‘usage_count’
nv.c:2958: error: ‘nv_ctl_waitqueue’ undeclared (first use in this function)
nv.c:2970: error: ‘nv_linux_state_t’ has no member named ‘usage_count’
nv.c:2971: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
nv.c: At top level:
nv.c:2983: warning: ‘struct file’ declared inside parameter list
nv.c:2983: warning: ‘struct inode’ declared inside parameter list
nv.c:2984: error: conflicting types for ‘nv_kern_ctl_close’
nv.c:319: error: previous declaration of ‘nv_kern_ctl_close’ was here
nv.c: In function ‘nv_kern_ctl_close’:
nv.c:2985: error: dereferencing pointer to incomplete type
nv.c:2987: error: dereferencing pointer to incomplete type
nv.c:2993: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
nv.c:2994: error: ‘nv_linux_state_t’ has no member named ‘usage_count’
nv.c:3004: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
nv.c:3008: error: dereferencing pointer to incomplete type
nv.c:3010: error: dereferencing pointer to incomplete type
nv.c:3011: error: dereferencing pointer to incomplete type
nv.c: In function ‘nv_set_dma_address_size’:
nv.c:3037: error: ‘nv_linux_state_t’ has no member named ‘dev’
nv.c:3037: error: ‘u64’ undeclared (first use in this function)
nv.c:3037: error: expected ‘)’ before numeric constant
nv.c: In function ‘nv_kern_read_cardinfo’:
nv.c:3058: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:3058: warning: assignment makes pointer from integer without a cast
nv.c:3065: error: dereferencing pointer to incomplete type
nv.c:3066: warning: pointer targets in passing argument 5 of ‘rm_get_device_name’ differ in signedness
nv.c:3067: warning: implicit declaration of function ‘strcpy’
nv.c:3067: warning: incompatible implicit declaration of built-in function ‘strcpy’
nv.c:3070: warning: implicit declaration of function ‘sprintf’
nv.c:3070: warning: incompatible implicit declaration of built-in function ‘sprintf’
nv.c:3086: warning: implicit declaration of function ‘nvos_find_pci_express_capability’
nv.c:3092: error: dereferencing pointer to incomplete type
nv.c:3093: error: dereferencing pointer to incomplete type
nv.c:3095: error: dereferencing pointer to incomplete type
nv.c: In function ‘nv_kern_read_version’:
nv.c:3119: warning: incompatible implicit declaration of built-in function ‘sprintf’
nv.c: In function ‘nv_kern_read_agpinfo’:
nv.c:3131: error: ‘u8’ undeclared (first use in this function)
nv.c:3131: error: expected ‘;’ before ‘cap_ptr’
nv.c:3132: error: ‘u32’ undeclared (first use in this function)
nv.c:3132: error: expected ‘;’ before ‘status’
nv.c:3144: error: ‘PCI_CLASS_BRIDGE_HOST’ undeclared (first use in this function)
nv.c:3148: warning: incompatible implicit declaration of built-in function ‘sprintf’
nv.c:3154: error: dereferencing pointer to incomplete type
nv.c:3154: error: dereferencing pointer to incomplete type
nv.c:3159: error: ‘cap_ptr’ undeclared (first use in this function)
nv.c:3161: warning: implicit declaration of function ‘pci_read_config_dword’
nv.c:3161: error: ‘status’ undeclared (first use in this function)
nv.c:3162: error: ‘command’ undeclared (first use in this function)
nv.c:3167: warning: incompatible implicit declaration of built-in function ‘sprintf’
nv.c:3170: error: ‘agp_rate’ undeclared (first use in this function)
nv.c: In function ‘nv_kern_read_status’:
nv.c:3193: error: ‘u8’ undeclared (first use in this function)
nv.c:3193: error: expected ‘;’ before ‘cap_ptr’
nv.c:3194: error: ‘u32’ undeclared (first use in this function)
nv.c:3194: error: expected ‘;’ before ‘scratch’
nv.c:3195: error: expected ‘;’ before ‘status’
nv.c:3202: error: ‘PCI_CLASS_BRIDGE_HOST’ undeclared (first use in this function)
nv.c:3205: error: ‘cap_ptr’ undeclared (first use in this function)
nv.c:3207: error: ‘status’ undeclared (first use in this function)
nv.c:3208: error: ‘command’ undeclared (first use in this function)
nv.c:3216: error: ‘scratch’ undeclared (first use in this function)
nv.c:3222: warning: incompatible implicit declaration of built-in function ‘sprintf’
nv.c:3229: error: ‘agp_rate’ undeclared (first use in this function)
nv.c:3243: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:3243: warning: assignment makes pointer from integer without a cast
nv.c:3250: warning: incompatible implicit declaration of built-in function ‘sprintf’
nv.c:3260: warning: pointer targets in passing argument 3 of ‘rm_read_registry_dword’ differ in signedness
nv.c:3260: warning: pointer targets in passing argument 4 of ‘rm_read_registry_dword’ differ in signedness
nv.c:3260: warning: pointer targets in passing argument 5 of ‘rm_read_registry_dword’ differ in signedness
nv.c:3261: warning: pointer targets in passing argument 3 of ‘rm_read_registry_dword’ differ in signedness
nv.c:3261: warning: pointer targets in passing argument 4 of ‘rm_read_registry_dword’ differ in signedness
nv.c:3261: warning: pointer targets in passing argument 5 of ‘rm_read_registry_dword’ differ in signedness
nv.c: In function ‘nv_kern_read_registry’:
nv.c:3288: warning: incompatible implicit declaration of built-in function ‘sprintf’
nv.c: In function ‘nv_kern_read_warning’:
nv.c:3298: warning: incompatible implicit declaration of built-in function ‘sprintf’
nv.c: In function ‘nv_alloc_kernel_mapping’:
nv.c:3358: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:3365: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:3367: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:3368: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:3372: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:3374: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:3383: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:3387: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:3389: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:3395: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:3399: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:3404: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c: In function ‘nv_get_phys_address’:
nv.c:3492: error: ‘pgd_t’ undeclared (first use in this function)
nv.c:3492: error: ‘pgd’ undeclared (first use in this function)
nv.c:3493: error: ‘pmd_t’ undeclared (first use in this function)
nv.c:3493: error: ‘pmd’ undeclared (first use in this function)
nv.c:3494: error: ‘pte_t’ undeclared (first use in this function)
nv.c:3494: error: ‘pte’ undeclared (first use in this function)
nv.c:3497: error: ‘init_mm’ undeclared (first use in this function)
nv.c:3497: error: ‘current’ undeclared (first use in this function)
nv.c:3498: warning: implicit declaration of function ‘down_read’
nv.c:3500: error: ‘__pgd’ undeclared (first use in this function)
nv.c:3504: error: ‘__pmd’ undeclared (first use in this function)
nv.c:3505: warning: implicit declaration of function ‘pmd_bad’
nv.c:3508: error: ‘__pte’ undeclared (first use in this function)
nv.c:3519: warning: implicit declaration of function ‘up_read’
nv.c: In function ‘nv_get_kern_phys_address’:
nv.c:3541: error: ‘PAGE_OFFSET’ undeclared (first use in this function)
nv.c:3541: error: ‘VMALLOC_START’ undeclared (first use in this function)
nv.c:3542: warning: implicit declaration of function ‘__pa’
nv.c: In function ‘nv_alloc_pages’:
nv.c:3590: error: ‘nv_linux_state_t’ has no member named ‘dev’
nv.c:3594: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:3595: error: ‘nv_alloc_t’ has no member named ‘nv’
nv.c:3607: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:3607: warning: assignment makes pointer from integer without a cast
nv.c:3631: error: ‘nv_alloc_t’ has no member named ‘priv_data’
nv.c:3635: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:3648: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:3650: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:3650: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:3655: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:3657: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:3657: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:3657: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:3657: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:3657: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c: In function ‘nv_free_pages’:
nv.c:3685: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:3688: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:3690: error: ‘nv_alloc_t’ has no member named ‘num_pages’
nv.c:3690: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:3690: error: ‘nv_alloc_t’ has no member named ‘flags’
nv.c:3690: error: ‘nv_alloc_t’ has no member named ‘key_mapping’
nv.c:3690: error: ‘nv_alloc_t’ has no member named ‘page_table’
nv.c:3701: error: ‘nv_alloc_t’ has no member named ‘usage_count’
nv.c:3703: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:3708: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:3718: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:3718: warning: assignment makes pointer from integer without a cast
nv.c:3727: error: ‘nv_alloc_t’ has no member named ‘priv_data’
nv.c:3729: error: ‘nv_alloc_t’ has no member named ‘priv_data’
nv.c: In function ‘nv_lock_init_locks’:
nv.c:3757: error: ‘nv_linux_state_t’ has no member named ‘rm_lock’
nv.c:3759: error: ‘nv_linux_state_t’ has no member named ‘ldata_lock’
nv.c:3760: error: ‘nv_linux_state_t’ has no member named ‘at_lock’
nv.c:3761: error: ‘nv_linux_state_t’ has no member named ‘usage_count’
nv.c:3763: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_cpu’
nv.c:3764: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_count’
nv.c: In function ‘nv_lock_rm’:
nv.c:3775: warning: implicit declaration of function ‘smp_processor_id’
nv.c:3777: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_cpu’
nv.c:3779: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_count’
nv.c:3785: warning: implicit declaration of function ‘spin_unlock_wait’
nv.c:3785: error: ‘nv_linux_state_t’ has no member named ‘rm_lock’
nv.c:3786: warning: implicit declaration of function ‘spin_lock_irq’
nv.c:3786: error: ‘nv_linux_state_t’ has no member named ‘rm_lock’
nv.c:3788: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_cpu’
nv.c:3789: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_count’
nv.c: In function ‘nv_unlock_rm’:
nv.c:3799: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_count’
nv.c:3802: error: ‘nv_linux_state_t’ has no member named ‘rm_lock_cpu’
nv.c:3803: warning: implicit declaration of function ‘spin_unlock_irq’
nv.c:3803: error: ‘nv_linux_state_t’ has no member named ‘rm_lock’
nv.c: In function ‘nv_post_event’:
nv.c:3818: error: dereferencing pointer to incomplete type
nv.c:3824: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
nv.c:3828: warning: implicit declaration of function ‘wake_up_interruptible’
nv.c:3828: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
nv.c:3829: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
nv.c:3834: error: ‘nv_file_private_t’ has no member named ‘event_fifo’
nv.c:3837: error: ‘nv_file_private_t’ has no member named ‘event_fifo’
nv.c:3838: error: ‘nv_file_private_t’ has no member named ‘event_fifo’
nv.c:3845: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
nv.c:3846: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
nv.c: In function ‘nv_get_event’:
nv.c:3857: error: dereferencing pointer to incomplete type
nv.c:3860: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
nv.c:3863: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
nv.c:3867: error: ‘nv_file_private_t’ has no member named ‘event_fifo’
nv.c:3884: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
nv.c: In function ‘nv_agp_init’:
nv.c:3919: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:3919: warning: assignment makes pointer from integer without a cast
nv.c:4014: warning: assignment makes pointer from integer without a cast
nv.c: In function ‘nv_agp_teardown’:
nv.c:4054: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:4054: warning: assignment makes pointer from integer without a cast
nv.c: In function ‘nv_start_rc_timer’:
nv.c:4085: warning: implicit declaration of function ‘init_timer’
nv.c:4085: error: ‘nv_linux_state_t’ has no member named ‘rc_timer’
nv.c:4086: error: ‘nv_linux_state_t’ has no member named ‘rc_timer’
nv.c:4087: error: ‘nv_linux_state_t’ has no member named ‘rc_timer’
nv.c:4089: error: ‘nv_linux_state_t’ has no member named ‘rc_timer’
nv.c:4089: error: ‘jiffies’ undeclared (first use in this function)
nv.c:4089: error: ‘HZ’ undeclared (first use in this function)
nv.c: In function ‘nv_stop_rc_timer’:
nv.c:4106: warning: implicit declaration of function ‘del_timer’
nv.c:4106: error: ‘nv_linux_state_t’ has no member named ‘rc_timer’
nv.c: In function ‘nvos_count_devices’:
nv.c:4122: warning: assignment makes pointer from integer without a cast
nv.c:4125: error: dereferencing pointer to incomplete type
nv.c:4125: error: dereferencing pointer to incomplete type
nv.c:4126: error: dereferencing pointer to incomplete type
nv.c:4128: warning: assignment makes pointer from integer without a cast
nv.c:4131: warning: assignment makes pointer from integer without a cast
nv.c:4134: error: dereferencing pointer to incomplete type
nv.c:4134: error: dereferencing pointer to incomplete type
nv.c:4135: error: dereferencing pointer to incomplete type
nv.c:4137: warning: assignment makes pointer from integer without a cast
nv.c: At top level:
nv.c:4150: error: conflicting types for ‘nv_kern_probe’
nv.c:322: error: previous declaration of ‘nv_kern_probe’ was here
nv.c: In function ‘nv_kern_probe’:
nv.c:4157: error: dereferencing pointer to incomplete type
nv.c:4157: error: dereferencing pointer to incomplete type
nv.c:4157: error: dereferencing pointer to incomplete type
nv.c:4159: error: ‘GFP_KERNEL’ undeclared (first use in this function)
nv.c:4159: warning: assignment makes pointer from integer without a cast
nv.c:4166: error: dereferencing pointer to incomplete type
nv.c:4166: error: dereferencing pointer to incomplete type
nv.c:4167: error: dereferencing pointer to incomplete type
nv.c:4168: error: dereferencing pointer to incomplete type
nv.c:4169: error: dereferencing pointer to incomplete type
nv.c:4172: error: dereferencing pointer to incomplete type
nv.c:4172: error: dereferencing pointer to incomplete type
nv.c:4173: error: dereferencing pointer to incomplete type
nv.c:4187: warning: implicit declaration of function ‘pci_enable_device’
nv.c:4194: error: dereferencing pointer to incomplete type
nv.c:4206: warning: implicit declaration of function ‘pci_resource_start’
nv.c:4206: warning: implicit declaration of function ‘pci_resource_len’
nv.c:4212: error: dereferencing pointer to incomplete type
nv.c:4212: error: dereferencing pointer to incomplete type
nv.c:4212: error: dereferencing pointer to incomplete type
nv.c:4213: warning: implicit declaration of function ‘pci_resource_flags’
nv.c:4232: warning: implicit declaration of function ‘request_mem_region’
nv.c:4243: warning: implicit declaration of function ‘pci_set_master’
nv.c:4249: warning: implicit declaration of function ‘pci_set_drvdata’
nv.c:4250: error: ‘nv_linux_state_t’ has no member named ‘dev’
nv.c:4251: error: dereferencing pointer to incomplete type
nv.c:4252: error: dereferencing pointer to incomplete type
nv.c:4254: error: dereferencing pointer to incomplete type
nv.c:4255: error: dereferencing pointer to incomplete type
nv.c:4274: error: dereferencing pointer to incomplete type
nv.c:4296: error: dereferencing pointer to incomplete type
nv.c:4300: error: dereferencing pointer to incomplete type
nv.c:4313: warning: implicit declaration of function ‘release_mem_region’
make[1]: *** [nv.o] Error 1
make[1]: Leaving directory `/usr/src/modules/nvidia-new-kernel/nv'
make: *** [build-stamp] Error 2

obviously kernel headers are installed:

# apt-show-versions | grep linux-headers
linux-headers-2.6.22-12-generic/gutsy uptodate 2.6.22-12.36
linux-headers-2.6.22-12/gutsy uptodate 2.6.22-12.36
linux-headers-generic/gutsy uptodate 2.6.22.12.14

and so my questions are:

is there a working nvidia 100.14.* module in all ubuntu's repositories precompiled for kernel 2.6.22-12?
if not, how can I compile it with source-repository-package nvidia-new-kernel-source?
or the only way is download from nvidia.com installer and use it?

Thanks,
Julio

David Portwood (dzportwood) said : #4

Have you tried blacklisting the 'nvidia' module by adding:
DISABLED_MODULES="nvidia"
to the file:
/etc/default/linux-restricted-modules-common
and adding 'nvidia-new' to the file:
/etc/modules ?

Thanks,
David P.

slamdunk (antongiulio05) said : #5

no,

I just installed original driver from nvidia.com and stop

but I have difficulty to understand the sense of source packages in ubuntu via modules-assistant. I cannot compile many of them (example spca5xx) and why use restricted modules if you get "nv" instead of "nvidia"?

David Portwood (dzportwood) said : #6

Can you try the above mentioned solution, to see if it fixes your nvidia problem, then we can move onto the next please.
Thanks,
David P.

slamdunk (antongiulio05) said : #7

@David

yes thanks (sorry for late),
it works (I have just upgraded my system too before to try it)

David Portwood (dzportwood) said : #8

Can you please mark this as solved? Thanks!

slamdunk (antongiulio05) said : #9

Thanks David Portwood, that solved my question.

slamdunk (antongiulio05) said : #10

Ok, how I suspected it didn't solved my problem

apart every kernel upgrading, when restricted modules are installed using solution above or not, don't change my situation

and so I need to repeat all tour for "modprobe".

I think that put in /etc/modules nvidia-new and in restricted file disabling "nvidia" is not a clean situation

How it would be? I suppose without above modifies. But why does it never work?

Thanks,
Julio

David Portwood (dzportwood) said : #11

If you run the driver from nvidia, you HAVE todo the steps after every kernel update. Its just part of running the nvidia driver.

Can you help with this problem?

Provide an answer of your own, or ask slamdunk for more information if necessary.

To post a message you must log in.