nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Debian Woody and MX440 (http://www.nvnews.net/vbulletin/showthread.php?t=18686)

Johnnie154 09-26-03 01:33 PM

Debian Woody and MX440
 
Good evening all,

I have downloaded the appropriate 1.0-4496... script file, run it. It says that it is connecting to ftp://nvidia... etc. At this stage it wants to access my Kernel headers (2.4.18-bf2). "Cannot find headers... is then displayed, even though I have EXPLICITLY made sure that EVERYTHING is available that this utility could want. Does anyone have any ideas / caveats???.

Merci

ZacKPloK 09-27-03 04:41 PM

Well, I have a similiar problem. The installer said I had to download header Files. So I downlaoded them and used them with the kernel-include-path option. Well, the tool started to compile, but when it was ready it gave a message like "Can't load module nvidia.o" It said I could have used wrong Kernel headers, so I downloaded 4 or 5 different versions, but none of them worked. i hope anyone can help.
EDIT: Oh, I'm using not a 440MX but a Ti4200

Max3D 09-28-03 01:50 AM

Re: Debian Woody and MX440
 
Quote:

Originally posted by Johnnie154
Does anyone have any ideas / caveats???.

Merci

Sure, make your own kernel then bootup to it and try the nvidia script again :)
why not 2.4.22 or one of the Alan Cox patch kernels?

Johnnie154 09-28-03 05:35 AM

Debian Woody and MX440
 
Hello all,

I do not want to "taint" my system with a new kernel at the moment.

Currently I am running 2.4.18-bf2, this Nvidia utility SHOULD work with this kernel release. Any suggestions??

Bon journee

jupiter 09-28-03 07:49 AM

knoppix it owrks
 
I use a knoppix 3.2 (which is a debian derivated version)
I couldn't compile becauseallways receiving the following message:
"current compiler is not the one that compiled kernel".
or something like that.
I could bypass it by setting the IGNORE_CC_MISMATCH variable to 1
to do this (as root) do

root@host# export EXPORT_CC_MISMATCH=1
root@host# ./NVIDIA-Linux-x86-1.0-4496-pkg2.run
(depending on the packet you have)

after that modify your /etc/XF86Config-4
root@host# modprobe nvidia

and your card should be well installed...
it works for me ;-)

Johnnie154 09-28-03 10:25 AM

Debian Woody and MX440
 
Quote: I use a knoppix 3.2 (which is a debian derivated version)
I couldn't compile becauseallways receiving the following message:
"current compiler is not the one that compiled kernel".
or something like that.
I could bypass it by setting the IGNORE_CC_MISMATCH variable to 1
to do this (as root) do

root@host# export EXPORT_CC_MISMATCH=1
root@host# ./NVIDIA-Linux-x86-1.0-4496-pkg2.run
(depending on the packet you have)

after that modify your /etc/XF86Config-4
root@host# modprobe nvidia

and your card should be well installed...
it works for me ;-)

Unquote.

You should read my original E-Mail on this subject.

Max3D 09-28-03 07:20 PM

Re: Debian Woody and MX440
 
Quote:

Originally posted by Johnnie154
I do not want to "taint" my system with a new kernel at the moment.

Bon journee

Listen up... debian woody does not provide a 2.4.18-bf2 headers and source to this exact kernel which came stock with "woody" (this is your problem), installing the nvidia driver does this "taint" thing, its not the building of the kernel that taints.

Only one other alternative I know of, do a "apt-cache search kernel" and find one without bf2 name then apt-get kernel-2.4.?? and the kernel-headers-2.4.?? and kernel-2.4.?? sources (to match newly installed kernel) then run your lilo or grub, reboot, then
make menuconfig,
make dep,
make bzimage real quick then run the nvidia script again. maybe this will do it for you and this way you will not have to build a new yourself manually.

jerome 09-29-03 02:02 AM

Re: Debian Woody and MX440
 
Quote:

Originally posted by Johnnie154

Currently I am running 2.4.18-bf2, this Nvidia utility SHOULD work with this kernel release. Any suggestions??

hello,

apt-get install kernel-headers.2.4.8-bf2.4

AND NOT

apt-get install kernel-headers.2.4.8

You have to get it on the net, so edit your /etc/apt/sources.list. I have this in mine :
deb ftp://ftp2.fr.debian.org/debian/ stable main non-free contrib
deb-src ftp://ftp2.fr.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free

then cd /usr/src, and make a proper "linux" link to the header directory. Seems you do not need the kernel sources.

It works on my woody bf24

hope this helps

jerome

Max3D 09-29-03 05:19 PM

Re: Re: Debian Woody and MX440
 
Quote:

Originally posted by Max3D
Listen up... debian woody does not provide a 2.4.18-bf2 headers and source to this exact kernel which came stock with "woody"
I stand corrected for the headers, but were can the 2.4.18-bf2.4 source be found?

jerome 09-30-03 04:28 PM

Re: Re: Re: Debian Woody and MX440
 
Quote:

Originally posted by Max3D
I stand corrected for the headers, but were can the 2.4.18-bf2.4 source be found?
you don't need the sources. Well, I don't think so, I was able to compil the nvidia driver with only the headers package and no kernel source available on my system (and it works, I can play tuxracer ;o).

Don't forget to :

# cd /usr/src
# ln -s ./kernel-headers-2.4.18-bf2.4 linux

Otherwise, if you really wan't to install the sources, insert your woody installation cdrom, backup your /etc/apt/sources.list, do an apt-cdrom, an apt-get update and then an apt-get install kernel-source, wich is an alias on the right source package. then restore your sources.list and run an apt-get update.

pe2338 10-01-03 01:19 AM

Re: Debian Woody and MX440
 
Quote:

Originally posted by Johnnie154
Hello all,

I do not want to "taint" my system with a new kernel at the moment.

Currently I am running 2.4.18-bf2, this Nvidia utility SHOULD work with this kernel release. Any suggestions??

Bon journee

download the source for 2.4.18 and get the config file from your /boot dir and copy it to the kern source dir as .config

This should work.

You should use /usr/src as the kern source dir


All times are GMT -5. The time now is 09:15 PM.

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