Nvidia Drivers won't install on Liquorix 3.7.0-10.dmz.2

Questions about hardware and drivers
Forum rules
Before you post please read this

Nvidia Drivers won't install on Liquorix 3.7.0-10.dmz.2

Postby cplguy on Wed Mar 20, 2013 3:01 pm

I have successfully installed the 3.7.0-10.dmz.2-liquorix-amd64 kernel, and it starts, but Xserver does not function. after doing a sudo apt reinstall nvidia-kernel-dkms, it integrates the modules fine for the stock 3.2.0-4-amd64 kernel, but not the liquorix kernel. How can I get the nvidia drivers to install? I have included the contents of the /var/lib/dkms/nvidia/304.48/build/make.log file below:


Code: Select all
DKMS make.log for nvidia-304.48 for kernel 3.7.0-10.dmz.2-liquorix-amd64 (x86_64)
Wed Mar 20 01:50:35 PDT 2013
make: Entering directory `/var/lib/dkms/nvidia/304.48/build'
make -C /lib/modules/3.7.0-10.dmz.2-liquorix-amd64/build  M=`/bin/pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64'
  CC [M]  /var/lib/dkms/nvidia/304.48/build/nv.o
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia/304.48/build/nv.c:13:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess.h:594:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:99,
                 from /var/lib/dkms/nvidia/304.48/build/nv.c:13:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CC [M]  /var/lib/dkms/nvidia/304.48/build/nv-acpi.o
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia/304.48/build/nv-acpi.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess.h:594:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:99,
                 from /var/lib/dkms/nvidia/304.48/build/nv-acpi.c:15:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CC [M]  /var/lib/dkms/nvidia/304.48/build/nv-chrdev.o
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia/304.48/build/nv-chrdev.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess.h:594:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:99,
                 from /var/lib/dkms/nvidia/304.48/build/nv-chrdev.c:15:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CC [M]  /var/lib/dkms/nvidia/304.48/build/nv-cray.o
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia/304.48/build/nv-cray.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess.h:594:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:99,
                 from /var/lib/dkms/nvidia/304.48/build/nv-cray.c:15:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CC [M]  /var/lib/dkms/nvidia/304.48/build/nv-gvi.o
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia/304.48/build/nv-gvi.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess.h:594:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:99,
                 from /var/lib/dkms/nvidia/304.48/build/nv-gvi.c:15:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CC [M]  /var/lib/dkms/nvidia/304.48/build/nv-i2c.o
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia/304.48/build/nv-i2c.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess.h:594:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:99,
                 from /var/lib/dkms/nvidia/304.48/build/nv-i2c.c:15:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CC [M]  /var/lib/dkms/nvidia/304.48/build/nv-mempool.o
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia/304.48/build/nv-mempool.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess.h:594:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:99,
                 from /var/lib/dkms/nvidia/304.48/build/nv-mempool.c:15:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CC [M]  /var/lib/dkms/nvidia/304.48/build/nv-mlock.o
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia/304.48/build/nv-mlock.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess.h:594:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:99,
                 from /var/lib/dkms/nvidia/304.48/build/nv-mlock.c:15:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  CC [M]  /var/lib/dkms/nvidia/304.48/build/nv-mmap.o
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia/304.48/build/nv-mmap.c:15:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:66:41: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess.h:594:0,
                 from include/linux/poll.h:11,
                 from /var/lib/dkms/nvidia/304.48/build/nv-linux.h:99,
                 from /var/lib/dkms/nvidia/304.48/build/nv-mmap.c:15:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/var/lib/dkms/nvidia/304.48/build/nv-mmap.c: In function ‘nv_kern_mmap’:
/var/lib/dkms/nvidia/304.48/build/nv-mmap.c:466:47: error: ‘VM_RESERVED’ undeclared (first use in this function)
/var/lib/dkms/nvidia/304.48/build/nv-mmap.c:466:47: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/var/lib/dkms/nvidia/304.48/build/nv-mmap.o] Error 1
make[1]: *** [_module_/var/lib/dkms/nvidia/304.48/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.7.0-10.dmz.2-liquorix-amd64'
make: *** [modules] Error 2
make: Leaving directory `/var/lib/dkms/nvidia/304.48/build'
cplguy
Level 1
Level 1
 
Posts: 5
Joined: Wed Jan 23, 2013 11:35 pm

Linux Mint is funded by ads and donations.
 

Re: Nvidia Drivers won't install on Liquorix 3.7.0-10.dmz.2

Postby catweazel on Wed Mar 20, 2013 4:14 pm

cplguy wrote:I have successfully installed the 3.7.0-10.dmz.2-liquorix-amd64 kernel, and it starts, but Xserver does not function. after doing a sudo apt reinstall nvidia-kernel-dkms, it integrates the modules fine for the stock 3.2.0-4-amd64 kernel, but not the liquorix kernel. How can I get the nvidia drivers to install?

dkms doesn't currently support 3.6 - 3.8 kernels, so your drivers aren't going to install. Apart from that, I doubt you'll get much help with issues relating to the liquorix kernel here anyway.
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm

Re: Nvidia Drivers won't install on Liquorix 3.7.0-10.dmz.2

Postby GeneC on Wed Mar 20, 2013 4:33 pm

Liquorix does not support dkms. You either re-install Nvidia through synaptic, or the way I would suggest (and preferred) is to install with SMXI. SMXI installs drivers, does DU's and will update your Liquorix kernels...

http://smxi.org/

To install the scripts

http://smxi.org/site/install.htm

To run the scripts you have to drop out of Xserver (Ctrl+alt+F1)
Login as root

Run
Code: Select all
smxi

Follow instructions.

After drivers are installed, if you ever need to re-install =

Drop out of Xserver (Ctrl+alt+F1)
Login as root

Run
Code: Select all
sgfxi


Smxi saves the install files, so its an easy re-install

A big plus is the very latest stable drivers. I am at Nvidia 313.26

Been using SMXI , Liquorix, with Nvidia for years with no issues. (First time may be a bit intensive, but its really easy)... :wink:

Code: Select all
gene@solydx64:~$ inxi -F
System:    Host solydx64 Kernel 3.7.0-10.dmz.2-liquorix-amd64 x86_64 (64 bit) Distro SolydX
CPU:       Quad core AMD Phenom II X4 955 (-MCP-) cache 2048 KB flags (lm nx sse sse2 sse3 sse4a svm) bmips 25714.9
           Clock Speeds: (1) 3200.00 MHz (2) 800.00 MHz (3) 800.00 MHz (4) 800.00 MHz
Graphics:  Card NVIDIA GF104 [GeForce GTX 460] X.Org 1.12.4 Res: 1680x1050@60.0hz
           GLX Renderer GeForce GTX 460/PCIe/SSE2 GLX Version 4.3.0 NVIDIA 313.26 Direct Rendering Yes


Good Luck.
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

Qiana (Cinnamon/XFCE)
Sparky XFCE (Debian Testing)
Sparky Cin 2.2 (SID)
OpenSUSE 13.1 (Gnome)
Evolve OS (Budgie)
User avatar
GeneC
Level 7
Level 7
 
Posts: 1559
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Re: Nvidia Drivers won't install on Liquorix 3.7.0-10.dmz.2

Postby cplguy on Wed Mar 20, 2013 11:47 pm

Thanks! I'm up and running with 3.7.0.10. :)

EDIT:

Code: Select all
kurt@kurt-pc ~ $ inxi -bxx
System:    Host: kurt-pc Kernel: 3.7.0-10.dmz.2-liquorix-amd64 x86_64 (64 bit, gcc: 4.7.2)
           Desktop: Cinnamon 1.6.7  dm: kdm Distro: Linux Mint LMDE
Machine:   Mobo: ASUSTeK model: M4A89TD PRO USB3 version: Rev 1.xx Bios: American Megatrends version: 2001 date: 03/08/2011
CPU:       Quad core AMD Phenom II X4 965 (-MCP-) clocked at 800.00 MHz
Graphics:  Card: NVIDIA Device 06c4 bus-ID: 07:00.0 chip-ID: 10de:06c4
           X.Org: 1.12.4 driver: nvidia Resolution: 1920x1080@60.0hz, 1440x900@59.9hz
           GLX Renderer: GeForce GTX 465/PCIe/SSE2 GLX Version: 4.3.0 NVIDIA 313.26 Direct Rendering: Yes
Network:   Card-1: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
           driver: r8169 ver: 2.3LK-NAPI port: b800 bus-ID: 04:00.0 chip-ID: 10ec:8168
           Card-2: Realtek RTL8187 Wireless Adapter driver: rtl8187 usb-ID: 002-002 chip-ID: 0bda:8187
Drives:    HDD Total Size: 2140.5GB (0.6% used)
Info:      Processes: 205 Uptime: 6:13 Memory: 2009.1/16029.2MB Runlevel: 2 Gcc sys: 4.7.2 alt: 4.4/4.6
           Client: Shell (bash 4.2.36 running in gnome-terminal) inxi: 1.8.45
cplguy
Level 1
Level 1
 
Posts: 5
Joined: Wed Jan 23, 2013 11:35 pm

Re: Nvidia Drivers won't install on Liquorix 3.7.0-10.dmz.2

Postby GeneC on Thu Mar 21, 2013 7:23 am

Glad it worked out for you... :wink:
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

Qiana (Cinnamon/XFCE)
Sparky XFCE (Debian Testing)
Sparky Cin 2.2 (SID)
OpenSUSE 13.1 (Gnome)
Evolve OS (Budgie)
User avatar
GeneC
Level 7
Level 7
 
Posts: 1559
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA


Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 3 guests