Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247559 - vanilla-sources 2.6.28 and nvidia-drivers 177.80 (and 173.14.09) fail to compile + workaround
Summary: vanilla-sources 2.6.28 and nvidia-drivers 177.80 (and 173.14.09) fail to comp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Ricardo Mendoza (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 252467
  Show dependency tree
 
Reported: 2008-11-19 10:34 UTC by Jan K
Modified: 2009-03-18 17:24 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan K 2008-11-19 10:34:58 UTC
All packags unstable yet ;-)
If you want to complke newest kernel as well as nvidia-drivers, you'd need to do 2 things:

1) provide some files needed to compile the module
cd /lib/modules/2.6.28?????/source/include/asm-x86 # replace ????? with Your rc-version number
cp -r ../../arch/x86/include/asm/* .

2) apply patch for the source.
Patch is available at: http://www.nvnews.net/vbulletin/attachment.php?s=5c54d7cd97729af49d4f9664a280fac3&attachmentid=33772&d=1225130342
To apply it, simply download to /usr/portage/x11-drivers/nvidia-drivers/files/, modify the ebuild adding:

--- nvidia-drivers-177.80.ebuild_old	2008-11-19 11:33:15.000000000 +0100
+++ nvidia-drivers-177.80.ebuild	2008-11-19 11:14:05.000000000 +0100
@@ -203,6 +203,9 @@
 	# Use some more sensible gl headers and make way for new glext.h
 	epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch
 
+        ### Patch for kernel 2.6.28
+        epatch "${FILESDIR}"/NVIDIA_kernel-177.80-2990799.diff
+
 	# allow on board sensors to work with lm_sensors
 	if use kernel_linux; then
 		epatch "${FILESDIR}"/NVIDIA_i2c-hwmon.patch


Reproducible: Always

Steps to Reproduce:
1. symlink & compile vanilla 2.6.28
2. try emergeing nvidia-drivers
Comment 1 Dror Levin (RETIRED) gentoo-dev 2008-11-24 21:13:44 UTC
I wouldn't call it a solution, I would call it a workaround. A solution is when NVIDIA releases a version that works with the new kernel.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2008-12-12 16:49:39 UTC
Gentoo does not support release candidate kernels with the nvidia-drivers package.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-12-18 20:57:35 UTC
As I previously stated, Gentoo doesn't support release candidate kernels.
Comment 4 Mike Auty (RETIRED) gentoo-dev 2008-12-25 12:39:46 UTC
This affects the 2.6.28 stable release, reopening and adding to 2.6.28-stable tracker.
Comment 5 Mike Auty (RETIRED) gentoo-dev 2008-12-25 12:43:05 UTC
This also affects the current stable nvidia-drivers ebuild (173.14.09).
Comment 6 Francois Chenier 2009-01-02 13:24:52 UTC
(In reply to comment #1)
> I wouldn't call it a solution, I would call it a workaround. A solution is when
> NVIDIA releases a version that works with the new kernel.
> 

This driver is available. nVidia has released v.180.16 (beta). Works fine on x86_64.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2009-01-20 14:58:58 UTC
bump.. planning to mark 2.6.28 stable in the next couple of days, would be nice to see this fixed in the stable tree
Comment 8 Mike Auty (RETIRED) gentoo-dev 2009-01-20 18:45:35 UTC
nvidia-drivers-180.22 are in the tree (~arch), but there are some bugs against it (relating to freezes and firefox), so it might still be best to fix this version to compile properly...
Comment 9 Markus 2009-03-18 16:02:41 UTC
x11-drivers/nvidia-drivers-180.29 is stable and there was no issue with the gentoo-sources. (I run the 2.8.28 gentoo sources as they hit portage and run the nvidia-drivers.)
vanilla is not supported, gentoo-sources is though.
Perhaps remove blocker for bug 252467 ?!
Comment 10 Ricardo Mendoza (RETIRED) gentoo-dev 2009-03-18 17:24:36 UTC
True, don't know why this is still open.