View Single Post
Old 12-14-06, 05:08 AM   #10
clinton
Registered User
 
Join Date: Dec 2006
Posts: 3
Default Re: WORKING : NVIDIA module for SUSE 10.2RC1 and XEN

I've got the driver compiled against the xen kernel in opensuse 10.2 GM, by doing the following:

First, get the right modules installed, using smart, or YaST or whatever, and download the nVidia driver and the patch:
Code:
smart install kernel-source kernel-syms kernel-xen
cd /root
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/1.0-9631/NVIDIA-Linux-x86_64-1.0-9631-pkg2.run[/url]
wget  http://www.nvnews.net/vbulletin/attachment.php?attachmentid=20801&d=1159874953[/url]

mv attachment.php\?attachmentid\=20801 xen.patch
Then reboot into the xen kernel and prepare the source to compile modules:
Code:
telinit 3
cd /usr/src/linux
make oldconfig && make scripts && make prepare
Then build and install the driver:
Code:
sh ./NVIDIA-Linux-x86_64-1.0-9631-pkg2.run --extract-only
cd NVIDIA-Linux-x86_64-1.0-9631-pkg2/usr/src/nv/
patch -p1 < ../../../../xen.patch

CC="gcc -DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIM" make SYSSRC=/usr/src/linux module

cp nvidia.ko /lib/modules/2.6.18.2-34-xen/kernel/drivers/video/

depmod -a
Then start your X server again:
Code:
telinit 5
That's it - and many many thanks to Bernhard for getting this working.

One question, when I do telinit 5, everything appears to work, but this appears in my logs - is this a problem? According to the README, it sounds like I'm going to have problems with instability
Code:
Dec 14 11:48:51 getafix kernel: NVRM: loading NVIDIA Linux x86_64 Kernel Module  1.0-9631  Thu Nov  9 17:35:27 PST 2006
Dec 14 11:48:51 getafix kernel: NVRM: builtin PAT support disabled, falling back to MTRRs.
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff88004b92e000: actual 0x77 != expected 0x73
Dec 14 11:48:51 getafix kernel: NVRM: please see the README section on Cache Aliasing for more information
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff88004b92f000: actual 0x77 != expected 0x73
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff88003ace0000: actual 0x67 != expected 0x63
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff88004d3f9000: actual 0x67 != expected 0x63
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff880039e7c000: actual 0x67 != expected 0x63
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff880039e7d000: actual 0x67 != expected 0x63
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff88004ce34000: actual 0x67 != expected 0x63
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff880049cc0000: actual 0x67 != expected 0x63
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff88004bb90000: actual 0x67 != expected 0x63
Dec 14 11:48:51 getafix kernel: NVRM: bad caching on address 0xffff88004bb91000: actual 0x67 != expected 0x63
thanks

Clint
clinton is offline   Reply With Quote