Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia modprobe driver error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
coby2k
n00b
n00b


Joined: 07 Apr 2003
Posts: 63
Location: Oldenburg, Germany

PostPosted: Thu Apr 24, 2003 4:58 pm    Post subject: nvidia modprobe driver error Reply with quote

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
View user's profile Send private message
skwelch
n00b
n00b


Joined: 13 Dec 2002
Posts: 38
Location: NJ, USA

PostPosted: Sat Apr 26, 2003 3:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Papapishu
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 129
Location: ((void*)NULL)

PostPosted: Sat Apr 26, 2003 2:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Sat Apr 26, 2003 2:59 pm    Post subject: Reply with quote

Before make mrproper copy your .config in your kernel directory to somewhere safe. Then copy it back when mrproper's done.
Back to top
View user's profile Send private message
Papapishu
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 129
Location: ((void*)NULL)

PostPosted: Sat Apr 26, 2003 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Sat Apr 26, 2003 4:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Papapishu
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 129
Location: ((void*)NULL)

PostPosted: Sat Apr 26, 2003 4:21 pm    Post subject: Reply with quote

Just running make menuconfig, exiting and not saving had no effect :(
Back to top
View user's profile Send private message
Papapishu
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 129
Location: ((void*)NULL)

PostPosted: Sat Apr 26, 2003 5:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
easykill
Apprentice
Apprentice


Joined: 07 Dec 2002
Posts: 230

PostPosted: Sat Apr 26, 2003 6:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum