LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-17-2005, 08:59 AM   #1
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
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.
 
Old 07-17-2005, 11:17 AM   #2
Aaack
Member
 
Registered: Jul 2005
Location: Buenos Aires, Argentina
Distribution: Ubuntu Intrepid Ibex
Posts: 36

Rep: Reputation: 15
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!
 
Old 07-17-2005, 11:34 AM   #3
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Original Poster
Rep: Reputation: 30
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.
 
Old 07-17-2005, 11:35 AM   #4
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Original Poster
Rep: Reputation: 30
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?
 
Old 07-17-2005, 12:07 PM   #5
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Original Poster
Rep: Reputation: 30
Question 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%.

Last edited by webterractive; 07-17-2005 at 12:11 PM.
 
Old 07-17-2005, 02:59 PM   #6
Aaack
Member
 
Registered: Jul 2005
Location: Buenos Aires, Argentina
Distribution: Ubuntu Intrepid Ibex
Posts: 36

Rep: Reputation: 15
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.
 
Old 07-18-2005, 09:56 AM   #7
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Original Poster
Rep: Reputation: 30
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.
 
Old 07-18-2005, 10:23 AM   #8
Aaack
Member
 
Registered: Jul 2005
Location: Buenos Aires, Argentina
Distribution: Ubuntu Intrepid Ibex
Posts: 36

Rep: Reputation: 15
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!
 
Old 07-18-2005, 10:40 AM   #9
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Original Poster
Rep: Reputation: 30
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

Last edited by webterractive; 07-18-2005 at 10:45 AM.
 
Old 07-18-2005, 11:13 AM   #10
Aaack
Member
 
Registered: Jul 2005
Location: Buenos Aires, Argentina
Distribution: Ubuntu Intrepid Ibex
Posts: 36

Rep: Reputation: 15
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...
 
Old 07-18-2005, 06:23 PM   #11
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Original Poster
Rep: Reputation: 30
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.
 
Old 07-19-2005, 03:43 AM   #12
Aaack
Member
 
Registered: Jul 2005
Location: Buenos Aires, Argentina
Distribution: Ubuntu Intrepid Ibex
Posts: 36

Rep: Reputation: 15
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 =)
 
Old 07-19-2005, 10:43 AM   #13
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA (NVIDIA-Linux-x86-1.0-7667-pkg1.run) undef00 Linux - Hardware 8 08-21-2005 02:35 PM
nVidia 7667 Installation sasreg Linux - Newbie 6 08-03-2005 02:31 AM
Cant get Nvidia 7667 drivers to install! agentdunken SUSE / openSUSE 1 07-29-2005 08:08 PM
Nvidia 1.0-7667 SuSE 9.3 Problem Lord_Azeroth Linux - Hardware 2 07-29-2005 06:19 AM
Suse 9.3 nvidia-7667 install on dell insiron 8100 GeForce2 Go tkmbe SUSE / openSUSE 1 07-27-2005 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration