[ solved ] Kernel 3.11 and NVIDIA, solution for aptosid

Started by JohnML, 2013/09/16, 20:33:07

Previous topic - Next topic

JohnML

found a tipp and now nvidia driver works with kernel 3.11

See:
https://devtalk.nvidia.com/default/topic/602829/-solved-nvidia-linux-3-11-compatibility-error-lsquo-num_physpages-rsquo-undeclared-first-use-i/

or short url:
http://goo.gl/gBD4BG

Because i don't know how to apply such a patch i simply copied these lines:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)
#define NV_NUM_PHYSPAGES get_num_physpages
#else
#define NV_NUM_PHYSPAGES num_physpages
#endif

to

nv-Linux.h

inserts after Line 963

.. and now nexuiz runs again !!

see:
/usr/src/nvidia-current-325.15/nv-linux.h

JohnML

this procedure was ok for aptosid, but for siduction i couldn't get rid of xserver-xorg-video-nvidia-legacy-304xx
--> post removal skript throws an error ... giving up!

absolut

maybe you would like to paste the console output here or to a pastebin.

JohnML

.. because kdesu is broken too for ages now, i'll reinstall siduction and hope everything is ok :--))

michaa7

I don't understand your problem.

I've installed kernel 3.11 and I am using nvidia-legacy-304xx-driver and xserver-xorg-video-nvidia-legacy-304xx. I did this days before you posted your fix. There was no problem to fix.

towo provided siduction packages *some days ago* which you may install enabling the siduction fixes repo. And today Debian provides new packages, too (which I haven't installed yet and therefor cannot tell whether they work or not).

So what's the problem? If it is about how *you* fix this problem on your own you'd better post in the experimental or kernelhacking forum. Because the "fix" you provided was obsolete when you posted it (and wasn't even a fix for you).

To avoid confusion you should mark this thread as "solved" (at the latest after you reinstalled siduction and nvidia-legacy-304xx successfully).
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

JohnML


michaa7

Quote from: "JohnML"... done

Thanks. But is this problem solved for you, too?

BTW, I can confirm that the Debian driver works. So no fix needed and currently no fixes repo needed for that driver:

apt-get install xserver-xorg-video-nvidia-legacy-304xx=304.108-3
which will pull some more needed packages by itself.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake