Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-30-03, 03:21 PM   #1
jmz316
Registered User
 
Join Date: Apr 2003
Posts: 6
Unhappy insmod nvidia FAILED

The nvidia drivers installed with out problems, but when I try to " insmod nvidia " it gives errors and wont load. It mentions it might be caused by not having something called GPL or something similar. Im unable to use the driver without being able to load the module, please help.

My System Setup:

AMD XP 2100
512MB DDR
GeForce 3 Ti200 64MB w/TV out
Gentoo Linux
kernel 4.4.20
Newest XFree86 4. something.
jmz316 is offline   Reply With Quote
Old 04-30-03, 05:10 PM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

The message referencing the GPL doesn't have anything to do with why it's failing. That's just a warning that the kernel developers won't act on any bugreports that were generated with your kernel, since they don't have access to all the source code.

After you do /sbin/modprobe nvidia, do an /sbin/lsmod and look for "nvidia" to be listed. If it isn't, then paste the *full* output of the /sbin/modprobe nvidia command.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-30-03, 08:18 PM   #3
jmz316
Registered User
 
Join Date: Apr 2003
Posts: 6
Default Full Error Message

# modprobe nvidia

/lib/modules/2.4.20-gentoo-r2/video/nvidia.o: unresolved symbol _mmx_memcpy
/lib/modules/2.4.20-gentoo-r2/video/nvidia.o:

Hint: You are trying to load a module without a GPL compatible license and it has unresolved symbols. Contact the module supplier for assistance, only they can help you.

/lib/modules/2.4.20-gentoo-r2/video/nvidia.o: insmod /lib/modules/2.4.20-gentoo-r2/video/nvidia.o: failed

/lib/modules/2.4.20-gentoo-r2/video/nvidia.o: insmod nvidia failed
jmz316 is offline   Reply With Quote
Old 04-30-03, 10:16 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

When you ran the installer, were the kernel sources configured the same as they were when this kernel got built? (by "this" kernel, I mean 2.4.20-gentoo-r2)

It looks like /lib/modules/2.4.20-gentoo-r2/build was set up for an MMX processor, but the kernel you're running was built without that support.

Try to find Gentoo's 2.4.20-gentoo-r2 .config file, and see if you can use that. Alternatively, rebuild the Gentoo kernel (or a different version of it), reboot into the new kernel, and try the installer again (it'll recompile the kernel glue code).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-01-03, 03:35 AM   #5
jmz316
Registered User
 
Join Date: Apr 2003
Posts: 6
Smile Found a Work around.

Switched to Slackware 9.0 and the drivers installed without any problems.

Thanks for all the help. If someone finds away to fix this problem in gentoo please post the fix. I might want to switch back to gentoo in the future.
jmz316 is offline   Reply With Quote
Old 05-01-03, 11:29 AM   #6
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Quote:
Thanks for all the help. If someone finds away to fix this problem in gentoo please post the fix.
You need to make sure that your kernel sources are configured to match your running kernel. Usually, that just means making sure you have the same kernel and kernel source packages.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 05-01-03, 07:47 PM   #7
jmz316
Registered User
 
Join Date: Apr 2003
Posts: 6
Smile Im back

I switched back to gentoo, gentoo is easier to upgrade and keep updated. I only have the source from 1 kernel on the machine and I compiled the kernel from that source. I'm going to try again when I get to that point. What I dont understand is that when I used the same kernel in slackware, and it worked with out any trouble. I used all the same methodes to compile and install it.

Please keep sending any new suggestions you may have.

Thanks
jmz316 is offline   Reply With Quote
Old 05-01-03, 08:35 PM   #8
Soul-Crusher
Leadtek 6800GT
 
Join Date: Aug 2002
Location: Albuquerque, NM, USA
Posts: 195
Send a message via ICQ to Soul-Crusher Send a message via AIM to Soul-Crusher Send a message via Yahoo to Soul-Crusher
Default

This is somewhat off-topic, but you may want to try to emerge gaming-sources to get Gentoo's gaming kernel. It's chock full of patches that optimize scheduling and latency for games and can make the user interface more responsive when the system is under heavy load.

Sounds like a kernel recompilation would do you good anyway.
__________________
"Floating in a dream-like state, I am the emporer of a parallel universe." --Arch Enemy
My xorg.conf file
Soul-Crusher is offline   Reply With Quote

Old 05-02-03, 12:37 AM   #9
jmz316
Registered User
 
Join Date: Apr 2003
Posts: 6
Default Thanks

Thanks for informing me about the game-sources. Im a big gamer and sometimes I notice that linux has trouble playing highly demanding games. Is this a completely different kernel or is it just a specially configured version of the same everyday kernel. I use winex3 to run my large collection of windows games, since windows games are so easy to come by, but I can barely get any of the games to work. I usually get invalid windows size or something similar. I had GTA3 working in linux with winex3 1 time, and that was it, it never worked again, even after several reinstalls and a system wipe out. Too bad, because it seemed to play more smoothly in linux than in windows. I have tried several other games such as, "Mech3 and 4" plus "Messiah" and tons of other well know games. The only 2 that work almost all of the time are Starcraft and WarCraft 3, but the mouse pointer is off by almost a centimeter, so you have to indirectly click on your workers. I know this is off subject but if any one know why I get "Window size errors" please post a solution.

Thanks,
jmz316 is offline   Reply With Quote
Old 05-02-03, 01:58 AM   #10
Soul-Crusher
Leadtek 6800GT
 
Join Date: Aug 2002
Location: Albuquerque, NM, USA
Posts: 195
Send a message via ICQ to Soul-Crusher Send a message via AIM to Soul-Crusher Send a message via Yahoo to Soul-Crusher
Default

Wine/WineX is always flaky with games, I don't think a new kernel is going to help you with that. However, native ports such as UT2003 and Neverwinter Nights may run faster. I've noticed a boost in my minimum framerate in UT2003, but YMMV.

Try doing as Andy suggested and getting emerge gentoo-sources-2.4.20-r2, and link or move the source tree to /usr/src/linux instead of 2.4.20-gentoo-r2. If that fails, a recompilation is likely in order. After your recompile, run the nVidia installer again and your problems should be solved.
__________________
"Floating in a dream-like state, I am the emporer of a parallel universe." --Arch Enemy
My xorg.conf file
Soul-Crusher is offline   Reply With Quote
Old 05-03-03, 08:46 PM   #11
jmz316
Registered User
 
Join Date: Apr 2003
Posts: 6
Smile Thanks

Thanks for all the Help everyone. I think it did envolve having the wrong kernel stuff. /boot wasnt mounting so it was using the wrong one. I mounted /boot and now it works.

Now that NVIDIA works I have another problem. I can get into X ok and the NVIDIA stuff works, and I can ALT + F1-F6 to get into another terminal, but when I try to ALT+F7 back into X while its running, the screen scambles and freezes, I cant even ALT+F1-F6. The only command that works is CTRL+ALT+DELETE, that properly executes a shutdown command, and at a certain point during the shutdown X closes and Im back at the terminal again but its too late to stop the shutdown. It happens everytime too. Is there anything that anyone can tell me about this problem. It only seems to happen with the machine using NVIDIA, so I think it might be NVIDIA related.

Thanks,

Last edited by jmz316; 05-03-03 at 08:53 PM.
jmz316 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
NVIDIA kernel not loading on boot-up, but insmod loads it Kyle NVIDIA Linux 3 09-10-02 12:01 AM
rh7.3 and nvidia vcrispo NVIDIA Linux 11 07-31-02 08:57 PM

All times are GMT -5. The time now is 11:04 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.