|
|
#13 | |
|
Registered User
Join Date: Oct 2004
Posts: 34
|
The standard convention us to unpack it into "/usr/src/linux-x.y.z" where x.y.z is the version number, and then create a symlink to the sources for the current kernel at "/usr/src/linux".
One reason for this is so that you can have several versions of the source, for upgrading for example, without having to overwrite the older one in case you need to fall back to it. If you just execute 'tar -xvjf kernel-source-2.6.7.tar.bz2' when in '/usr/src' then that will untar and unbzip it into the correct directory. As others have pointed out, it's not difficult to install the drivers on Debian, just there are a few more steps. You'll also probably want to use APT-GET to install 'kernel-package' if you want to do things 100% the 'Debian way'. @Lithorus: That HOWTO you posted the link to refers to Gentoo as a 'derivative' of Debian. Is that correct? It does not use the .deb package format AFAICT... |
|
|
|
|
|
|
#14 | |
|
Registered User
Join Date: Oct 2004
Posts: 11
|
<ignore : email notification activated>
|
|
|
|
|
|
|
#15 |
|
Registered User
Join Date: Oct 2004
Posts: 11
|
Soluzar, thanks for your quick reply.
I did as you suggested: inside /usr/src, I have this: kernel-source-2.6.7 linux -> kernel-source-2.6.7 extracted the kernel sources to kernel-source-2.6.7, and created a linux symlink. I got a new error this time, which means something is finally moving: " ERROR: If you are using a Linux 2.4 kernel, please make sure you either have configured kernel sources matching your kernel or the correct set of kernel headers installed on your system. If you are using a Linux 2.6 kernel, please make sure you have configured kernel sources matching your kernel installed on your system. If you specified a separate output directory using either the "KBUILD_OUTPUT" or the "O" KBUILD parameter, make sure to specify this directory with the SYSOUT environment variable or with the appropriate nvidia-installer command line option. " since I used 2.6, It means I need to configure my kernel sources to match the actual kernel I have. I should use make config, right? how will I know the correct options? |
|
|
|
|
|
#16 | |
|
Registered User
Join Date: Sep 2004
Posts: 15
|
Quote:
Anyway, to use the nvidia installer, you need to install the kernel header package, not the kernel_source.
__________________
Avatar by the GruikMaster |
|
|
|
|
|
|
#17 |
|
Registered User
Join Date: Jan 2004
Location: EU / Portugal
Posts: 110
|
Maybe you have a 2.6.7-1-386.config in /boot/
if you have it, copy that file to /usr/src/linux-X-Y-Z/.config cd /usr/src/linux-X-Y-Z make prepare-all then re-run the installer with --kernel-source-path=/usr/src/linux-X-Y-Z good luck
__________________
AndyRock -- 1. Toshiba M30-742 | Centrino/Pentium-M 1700mhz | Geforce FX 5200Go 2. Celeron (Tualatin) 1400mhz | Geforce Ti 4800SE |
|
|
|
|
|
#18 | |
|
Registered User
Join Date: Oct 2004
Posts: 11
|
Quote:
as for the kernel headers, I tried it: I got the kernel-headers-2.6.7-1 package, it installed into /usr/src/kernel-headers-2.6.7-1. I symlinked it to /usr/src/linux, but I got the same error as in my previous message. |
|
|
|
|
|
|
#19 | |
|
Registered User
Join Date: Oct 2004
Posts: 11
|
Quote:
Nope, no such file. I did not compile the kernel myself, maybe thats why its not there. |
|
|
|
|
|
|
#20 |
|
Registered User
Join Date: Oct 2004
Posts: 34
|
First off: Don't panic. This is still going to work. My advice to you would be to compile a custom kernel. There are options which might be in the standard Debian kernel which may conflict with the nVidia driver.
Since you will be compiling your own kernel, you may or may not need to remove the 'kernel-headers' package. I think since you are building your own kernel it is unneeded at best, and counterproductive at worst. As for what kernel-config options to choose, provide a full spec of your hardware, and I can tell you what you probably need. It's not too hard. It's easiest to learn by doing, and once you've done it a few times you'll be an old hand at it. |
|
|
|
|
|
#21 |
|
Registered User
Join Date: Oct 2004
Posts: 11
|
Soluzar, what would building a custom kernel achieve?
can you please contact me in a more direct way? to get faster response times? icq/msn messenger/yahoo messenger/irc, tell me which you prefer, if any, and I`ll give you the contact info. |
|
|
|
|
|
#22 |
|
Registered User
Join Date: Oct 2004
Posts: 34
|
Custom kernels are usually faster, and there is at least a couple of kernel options that are usually compiled into standard kernels which may conflict with the nvidia driver. If you'd rather not compile a custom kernel, then you can do without. As to more direct contact, check your PMs.
|
|
|
|
|
|
#23 | |
|
Registered User
Join Date: Sep 2004
Posts: 783
|
Quote:
@omry_y : If you are using a stock kernel(if it came with debian) you can just add non-free to your sources.list and install the one that fits your kernel. They have the latest drivers in the apt database. If you are unsure of what I'm talking about, you should get a little familiar with the apt system in debian, it's worth the time, beleive me. The how-to I linked to explains a little about it, also about installing them with custom kernels(eventhough he might be wrong about where gentoo came from ) |
|
|
|
|
|
|
#24 | |
|
Registered User
Join Date: Oct 2004
Posts: 11
|
Quote:
I already have none-free in my sources.list, but all I get when I search are binary modules for kernel 2.4. |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nVidia Linux drivers with Linux on Mac, help? | Thetargos | NVIDIA Linux | 0 | 05-13-12 12:52 PM |
| EA gains Linux Attention. Better Quality Drivers Please! | Ruinairas | NVIDIA Linux | 4 | 05-09-12 01:12 PM |
| Installing nForce drivers on Debian 3.0 | Doink | NVIDIA Linux | 4 | 09-14-02 08:34 PM |
| Debian + Nvidia drivers, bad compilation | Prodigy | NVIDIA Linux | 16 | 09-10-02 07:13 PM |
| Debian Woody 3.0r0 and Problems with Geforce drivers | vogt | NVIDIA Linux | 3 | 09-09-02 02:07 PM |