Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca>
Cc: kvm@vger.kernel.org
Subject: Re: PCI assignement with nvidia K1: RmInitAdapter failed
Date: Tue, 09 Jul 2013 11:52:52 -0600	[thread overview]
Message-ID: <1373392372.2602.273.camel@ul30vt.home> (raw)
In-Reply-To: <20130709121545.a00mic44fksswk84@www.imp.polymtl.ca>

On Tue, 2013-07-09 at 12:15 +0200, Guillaume Thouvenin wrote:
> Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca> a écrit :
> 
> > I'd like to test a nvidia K1 with pci assignement by using the 
> > pci-stub module or the vfio module. I'm running an ubuntu raring as 
> > the host and a version 1.4.0 of qemu-system-x86 1.4.0.
> 
> I just tested with QEMU emulator version 1.5.50 that I compiled from 
> git but I have the same issue. The kernel running on the host is a 
> 3.8.0-23-generic that comes with ubuntu.
> 
> I also tried to reset the card before binding it but I got the same issue:
> 
>   NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
>   Unable to determine the device handle for GPU 0000:00:03.0: Unknown Error
> 
> even if in /dev I have:
> 
>   $ ls -l /dev/nvidia*
>   crw-rw-rw- 1 root root 195,   0 juil.  9 12:09 /dev/nvidia0
>   crw-rw-rw- 1 root root 195, 255 juil.  9 12:09 /dev/nvidiactl

Are you sure that nvidia-smi is relevant to the K1/K2 devices?  Does it
work on the host?  I wouldn't be surprised if a system management
interface tries to use backdoors that are not available in a VM.  Are
there other tests you can do to check whether the device is otherwise
available?  Also, I'm curious to see what these cards look like, could
you provide an 'sudo lspci -vvv' of the host system?  Thanks,

Alex


  reply	other threads:[~2013-07-09 17:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09  9:18 PCI assignement with nvidia K1: RmInitAdapter failed Guillaume Thouvenin
2013-07-09 10:15 ` Guillaume Thouvenin
2013-07-09 17:52   ` Alex Williamson [this message]
2013-07-10 12:54     ` Guillaume Thouvenin
2013-07-10 15:25       ` Alex Williamson
2013-07-11 10:05         ` Guillaume Thouvenin
2013-07-10 15:30   ` Guillaume Thouvenin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373392372.2602.273.camel@ul30vt.home \
    --to=alex.williamson@redhat.com \
    --cc=guillaume.thouvenin@polymtl.ca \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox