All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Some trouble to use NVIDIA CUDA with Xen
@ 2013-08-10 16:21 Martin Cerveny
  2013-08-12 12:33 ` Gordan Bobic
  0 siblings, 1 reply; 19+ messages in thread
From: Martin Cerveny @ 2013-08-10 16:21 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1851 bytes --]

Hello.

Any progress on this topics ?
What is the blocker to run correctly NVIDIA (proprietary) drivers in kernel in XEN/Dom0 ?

The problem still persit:

- CUDA "deviceQuery" run and exit without error (BUT with xen after 9sec, without xen after 1sec)
- CUDA other programs for example "bandwidthTest" exit with error "code=46(cudaErrorDevicesUnavailable)"

Test environment:

- fedora18
- kernel 3.9.11-200.fc18.x86_64
- nvidia drivers 319.37 (comes with CUDA)
- nvidia CUDA 5.5
- XEN 4.2.2 and directly from git repo 4.4.unstable (commit 73f18583dd824f0e49f65149ef603600ce31b8ee)
- AMD Athlon(tm) 64 X2 Dual Core Processor 5600+

Attached files:

- output from dmesg, deviceQuery (with /bin.time), bandwidthTest (with /bin/time), lspci -vvv

Hypotehesis:

- PCI output are the same - probably no problem
- dmesg differences ( diff dmesg_boot_without_xen_wt.txt dmesg_boot_xen_44u_wt.txt )

======================
without XEN:

< MTRR default type: uncachable
< MTRR fixed ranges enabled:
<   00000-9FFFF write-back
<   A0000-EFFFF uncachable
<   F0000-FFFFF write-protect
< MTRR variable ranges enabled:
<   0 base 0000000000 mask FF80000000 write-back
<   1 base 0080000000 mask FFC0000000 write-back
<   2 disabled
<   3 disabled
<   4 disabled
<   5 disabled
<   6 disabled
<   7 disabled
< x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106

======================
with XEN:

> NVRM: PAT configuration unsupported.

======================

The MTRR+PAT is not supported (still) in kernel in XEN/dom0 ?
Maybe MTRR+PAT is needed for CUDA too.

Is there any workaround for linux kernels ~ 3.9.x and xen ~ v4.x.x ?

Thanks, Martin Cerveny

Refs:

[Xen-devel] XEN MTRR -  http://lists.xen.org/archives/html/xen-devel/2012-06/msg00194.html
[Xen-users] Xen and nvidia - http://lists.xen.org/archives/html/xen-users/2013-01/msg00169.html

[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 727040 bytes --]

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Some trouble to use NVIDIA CUDA with Xen
@ 2013-04-30 11:39 Sébastien Frémal
  2013-04-30 11:57 ` George Dunlap
  0 siblings, 1 reply; 19+ messages in thread
From: Sébastien Frémal @ 2013-04-30 11:39 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 730 bytes --]

Hello,

I'm using linux 3.8.8 and Xen 4.2.1 and I try to use CUDA in Xen. I
successfully installed the driver and the cuda dev package on my non-xen
linux 3.8.8 but when I boot with Xen and that I try to use CUDA, I get this
error message :
all CUDA-capable devices are busy or unavailable

While searching on google for a solution, I found threads dating from 2011
and mentioning this problem but no solutions were found at the time. Can
you please tell me if there is a solution or if the problem is still
unsolved ?

Thank you,

Best regards,

Sebastien Fremal

*U*MONS
*
**PhD Student S. Frémal
**University of Mons
*IT Department
Rue de Houdain,  n°9
7000 Mons
+32(0)65/37.40.51

www.umons.ac.be

[-- Attachment #1.2: Type: text/html, Size: 1803 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-08-27 13:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-10 16:21 Some trouble to use NVIDIA CUDA with Xen Martin Cerveny
2013-08-12 12:33 ` Gordan Bobic
2013-08-12 13:00   ` Konrad Rzeszutek Wilk
2013-08-13 19:59     ` Martin Cerveny
2013-08-13 20:20       ` Konrad Rzeszutek Wilk
2013-08-13 20:32         ` Martin Cerveny
2013-08-14 22:21         ` Martin Cerveny
2013-08-15 13:19           ` Konrad Rzeszutek Wilk
2013-08-15 13:28             ` Martin Cerveny
2013-08-15 14:15               ` Konrad Rzeszutek Wilk
2013-08-27 13:17                 ` Martin Cerveny
  -- strict thread matches above, loose matches on Subject: below --
2013-04-30 11:39 Sébastien Frémal
2013-04-30 11:57 ` George Dunlap
2013-04-30 12:05   ` Samuel Thibault
2013-04-30 14:13     ` Sébastien Frémal
2013-04-30 14:19       ` Samuel Thibault
2013-04-30 14:32         ` Sébastien Frémal
2013-04-30 14:41           ` Samuel Thibault
2013-05-03 13:54         ` Samuel Thibault

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.