Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-drivers with mm-sources-2.6.24_rc5-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
WuDDjA
n00b
n00b


Joined: 30 Aug 2005
Posts: 42

PostPosted: Sun Dec 23, 2007 10:37 am    Post subject: nvidia-drivers with mm-sources-2.6.24_rc5-r1 Reply with quote

The nvidia driver does not work for me with the newest mm-kernel.

Code:
nvidia-drivers-169.07
mm-sources-2.6.24_rc5-r1


First it did not compile and now with a new symlink

Code:
cd /usr/src/linux
ln -s include/asm-x86 include/asm-i386


it compiles but the module does not load correctly.

i got an error
Code:
FATAL: Error inserting nvidia (/lib/modules/2.6.24-rc5-mm1/video/nvidia.ko): Unknown symbol in module, or unknown parameter (see dmesg)


my dmesg
Code:
nvidia: Unknown symbol init_mm


Please help
I need the newest sources, because my SATA Controller does not work correctly with the 2.6.23
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54809
Location: 56N 3W

PostPosted: Sun Dec 23, 2007 1:13 pm    Post subject: Reply with quote

WuDDjA,

It looks like the kernel used to provide a symbol called init_mm, which the nvidia driver is looking for.
It must have been either renamed or removed in 2.6.24-rc5-mm1, so the nvidia driver cannot find it.

You can grep an older kernel for init_mm and look in the same area in the new kernel to see how its changed.
Then you need a patch for the nvidia driver to accomodate the change. If you are really lucky, you will only need to change the open source 'shim' code. If the binary blob needs to be changed, you are out of luck.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
WuDDjA
n00b
n00b


Joined: 30 Aug 2005
Posts: 42

PostPosted: Sun Dec 23, 2007 2:17 pm    Post subject: Reply with quote

hmm it's not easy
"init_mm" is almost in every file of the kernel
Back to top
View user's profile Send private message
kar1181
n00b
n00b


Joined: 11 Jul 2005
Posts: 18
Location: Watford, UK

PostPosted: Mon Dec 24, 2007 12:19 pm    Post subject: Reply with quote

Use the latest git sources, I had the same problems and now am up and running fine (using the latest nvidia driver as well 169.07, not yet in portage)
Back to top
View user's profile Send private message
WuDDjA
n00b
n00b


Joined: 30 Aug 2005
Posts: 42

PostPosted: Wed Dec 26, 2007 2:30 am    Post subject: Reply with quote

Hey Thx.
This works for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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