[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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

Attachment: nvidia-xen.diff
Description: Text Data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.