Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94953 - Portage doesn't detect that current kernel needs nvidia packag
Summary: Portage doesn't detect that current kernel needs nvidia packag
Status: RESOLVED DUPLICATE of bug 29634
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Other
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-03 14:14 UTC by Prof. Jonathan King
Modified: 2005-06-04 00:39 UTC (History)
0 users

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 Prof. Jonathan King 2005-06-03 14:14:00 UTC
APOLOGY: I'm not knowledgeable about how Portage manages the
packages that build modules.  It seems that certain modules, e.g,

    "nvidia.ko"  and  "shfs.ko"

need to be compiled for a specific version of the kernel.  I.e,
versions 2.6.11.9 and 2.6.11.10 of the kernel will have their own
separate variants of "nvidia.ko".

======
WHAT: I built a new kernel (2.6.11.10), kept /usr/src/linux
pointing to (the source code of) the new kernel, and rebooted in
console mode.

Running

emerge -vp nvidia-kernel nvidia-glx

told me that I already had the nvidia packages installed.  

However, while my OLD kernel did have the nvidia module

/lib/modules/2.6.11.9/video/nvidia.ko

the new kernel /lib/modules/2.6.11.10/ did not.

Of course, the solution was to re-emerge the pkg.  However, a
beginner might reasonably conclude that "well, the reason I'm not
getting a GUI isn't that the nvidia module is missing --I'd
better look elsewhere."



Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.



Expected Results:  
Suggested behavior:  That `emerge' use /usr/src/linux and, if it
doesn't exist, the value of `uname -r', to determine if a
module-pkg has been installed.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 00:30:22 UTC
You need to re-emerge any external kernel modules after kernel upgrade. This is
documented in http://www.gentoo.org/doc/en/kernel-upgrade.xml#doc_chap6
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 00:36:54 UTC
Ugh, stupid bugzilla...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 00:37:24 UTC

*** This bug has been marked as a duplicate of 1477 ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 00:39:05 UTC
*sigh*
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 00:39:19 UTC
...

*** This bug has been marked as a duplicate of 29634 ***