nvidia driver kernel 2.6.9 667

Brian Callahan brian at networklifeline.net
Sat Nov 6 00:08:40 UTC 2004


OK I added the line and then ran the installer but now I get a different
error

/root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3512: error:
`num_nv_de
   vices' undeclared (first use in this function)
   make[4]: *** [/root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o]
Error 1
   make[3]: ***
[_module_/root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv] Error
   2
   make[2]: *** [modules] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.


"nv.c file:
#ifdef MODULE_ALIAS_CHARDEV_MAJOR
MODULE_ALIAS_CHARDEV_MAJOR(NV_MAJOR_DEVICE_NUMBER);
#endif
unsigned int __VMALLOC_RESERVE = 128 << 20 <-----------------------
/*
 * our global state; one per device
"

Thanks,
  BC




> -------- Original Message --------
> Subject: Re: nvidia driver kernel 2.6.9 667
> From: "Patrick Ryan Vinson" <pvinson at fit.edu>
> Date: Fri, November 05, 2004 5:06 pm
> To: "For testers of Fedora Core development releases"
> <fedora-test-list at redhat.com>
> 
> On Fri, 2004-11-05 at 14:59 -0700, Brian Callahan wrote:
> > Can't build or load nvidia video driver under 667
> > 
> > used an nvidia patch from
> > http://ngc891.blogdns.net/index.php?2004/09/21/3-patched-nvidia-drivers
> > 
> > but still can't load the driver
> > 
> > 
> > errors:
> > # dmesg
> > nvidia: module license 'NVIDIA' taints kernel.
> > nvidia: Unknown symbol __VMALLOC_RESERVE
> > nvidia: Unknown symbol __VMALLOC_RESERVE
> > 
> > works fine under 2.6.8-541
> > 
> > BC
> > 
> 
> not sure about that patch but all I did was add
> 
> unsigned int __VMALLOC_RESERVE = 128 << 20;
> 
> right after:
> 
> #ifdef MODULE_ALIAS_CHARDEV_MAJOR
> MODULE_ALIAS_CHARDEV_MAJOR(NV_MAJOR_DEVICE_NUMBER);
> #endif
> 
> in the nv.c file and ran the installer.  Worked perfectly
> fine after that.  I am currently running the *-667 kernel.
> Are you making sure your xorg.conf file is setup properly?
> 
> -- 
> fedora-test-list mailing list
> fedora-test-list at redhat.com
> To unsubscribe: 
> http://www.redhat.com/mailman/listinfo/fedora-test-list




More information about the test mailing list