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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-03-05, 02:34 PM   #1
ichbins
Registered User
 
Join Date: Mar 2005
Posts: 1
Default can not compile kernel module by hand

what i did:
download kernel 2.6.11.6 (also tried 2.6.10)
unpack to /usr/src/linux-2.6.11.6
configure (make dep clean bzImage modules modules_install)
./NVIDIA-Linux-x86-1.0-7167-pkg1.run --extract-only
copy to /usr/src/nv
cd /usr/src/nv/
make SYSINCLUDE=/usr/src/linux-2.6.11.6/include
it happens - nothing
i can't find a file NVdriver
no file in /lib/modules/2.6.11.6/kernel/drivers/video
what's wrong ???
make -d SYSINCLUDE=/usr/src/linux-2.6.11.6/include :
Die Target-Datei >>select_makefile<< wurde erfolgreich aktualisiert.

MfG marco
ichbins is offline   Reply With Quote
Old 04-03-05, 03:17 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: can not compile kernel module by hand

Please try `make SYSSRC=/usr/src/linux-2.6.11.6`, instead (SYSINCLUDE has been deprecated and will work with Linux 2.4 kernels, only).
zander is offline   Reply With Quote
Old 04-19-05, 04:18 PM   #3
mvibe
Registered User
 
Join Date: Apr 2005
Posts: 17
Angry Re: can not compile kernel module by hand

Quote:
Originally Posted by zander
Please try `make SYSSRC=/usr/src/linux-2.6.11.6`, instead (SYSINCLUDE has been deprecated and will work with Linux 2.4 kernels, only).
Nope
This doesn't work zander ... I'm running Slackware 10.1 with Kernel 2.6.10 (everything but the headers) and GeForce Driver v1.0-7174. No matter what I do, use the installer or try to make install this manually ... I always get:

root@itsmybawx:/usr/src/nv# make SYSSRC=/usr/src/linux-2.6.10 install
cd usr/src/nv; make install
make[1]: Entering directory `/usr/src/nv/usr/src/nv'
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.

*** Unable to determine the target kernel version. ***

make[1]: *** [select_makefile] Error 1
make[1]: Leaving directory `/usr/src/nv/usr/src/nv'
make: *** [kernel_module_install] Error 2


This is getting to be rediculous ... No matter what switch I use, your installer and/or makefile simply does not recognize ***ANY*** Kernel 2.6 source files whatsoever.

Do you think we could get some real help with this and maybe a solution soon?

mvibe is offline   Reply With Quote
Old 04-19-05, 09:47 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default Re: can not compile kernel module by hand

Quote:
Originally Posted by ichbins
configure (make dep clean bzImage modules modules_install)
Uh... You did know that dep, bzImage, and modules are no longer required, right? All you need to do is:

make *config (menu, old, x, g, etc.)
make
su
make modules_install

Don't know if that's related or not, but it's possible.

mvibe -- in your kernel sources, what's in include/linux/version.h?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-19-05, 10:14 PM   #5
mvibe
Registered User
 
Join Date: Apr 2005
Posts: 17
Default Re: can not compile kernel module by hand

Well .. my version.h is stored under /usr/include/linux - which is where Slackware by default puts its kernel headers. My kernel, source, and headers are all 2.6.10 ... here is the contents of my version.h

#define UTS_RELEASE "2.6.10"
#define LINUX_VERSION_CODE 132618
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

That`s right .. innit?

mv

P.S. For all intensive purposes, I am fairly certain I have everything done correctly. I am using the 2.6.10 kernel from the Slackware CD .. seperate packages for the generic-kernel, complete sources, and the headers. All symlinks are pointing the the correct file or directory, and my system boots fine using the new kernet --- I double and triple checked the .config that came with the packages and all the required modules are enabled. When I do a lspci ... I do see this:

01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

Which I dont know if that makes sense or not, since the card is definitely AGP 4x/8x

Last edited by mvibe; 04-19-05 at 10:19 PM. Reason: Just remembered something else :P
mvibe 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 11:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 05:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 02:44 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 09:23 AM

All times are GMT -5. The time now is 07:30 PM.


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