compile error for kernel 2.6.11.7 on slack 10.1 nvidia trouble
its the first time i compile a new kernel.
long story short. i browsed through the kernel options, i took my time. basically, the kernel loads fine. some fatal erros... mostly modules, i don't really care about those. when it comes to my nvidia. which i remembered to apply in the kernel. i install the drivers again on this kernel, but i get an error, and i can't install it. its a nobrainer here, either it will work some time in the future, or am doing a big mistake. i followed the guide from this site on kernel 2.6.10 http://www.linuxquestions.org/questi...icle&artid=408 i did NOT do the optional steps. was that it??? i obviosly did not use pat's 2.6.10 config file... well, if anybody has had a similar problem, it be good to know. for the time being, im gonna use good ol kernel 2.4.29 i guess... |
I suspect you enabled the kernel's nvidia driver in the kernel config -- you want to either leave this out, or compile it as a module <M> not <*>.
The nvidia driver can't 'overpower' the kernel's; meaning you can't have both drivers loaded at once. If you compile the kernel's version in, you won't be able to install nvidia's proprietary binary. --Shade PS - those fatal errors at boot are because Slackware's boot scripts are referring to modules to load which no longer exist since the recompile -- you can comment out the references to them in /etc/rc.d/rc.modules |
Quote:
|
guys, you are of great help, my nvidia drivers work like a charm... but i had some trouble
i forgot to load ALSA. i just put N on it! dammn... i want to know if i can reconfigure the kernel from where i left it, or do i need to start all over again... although, i wouldn't mind doing it, i never knew configuring a kernel would be so much fun, my computer feels faster... a 2.6 kernel is way better than 2.4 any suggestions so i don't do it all over again, its still time consuming. |
actually i recompiled everything, but i can't get alsa to work as a module...
if i run alsaconf it states that it cannot find my pci card.... i wonder if thats another bad mistake with the kernel config... im tired, i just recompiled like 3 times. :cry: if anyone has any good ideas, please answer, i don't like a silent computer without music... |
When you compile the kernel, alsa will be fine as a module. What you are probably lacking is the driver for your soundcard. This can be a module also, but you have to find it and select it.
When you enter your build tree, just run menuconfig or xconfig (whatever you prefer), make your new selections, save and exit. Just type make. It will only build your new stuff. This is assuming you did not do a "make clean" after the last compile. Delete the kernel that does not have sound, along with that System Map, and the module directory. Do not just let it overwrite the old stuff. You won't have to change lilo if you use the same naming scheme, but re-run lilo anyway when you are done. The 2.6 kernel makes a recompile a lot easier. |
one more question, do i delete the old kernel image and system.map, before or after i run make???
|
kernel compile error for nvidia
I tried to recompile the new 2.6.11-4.14 fedora 3 kernel for nvidia and it fail. what a surprised, nvidia produces such solid drivers as well as providing magnificent support.
now that i got that out of me, here is a copy of tail of the log file: /tmp/selfgz4319/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function `_get_phys_address': /tmp/selfgz4319/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2509: error: request for member `pgd' in something not a structure or union /tmp/selfgz4319/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function `nv_agp_init': /tmp/selfgz4319/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: warning : `inter_module_put' is deprecated (declared at include/linux/module.h:581) make[3]: *** [/tmp/selfgz4319/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o ] Error 1 make[2]: *** [_module_/tmp/selfgz4319/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src /nv] 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 |
You should try a newer version of the driver, latest is 7174: http://download.nvidia.com/XFree86/L...-7174-pkg1.run (read the license before :P http://www.nvidia.com/object/nv_swlicense.html)
|
Quote:
'vmlinuz-2.6.10-b1' is my first build of the kernel, 'vmlinuz-2.6.10-b2' is my second build etc. Quote:
|
im in real doubt here...
im running slackware 2.4 and 2.6 i had alsa on 2.4 loaded as a module but from a fresh slackware install... so, if i were to just uninstall the package, and install it again, will that work? or should i uninstall the alsa package and download it directly from alsa, then compile it from source on my new kernel? |
Quote:
|
i get this freakin error when i do a make install on the alsa drivers.... is there an easier way??? how did you guys install alsa on a 2.6 kernel?
cp: cannot stat `snd-hwdep.ko': No such file or directory cp: cannot stat `snd-page-alloc.ko': No such file or directory cp: cannot stat `snd-pcm.ko': No such file or directory cp: cannot stat `snd-rawmidi.ko': No such file or directory cp: cannot stat `snd-rtctimer.ko': No such file or directory cp: cannot stat `snd-timer.ko': No such file or directory cp: cannot stat `snd.ko': No such file or directory |
Which version did you download? 1.08?
I didn't have any problems with alsa compiling. Did you do make install as a root? |
yes, i did install as root
but... maybe im not doing it in the right order, the alsa wiki is down :( . anyways, in which order do i do it? the libraries first? the drivers first? in what dir should i do it? i extracted the files to the /opt directory. also, i think i might of screwed up the kernel because when it came to the sound settings, i just put a big N there... i didn't want the kernel to load the modules. but, im guessing i turned off the soundcore. would that be it? another recompile (i´ve had like 5, im used to it...) any help would be appreciated, im not that experienced in linux. |
All times are GMT -5. The time now is 03:41 PM. |