Morten Bøgeskov
2007-Nov-22  05:20 UTC
[Xen-users] 2.6.22.9-xen (ubuntu) and Nvidia x86_64-100.14.19 - success
On my recently acquired Core2Duo I''ve installed debian etch amd64,
Then I''ve pulled the linux-source from since I need newer raid and  
netcard drivers:
http://dk.archive.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.22/linux-source-2.6.22_2.6.22.orig.tar.gz
http://dk.archive.ubuntu.com/pub/ubuntu/pool/main/l/linux-source-2.6.22/linux-source-2.6.22_2.6.22-14.46.diff.gz
Unpacked the source and patched:
cd linux-source-2.6.22-2.6.22/
cat debian/binary-custom.d/xen/patchset/* | patch -p1
make menuconfig && make && ... && reboot
installed and booted.
Then I built a nvidia driver (the patch is based on an old one from suse).
bash NVIDIA-Linux-x86_64-100.14.19-pkg2.run -a -x
cp -a NVIDIA-Linux-x86_64-100.14.19-pkg2/usr/src/nv/  
nvidia-source-100.14.19-x86_64-xen
patch -p0 < nvidia-xen.diff
$EDITOR /lib/modules/`uname  
-r`/build/include/asm-i386/mach-xen/asm/hypervisor.h
[ comment out HYPERVISOR_poll function ]
cd nvidia-source-100.14.19-x86_64-xen
IGNORE_XEN_PRESENCE=y make SYSSRC=/lib/modules/`uname -r`/build module
[nessecary with SYSSRC=... to get all the includepaths right]
DISPLAY=:0.0 xdpyinfo
[snip]
     BIG-REQUESTS
     DAMAGE
     DEC-XTRAP
     DOUBLE-BUFFER
     DPMS
     Extended-Visual-Information
     GLX
     MIT-SCREEN-SAVER
     MIT-SHM
     MIT-SUNDRY-NONSTANDARD
     NV-CONTROL
     NV-GLX
     RANDR
     RECORD
     RENDER
     SECURITY
     SHAPE
     SYNC
     TOG-CUP
     X-Resource
     XC-APPGROUP
     XC-MISC
     XFIXES
     XFree86-Bigfont
     XFree86-DGA
     XFree86-Misc
     XFree86-VidModeExtension
     XInputExtension
     XKEYBOARD
     XTEST
     XVideo
     XVideo-MotionCompensation
[snip]
no complaints from Xorg about "AIGLX"
and /usr/lib/xscreensaver/gears from xscreensaver-gl ran.
so I claim success.
I make no promises regarding your success, but... Have fun trying to  
get it to work.
Morten Bøgeskov
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Stephan Seitz
2007-Nov-23  12:49 UTC
Re: [Xen-users] 2.6.22.9-xen (ubuntu) and Nvidia x86_64-100.14.19 - success
Thanks! ;) Morten Bøgeskov schrieb:> > On my recently acquired Core2Duo I''ve installed debian etch amd64, > Then I''ve pulled the linux-source from since I need newer raid and > netcard drivers:_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Olivier Le Cam
2007-Dec-13  11:20 UTC
Re: [Xen-users] 2.6.22.9-xen (ubuntu) and Nvidia x86_64-100.14.19 - success
Hi - Morten Bøgeskov wrotte:> On my recently acquired Core2Duo I''ve installed debian etch amd64, > Then I''ve pulled the linux-source from since I need newer raid and > netcard drivers:--- 8< --- [snip] Thanks a lot for the informations on how you succeed with the NVidia x86_64-100.14.19 compilation and installation and Xen 3.1. I followed your step-by-step instructions to the letter but for the kernel: the 2.6.22-xen image powered by ubuntu does work on my workstation and I didn''t have to compile it by myself. Compilation, patch, and nvidia.ko module loading is working perfect. That being said, starting gdm always results in a system hang and a black screen. Actually, I had the exact same problem with the restricted nvidia driver of the linux-restricted-modules-2.6.22 Ubuntu/Gutsy package. I didn''t find anything in any log. I also tried to strace gdm onto a file, without any interesting clue on what happens. It''s a pity not being able to run the NVidia driver with Xen. For now, I have to choose between dual-screen and Xen which is very frustating! Tried on a DELL Précision 490, with 2 x Intel Xeon 3GHz CPU, NVidia Quadro Dual Screen, kernel 2.6.22-14-xen x86_64 from ubuntu/gutsy. Any help/advice will be greatly appreciated! Thanks in anticipation! -- Olivier Le Cam CRDP de l''académie de Versailles _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users