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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-18-05, 07:44 AM   #1
monz
Registered User
 
Join Date: Nov 2005
Location: Cph, dk
Posts: 5
Default Nvidia support for Xen

@Nivdia Corporation and @Zander:

At the xenusers list, we resently had a short thread on Nvidia drivers.
Short, because no decent videcard has an Xen-aware driver.

Currently, I'm browsing for new hardware for a combined Xen server/workstation, so I'll need decent video performance.
No gaming, but DVD playback is on my wishlist. 1600x1200 is a must.
Oh, I'd hate to loose framebuffering, but, oh well...

The problem with video on Xen is that the driver needs to be Xen-aware. This is not the case with closed-source drivers, which the Linux community of cause cannot hack to make them work.
No decent AGP or PCIe card I know of have OSS drivers, nor do I see evidence of any graphics manufacturer paying attention to Xen.

Starting from april '06, we'll have Pacifica enabled dualcore cpu's.
This will further boost the options for an almost-all-in-one development workstation, but without Xen-aware videodrivers, we'll be stuck with Xen as a serversolution, allbeit a formidable one

Will Nvidia see The Light, and a window of opportunity here?


Personally, I may go for an Asrock 939DUAL-SATA2 mobo, permitting both AGP and PCIe video, and which -may- work with upcoming socket M2 cpu's.

So, I can get by with a decent AGP8 card until some PCIe card has proper Xen-aware drivers. But which one?

I'm at a loss here...

Regards,
Mogens Valentin
monz is offline   Reply With Quote
Old 11-18-05, 11:05 AM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia support for Xen

Mogens,
I'd be happy to open an RFE on your behalf for Xen support. Can you please elaborate on the current obstacles with using the currently available nvidia driver with a Xen kernel so that I can properly document the issue? Providing a bug report would be useful as well.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 11-18-05, 12:24 PM   #3
Soul-Crusher
Leadtek 6800GT
 
Join Date: Aug 2002
Location: Albuquerque, NM, USA
Posts: 195
Send a message via ICQ to Soul-Crusher Send a message via AIM to Soul-Crusher Send a message via Yahoo to Soul-Crusher
Default Re: Nvidia support for Xen

I too would like to see Xen support. @netllama: I'll have a Xen workstation running this weekend so I'll do what I can to provide information that might be useful for you as well. However, it should be noted that Xen is still under heavy development now, but once version 3.0 is out it should be well worth nVidia's effort to support it.
__________________
"Floating in a dream-like state, I am the emporer of a parallel universe." --Arch Enemy
My xorg.conf file
Soul-Crusher is offline   Reply With Quote
Old 11-19-05, 01:03 AM   #4
APwrs
Registered User
 
Join Date: Apr 2005
Posts: 26
Default Re: Nvidia support for Xen

I'd like to point out that the XGI drivers are going open source. But as for Xen... it seems to be gaining in populary quickly, and although I haven't tried it out myself yet, if I understand it correctly, it would be the perfect solution to having only Linux on your machine but still being able to get into Windows when you need to, perhaps for a particular game for instance. I think Xen support would be a good thing.
APwrs is offline   Reply With Quote
Old 11-19-05, 09:57 PM   #5
ckitching
Registered User
 
Join Date: Nov 2005
Posts: 2
Default Re: Nvidia support for Xen

If you try to use the current drivers on a Xen0 kernel, you just get an error.

Code:
nvidia: module license 'NVIDIA' taints kernel.
PCI: Obtained IRQ 16 for device 0000:01:00.0
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7676  Fri Jul 29 12:58:54 PDT 2005
general protection fault: 0000 [#1]
PREEMPT
Modules linked in: nvidia nfsd exportfs lockd sunrpc ipv6 iptable_filter ip_tables bridge 3c59x bt878 snd_bt87x e100 mii snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc hw_random evdev tsdev ehci_hcd usbhid uhci_hcd usbcore bttv video_buf firmware_class v4l2_common btcx_risc tveeprom videodev tvaudio tuner ide_cd cdrom ext3 jbd mbcache reiserfs ide_disk ide_generic via82cxxx trm290 triflex slc90e66 sis5513 siimage serverworks sc1200 rz1000 piix pdc202xx_old pdc202xx_new opti621 ns87415 hpt366 hpt34x generic cy82c693 cs5530 cs5520 cmd64x atiixp amd74xx alim15x3 aec62xx unix ide_core
CPU:    0
EIP:    0061:[<cb28bd3e>]    Tainted: P      VLI
EFLAGS: 00011206   (2.6.11.12-xen0)
EIP is at __check_pat_support+0x5d/0xbb [nvidia]
eax: 3febd3f1   ebx: 00000001   ecx: 00000277   edx: 00000000
esi: cb3f2500   edi: 00000000   ebp: c92b0000   esp: c92b1f4c
ds: 007b   es: 007b   ss: 0069
Process insmod (pid: 4529, threadinfo=c92b0000 task=c89c1020)
Stack: c8a9ff00 c8a9fe00 c3b24800 00000001 cb3f2500 00000000 cb28be90 00000000
       00000001 cb3f2500 00000000 00000001 cab4e2b0 cb3f3680 cb2c4965 cb2c495e
       c92b1f98 00000000 00000000 ffffffff c92b0000 00000001 c0134b94 c03a8848
Call Trace:
 [<cb28be90>] __nv_enable_pat_support+0x15/0x93 [nvidia]
 [<cab4e2b0>] nvidia_init_module+0x2b0/0x38e [nvidia]
 [<c0134b94>] sys_init_module+0x184/0x230
 [<c0109258>] syscall_call+0x7/0xb
Code: 04 24 04 00 00 00 e8 10 43 00 00 c7 44 24 04 40 2b 2c cb c7 04 24 04 00 00 00 e8 fc 42 00 00 b8 00 00 00 00 eb 5c b9 77 02 00 00 <0f> 32 89 d7 89 c3 ba 00 00 00 00 be ff 00 00 00 8d 0c d5 00 00
Editing nv.c to set nv_disable_pat to 1 (because the install refuses to proceed if nvidia.ko refuses to load. After installation, I can load an unedited driver by passing nv_disable_pat=1 to insmod), and the module loads, but starting X gives more protection faults

Code:
general protection fault: 0000 [#1]
PREEMPT
Modules linked in: nvidia ipv6 nfsd exportfs lockd sunrpc iptable_filter ip_tables bridge 3c59x bt878 snd_bt87x e100 mii snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc hw_random ehci_hcd tsdev evdev usbhid uhci_hcd usbcore bttv video_buf firmware_class v4l2_common btcx_risc tveeprom videodev tvaudio tuner ide_cd cdrom ext3 jbd mbcache reiserfs ide_disk ide_generic via82cxxx trm290 triflex slc90e66 sis5513 siimage serverworks sc1200 rz1000 piix pdc202xx_old pdc202xx_new opti621 ns87415 hpt366 hpt34x generic cy82c693 cs5530 cs5520 cmd64x atiixp amd74xx alim15x3 aec62xx unix ide_core
CPU:    0
EIP:    0061:[<cb0c0b80>]    Tainted: P      VLI
EFLAGS: 00013297   (2.6.11.12-xen0)
EIP is at _nv002495rm+0x0/0x10 [nvidia]
eax: cb0c0b80   ebx: c4ad5cd8   ecx: 00000000   edx: 00000009
esi: cb420700   edi: c8d5d800   ebp: c4ad5cf4   esp: c4ad5c98
ds: 007b   es: 007b   ss: 0069
Process Xorg (pid: 6364, threadinfo=c4ad4000 task=c3c47520)
Stack: cb0a6e3d c8d5d800 c4ad5ccc c4ad5cd0 cb0b9d6d c0e21800 c1236c00 cb421780
       cb0b9dc4 c4ad5d40 cb2dcbd0 c4ad5cf4 00010809 00000000 3febfbff 00000f24
       756e6547 49656e69 6c65746e 3febfbff 00000000 0004020f 00000009 c4ad5d34
Call Trace:
 [<cb0a6e3d>] _nv001458rm+0x139/0x31c [nvidia]
 [<cb0b9d6d>] _nv001615rm+0x3d/0x6c [nvidia]
 [<cb0b9dc4>] _nv002038rm+0x28/0x70 [nvidia]
 [<cb0bac0d>] _nv003614rm+0x6d/0x138 [nvidia]
 [<cb23a310>] _nv003293rm+0x68/0x9c [nvidia]
 [<cb0abe31>] _nv001126rm+0x15/0x24 [nvidia]
 [<cb23a0d7>] _nv003251rm+0x73/0x94 [nvidia]
 [<cb23a0ca>] _nv003251rm+0x66/0x94 [nvidia]
 [<cb0b7fae>] _nv002098rm+0x16/0x1c [nvidia]
 [<cb1e75fa>] _nv004547rm+0x1d6/0x1e4 [nvidia]
 [<cb1e7454>] _nv004547rm+0x30/0x1e4 [nvidia]
 [<cb1e6159>] _nv004398rm+0xa9/0xe8 [nvidia]
 [<cb1e7201>] _nv004376rm+0x79/0xe0 [nvidia]
 [<cb1e71f7>] _nv004376rm+0x6f/0xe0 [nvidia]
 [<cb0ab14a>] _nv002191rm+0x36/0xe0 [nvidia]
 [<cb1919bb>] _nv000398rm+0x1b/0x7c [nvidia]
 [<cb0baa0f>] _nv001455rm+0x2f/0x150 [nvidia]
 [<cb0baa4b>] _nv001455rm+0x6b/0x150 [nvidia]
 [<cb0bd811>] _nv001428rm+0x91/0xac [nvidia]
 [<cb0bd7eb>] _nv001428rm+0x6b/0xac [nvidia]
 [<cb0bb418>] _nv001460rm+0x270/0x3a4 [nvidia]
 [<cb0bb408>] _nv001460rm+0x260/0x3a4 [nvidia]
 [<cb0be81e>] rm_init_adapter+0x5e/0x90 [nvidia]
 [<cb0be812>] rm_init_adapter+0x52/0x90 [nvidia]
 [<cb2ba498>] nv_kern_open+0x1ae/0x23a [nvidia]
 [<cb2baf74>] nv_kern_isr+0x0/0x6b [nvidia]
 [<cb2ba2ea>] nv_kern_open+0x0/0x23a [nvidia]
 [<c0162d6a>] chrdev_open+0xea/0x1d0
 [<c015864a>] dentry_open+0x15a/0x240
 [<c01584e8>] filp_open+0x68/0x70
 [<c01583b9>] sys_chown+0x59/0x60
 [<c015878e>] get_unused_fd+0x5e/0xd0
 [<c01588c9>] sys_open+0x49/0x90
 [<c0109258>] syscall_call+0x7/0xb
Code: 00 dc 90 0b cb 89 ec 5d c3 89 f6 55 89 e5 89 ec 5d c3 90 90 90 90 90 90 90 90 90 0f 31 c3 8d b6 00 00 00 00 8d bc 27 00 00 00 00 <0f> 20 e0 c3 8d b6 00 00 00 00 8d bf 00 00 00 00 0f 20 d8 31 d2
The system doesn't completely hang at this point, but the video is gone until reboot.

This is driver 7676 on Ubuntu Breezy 5.10 on a custom Xen0 kernel (2.6.11.12-xen0). The nv driver works fine with X (although with considerably fewer features). The card is a Geforce 2 MX.
ckitching is offline   Reply With Quote
Old 11-19-05, 10:00 PM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia support for Xen

Can you please post a bug report as well?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 11-19-05, 11:04 PM   #7
ckitching
Registered User
 
Join Date: Nov 2005
Posts: 2
Default Re: Nvidia support for Xen

Okay, it's attached. BTW, this is with "options nv_disable_pat=1" in /etc/modprobe.d
Attached Files
File Type: zip nvidia-bug-report.zip (23.3 KB, 439 views)
ckitching is offline   Reply With Quote
Old 11-20-05, 06:48 AM   #8
monz
Registered User
 
Join Date: Nov 2005
Location: Cph, dk
Posts: 5
Default Re: Nvidia support for Xen

Quote:
Originally Posted by netllama
Mogens,
I'd be happy to open an RFE on your behalf for Xen support. Can you please elaborate on the current obstacles with using the currently available nvidia driver with a Xen kernel so that I can properly document the issue? Providing a bug report would be useful as well.

Thanks,
Lonni
It's really great to see Nvidia showing interest in Xen.
I've notified the xen-users list and suggested signing up here to participate.
Unfortunately, due to major HW/SW upgrades, it'll be a short while before I can participate here myself.

Regards,
Mogens V.
monz is offline   Reply With Quote

Old 11-20-05, 04:29 PM   #9
monz
Registered User
 
Join Date: Nov 2005
Location: Cph, dk
Posts: 5
Default Re: Nvidia support for Xen

@Nvidia developers:

You are so wanted on the xen-devel developers list at
http://lists.xensource.com/

You'll get all the help you need to make the drivers xen-aware.
__________________
Regards,
Mogens V.
monz is offline   Reply With Quote
Old 11-22-05, 03:55 PM   #10
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia support for Xen

Just an update. I'm seeing some issues with building the nvidia kernel module with a xen-enabled kernel, and have opened a bug with development.

-Lonni
netllama is offline   Reply With Quote
Old 12-06-05, 10:11 AM   #11
monz
Registered User
 
Join Date: Nov 2005
Location: Cph, dk
Posts: 5
Default Re: Nvidia support for Xen

@Lonni: I don't seem to spot Nvidia guys (officially, at least) on the xen-devel list as yet..

If you -are- working on this Xen issue, you'll probably wan't to take a look at the xen-devel thread '[Xen-devel] [RFC] Xen Virtual Framebuffer'.

People are quite seriously talking about developing OSS support.
This of cause would mean Nvidia wouldn't have to develop an Xen-aware driver , but to get all those nice features working in vesafb and OPENGL, well...

OTOH, one is already working on this, and has previous experience with a 2D system. He seems to get some basic features working, based on a closed ATI driver. Interesting... Nvidia, where art thou?
__________________
Regards,
Mogens V.
monz is offline   Reply With Quote
Old 12-06-05, 10:20 AM   #12
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Nvidia support for Xen

Mogens,
An enhancement request was opened for making the nvidia driver Xen aware/compatible. When that request is scheduled for work, and only if development finds it neccesary, they will seek assistance on the Xen-devel list.

Thanks,
Lonni
netllama 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
Remastered Doom 3 BFG Edition Game Coming with Stereo 3D Support News Latest Tech And Game Headlines 0 06-01-12 05:30 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
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 07:46 PM.


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