Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-19-11, 02:02 AM   #13
gonzo_s
Registered User
 
Join Date: Mar 2009
Posts: 58
Default Re: 285.03 (beta) released!?

Stable, beta... all the same. I'm pretty much sure there is a Debian Stable script somewhere in the system that doesn't allow me to use 3.0.x kernel without issues. I will try asking on Debian forums.
gonzo_s is offline   Reply With Quote
Old 08-20-11, 05:40 AM   #14
gonzo_s
Registered User
 
Join Date: Mar 2009
Posts: 58
Default Re: 285.03 (beta) released!?

OK, one guy told me on the Debian Forums that:
Quote:
Linux Kernel 3.0.x uses gcc-4.5 when installing nVidia drivers "the hard way
Mine is 4.4.5
gonzo_s is offline   Reply With Quote
Old 08-20-11, 07:09 AM   #15
drhirsch
Registered User
 
Join Date: Jul 2005
Posts: 61
Default Re: 285.03 (beta) released!?

Had no problems installing it on a system with 3.0.1 kernel using gcc-4.6.1. Didn't need to change anything, it worked out of the box. Most likely the path to your kernel sources or your gcc installation are borked.
drhirsch is offline   Reply With Quote
Old 08-20-11, 09:41 AM   #16
gonzo_s
Registered User
 
Join Date: Mar 2009
Posts: 58
Default Re: 285.03 (beta) released!?

Quote:
Originally Posted by drhirsch View Post
Had no problems installing it on a system with 3.0.1 kernel using gcc-4.6.1. Didn't need to change anything, it worked out of the box. Most likely the path to your kernel sources or your gcc installation are borked.
No, the thing is I'm running Debian Stable with gcc 4.4.5 and the requirement is 4.5 minimum. See the difference? Sure, you had no problems with 4.6.1
gonzo_s is offline   Reply With Quote
Old 08-20-11, 01:19 PM   #17
leigh123linux
Registered User
 
leigh123linux's Avatar
 
Join Date: Feb 2008
Posts: 163
Default Re: 285.03 (beta) released!?

Quote:
Originally Posted by gonzo_s View Post
No, the thing is I'm running Debian Stable with gcc 4.4.5 and the requirement is 4.5 minimum. See the difference? Sure, you had no problems with 4.6.1
I had no issues compiling 285.05 with gcc 4.4.5 and 3.0.3


Code:
[leigh@main_pc ~]$ gcc --version
gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


[leigh@main_pc ~]$ rpm -qa *\nvidia\*
xorg-x11-drv-nvidia-285.03-1.el6.x86_64
kmod-nvidia-2.6.40.3-0.el6.x86_64-285.03-1.el6.x86_64
kmod-nvidia-3.0.1-2.el6.x86_64-285.03-1.el6.x86_64
xorg-x11-drv-nvidia-libs-285.03-1.el6.x86_64
nvidia-settings-1.0-11.el6.x86_64
nvidia-xconfig-1.0-7.el6.x86_64
akmod-nvidia-285.03-1.el6.x86_64
xorg-x11-drv-nvidia-libs-285.03-1.el6.i686
[leigh@main_pc ~]$
__________________
leigh123linux
leigh123linux is offline   Reply With Quote
Old 08-23-11, 08:58 AM   #18
Stendall
Registered User
 
Join Date: Oct 2004
Posts: 25
Default Re: 285.03 (beta) released!?

Quote:
Originally Posted by gonzo_s View Post
Also, there is still no 3.0.1 Linux Kernel support (3.0.0 maximum, lol)
Had to change the line in nv-linux.h
I'm using a vanilla 3.0.3 kernel, with Debian testing.
No problem.
Stendall is offline   Reply With Quote
Old 08-23-11, 01:21 PM   #19
Dizzle7677
Registered User
 
Dizzle7677's Avatar
 
Join Date: May 2008
Location: Relativity
Posts: 194
Default Re: 285.03 (beta) released!?

Funny thing is I had to adjust my /lib/modules/*/build and /source directories to point to the directory where I built linux from scratch and it works. Otherwise it's no-go on the nvidia install pointing it to /usr/src/*headers*/.
__________________
Elephants can fly but they have no reason to.
------------------------------------------
Phenom II X3 720 @ 3.5Ghz | Asus M4A785-M | 2 Gig Crucial DDR2 @ 960 Mhz | GeForce GT 440 1024 MB | Linux 3.6.1 / Ubuntu 12.04 / W.I.N.E v1.5.14
Dizzle7677 is offline   Reply With Quote
Old 08-24-11, 04:34 AM   #20
gonzo_s
Registered User
 
Join Date: Mar 2009
Posts: 58
Default Re: 285.03 (beta) released!?

Please could you post the exact command ? Thank you.

P.S: Sorry, didn't get the idea at first.
After compiling any kernel by hand in Debian I have only /~build directory in /lib/modules and no /~source dir... Do I have to create this link also?
gonzo_s is offline   Reply With Quote

Old 08-24-11, 09:14 AM   #21
Stendall
Registered User
 
Join Date: Oct 2004
Posts: 25
Default Re: 285.03 (beta) released!?

Quote:
Originally Posted by gonzo_s View Post
Please could you post the exact command ? Thank you.

P.S: Sorry, didn't get the idea at first.
After compiling any kernel by hand in Debian I have only /~build directory in /lib/modules and no /~source dir... Do I have to create this link also?
I'm a little bit lazy and use one script I have in /usr/local/sbin in order to compile vanilla kernels:

#!/bin/bash
make && make install && make modules_install && depmod -aq && update-initramfs -k `uname -r` -d && update-initramfs -k `uname -r` -c && update-grub

You can add: make firmware && make firmware_install if you want.

I just have a symbolic link in /usr/src/linux pointing towards the kernel real location.

Edit.
OOps the update-initramfs -k `uname -r` -d && update-initramfs -k `uname -r` -c will only work y f you are recompiling the kernel already running.
Substitute `uname -r` with your kernel version.
Stendall is offline   Reply With Quote
Old 08-24-11, 05:02 PM   #22
Dizzle7677
Registered User
 
Dizzle7677's Avatar
 
Join Date: May 2008
Location: Relativity
Posts: 194
Default Re: 285.03 (beta) released!?

Quote:
Originally Posted by gonzo_s View Post
Please could you post the exact command ? Thank you.

P.S: Sorry, didn't get the idea at first.
After compiling any kernel by hand in Debian I have only /~build directory in /lib/modules and no /~source dir... Do I have to create this link also?
sudo ln -s /lib/modules/{whatever kernel number}/source /usr/src/{whatever kernel number hearders directory}
__________________
Elephants can fly but they have no reason to.
------------------------------------------
Phenom II X3 720 @ 3.5Ghz | Asus M4A785-M | 2 Gig Crucial DDR2 @ 960 Mhz | GeForce GT 440 1024 MB | Linux 3.6.1 / Ubuntu 12.04 / W.I.N.E v1.5.14
Dizzle7677 is offline   Reply With Quote
Old 08-24-11, 05:05 PM   #23
Dizzle7677
Registered User
 
Dizzle7677's Avatar
 
Join Date: May 2008
Location: Relativity
Posts: 194
Default Re: 285.03 (beta) released!?

Quote:
Originally Posted by gonzo_s View Post
Please could you post the exact command ? Thank you.

P.S: Sorry, didn't get the idea at first.
After compiling any kernel by hand in Debian I have only /~build directory in /lib/modules and no /~source dir... Do I have to create this link also?
Here's the bash script I use....Adjust for the specific kernel and CONCURRENCY
Attached Files
File Type: txt build_kernel.txt (2.3 KB, 56 views)
__________________
Elephants can fly but they have no reason to.
------------------------------------------
Phenom II X3 720 @ 3.5Ghz | Asus M4A785-M | 2 Gig Crucial DDR2 @ 960 Mhz | GeForce GT 440 1024 MB | Linux 3.6.1 / Ubuntu 12.04 / W.I.N.E v1.5.14
Dizzle7677 is offline   Reply With Quote
Old 08-24-11, 07:35 PM   #24
Lost Dog
Registered User
 
Join Date: Aug 2007
Posts: 151
Default Re: 285.03 (beta) released!?

With both Debian stable and testing I simply do:

make-kpkg --initrd --revision=7i kernel-image kernel-headers

Then dpkg -i both .deb files made.

The --revision can be whatever you want but make it start with a number. Once I've installed the kernel and headers I install the nvidia kernel module for the new kernel (in this case we'll say it's 3.0.3.

sh NVIDIA-Linux-x86_64-285.03.run -a -k -K 3.0.3

Simple enough...
Lost Dog is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:03 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.