LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Nvidia 7174 install issue (https://www.linuxquestions.org/questions/slackware-14/nvidia-7174-install-issue-308494/)

novice26 04-01-2005 01:19 AM

Nvidia 7174 install issue
 
i just did a fresh install of slackware 10.1. right after i upgraded the kernel to 2.6.11.6 using this guide http://www.linuxquestions.org/questi...icle&artid=408
just an over of the what the process was:
make mrproper
make menuconfig - changed processor type, added reiserfs, and added ALSA
make -j5 bzImage
make -j5 modules
make modules_install

mv System.map /boot/System.map-2.6.11.6
mv .config /boot/config-2.6.11.6
mv /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.11.6
mv /boot/vmlinuz /boot/vmlinuz-old
configured lilo
run lilo

the kernel process went smooth with no erros and i am able to be off it. next was the nvidia install 7174. run the install and in the end it said unable to build nvidia kernel.

i checked the /var/log/nvidia-installer.log and this was at the end:
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.11.6/scripts/Makefile.modpost
/usr/src/linux-26.11.6/scripts/Makefile.modpost:38: .config: No such file or directory
make[4] *** No rule to make target '.config' . Stop.
make[3] *** [modules] 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

this was what i done so far to try to resolve this:
recompiled the kernel x3 times
reinstalled with defualt settings 2x
reinstalled with selecting certain programs

btw, during the kernel configuration under character device for AGPGART i couldn't take it out the only two options were build-in or module same results in the help.

your help very appreciated thanks!

bathory 04-01-2005 01:54 AM

Configure your kernel for AGP support (e.g. CONFIG_AGP=m), recompile it and boot it.
Then before running the nvidia-installer do a "modprobe -q agpgart".
I had similar problems and solved them this way, following the suggestions in nvnews

Good luck

novice26 04-01-2005 02:17 AM

i'll go ahead and try that and will let you know. thanks!

Linux~Powered 04-01-2005 02:35 AM

I'm no expert, but this is what your error is telling you...

Quote:

make -rR -f /usr/src/linux-2.6.11.6/scripts/Makefile.modpost
/usr/src/linux-26.11.6/scripts/Makefile.modpost:38: .config: No such file or directory
It's saying that it can't find "/usr/src/linux-26.11.6/scripts/*.config:No such file or directory". It should be /usr/src/linux-2.6.11.6/*.

acidjuice 04-01-2005 03:27 AM

hi novice,

i wrote the guide you used and there's a small problem that can happen (however i can't modify the guide anymore). there are two solutions:

solution 1

instead of
Code:

mv System.map /boot/System.map-2.6.11.6
mv .config /boot/config-2.6.11.6
mv /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.11.6
mv /boot/vmlinuz /boot/vmlinuz-old

use
Code:

cp System.map /boot/System.map-2.6.11.6
cp .config /boot/config-2.6.11.6
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.11.6
cp /boot/vmlinuz /boot/vmlinuz-old

solution 2

modify Makefile.modpost in the error line to make it point at config-2.6.11.6 instead of .config. i'd rather go with solution 1.

cheers,

aj.

novice26 04-01-2005 03:56 AM

acidjuice, i just gave it a try right now i think it worked my just right off reboot display seems better but during nvidia install shows up a conflict with a rivfb in my kernel so i need to recompile again. but will let you know. thanks!

excellent guide by the way~!

acidjuice 04-01-2005 04:18 AM

yes rivafb module needs to be not selected, however personally never had problems with it even when compiled.

cheers,

aj.

novice26 04-01-2005 04:53 AM

excellent that did the trick acidjuice thanks again!

acidjuice 04-01-2005 06:05 AM

you're welcome,

you might as well change your distro in your CP now :)

DaWallace 04-01-2005 07:18 AM

it's only a problem if the module is loaded, or the code is statically built into the kernel.

and seeing the number of people not notice that the driver works even with the module installed, but not loaded and that they can just hit ok and the driver will build and load fine, it appears that a large number of linux users cannot read.

you may or may not need to recompile again.


All times are GMT -5. The time now is 12:00 AM.