zoff píše v Čt 02. 07. 2009 v 14:21 +0000: > Patch to make driver compilable is here: > http://launchpadlibrarian.net/28552081/drm_agp_memory-2.6.31.patch > > I successfully compiled nvidia 185.18.14 driver on kernel 2.6.31-1 with these > commands: > cd /usr/src/nvidia-185.18.14/patches/ > sudo wget http://launchpadlibrarian.net/28552081/drm_agp_memory-2.6.31.patch > sudo nano /usr/src/nvidia-185.18.14/dkms.conf > > Add this line, save and exit: > PATCH[1]="drm_agp_memory-2.6.31.patch"
IMHO it is better also to add following line: PATCH_MATCH[1]="^2.6.3[1]" so the patch is applied only if you build module for kernel ver 2.6.31, otherwise it fails when you try to build the module for older kernels. > > sudo dkms build -m nvidia -v 185.18.14 -k 2.6.31-1-generic > sudo dkms install -m nvidia -v 185.18.14 -k 2.6.31-1-generic > -- [Karmic] nvidia DKMS building and installation for kernel 2.6.31-1-generic fails with exit status 10 https://bugs.launchpad.net/bugs/394262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
