LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-04-2008, 12:09 PM   #1
Zaskar
Member
 
Registered: Feb 2004
Location: NY
Distribution: Debian (Testing)
Posts: 219

Rep: Reputation: 30
Nvidia fails to build on newest Sid Kernel (2.6.25-1)


Just installed the headers for the new 2.6.25-1-AMD64 kernel this morning after having the kernel installed for a few days (headers were only installable today due to the proper kbuild package being missing till then from the repos).

Went to install the Nvidia drivers from their site as usual, and after I hit no to bypass the GCC check it got to 100% then failed. checked they log and it failed to make it.

It worked fine when I went back to the 2.6.24-AMD64 kernel.

Am I potentially missing something needed for the newer kernel to compile? Could it be that im using a newer version of GCC then the kernel was made with? (have always ignored it in the past but never had troubles) and if thats the case, anyone know the command offhand to force the Nvidia installer to use the older version of GCC? I forgot it and cant find that anywhere.

Maybe something is just not right with the new kbuild package? If thats the case I got no problems waiting it out, Sid is a unstable version that lets you get the newest packages. But if its something I am doing wrong or can fix I really would like to know.

Thanks guys
 
Old 05-04-2008, 12:23 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Known bug ... patches available from Nvidia ... or use "nv" drivers and wait.
 
Old 05-04-2008, 12:30 PM   #3
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
i had same problem but for P4 32 bit.....i patched the nvidia legacy driver but it still failed to install
 
Old 05-04-2008, 01:37 PM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Running self compiled 2.6.25.1 with NVIDIA-Linux-x86-173.08-pkg1.run driver here, so try that.
 
Old 05-04-2008, 02:28 PM   #5
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by makuyl View Post
Running self compiled 2.6.25.1 with NVIDIA-Linux-x86-173.08-pkg1.run driver here, so try that.
in my case that driver will not work i use a legacy card
 
Old 05-04-2008, 02:35 PM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Better do what rickh said then, wait with kernel upgrade until it's fixed, or patch the kernel.
http://www.nvnews.net/vbulletin/showthread.php?t=110088

Last edited by makuyl; 05-04-2008 at 02:40 PM.
 
Old 05-04-2008, 06:33 PM   #7
thveillon
Member
 
Registered: Dec 2007
Posts: 59

Rep: Reputation: 16
You can use the latest nvidia beta drivers (173.08 at the time of writting), their compatible and they build fine with the 2.6.25 kernel. Not all cards are supported though, check the compatibility list.
I've been using it for several days without a single problem on a 8600gts.

http://www.nvidia.com/Download/Find.aspx?lang=en-us
 
Old 05-04-2008, 07:44 PM   #8
Zaskar
Member
 
Registered: Feb 2004
Location: NY
Distribution: Debian (Testing)
Posts: 219

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by thveillon View Post
You can use the latest nvidia beta drivers (173.08 at the time of writting), their compatible and they build fine with the 2.6.25 kernel. Not all cards are supported though, check the compatibility list.
I've been using it for several days without a single problem on a 8600gts.

http://www.nvidia.com/Download/Find.aspx?lang=en-us
Weird thats the one I used that failed to install.
I think I read somewhere that it is only fixed for 32 bit kernels.

Last edited by Zaskar; 05-04-2008 at 07:48 PM.
 
Old 05-04-2008, 08:53 PM   #9
thveillon
Member
 
Registered: Dec 2007
Posts: 59

Rep: Reputation: 16
I'm pretty sure it works for 64bit too, but i've read your first post and you need full kernel source, not only the headers.

My kernel is home build but from sid sources, with gcc 4.2.

What does exactly the error message say ? Did you check /var/log/nvidia_installer.log after the failed attempt ?
 
Old 05-04-2008, 10:09 PM   #10
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
I repacked the amd64 deb with the nvidia patches.

Just install it and it will work with module-assistant.

I have used it with built 2.6.25 and 2.6.25-1 kernels.

nvidia-kernel-source_16912-1_amd64
 
Old 05-05-2008, 04:12 PM   #11
thveillon
Member
 
Registered: Dec 2007
Posts: 59

Rep: Reputation: 16
That's a nice move, thanks !
 
Old 05-05-2008, 07:30 PM   #12
Zaskar
Member
 
Registered: Feb 2004
Location: NY
Distribution: Debian (Testing)
Posts: 219

Original Poster
Rep: Reputation: 30
new version of kbuild for the 2.6.25-1 kernel is in the repositories today, it fixed the problem, drivers installed with the Nvidia installer flawlessly.
 
Old 05-05-2008, 08:09 PM   #13
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
I just managed to get the .169 driver (for AMD64), with suggested patch, working on Lenny and a scratch/vanilla 2.6.25.1 kernel. Asus M2NPV-VM, chipset gF6150 & nF430. Got the original installer and the patch in the same dir, did the patch as suggested on the nvnews site and the custom installer worked first time Next step: MythTV (yeah, got the multimedia repo in my sources.list already )
 
  


Reply



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 driver on Sid not working with 2.6.21 kernel jdhore Debian 15 06-04-2007 09:48 AM
Kernel version 2.6.9 fails to build angel_tsankov Linux - Software 1 04-11-2006 04:26 PM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 06:58 PM
nvidia build fails under SuSE 9.1 whomever SUSE / openSUSE 0 01-14-2005 09:01 PM
Got Nvidia driver working! (SID kernel=2.6.6) boutrosboutros Debian 1 06-09-2004 02:31 PM

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

All times are GMT -5. The time now is 05:41 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
Open Source Consulting | Domain Registration