kernal source
I am trying to install drivers for my Nvidia 6800 go ultra vid card. I downloaded the drivers, switched to init 3 and ran the "sh nvidia....run" command as instructed. I get an error about kerna source somethiing. I read the "how to" on nvidia drivers located here at LQ. he mentioned this also
"..also, if you're running any kernels released after January 26th 2004, make sure you have the kernel source downloaded and installed correctly". What does this mean, and where do i get this? I am running "Mandrake 10.1 Offical DVD" that i got like a month ago or so. So i think the kernal is something like 2.6.8? Something like that. Thanks for any help Phoenix |
Hello!
You need to have the kernel sources installed in order to install the nvidia drivers. Use Code:
# uname -r Code:
#urpmi kernel-sources-your_kernel_version Razze |
Thanks razze i'll give that a try here in a little.
|
Ok that didn't work. I am still getting errors. I am getting really fustrated. I have read alot of post and websites about kernel source. I tried to follow all them, after comparing notes between the differnet posts/sites. It still didn't work. And i think i might have messed up something. This feels too hard. but, being a Marine, i refuse to give up. This is what happened.
I did uname -r and recieved the following output: "2.6.8.1-12mdk" I then typed urpmi kernel-source-2.6 and it did what it did. I then went to init 3, went to the directory and typed "sh Nvidia....run" to install. It gave me errors about not having the kernel source or some such. I then did some more research and went to this place talking aobut preparing you mandrake kernel source it had me do this: $ su - # urpmi gcc glibc-devel # urpmi kernel-source-2.6 (mdk10.1 and later) # urpmi kernel-source (mdk10.0 and earlier) # urpmi kernel-headers (additional package for mdk9.0 and earlier) # cd /usr/src/linux # make mrproper # cp /boot/config-`uname -r` .config # vi Makefile (set the EXTRAVERSION to what you want (see below)) For 2.4 kernels: # make oldconfig # make dep # make include/linux/compile.h For 2.6 kernels: # make oldconfig # make include/linux/version.h # make include/asm # make scripts I typed all that and when i got to the vi Makefile step it said something about extraversion (wtf is that?). It said i could delete the "custom" from my EXTRAVERSION variable. So i did. Then went to 2.6 kernel step and typed make oldconfig. HOLLY CRAP. what the heck was that???? all this stuff came up and was asking y/n questions. I had no idea. So i just pushed "enter" until i got to the end. I followed the rest of the instructions. Still didn't get the drivers to work. nvidia told me that it: "Didn't have a pre-compiled kernel interface" It then tried to check on the Nvidia FTP site to download something. it dl'ed something but still returned an error about compiling a kernal and not having certain support files. Could someone break this down to me Barney-style. I am fumbling with this stuff. I really have no idea what the heck i'm doing. Am i going to have to do this for every driver i want to install? Could someone list for me excatly what i need to do? If you need some info, i'll be happy to provide. for starters, i am using mandrake 10.1 dvd. Uname = 2.6.8.1-12mdk. "urpmi -y kernel" yields: The following packages contain kernel: ati-kernel-2.4.27-0.pre2.1mdk ati-kernel-2.4.27-0.pre2.1mdk-i686-up-4GB ati-kernel-2.4.27-0.pre2.1mdk-p3-smp-64GB ati-kernel-2.4.27-0.pre2.1mdkenterprise ati-kernel-2.4.27-0.pre2.1mdksecure ati-kernel-2.4.27-0.pre2.1mdksmp ati-kernel-2.6.8.1-12mdk ati-kernel-2.6.8.1-12mdk-i586-up-1GB ati-kernel-2.6.8.1-12mdkenterprise ati-kernel-2.6.8.1-12mdksecure ati-kernel-2.6.8.1-12mdksmp cman-kernel fcdsl-kernel-2.6.8.1-12mdk fcdsl-kernel-2.6.8.1-12mdk-i586-up-1GB fcdsl-kernel-2.6.8.1-12mdkenterprise fcdsl-kernel-2.6.8.1-12mdksecure fcdsl-kernel-2.6.8.1-12mdksmp fcdsl2-kernel-2.6.8.1-12mdk fcdsl2-kernel-2.6.8.1-12mdk-i586-up-1GB fcdsl2-kernel-2.6.8.1-12mdkenterprise fcdsl2-kernel-2.6.8.1-12mdksecure fcdsl2-kernel-2.6.8.1-12mdksmp fcdslsl-kernel-2.6.8.1-12mdk fcdslsl-kernel-2.6.8.1-12mdk-i586-up-1GB fcdslsl-kernel-2.6.8.1-12mdkenterprise fcdslsl-kernel-2.6.8.1-12mdksecure fcdslsl-kernel-2.6.8.1-12mdksmp fcdslslusb-kernel-2.6.8.1-12mdk fcdslslusb-kernel-2.6.8.1-12mdk-i586-up-1GB fcdslslusb-kernel-2.6.8.1-12mdkenterprise fcdslslusb-kernel-2.6.8.1-12mdksecure fcdslslusb-kernel-2.6.8.1-12mdksmp fcdslusb-kernel-2.6.8.1-12mdk fcdslusb-kernel-2.6.8.1-12mdk-i586-up-1GB fcdslusb-kernel-2.6.8.1-12mdkenterprise fcdslusb-kernel-2.6.8.1-12mdksecure fcdslusb-kernel-2.6.8.1-12mdksmp fcdslusba-kernel-2.6.8.1-12mdk fcdslusba-kernel-2.6.8.1-12mdk-i586-up-1GB fcdslusba-kernel-2.6.8.1-12mdkenterprise fcdslusba-kernel-2.6.8.1-12mdksecure fcdslusba-kernel-2.6.8.1-12mdksmp fcpci-kernel-2.6.8.1-12mdk fcpci-kernel-2.6.8.1-12mdk-i586-up-1GB fcpci-kernel-2.6.8.1-12mdkenterprise fcpci-kernel-2.6.8.1-12mdksecure fcpci-kernel-2.6.8.1-12mdksmp fcusb-kernel-2.6.8.1-12mdk fcusb-kernel-2.6.8.1-12mdk-i586-up-1GB fcusb-kernel-2.6.8.1-12mdkenterprise fcusb-kernel-2.6.8.1-12mdksecure fcusb-kernel-2.6.8.1-12mdksmp fcusb2-kernel-2.6.8.1-12mdk fcusb2-kernel-2.6.8.1-12mdk-i586-up-1GB fcusb2-kernel-2.6.8.1-12mdkenterprise fcusb2-kernel-2.6.8.1-12mdksecure fcusb2-kernel-2.6.8.1-12mdksmp fxusb-kernel-2.6.8.1-12mdk fxusb-kernel-2.6.8.1-12mdk-i586-up-1GB fxusb-kernel-2.6.8.1-12mdkenterprise fxusb-kernel-2.6.8.1-12mdksecure fxusb-kernel-2.6.8.1-12mdksmp glibc-devel hcfpcimodem-kernel-2.4.27-0.pre2.1mdk hcfpcimodem-kernel-2.4.27-0.pre2.1mdk-i686-up-4GB hcfpcimodem-kernel-2.4.27-0.pre2.1mdk-p3-smp-64GB hcfpcimodem-kernel-2.4.27-0.pre2.1mdkenterprise hcfpcimodem-kernel-2.4.27-0.pre2.1mdksecure hcfpcimodem-kernel-2.4.27-0.pre2.1mdksmp hcfpcimodem-kernel-2.6.8.1-12mdk hcfpcimodem-kernel-2.6.8.1-12mdk-i586-up-1GB hcfpcimodem-kernel-2.6.8.1-12mdkenterprise hcfpcimodem-kernel-2.6.8.1-12mdksecure hcfpcimodem-kernel-2.6.8.1-12mdksmp hsfmodem-kernel-2.4.27-0.pre2.1mdk hsfmodem-kernel-2.4.27-0.pre2.1mdk-i686-up-4GB hsfmodem-kernel-2.4.27-0.pre2.1mdk-p3-smp-64GB hsfmodem-kernel-2.4.27-0.pre2.1mdkenterprise hsfmodem-kernel-2.4.27-0.pre2.1mdksecure hsfmodem-kernel-2.4.27-0.pre2.1mdksmp hsfmodem-kernel-2.6.8.1-12mdk hsfmodem-kernel-2.6.8.1-12mdk-i586-up-1GB hsfmodem-kernel-2.6.8.1-12mdkenterprise hsfmodem-kernel-2.6.8.1-12mdksecure hsfmodem-kernel-2.6.8.1-12mdksmp kernel-2.4.27.0.pre2.1mdk kernel-2.4.28.0.rc1.5mdk kernel-2.6.11.12mdk kernel-2.6.11.6mdk kernel-2.6.8.1.12mdk kernel-BOOT-2.4.27.0.pre2.1mdk kernel-BOOT-2.6.11.6mdk kernel-BOOT-2.6.8.1.12mdk kernel-doc kernel-doc-html kernel-doc-pdf kernel-doc-ps kernel-enterprise-2.4.27.0.pre2.1mdk kernel-enterprise-2.4.28.0.rc1.5mdk kernel-enterprise-2.6.8.1.12mdk kernel-i586-up-1GB-2.4.28.0.rc1.5mdk kernel-i586-up-1GB-2.6.11.12mdk kernel-i586-up-1GB-2.6.11.6mdk kernel-i586-up-1GB-2.6.8.1.12mdk kernel-i686-up-4GB-2.4.27.0.pre2.1mdk kernel-i686-up-4GB-2.6.11.12mdk kernel-i686-up-4GB-2.6.11.6mdk kernel-i686-up-64GB-2.6.8.1.12mdk kernel-multimedia-2.6.10-3.mm.24mdk kernel-multimedia-2.6.7-1.mm.3mdk kernel-multimedia-enterprise-2.6.10-3.mm.24mdk kernel-multimedia-enterprise-2.6.7-1.mm.3mdk kernel-multimedia-i686-up-4GB-2.6.10-3.mm.24mdk kernel-multimedia-i686-up-4GB-2.6.7-1.mm.3mdk kernel-multimedia-source kernel-multimedia-win4lin-2.6.10-3.mm.24mdk kernel-multimedia-win4lin-2.6.7-1.mm.3mdk kernel-multimedia-win4lin-enterprise-2.6.10-3.mm.24mdk kernel-multimedia-win4lin-enterprise-2.6.7-1.mm.3mdk kernel-multimedia-win4lin-i686-up-4GB-2.6.10-3.mm.24mdk kernel-multimedia-win4lin-i686-up-4GB-2.6.7-1.mm.3mdk kernel-p3-smp-64GB-2.4.27.0.pre2.1mdk kernel-secure-2.6.8.1.12mdk kernel-smp-2.4.27.0.pre2.1mdk kernel-smp-2.4.28.0.rc1.5mdk kernel-smp-2.6.11.12mdk kernel-smp-2.6.11.6mdk kernel-smp-2.6.8.1.12mdk kernel-source kernel-source-2.6 kernel-source-stripped-2.6 kernel-tmb-2.6.7-2.tmb.6mdk kernel-tmb-enterprise-2.6.7-2.tmb.6mdk kernel-tmb-i686-up-4GB-2.6.7-2.tmb.6mdk kernel-tmb-win4lin-2.6.7-2.tmb.6mdk kernel-tmb-win4lin-enterprise-2.6.7-2.tmb.6mdk kernel-tmb-win4lin-i686-up-4GB-2.6.7-2.tmb.6mdk kernel-uml-2.4-2.4.22-2mdk kernel-uml-2.6.10-2mdk kernel-xbox-2.6.11.12mdk kernel-xbox-2.6.11.6mdk kernel2.4-marcelo libgretl1.0 libwine1 linuxconf madwifi-kernel-2.4.27-0.pre2.1mdk madwifi-kernel-2.4.27-0.pre2.1mdk-i686-up-4GB madwifi-kernel-2.4.27-0.pre2.1mdk-p3-smp-64GB madwifi-kernel-2.4.27-0.pre2.1mdkenterprise madwifi-kernel-2.4.27-0.pre2.1mdksecure madwifi-kernel-2.4.27-0.pre2.1mdksmp madwifi-kernel-2.6.8.1-12mdk madwifi-kernel-2.6.8.1-12mdk-i586-up-1GB madwifi-kernel-2.6.8.1-12mdkenterprise madwifi-kernel-2.6.8.1-12mdksecure madwifi-kernel-2.6.8.1-12mdksmp mythtv-frontend numexp-core nvidia-kernel-2.4.27-0.pre2.1mdk nvidia-kernel-2.4.27-0.pre2.1mdk-i686-up-4GB nvidia-kernel-2.4.27-0.pre2.1mdk-p3-smp-64GB nvidia-kernel-2.4.27-0.pre2.1mdkenterprise nvidia-kernel-2.4.27-0.pre2.1mdksecure nvidia-kernel-2.4.27-0.pre2.1mdksmp nvidia-kernel-2.6.8.1-12mdk nvidia-kernel-2.6.8.1-12mdk-i586-up-1GB nvidia-kernel-2.6.8.1-12mdkenterprise nvidia-kernel-2.6.8.1-12mdksecure nvidia-kernel-2.6.8.1-12mdksmp openafs-kernel-source pcmcia-cs perl-POE slmodem-kernel-2.4.27-0.pre2.1mdk slmodem-kernel-2.4.27-0.pre2.1mdk-i686-up-4GB slmodem-kernel-2.4.27-0.pre2.1mdk-p3-smp-64GB slmodem-kernel-2.4.27-0.pre2.1mdkenterprise slmodem-kernel-2.4.27-0.pre2.1mdksecure slmodem-kernel-2.4.27-0.pre2.1mdksmp slmodem-kernel-2.6.8.1-12mdk slmodem-kernel-2.6.8.1-12mdk-i586-up-1GB slmodem-kernel-2.6.8.1-12mdkenterprise slmodem-kernel-2.6.8.1-12mdksecure slmodem-kernel-2.6.8.1-12mdksmp unicorn-kernel-2.4.27-0.pre2.1mdk unicorn-kernel-2.4.27-0.pre2.1mdk-i686-up-4GB unicorn-kernel-2.4.27-0.pre2.1mdk-p3-smp-64GB unicorn-kernel-2.4.27-0.pre2.1mdkenterprise unicorn-kernel-2.4.27-0.pre2.1mdksmp unicorn-kernel-2.6.8.1-12mdk unicorn-kernel-2.6.8.1-12mdk-i586-up-1GB unicorn-kernel-2.6.8.1-12mdkenterprise unicorn-kernel-2.6.8.1-12mdksecure unicorn-kernel-2.6.8.1-12mdksmp wine Can someone please help? |
Hi,
i had the same Problem, while ago. A link between kernel sources to the modules directory was give me a solution. With the actual nvidia-drivers 76.67 they come with a precompiled driver for my RedHat system. And the Problem is gone for now. I actually don't know the specific link-name which helped me of that time. So it may give You the solution with downgrading to " kernel 2.6.8.1-10 mdk " for which a precompiled Driver seems to be included ( according to google ) . If You can't live with a downgraded kernel, please tell us the content of the /var/log/nvidia-installer.log file. There will be more details about the error. |
Thanks for the response to this fustrating situation. Here is the log:
nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Jul 11 14:18:27 2005 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : true no questions : false silent : false no backup : false kernel module only : false sanity : false add this kernel : false no runlevel check : false no network : false no ABI note : false no RPMs : false force tls : (not specified) force compat32 tls : (not specified) X install prefix : /usr/X11R6 OpenGL install prefix : /usr compat32 install prefix : (not specified) installer install prefix: /usr utility install prefix : /usr kernel name : (not specified) kernel include path : (not specified) kernel source path : (not specified) kernel output path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /root/tmp ftp mirror : ftp://download.nvidia.com RPM file list : (not specified) Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes) -> No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel. -> Kernel source path: '/usr/src/linux' -> Performing CC test with CC="cc". -> Performing rivafb check. -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os- agp.o os-interface.o os-registry.o nvidia.mod.o rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags} rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~ rm -f -rf .tmp_versions -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s rc/linux'... NVIDIA: calling KBUILD... make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/root/tmp/selfgz17084 /NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv modules mkdir -p /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.tm p_versions make -f scripts/Makefile.build obj=/root/tmp/selfgz17084/NVIDIA-Linux-x86-1. 0-7664-pkg1/usr/src/nv echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz170 84/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv_compiler.h cc -Wp,-MD,/root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv /.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/inclu de -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-str ict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer -pip e -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/as m-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/selfgz17084/N VIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wsw itch -Wformat -W char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f no-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAM ES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KER NEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=76 64 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_P RESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PC I_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBU ILD_MODNAME=nvidia -c -o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg 1/usr/src/nv/nv.o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/s rc/nv/nv.c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/nv.c:14: include/asm/io.h: In function `check_signature': include/asm/io.h:242: warning: wrong type argument to increment /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv.c: In fun ction `nvidia_init_module': /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv.c:1064: w arning: `pm_register' is deprecated (declared at include/linux/pm.h:106) /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv.c:1132: w arning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111) /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv.c: In fun ction `nvidia_exit_module': /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv.c:1189: w arning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111) cc -Wp,-MD,/root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv /.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/in clude -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno- strict-aliasing -fno-common -ffreestanding -O2 -fno-omit -frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -marc h=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/roo t/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar ith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-q ual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SO URCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_ MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_ STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT - DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /root/tmp/self gz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv-vm.o /root/tmp/selfgz17 084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv-vm.c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/nv-vm.c:14: include/asm/io.h: In function `check_signature': include/asm/io.h:242: warning: wrong type argument to increment cc -Wp,-MD,/root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv /.os-agp.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/i nclude -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno -strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclud e/asm-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/selfgz170 84/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-mult ichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qua l -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOUR CE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MI NOR_VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_ST RUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PC I_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DM ODULE -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfg z17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-agp.o /root/tmp/selfgz17 084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-agp.c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/os-agp.c:24: include/asm/io.h: In function `check_signature': include/asm/io.h:242: warning: wrong type argument to increment cc -Wp,-MD,/root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv /.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3 .4.3/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraph s -fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-po inter -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -I include/asm-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/sel fgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn -type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wn o-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno -error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_ LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VE RSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_R LIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISA BLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESE NT -DMODULE -DKBUILD_BASENAME=os_interface -DKBUILD_MODNAME=nvidia -c -o /r oot/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-interface.o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-interface .c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/os-interface.c:26: include/asm/io.h: In function `check_signature': include/asm/io.h:242: warning: wrong type argument to increment cc -Wp,-MD,/root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv /.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3. 4.3/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-poin ter -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/ selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall -Wimplicit -Wret urn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual - Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR _VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUC T_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_D ISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODU LE -DKBUILD_BASENAME=os_registry -DKBUILD_MODNAME=nvidia -c -o /root/tmp/sel fgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-registry.o /root/tmp/s elfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-registry.c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/os-registry.c:14: include/asm/io.h: In function `check_signature': include/asm/io.h:242: warning: wrong type argument to increment ld -m elf_i386 -r -o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1 /usr/src/nv/nvidia.o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/us r/src/nv/nv-kernel.o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/us r/src/nv/nv.o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/n v/nv-vm.o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os -agp.o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-in terface.o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os -registry.o Building modules, stage 2. make -rR -f /usr/src/linux-2.6.11-12mdk/scripts/Makefile.modpost scripts/mod/modpost -i /usr/src/linux-2.6.11-12mdk/Module.symvers /root/ tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nvidia.o cc -Wp,-MD,/root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv /.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4 .3/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-poin ter -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iin clude/asm-i386/mach-default -Wdeclaration-after-statement -DKBUILD_BASEN AME=nvidia -DKBUILD_MODNAME=nvidia -DMODULE -c -o /root/tmp/selfgz17084/NVID IA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nvidia.mod.o /root/tmp/selfgz17084/NVI DIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nvidia.mod.c ld -m elf_i386 -r -o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/ usr/src/nv/nvidia.ko /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/us r/src/nv/nvidia.o /root/tmp/selfgz17084/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/s rc/nv/nvidia.mod.o NVIDIA: left KBUILD. -> done. -> Kernel module compilation complete. ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' commandline option. -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko': -1 Invalid module format -> Kernel messages: cdrom: hda: mmc-3 profile capable, current profile: 10h cdrom: hda: mmc-3 profile capable, current profile: 10h bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 0 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 1 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 2 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 3 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 4 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 5 changed to on nvidia: version magic '2.6.11-12mdkcustom 686 gcc-3.4' should be '2.6.8.1-12mdk 686 gcc-3.4' ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. |
You don't use the correct kernel sources.
Look at this. There are two ways described how You can download the sources: http://www.linuxforums.org/tutorials...ial-30960.html |
well, that was an excellent link. Helped alot. I actually got the Nvidia logo, but my hardware manager still says "Video Card" and "unknown device" in the description. On top of it all, i think i broke x-windows. I can't log into init 5. When i boot, i'm in command prompt, init 3 i think because that is where i was before the "breaking". I didn't see the "nv" line in my XF86Config file, but i saw something else under #Linux Video Driver, so i changed that to "nvidia" and added "nvidia" to the list in Modprobe.preload. I'm not sure i understood this part:
$ rpm -qa | grep kernel-* kernel-2.6.8.1.12mdk-1-1mdk kernel-2.4.27.0.pre2.1mdk-1-1mdk kernel-source-2.6-2.6.8.1-12mdk And like i said before, i couldn't find the "nv" entry in XF86config. When i installd teh driver, it went through, talked about not having a pre-compilied kernel and would i like Nvidia to download one, which it did and installed. Yada yada yada, i recieved a "succesful Install" type message. Changed the afore mentioned files and rebooted. Thats when i got the logo but no identifier in ControlCenter/Hardware. i reinstalled the driver at that point, it said that the driver had been successfully installed but if i wanted to continue, it would uninstall the previous driver and install the new one. I did that, and again it said successful. It was here i think that x-windows took a dook. When i reboot, it goes straight to command line. I log in as root, and type "init 5" and it does nothing but bring me back to the prompt. I really hope i don't have to reinstall "Again". I've gotten really good at installing the OS. I will post my *Config file later today, i'm at work now and don't have access to my Linux. but if this information can help you help me, please feel free to share the love. Tell me what i did wrong. And the "$rpm -qa..." info above, could someone explain this to me. Should i type "$ rpm -qa | grep Kernel-" and follow that hyphen with each of the kernel-2.X lines. Typing it twice, once for each kernel-2.x...? I read the long "read me" that came w/ the Nvidia driver but it didn't tell me anything new that wasn't mentioned in previous posts or that link Road Runner gave me. Thanks guys...You rock |
There will needed some editing of the /etc/X11/xorg.conf. So, posting Your configfile is a good idea.
"$ rpm -qa | grep kernel-* The described rpm command Query All installed Packages and gives You this complete list on the screen. but the pipe-symbol ( | ) gives this list, before showing it, to the following command. Which is " grep kernel-* " , and this command filters from the list the entries with the given word, so it show only the installed kernel-packages of Your System. If You compiled a kernel from sources ( kernel.org ) this kernel will not showed in such list because it is not installed with rpm or similar package manager. Btw: " rpm -qa | grep kernel- " is the same command in this situation. In other situations " rpm -qa | grep -i kernel- " is a good choice, where grep filters case insensitive. |
Oh i get it. OK.
$ rpm -qa | grep kernel-* kernel-2.6.8.1.12mdk-1-1mdk kernel-2.4.27.0.pre2.1mdk-1-1mdk kernel-source-2.6-2.6.8.1-12mdk The command (line 1) outputs the following 3 lines, and the one in bold is the one i'm looking for. so if i have that last line, them i code 4 (meaning OK). I had company last night, so didn't get to post my Config file. But i'll do it again tonight. This is fun, if fustrating. Again, thanks for the assist. Oorah! BBL |
OK. I reinstalled Linux (Again! getting really good at this). With a fresh install, i updated the urpmi's from easyurpmi. After which. I followed the link that road runner gave me. All went well until i hit the last part. About editing my XF86Config. I didn't see the "nv" in order to switch it to Nvidia. Here is the file:
# File generated by XFdrake. # ********************************************************************** # Refer to the XF86Config man page for details about the format of # this file. # ********************************************************************** Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Mandrake 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:-1" EndSection Section "ServerFlags" #DontZap # disable <Crtl><Alt><BS> (server abort) #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching) AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "nvidia" # Video for Linux <-- Used to say "v4l" Load "extmod" Load "type1" Load "freetype" Load "synaptics" Load "glx" # 3D layer Load "/usr/X11R6/lib/modules/extensions/libglx.a" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "en_US" Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "InputDevice" Identifier "SynapticsMouse1" Driver "synaptics" Option "Protocol" "auto-dev" Option "Device" "/dev/input/mice" Option "MaxSpeed" "0.12" Option "MinSpeed" "0.06" Option "BottomEdge" "4200" Option "SHMConfig" "on" Option "LeftEdge" "1700" Option "FingerLow" "25" Option "MaxTapTime" "180" Option "MaxTapMove" "220" Option "FingerHigh" "30" Option "VertScrollDelta" "100" Option "TopEdge" "1700" Option "RightEdge" "5300" Option "AccelFactor" "0.0010" EndSection Section "Monitor" Identifier "monitor1" VendorName "Generic" ModelName "1024x768 @ 70 Hz" HorizSync 31.5-57.0 VertRefresh 50-70 # Sony Vaio C1(X,XS,VE,VN)? # 1024x480 @ 85.6 Hz, 48 kHz hsync ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync # Dell D800 and few Inspiron (16/10) 1280x800 ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848 # Dell D800 and few Inspiron (16/10) 1680x1050 ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103 # Dell D800 and few Inspiron (16/10) 1920x1200 ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Device" Identifier "device1" Driver "vesa" <--- changed to "nvidia" as well but it did nothing so i went back Option "DPMS" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1024 768 EndSubsection Subsection "Display" Depth 15 Virtual 1024 768 EndSubsection Subsection "Display" Depth 16 Virtual 1024 768 EndSubsection Subsection "Display" Depth 24 Virtual 1024 768 EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" InputDevice "SynapticsMouse1" "AlwaysCore" Screen "screen1" EndSection After changing the above indicated lines i ran "glxgears" like instruced and recieved this error: Xlib: extension "GLX" missing on display ":0.0". Error: couldn't get an RGB, Double-buffered visual OK. just for fun here is my "modprobe.preload" file: # /etc/modprobe.preload: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a `#', and everything on the line after them are ignored. # this file is for module-init-tools (kernel 2.5 and above) ONLY # for old kernel use /etc/modules evdev saa7134 nvram nvidia and my Nvidia Log: nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Thu Jul 14 20:47:10 2005 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : true no questions : false silent : false no backup : false kernel module only : false sanity : false add this kernel : false no runlevel check : false no network : false no ABI note : false no RPMs : false force tls : (not specified) force compat32 tls : (not specified) X install prefix : /usr/X11R6 OpenGL install prefix : /usr compat32 install prefix : (not specified) installer install prefix: /usr utility install prefix : /usr kernel name : (not specified) kernel include path : (not specified) kernel source path : (not specified) kernel output path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /root/tmp ftp mirror : ftp://download.nvidia.com RPM file list : (not specified) Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes) -> No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel. -> Kernel source path: '/lib/modules/2.6.8.1-12mdk/source' -> Performing CC test with CC="cc". -> Performing rivafb check. -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os- agp.o os-interface.o os-registry.o nvidia.mod.o rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags} rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~ rm -f -rf .tmp_versions -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.8.1-12mdk/s ource SYSOUT=/lib/modules/2.6.8.1-12mdk/build'... NVIDIA: calling KBUILD... make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.8.1-12mdk/build KBUILD_VERBOSE=1 - C /lib/modules/2.6.8.1-12mdk/source SUBDIRS=/root/tmp/selfgz7900/NVIDIA-Linu x-x86-1.0-7664-pkg1/usr/src/nv modules make -C /lib/modules/2.6.8.1-12mdk/build \ KBUILD_SRC=/usr/src/linux-2.6.8.1-12mdk KBUILD_VERBOSE=1 \ KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664- pkg1/usr/src/nv" \ -f /usr/src/linux-2.6.8.1-12mdk/Makefile modules mkdir -p /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/.tmp _versions make -f /usr/src/linux-2.6.8.1-12mdk/scripts/Makefile.build obj=/root/tmp/se lfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz790 0/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv_compiler.h cc -Wp,-MD,/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/ .nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/ usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz7900/NVIDIA-Linux-x86 -1.0-7664-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-stri ct-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno -unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/asm-i386/ mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-stateme nt -I/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall - Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -W pointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno- cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_G NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 - DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMA P_PAGE_RANGE_5_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE _PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME= nvidia -c -o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/ nv.o / root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv.c cc -Wp,-MD,/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/ .nv-vm.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz7900/NVIDIA-Linux- x86-1.0-7664-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-s trict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 - fno-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/asm-i3 86/mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-stat ement -I/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wal l -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wn o-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D _GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 - UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5_PRESENT -DNV_CHANGE_PAGE_AT TR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKB UILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz7900/NVIDI A-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv-vm.o /root/tmp/selfgz7900/NVIDIA-Lin ux-x86-1.0-7664-pkg1/usr/src/nv/nv-vm.c cc -Wp,-MD,/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/ .os-agp.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz7900/NVIDIA-Linux- x86-1.0-7664-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-s trict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 - fno-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/asm-i3 86/mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-stat ement -I/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wal l -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparent heses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compa re -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DN TRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VER SION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG - DNV_REMAP_PAGE_RANGE_5_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABL E_DEVICE_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBU ILD_MODNAME=nvidia -c -o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1 /usr/src/nv/os-agp.o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr /src/nv/os-agp.c cc -Wp,-MD,/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/ .os-interface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iin clude2 -I/usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz7900/NVIDIA -Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-bounda ry=2 -fno-unit-at- a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/asm-i386/mach-defa ult -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-statement -I/ro ot/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar ith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_ VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RAN GE_5_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT - DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=os_interface -DKBUILD_MODNAME= nvidia -c -o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/ os-interface.o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/n v/os-interface.c cc -Wp,-MD,/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/ .os-registry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinc lude2 -I/usr/src/linux-2.6.8.1-12mdk/include -I/root/tmp/selfgz7900/NVIDIA- Linux-x86-1.0-7664-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-bounda ry=2 -fno-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-12mdk/include/ asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-afte r-statement -I/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/n v -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen theses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-comp are -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -D NTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VE RSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7664 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISAB LE_DEVICE_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUIL D_BASENAME=os_registry -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz7900/NV IDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-registry.o /root/tmp/selfgz7900/N VIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-registry.c ld -m elf_i386 -r -o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/ usr/src/nv/nvidia.o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/ src/nv/nv-kernel.o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/s rc/nv/nv.o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nv -vm.o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-agp. o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-interfac e.o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/os-regist ry.o Building modules, stage 2. make -rR -f /usr/src/linux-2.6.8.1-12mdk/scripts/Makefile.modpost scripts/mod/modpost -i /usr/src/linux-2.6.8.1-12mdk/Module.symvers /root/t mp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/nvidia.o cc -Wp,-MD,/root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/nv/ .nvidia.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iincl ude2 -I/usr/src/linux-2.6.8.1-12mdk/include -I/usr/src/linux-2.6.8.1-12mdk/ -I -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i 686 -I/usr/src/linux-2.6.8.1-12mdk/include/asm-i386/mach-default -Iinclude/a sm-i386/mach-default -O2 -Wdeclaration-after-statement -DKBUILD_BASENAME=nv idia -DKBUILD_MODNAME=nvidia -DMODULE -c -o /root/tmp/selfgz7900/NVIDIA-Linu x-x86-1.0-7664-pkg1/usr/src/nv/nvidia.mod.o /root/tmp/selfgz7900/NVIDIA-Linu x-x86-1.0-7664-pkg1/usr/src/nv/nvidia.mod.c ld -m elf_i386 -r -o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/u sr/src/nv/nvidia.ko /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/ src/nv/nvidia.o /root/tmp/selfgz7900/NVIDIA-Linux-x86-1.0-7664-pkg1/usr/src/ nv/nvidia.mod.o NVIDIA: left KBUILD. -> done. -> Kernel module compilation complete. -> Installing both new and classic TLS OpenGL libraries. -> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86' (1.0-7664): executing: '/sbin/ldconfig'... executing: '/sbin/depmod -aq'... -> done. -> Driver file installation is complete. -> Running post-install sanity check: -> done. -> Post-install sanity check passed. -> Shared memory test passed. -> Running runtime sanity check: -> done. -> Runtime sanity check passed. -> Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86 (version: 1.0-7664) is now complete. Please update your XF86Config or xorg.conf file as appropriate; see the file /usr/share/doc/NVIDIA_GLX-1.0/README.txt for details. Oorah! yeah boy that's alot of information. Hope this helps. I really do!! |
Uh,
i now realize that You use nvidia-driver 7664, please download now 7667 and try again. If the problem persist, make sure that the x config file which You edited is the one which is used by XFree. The Nvidia README.txt tell You in Chapter I.3. how to find the used place. Normally, if the driver is installed correctly, a nvidia-logo will showed at X-Window-Startup. |
ok, i think it is installed. I got the nvidia splash screen and did the test for 3d acceleration:
[peter@localhost X11]$ glxgears 62133 frames in 5.0 seconds = 12426.600 FPS 63975 frames in 5.0 seconds = 12795.000 FPS 63582 frames in 5.0 seconds = 12716.400 FPS 63989 frames in 5.0 seconds = 12797.800 FPS 63360 frames in 5.0 seconds = 12672.000 FPS 63984 frames in 5.0 seconds = 12796.800 FPS 63873 frames in 5.0 seconds = 12774.600 FPS 63994 frames in 5.0 seconds = 12798.800 FPS 63369 frames in 5.0 seconds = 12673.800 FPS 63999 frames in 5.0 seconds = 12799.800 FPS 63930 frames in 5.0 seconds = 12786.000 FPS 63997 frames in 5.0 seconds = 12799.400 FPS 63360 frames in 5.0 seconds = 12672.000 FPS 63966 frames in 5.0 seconds = 12793.200 FPS 63928 frames in 5.0 seconds = 12785.600 FPS 63954 frames in 5.0 seconds = 12790.800 FPS 63354 frames in 5.0 seconds = 12670.800 FPS 63647 frames in 5.0 seconds = 12729.400 FPS 63890 frames in 5.0 seconds = 12778.000 FPS [peter@localhost X11]$ glxinfo | grep direct direct rendering: Yes [peter@localhost X11]$ BUT, this is my detected hardware from control center for my video. It says video card as type: Identification Vendor: ?(null) Description: ? Media class: ?DISPLAY_VGA Connection Bus: ?PCI Bus PCI #: ?1 PCI device #: ?0 PCI function #: ?0 Vendor ID: ?4318 Device ID: ?201 Sub vendor ID: ?5464 Sub device ID: ?2304 Misc Module: ?unknown also, i can't change resolution beyond 1024x768 without the screen getting all weird, by weird i mean LARGE. where i have to scroll around the desktop to get a look at giantic icons. Isn't the video card supposed to say "Nvidia 6800 Go Ultra" or some such? also, where is that cool looking Nvidia control center thing. The one with TUX next to the nvidia logo? How do i get there? Getting close, i can smell it. |
Quote:
SubSection "Display" Viewport 0 0 Depth 24 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" Maybe Your mandrake forgot to change this section because it can't detect the VGA. After changes the X-Window-Server must be restarted to take effect. Quote:
|
All times are GMT -5. The time now is 02:37 PM. |