View Single Post
Old 04-27-10, 01:04 AM   #96
Armedblade
Registered User
 
Join Date: Oct 2007
Posts: 23
Default Re: Nvidia support for Xen

running 2.6.31.12 + rebased suse patches

The gist of the issue: in nv-linux.h there is a call to a deprecated pgd_offset_k() function which is pulling in the init_mm symbol. I'm not a C coder though. If this call is only needed for older kernels I think an #ifdef thereabouts may provide a decent fix. I have no idea though. I just deleted the call, recompiled and the module inserted fine. I've been running Xorg for a little while, glxgears works, no real testing though.

$ glxinfo | grep -i rend
direct rendering: Yes
OpenGL renderer string: GeForce 8800 GTS 512/PCI/SSE2
GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image,
GL_NVX_conditional_render, GL_NVX_gpu_memory_info,

$ sudo xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 3896 8 r----- 281.2
Armedblade is offline   Reply With Quote