Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-25-07, 07:07 PM   #1
baco
Registered User
 
Join Date: Jan 2007
Location: Geneva, Switzerland
Posts: 3
Default Xen Support for NVidia 9746

Hi,

I have included a contrib patch for adding Xen support
to NVidia driver for Linux release 9746.

With this patch you can run Xorg under a Linux with
CONFIG_XEN enable and the NVidia driver module.

I hope you will officially support Xen in the futur
but until you decide It can be great for Linux users
community to add this patch in a contrib directory
inside your distribution package.

Best Regards,
Guy

--

Infomaniak Network SA
Guy Baconniere <baco ~at~ infomaniak.ch>
Unix System Administrator
Certified Linux Engineer (RHCE, LPIC-2)
Avenue de la Praille 26
1227 Carouge (Geneva)
Switzerland (CH)
Attached Files
File Type: gz NVIDIA_xen-9746.patch.gz (2.7 KB, 2733 views)
baco is offline   Reply With Quote
Old 01-26-07, 08:40 AM   #2
baco
Registered User
 
Join Date: Jan 2007
Location: Geneva, Switzerland
Posts: 3
Cool Re: Xen Support for NVidia 9746

Instructions for compilation

wget http://us.download.nvidia.com/XFree8...-9746-pkg1.run
sh NVIDIA-Linux-x86-1.0-9746-pkg1.run -x
cd NVIDIA-Linux-x86-1.0-9746-pkg1
/usr/src/nv zcat ../../../../NVIDIA_xen-9746.patch.gz | patch -p4
make SYSSRC=/usr/src/linux module
install -D -o root -g root -m 0644 nvidia.ko /lib/modules/$(uname -r)/video/nvidia.ko
depmod -a
modprobe nvidia

Enjoy
baco is offline   Reply With Quote
Old 01-27-07, 05:38 PM   #3
superzerg
Registered User
 
Join Date: Jan 2007
Posts: 2
Question Re: Xen Support for NVidia 9746

I have tried to make this driver works for 2 days on an AMD 64 x2 (AM2) with linux-2.6.16.33-xen (SMP x86_64) and finally succed but there is something wrong : the resolution is blocked at 800x600 when I use this driver but just restoring nv driver in xorg.conf I can go to 1200x786. I tried to use the nvidia-xconfig command or dprkg -phigh xserveur-xorg but nothing make a difference.
I attach some log file.

(Thanks for this patch)
Attached Files
File Type: log dmesg.log (18.4 KB, 389 views)
File Type: txt log-nvidia.ko.txt (202 Bytes, 413 views)
File Type: log Xorg.0.log (27.9 KB, 358 views)
superzerg is offline   Reply With Quote
Old 02-17-07, 08:16 PM   #4
Ravenik
Registered User
 
Join Date: Mar 2006
Posts: 2
Default Re: Xen Support for NVidia 9746

I have succeded with this patch. No problems with screen resolution.
However i had to modify usr/src/nv/os-interface.c line 1288 modified to:
#if 0
Otherwise there was compilation error with consecutive lines.
Suse 10.2 64-bit.

Regards,
Mark
Ravenik is offline   Reply With Quote
Old 02-26-07, 07:36 AM   #5
masv
Registered User
 
Join Date: Feb 2007
Posts: 1
Default Re: Xen Support for NVidia 9746

I can't get this to work, perhaps it's just some silly mistake on my part, anyhow: Everything runs smoothly untill the "modprobe nvidia" where I get this
Code:
FATAL: Error inserting nvidia (/lib/modules/2.6.16.26-xendom0/kernel/drivers/video/nvidia.ko): Unknown symbol in module, or unknown parameter (see dmesg)
and dmesg | tail returns:
Code:
evbug.c: Event. Dev: isa0060/serio0/input0, Type: 0, Code: 0, Value: 0
evbug.c: Event. Dev: isa0060/serio0/input0, Type: 4, Code: 4, Value: 38
...
masv is offline   Reply With Quote
Old 02-26-07, 03:53 PM   #6
meyerdtd
Registered User
 
Join Date: Feb 2007
Posts: 2
Default Re: Xen Support for NVidia 9746

Similarly, I have no problems until "modprobe nvidia", at which point:

Code:
FATAL: Error inserting nvidia (/lib/modules/2.6.18-xen/video/nvidia.ko): Unknown symbol in module, or unknown parameter (see dmesg)
And dmesg gives me the following:

Code:
nvidia: module license 'NVIDIA' taints kernel.
nvidia: unknown symbol raw_local_irq_restore
nvidia: unknown symbol __raw_local_save_flags
nvidia: unknown symbol raw_local_irq_disable
nvidia: unknown symbol init_level4_pgt
nvidia: unknown symbol raw_local_irq_enable
Does anyone have any pointers as to what I might be doing incorrectly?
meyerdtd is offline   Reply With Quote
Old 02-26-07, 03:58 PM   #7
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Xen Support for NVidia 9746

Xen is currently not supported with the nvidia driver.
netllama is offline   Reply With Quote
Old 02-26-07, 04:18 PM   #8
meyerdtd
Registered User
 
Join Date: Feb 2007
Posts: 2
Default Re: Xen Support for NVidia 9746

Quote:
Originally Posted by netllama
Xen is currently not supported with the nvidia driver.
Understood, unfortunately I don't have another option - Hopefully someone here has some experience using the above patch to get the nvidia driver working with Xen.

(PS - Nvidia, please support Xen)
meyerdtd is offline   Reply With Quote

Old 05-17-07, 02:12 PM   #9
enigmaedge
Registered User
 
Join Date: May 2007
Posts: 2
Default Re: Xen Support for NVidia 9746

Thanks for the patch and instructions! Everything seems to have compiled fine and I am able to modprobe the driver.

Now I'm stuck in actually getting use out of it. After I modprobed the driver, I made the changes to my xorg.conf file (disabled dri, enabled glx, and added Driver "nvidia") and proceeded to execute startx I get the error:
Quote:
(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No drivers available
How have you succeeded in running X?

Thanks in advance!
enigmaedge is offline   Reply With Quote
Old 07-12-07, 12:28 PM   #10
MajinBlayze
Registered User
 
Join Date: Jul 2007
Posts: 1
Default Re: Xen Support for NVidia 9746

two questions:
1) does this go into the domU or dom0?
2) will this work (any time in the future) with HVM's?
MajinBlayze is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vizio's Co-Star: $99 Google TV box with OnLive gaming support News Archived News Items 0 06-26-12 11:40 AM
Opera 12 arrives with webcam APIs and experimental WebGL support News Archived News Items 0 06-15-12 12:30 AM
Canonical partners with Microsoft to support Ubuntu on Azure News Archived News Items 0 06-08-12 05:20 AM
Remastered Doom 3 BFG Edition Game Coming with Stereo 3D Support News Archived News Items 0 06-01-12 05:30 AM
Official Detonator 40.xx Feedback Thread pelly NVIDIA Windows Graphics Drivers 299 09-22-02 06:54 AM

All times are GMT -5. The time now is 05:10 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.