|
|
#13 | |
|
Registered User
Join Date: Mar 2009
Posts: 57
|
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.
|
|
|
|
|
|
|
#14 | |
|
Registered User
Join Date: Mar 2009
Posts: 57
|
OK, one guy told me on the Debian Forums that:
Quote:
![]() |
|
|
|
|
|
|
#15 |
|
Registered User
Join Date: Jul 2005
Posts: 61
|
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.
|
|
|
|
|
|
#16 | |
|
Registered User
Join Date: Mar 2009
Posts: 57
|
Quote:
![]() |
|
|
|
|
|
|
#17 | |
|
Registered User
Join Date: Feb 2008
Posts: 163
|
Quote:
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 |
|
|
|
|
|
|
#18 | |
|
Registered User
Join Date: Oct 2004
Posts: 25
|
|
|
|
|
|
|
|
#19 |
|
Registered User
Join Date: May 2008
Location: Relativity
Posts: 194
|
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 |
|
|
|
|
|
#20 |
|
Registered User
Join Date: Mar 2009
Posts: 57
|
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? |
|
|
|
|
|
#21 | |
|
Registered User
Join Date: Oct 2004
Posts: 25
|
Quote:
#!/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. |
|
|
|
|
|
|
#22 |
|
Registered User
Join Date: May 2008
Location: Relativity
Posts: 194
|
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 |
|
|
|
|
|
#23 |
|
Registered User
Join Date: May 2008
Location: Relativity
Posts: 194
|
Here's the bash script I use....Adjust for the specific kernel and CONCURRENCY
__________________
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 |
|
|
|
|
|
#24 |
|
Registered User
Join Date: Aug 2007
Posts: 151
|
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... |
|
|
|
![]() |
| Thread Tools | |
|
|