[PlanetCCRMA] 2.6.10-0.4.rdt.rhfc3.ccrma kernel and Nvidia binary driver issue

Rick B zajelo3@cfl.rr.com
Thu Feb 10 18:51:00 2005


Dave Theodore wrote:

> Hmmm... and just when I was starting to like Nvidia again. :(  I'm 
> using an MX4000 card, so I guess I'll have to wait a while for Nvidia 
> to screw up the driver again a few times and fix it.  I'm actually 
> setting up a MythTV box, so I need the video acceleration. 
>
> Thanks everyone!
> Dave
>
> Shayne O'Connor wrote:
>
>>Rick B wrote:
>>
>>  
>>
>>>Shayne O'Connor wrote:
>>>
>>>    
>>>
>>>>Dave Theodore wrote:
>>>>
>>>> 
>>>>
>>>>      
>>>>
>>>>>Has anyone gotten the Nvidia 6629 driver (one that comes from Nvidia)
>>>>>to install on the 2.6.10-0.4.rdt.rhfc3.ccrma lernel under FC3?  I
>>>>>searched around a bit and didn't find anything relevant to the 6629
>>>>>driver.
>>>>>The driver installed perfectly fine with all the stock Fedora FC3
>>>>>kernels that I have tried as well as a variety of 2.4 kernels.  I'm
>>>>>beginning to feel that one of the ccrma included patches is causing
>>>>>the problem.  Any help is greatly appreciated!
>>>>>
>>>>>Compiler output is as follows:
>>>>>
>>>>>NVIDIA: calling KBUILD...
>>>>>make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.10-0.4.rdt.rhfc3.ccrma/build
>>>>>KBUILD_VERBOSE=1 -C /lib/modules/2.6.10-0.4.rdt.rhfc3.ccrma/source
>>>>>SUBDIRS=/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
>>>>>make -C /lib/modules/2.6.10-0.4.rdt.rhfc3.ccrma/build           \
>>>>>KBUILD_SRC=/lib/modules/2.6.10-0.4.rdt.rhfc3.ccrma/build           
>>>>>KBUILD_VERBOSE=1   \
>>>>>KBUILD_CHECK=
>>>>>KBUILD_EXTMOD="/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv"
>>>>>\        -f /lib/modules/2.6.10-0.4.rdt.rhfc3.ccrma/build/Makefile
>>>>>modules
>>>>>mkdir -p /data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_versions
>>>>>make -f
>>>>>/lib/modules/2.6.10-0.4.rdt.rhfc3.ccrma/build/scripts/Makefile.build
>>>>>obj=/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
>>>>>cc
>>>>>-Wp,-MD,/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-agp.o.d
>>>>>-nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/3.4.2/include
>>>>>-D__KERNEL__ -Iinclude -Iinclude2
>>>>>-I/lib/modules/2.6.10-0.4.rdt.rhfc3.ccrma/build/include
>>>>>-I/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall
>>>>>-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
>>>>>-ffreestanding -O2 -fomit-frame-pointer -g -pipe -msoft-float
>>>>>-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686
>>>>>-mregparm=3
>>>>>-I/lib/modules/2.6.10-0.4.rdt.rhfc3.ccrma/build/include/asm-i386/mach-default
>>>>>
>>>>>-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
>>>>>-I/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit
>>>>>-Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
>>>>>-Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD
>>>>>-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=6629
>>>>>-DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG
>>>>>-DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT
>>>>>-DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT
>>>>>-DNV_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=os_agp
>>>>>-DKBUILD_MODNAME=nvidia -c -o
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_os-agp.o
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c
>>>>>In file included from include/linux/list.h:7,
>>>>>               from include/linux/rt_lock.h:5,
>>>>>               from include/linux/spinlock.h:16,
>>>>>               from include/linux/capability.h:45,
>>>>>               from include/linux/sched.h:7,
>>>>>               from include/linux/module.h:10,
>>>>>               from
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:52,
>>>>>               from
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:24:
>>>>>include/linux/prefetch.h: In function `prefetch_range':
>>>>>include/linux/prefetch.h:62: warning: pointer of type `void *' used in
>>>>>arithmetic
>>>>>In file included from include/linux/dmapool.h:14,
>>>>>               from include/linux/pci.h:863,
>>>>>               from
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:75,
>>>>>               from
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/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
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: At top level:
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: error:
>>>>>syntax error before '*' token
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warning:
>>>>>type defaults to `int' in declaration of `drm_agp_p'
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warning:
>>>>>data definition has no type or storage class
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In function
>>>>>`KernInitAGP':
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:76: warning:
>>>>>assignment discards qualifiers from pointer target type
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:85: error:
>>>>>request for member `acquire' in something not a structure or union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:88: warning:
>>>>>`inter_module_put' is deprecated (declared at
>>>>>include/linux/module.h:581)
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:113: error:
>>>>>request for member `copy_info' in something not a structure or union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:173: error:
>>>>>request for member `enable' in something not a structure or union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:185: error:
>>>>>request for member `release' in something not a structure or union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:186: warning:
>>>>>`inter_module_put' is deprecated (declared at
>>>>>include/linux/module.h:581)
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In function
>>>>>`KernTeardownAGP':
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:216: error:
>>>>>request for member `release' in something not a structure or union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:218: warning:
>>>>>`inter_module_put' is deprecated (declared at
>>>>>include/linux/module.h:581)
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In function
>>>>>`KernAllocAGPPages':
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:265: error:
>>>>>request for member `allocate_memory' in something not a structure or
>>>>>union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:273: error:
>>>>>request for member `bind_memory' in something not a structure or union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:290: error:
>>>>>request for member `unbind_memory' in something not a structure or
>>>>>union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:305: error:
>>>>>request for member `free_memory' in something not a structure or union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In function
>>>>>`KernMapAGPPages':
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:345: error:
>>>>>request for member `unbind_memory' in something not a structure or
>>>>>union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In function
>>>>>`KernFreeAGPPages':
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:444: error:
>>>>>request for member `unbind_memory' in something not a structure or
>>>>>union
>>>>>/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:445: error:
>>>>>request for member `free_memory' in something not a structure or union
>>>>>make[5]: ***
>>>>>[/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o] Error 1
>>>>>make[4]: *** [_module_/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv]
>>>>>Error 2
>>>>>make[3]: *** [modules] Error 2
>>>>>NVIDIA: left KBUILD.
>>>>>nvidia.ko failed to build!
>>>>>make[2]: *** [module] Error 1
>>>>>make[1]: *** [install] Error 2
>>>>>make[1]: Leaving directory
>>>>>`/data/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv'
>>>>>make: *** [kernel_module_install] Error 2
>>>>>
>>>>>_______________________________________________
>>>>>PlanetCCRMA mailing list
>>>>>PlanetCCRMA@ccrma.stanford.edu
>>>>>http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>>>>>
>>>>>  
>>>>>        
>>>>>
>>>>head over to the nvidia linux forums - you'll see there is no joy ...
>>>>
>>>>this problem has been documented for months ... there are patches to get
>>>>it to compile on these latest kernels, but if you have a geforcemx 440
>>>>or 4000, then you are basically out in the cold till the nvidia people
>>>>get their shit together.
>>>>
>>>>the problems with the latest kernel/nvidia drivers are widespread ...
>>>>all linux nvidia users are basically working as developers/beta testers
>>>>for drivers that take *months* to catch up with kernel developments.
>>>>
>>>>i'm about to smash that freakin card to pieces ...
>>>>
>>>>
>>>>shayne
>>>>
>>>>_______________________________________________
>>>>PlanetCCRMA mailing list
>>>>PlanetCCRMA@ccrma.stanford.edu
>>>>http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>>>>
>>>> 
>>>>
>>>>      
>>>>
>>>That's why I'm staying at the 2.6.8.1-1.520.1vR9.ll kernel for right
>>>now. Plus it works real good for me.
>>>    
>>>
>>
>>yeah, i decided to give up the 3d acceleration for the 2.6.11 kernel -
>>audio-wise, for me, this kernel kicks 2.6.8 in the butt :)
>>
>>i'm *so* hoping they fix the problem soon, though, as it would be great
>>to have real-time wave-form displays that don't lock up the computer in
>>Mixxx.
>>
>>shayne
>>
>>_______________________________________________
>>PlanetCCRMA mailing list
>>PlanetCCRMA@ccrma.stanford.edu
>>http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>>  
>>
It's not really Nvidias fault as far as I can see. The problem is that 
right now that even the vanilla kernels are getting alot of new stuff 
added to them, and that's not even taking into consideration the changes 
in the hi-performance/low-latency audio kernels. So I'm sure it makes it 
hard on Nvidia to keep up with  those changes. Nvidia  is probably in 
uncharted territory as far as Linux is concerned, after all their used 
to Windows and Macs, and then here comes Linux that develops about 10 
times faster. I would think that they must be expanding their Linux 
development dept., because if you look at the Nvnews Linux Forum they 
have an the announcement: " NVIDIA Linux/Unix position available! 
<http://www.nvnews.net/vbulletin/showthread.php?s=c407923a7f0b809c55d215207cf45177&t=41760>". 
So for now I'm sticking with the kernel I have until the dust settles 
(if it ever does), because I know the Nvidia drivers work with it.

                   Rick B