View previous topic :: View next topic |
Author |
Message |
coby2k n00b
Joined: 07 Apr 2003 Posts: 63 Location: Oldenburg, Germany
|
Posted: Thu Apr 24, 2003 4:58 pm Post subject: nvidia modprobe driver error |
|
|
hya,
i installed the emerge nvidia stuff
but when i want to modprobe the nvidia driver, this happens, i have an amd xp 1800+.
anyone got a clue?
Code: |
root@tecca thomas # 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
|
|
|
Back to top |
|
|
skwelch n00b
Joined: 13 Dec 2002 Posts: 38 Location: NJ, USA
|
Posted: Sat Apr 26, 2003 3:02 am Post subject: |
|
|
One of the guys at work got this, mrproper is your friend. A bunch of posts say to mess with kernel config files or USE flags, but doing a "make mrproper" under /usr/src/linux before the normal compile sequence fixed it up. |
|
Back to top |
|
|
Papapishu Tux's lil' helper
Joined: 18 Mar 2003 Posts: 129 Location: ((void*)NULL)
|
Posted: Sat Apr 26, 2003 2:32 pm Post subject: |
|
|
When I tried make mrproper, it removed my entire kernel config for some reason, which I had to reconfigure manualy.
I do have a backup of my old kernel.
Is there a way to extract a kernel config file from a kernel?
I read in the Makefile that mrproper was supposed to remove certain files.
Do you know which files and how that affects the problem? |
|
Back to top |
|
|
handsomepete Guru
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Sat Apr 26, 2003 2:59 pm Post subject: |
|
|
Before make mrproper copy your .config in your kernel directory to somewhere safe. Then copy it back when mrproper's done. |
|
Back to top |
|
|
Papapishu Tux's lil' helper
Joined: 18 Mar 2003 Posts: 129 Location: ((void*)NULL)
|
Posted: Sat Apr 26, 2003 3:56 pm Post subject: |
|
|
So:
I've emerged win4lin sources
I go into /usr/src/linux (after repointing the symlink to win4lin)
I type make menuconfig to make sure the configuration is correct, if it's not I load my backup, (and also add support for window apps), I exit, it asks if I want to save, I say Yes.
I back up .config to my homedir
I run make mrproper
I copy .config back to where it was
I run make dep
When I do this, make dep exists after a few lines with an error (nothing to do for dep).
If I don't copy .config back, it can continue to compile, but on the other hand, that must mean all the settings are wrong i that compile...
I can't get it working.
Am I doing it right? |
|
Back to top |
|
|
handsomepete Guru
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Sat Apr 26, 2003 4:03 pm Post subject: |
|
|
After you copy your .config back, try make menuconfig and just exiting. I think it has to make something else before being able to make dep/modules/etc. |
|
Back to top |
|
|
Papapishu Tux's lil' helper
Joined: 18 Mar 2003 Posts: 129 Location: ((void*)NULL)
|
Posted: Sat Apr 26, 2003 4:21 pm Post subject: |
|
|
Just running make menuconfig, exiting and not saving had no effect |
|
Back to top |
|
|
Papapishu Tux's lil' helper
Joined: 18 Mar 2003 Posts: 129 Location: ((void*)NULL)
|
Posted: Sat Apr 26, 2003 5:41 pm Post subject: |
|
|
I think I got it.
I dont think it has to do with make mrproper, although I\ve been running it a few times.
I just ran a make dep && make clean bzImage modules modules_install.
What I did was that I unmerged the nvidia stuff and reemerged it...
Then it worked for some reason.
Obviously, the nvkernel depends on the installed kernel source to work.
I got it to work with just a warning instead of a segmentation... |
|
Back to top |
|
|
easykill Apprentice
Joined: 07 Dec 2002 Posts: 230
|
Posted: Sat Apr 26, 2003 6:35 pm Post subject: |
|
|
Papapishu wrote: | I think I got it.
I dont think it has to do with make mrproper, although I\ve been running it a few times.
I just ran a make dep && make clean bzImage modules modules_install.
What I did was that I unmerged the nvidia stuff and reemerged it...
Then it worked for some reason.
Obviously, the nvkernel depends on the installed kernel source to work.
I got it to work with just a warning instead of a segmentation... |
what it requires is the "make dep" part of the current running kernel. If you make mrproper, and then reconfigure the kernel to exactly how you had it, all you need to do is make dep |
|
Back to top |
|
|
|