LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Nvidia Kernel Rel. 7667 (https://www.linuxquestions.org/questions/mandriva-30/nvidia-kernel-rel-7667-a-343968/)

webterractive 07-17-2005 08:59 AM

Nvidia Kernel Rel. 7667
 
I have just installed Mandriva LE 2005 from a DVD that I have downloaded, and the install went smooth with just a couple of minor bumps. But after solving most problems I still can't seem to install the NVIDIA Kernel. I have the new Kernel installed and Source-Stripped as per Mandriva Security Advisory. When I run the installer it starts building the kernel and all but then after 100% I get the following:

ERROR: Unable to build the NVIDIA kernel module.

And after following the log these seem to be the errors:

make[4]: *** [/root/tmp/selfgz10332/NVIDIA-Linux-x86-1.0-7667-pkg1/usr/src/n
v/nv.o] Error 1
make[3]: *** [_module_/root/tmp/selfgz10332/NVIDIA-Linux-x86-1.0-7667-pkg1/u
sr/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

I have read that some people seem to have problems getting the kernel to compile.

Aaack 07-17-2005 11:17 AM

Hello!!

You should install the package Kernel Headers too then.
As far as I know the Kernel Stripped is the source with out the headers which are necessary to build the nvidia kernel module.

Hope you find this useful

Good luck!

webterractive 07-17-2005 11:34 AM

Thanks
 
Thanks will do and see if that works. I wonder what other issues there are that I don't know of yet, l0l it took me an hour to get my old Lexmark Z11 to work.

webterractive 07-17-2005 11:35 AM

Wait...
 
I think i might have that package installed already because it seems to startup during boot time when i take a look at the drakxservices its kheader right?

webterractive 07-17-2005 12:07 PM

No Dice
 
No no luck it seems like its being blocked from finishing, either the kernel is not written property or something is up. I installed the kernel before just a week ago with Mandrake 10.1 kernel 2.6.8.1-25 as well as the kernel source and it worked for me. I don't get it?? I was reading on the write permissions that Nvidia uses and I am starting to wonder if they have changed on Mandriva LE 2005 since 10.1 because Nvidia wouldn't have mentioned it if it didn't matter. I have installed the kernel countless times since it was @ the 5000s release. The error messages that I have encountered before have been about the kernel sources not matching, or that its conflicting with rivafb module, but never this one, it just says that it can't finish building the module. With the other messages it never reaches 100% completion but this message comes after it has completed 100%.

Aaack 07-17-2005 02:59 PM

Have you tried
"sh NVIDIA-blablabla.run --kernel-source-path=/the/route/to/the/source"?

I had ENORMOUS problems with the nvidia drivers, speficially the 7667 and the 7664, (see the Kernel Ooops thread", the only way I found to make my board working is to downgrade the driver to the 7174, wich run flawlessly.

Wich nvidia board do you have?

Regards.

webterractive 07-18-2005 09:56 AM

Install success but does it work?
 
I finally got the drivers installed, I used the kernel-source full package instead of the stripped version, and it worked. But I am not sure it works propertly I have tested some screen savers and they seem to go really slow. The logo does appear at boot time but just for a second, unlike the 3 seconds like before.

Aaack 07-18-2005 10:23 AM

Did you edited the /etc/X11/xorg.conf file?
Basically, add this line in the Section "Module":

Load "glx"

and in the section "Device"

replace this line:

Driver "nv"

for this one:

Driver "nvidia"

And then restart X or your pc, as you wish

there's a gazillon options for you to add to this file, you have to read the readme (ftp://download.nvidia.com/XFree86/Li...667/README.txt) to check it all.

Good luck!

webterractive 07-18-2005 10:40 AM

It works
 
It works, I know how the driver works, everything was changed, I just re-did my X and then installed euphoria and it works well enough. If the it didn't work then it would be very sluggish like before, now it moves gracefully..... Thanks for the help and ideas.

It seems installing from the DVD/CDs is much better then just using my method... using the mini-install of 10.1 and urpming from there but somehow things always seem to work that way, isn't that curious?

PIII 500mhz Katamai
320MB SDRAM
80GB HDD 40/Driva 40/Win2000
20GB HDD (Rested) 10/Drake 10.1 10/Ubuntu 5.04
30 GB HDD (Rested) 30/WinXP Pro. SP2
64MB GF4
DVDROM && Shitty USB 1.1, I have found no point in getting a 2.0 card cause the max bus speed on this mobo is 33mhz its an Asus P2B-F Rev1.0 Bios 1013a

Aaack 07-18-2005 11:13 AM

can you tell me your way to install it step by step?
I've a HUGE problem with the sound and I would like to solve it, perhaps if I go back to MDK 10.0 (the last one it run flawlessly) and then upgrade to LE2005 it'll recognize my sound card... hummm...

webterractive 07-18-2005 06:23 PM

What is your soundcard?
 
Mine is Creative Soundblaster Audigy MP3+ and it was recognized.

As for installing the Nvidia Module I just downloaded the new kernel 2.6.11-12 which has some fixes and the kernel-source as well not the stripped 18MB version but the full 43MB version. I did this from a failsafe after booting failsafe. I just used urpmi to add on the repository.

1. Boot to failsafe
2. Add urpmi repositorie with urpmi, hint* add the updates repository it will be faster cause thats all you need.
3. wget ftp://download.nvidia.com/XFree86/Li...-7667-pkg1.run
4. Install your new kernel and kernel-source and then reboot
5. Boot Linux your new kernel will be installed by default and wait to get to the login screen.
6. @ login press Ctrl+Alt+F1 and login as a root
7. Switch to runlevel 3 (init 3)
8. cd to the directory your nvidia driver is in and sh Nxxx-xxx-xxx-xxx.run -a -n
9. Follow the instructions
10. Just type in drakx11 and re-choose your video card.
11. vi /etc/X11/xorg.conf and see if it changed nv to nvidia.
12. vi /etc/modprobe.preload add nvidia write and then save
13. Reboot

A good way to know if it works just lsmod and you should see nvidia the logo will show up very quick. But you will notice that its kind of sluggish at times with glx screensavers, unlike in 10.1. I think it has something to do with the new kernel.

Aaack 07-19-2005 03:43 AM

I'm sorry, I guess I expressed myself in a confusing way.
I was asking about the migration from Mandrake 10.1 to Mandriva LE...
Thank to the gods I've already resolved my problem with the NVIdia drivers.
Now I'm trying to solve the sound problem.
Life ins't that easy for me =)

webterractive 07-19-2005 10:43 AM

To migrate from 10.1 to LE2005 you just need to install the minimalist system you can from 10.1 and then add your main package repositories and updates at the same time so you install the updated versions once and for all, and then boot and urpmi your way to LE2005. It takes me about 1:40min on ADSL.


All times are GMT -5. The time now is 11:22 AM.