Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610058 - x11-drivers/nvidia-drivers with kernel 4.10 - .../work/kernel/nvidia/nv-pat.c:213:14: error: ‘CPU_DOWN_FAILED’ undeclared (first use in this function)
Summary: x11-drivers/nvidia-drivers with kernel 4.10 - .../work/kernel/nvidia/nv-pat.c...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
: 610110 610614 610812 610832 611474 613884 614014 614406 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-20 06:40 UTC by kuzetsa CatSwarm (kuza for short)
Modified: 2017-04-08 07:32 UTC (History)
10 users (show)

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


Attachments
emerge -pqv && emerge --info (and build log) (file_610058.txt,44.36 KB, text/plain)
2017-02-20 06:43 UTC, kuzetsa CatSwarm (kuza for short)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kuzetsa CatSwarm (kuza for short) 2017-02-20 06:40:56 UTC
Tested with sys-kernel/gentoo-sources-4.10.0 during QA prior to starting on the sys-kernel/ck-sources-4.10.0 version bump.

I'm assuming any 4.10.x kernel is affected by this issue, though can't be certain.

Reproducible: Always

Steps to Reproduce:
1. install a 4.10.x kernel
2. set the symlink for the new kernel
3. emerge @module-rebuild
Actual Results:  
emerge failure on the package: x11-drivers/nvidia-drivers-375.39

Expected Results:  
x11-drivers/nvidia-drivers-375.39 video driver should be installed

over in #ck the ck-patches author managed to come up with a fix for building the driver in question.

I did the following to get it working:

1. install 4.10.0 kernel source tree as per usual (and set symlink, etc.)
2. ebuild `equery which =x11-drivers/nvidia-drivers-375.39::gentoo` unpack
3. apply the patch manually
4. ebuild `equery which =x11-drivers/nvidia-drivers-375.39::gentoo` merge
5. file a bug about it, and include a link for the patch

http://ck.kolivas.org/patches/4.0/4.10/nvidia-375.39-linux-4.10.patch
Comment 1 kuzetsa CatSwarm (kuza for short) 2017-02-20 06:43:31 UTC
Created attachment 464394 [details]
emerge -pqv && emerge --info (and build log)

Already included a patch which fixes the issue, but went ahead and provided some logs and info.
Comment 2 Søren Dalby Larsen 2017-02-20 08:21:30 UTC
Just confirming - and thank you for the link to the patch.
Comment 3 Account removed 2017-02-20 09:39:08 UTC
thank you!
the patch also applies fine with x11-drivers/nvidia-drivers-378.13 (epatch_user).
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2017-02-21 05:32:12 UTC
Obviously we have to do this with every new kernel branch release. The answer is always the same.
Comment 5 Brian Evans (RETIRED) gentoo-dev 2017-02-23 17:24:03 UTC
*** Bug 610110 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2017-02-24 08:27:22 UTC
*** Bug 610776 has been marked as a duplicate of this bug. ***
Comment 7 Brian Evans (RETIRED) gentoo-dev 2017-02-24 15:43:46 UTC
*** Bug 610812 has been marked as a duplicate of this bug. ***
Comment 8 Brian Evans (RETIRED) gentoo-dev 2017-02-24 18:18:34 UTC
*** Bug 610832 has been marked as a duplicate of this bug. ***
Comment 9 Michael Palimaka (kensington) gentoo-dev 2017-03-03 23:24:18 UTC
*** Bug 611474 has been marked as a duplicate of this bug. ***
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2017-03-08 04:16:40 UTC
*** Bug 610614 has been marked as a duplicate of this bug. ***
Comment 11 kuzetsa CatSwarm (kuza for short) 2017-03-23 03:18:41 UTC
For anyone who doesn't know:

/etc/portage/patches/x11-drivers/nvidia-drivers-375.39

^ you can just drop the patch in there instead of manually applying the patch.
(Like until upstream releases a new version of the driver to support 4.10)
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2017-03-27 09:45:25 UTC
*** Bug 614014 has been marked as a duplicate of this bug. ***
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2017-03-30 12:38:54 UTC
*** Bug 613884 has been marked as a duplicate of this bug. ***
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-04-08 07:32:15 UTC
*** Bug 614406 has been marked as a duplicate of this bug. ***