Re: nvidia driver compiling problem
Hello
Steve Hargreaves (<Steve@hargreavess.freeserve.co.uk>) wrote:
> OK - after getting most of my H/W working with debian - the last two
> exceptions are the dedicated nvidia driver for my card, and the modem
> drivers for my Intel 536EP modem.
>
> I suspect I may never get the modem working, so I'll concentrate on
> the gfx card ATM.
>
> I have installed the 2.4.24 kernel for i386 from www.backports.org (I
> failed miserably trying to compile my own kernel), and since the
> nvidia kernel module needs the kernel sources to compile, I downloaded
> and installed the accompanying source package. So far so good.
It doesn't need the source. Install the matching kernel-headers package
instead:
apt-get install kernel-headers-2.4.24-1-386
and call the installer with
--kernel-include-path=/usr/src/kernel-headers-2.4.24-1-386/include
> The nvidia kernel module compiles fine, but when I try and use it I
> get the following error message:-
>
> Using /lib/modules/2.4.24-1-386/kernel/drivers/video/nv
> /lib/modules/2.4.24-1-386/kernel/drivers/video/nvidia.o
> /lib/modules/2.4.24-1-386/kernel/drivers/video/
> 24
> while this kernel is version 2.4.24-1-386.
>
> Now I know why the error occurs (the source package won't have the
> 1-386 bit in the version information) - but I don't know how to fix it
> so that I get a correct version of nvidia.o - any help would be
> appreciated.
Change the EXTRAVERSION the /usr/src/kernel-source-2.4.24/Makefile:
EXTRAVERSION=-1-386
Then copy the config file:
cp /boot/config-2.4.24-1-386 /usr/src/kernel-source-2.4.24/.config
Configure the kernel properly:
make clean oldconfig dep
However using the headers package is easier and uses less disk space
than this way.
> This is getting to be a pain - I've done nothing but download stuff
> for 2 days over a 56k dial up connection - it'd be nice if I could get
> the right stuff first time :o(
I think there are drivers available from Intel for your winmodem that
can be compiles using the kernel-headers package. Go to
<http://www.windodems.org> to find more info.
best regards
Andreas Janssen
--
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
Reply to: