Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114757 - Can't modprobe nvidia (Unknown symbol copy_from_user, strncpy_from_user)
Summary: Can't modprobe nvidia (Unknown symbol copy_from_user, strncpy_from_user)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 08:03 UTC by Mike Hammill
Modified: 2005-12-19 07:42 UTC (History)
0 users

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


Attachments
emerge.log showing nvidia packages being emerged (emerge_nvidia.log,3.52 KB, text/plain)
2005-12-08 02:13 UTC, Mike Hammill
Details
full-detailed emerge plus extra info (del_me,34.23 KB, text/plain)
2005-12-16 08:48 UTC, Mike Hammill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hammill 2005-12-07 08:03:40 UTC
Newly installed system: Dell GX240 with nVidia GeForece3 Ti 200 hooked to a Dell
2000FP.  Installed, as usual, upgrade gcc to 3.4.4, removed old gcc.  Rebuilt
kernel and all modules.  Then emerged for the first time ever nvidia-{kernel,
glx, settings}.  Following <http://www.gentoo.org/doc/en/nvidia-guide.xml> try
modprobe nvidia, but get "FATAL: Error inserting nvidia
(/lib/modules/2.6.14-gentoo-r2/video/nvidia.ko): Unknown symbol in module, or
unknown parameter (see dmesg).  dmesg gives:
nvidia: disagrees about version of symbol copy_from_user
nvidia: Unknown symbol copy_from_user
nvidia: disagrees about version of symbol strncpy_from_user
nvidia: Unknown symbol strncpy_from_user

Reproducible: Always
Steps to Reproduce:
1.modprobe nvidia


Actual Results:  
I get the error message described above under "details."

Expected Results:  
Loaded nvidia module

Looking through the numerous bug reports on nvidia, the closest hits seemed to
be Bug 95197 and 70716.

I can use module "nv" in xorg.conf instead, but I only get a small portion of my
entire screen.  And fonts don't look as good as on the most recent gentoo
2005.1-r1 livecd (which handles this display perfectly).

Going on a tip on one of the other bug reports, I tried:
ls -la /lib/modules/2.6.14-gentoo-r2/kernel/drivers/video
it gave only a directory called "backlight".  Is this a case of the driver not
ending up in the right location?

Any work arounds you can provide would be greatly appreciated.  This was an old
RH9 machine which I use everyday at work.  It would be great to move on to a
more up-and-with-it :-) Gentoo environment!

Best regards
/Mike
Comment 1 Mike Hammill 2005-12-07 08:35:23 UTC
(In reply to comment #0)

> I can use module "nv" in xorg.conf instead, but I only get a small portion of my
> entire screen.  And fonts don't look as good as on the most recent gentoo
> 2005.1-r1 livecd (which handles this display perfectly).

I added the correct resolutions to the wrong file.  Now that I fixed that, I
have the whole screen to work with.  That much is better, anyway.
Comment 2 Kris Kersey (RETIRED) gentoo-dev 2005-12-07 13:44:50 UTC
Can you get a log from nvidia-kernel emerge please?
Comment 3 Mike Hammill 2005-12-08 02:13:03 UTC
Created attachment 74286 [details]
emerge.log showing nvidia packages being emerged

This is an excerpt from /var/log/emerge.log.  These logs don't contain all the
messages received during the emerge, so if you want me to pipe the emerge out
to a file (emerge nvidia-glx > emerge_out) let me know.
Comment 4 Mike Hammill 2005-12-16 08:48:45 UTC
Created attachment 74889 [details]
full-detailed emerge plus extra info

This shows the problem in full with all the details of the emerge, plus emerge
--info, lsmod, etc.
Comment 5 Mike Hammill 2005-12-19 07:42:33 UTC
I now suspect that my original bug is a "user error".  However, you might want to read the end of this note which contains another bug.  I guess what happened was that I recompiled the kernel and not the nvidia stuff but didn't realize that.  In any event, I can load the module now.

It's important to note that it still didn't work for me until I found the thread:
http://forums.gentoo.org/viewtopic-t-394817-highlight-nvidia+6629.html

I had to do 
/sbin/NVmakedevices.sh

before it would work.  Now all seems good :-)