Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329597 - x11-drivers/nvidia-drivers can not parse kernel version if CONFIG_LOCALVERSION_AUTO is set
Summary: x11-drivers/nvidia-drivers can not parse kernel version if CONFIG_LOCALVERSIO...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on: 323717
Blocks:
  Show dependency tree
 
Reported: 2010-07-23 16:07 UTC by Justus Ranvier
Modified: 2012-07-22 20:43 UTC (History)
8 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 Justus Ranvier 2010-07-23 16:07:37 UTC
I use a git to manage my kernel sources and have CONFIG_LOCALVERSION_AUTO set.

Previously nvidia-drivers had no problem finding the correct version and installing the module to the correct location but now I receive the following error:

 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /var/tmp/kernel
 * Found sources for kernel version:
 *     2.6.35-rc6Error: kernelrelease not valid - run 'make prepare' to update it

The module compiles correctly and installs but not in the correct directory, requiring manual intervention to move the module to the correct location.

Reproducible: Always

Actual Results:  
Nvidia kernel module is installed in /lib/modules/2.6.35-rc6Error:/

Expected Results:  
Nvidia kernel module should be installed in /lib/modules/2.6.35-rc6-00790-g967a694/
Comment 1 Justus Ranvier 2010-07-23 16:10:24 UTC
I forgot to mention that if I set CONFIG_LOCALVERSION_AUTO to "no" then the installation proceeds without error, but the module obviously gets installed to /lib/modules/2.6.35-rc6 instead of /lib/modules/2.6.35-rc6-00790-g967a694/


Comment 2 Gef 2010-07-23 16:19:30 UTC
As pointed out in the Zen-sources thread on fgo [1], this bug has been reported in the kernel development ml [2].

[1]http://lkml.org/lkml/2010/7/16/290
[2]http://forums.gentoo.org/viewtopic-p-6346454.html#6346454
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-26 01:01:19 UTC
So this would be true for:
sys-kernel/zen-sources
sys-kernel/git-sources
?
Comment 4 Alexander Stein 2010-08-03 08:12:37 UTC
This should be fixed by the bug #323717
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2012-07-22 20:43:08 UTC
Well then I'll mark this as fixed.