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: Wed, 10 Jul 2013 09:25:32 -0600	[thread overview]
Message-ID: <1373469932.2602.330.camel@ul30vt.home> (raw)
In-Reply-To: <20130710145431.ojut19m4ys84w0cc@www.imp.polymtl.ca>

On Wed, 2013-07-10 at 14:54 +0200, Guillaume Thouvenin wrote:
> Alex Williamson <alex.williamson@redhat.com> a écrit :
> 
> > Are you sure that nvidia-smi is relevant to the K1/K2 devices?  Does it
> > work on the host?
> 
> Yes it works on the host and I have some information like power 
> consumption, temperature of the GPU, etc...
> 
> > Are
> > there other tests you can do to check whether the device is otherwise
> > available?
> 
> I also tried to start an X server but I got the same error reported in 
> the syslog:  [  435.745673] NVRM: RmInitAdapter failed! (0x26:0x38:1170)
>   [  435.745695] NVRM: rm_init_adapter(0) failed
> 
> And in the xorg.log I have:
> 
> 
>   [   423.624] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
>   [   423.624] (==) NVIDIA(0): RGB weight 888
>   [   423.624] (==) NVIDIA(0): Default visual is TrueColor
>   [   423.624] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
>   [   423.624] (**) NVIDIA(0): Option "NoLogo" "true"
>   [   423.624] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
>   [   423.624] (**) NVIDIA(0): Enabling 2D acceleration
>   [   423.624] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; 
> enabling NoScanout
>   [   423.624] (**) NVIDIA(0):     mode
>   [   435.746] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at 
> PCI:0:3:0.  Please
>   [   435.746] (EE) NVIDIA(0):     check your system's kernel log for 
> additional error
>   [   435.746] (EE) NVIDIA(0):     messages and refer to Chapter 8: 
> Common Problems in the
>   [   435.746] (EE) NVIDIA(0):     README for additional information.
>   [   435.746] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
>   [   435.746] (EE) NVIDIA(0): Failing initialization of X screen 0

AFAICT, rm_init_adapter is in the binary blob part of the nvidia driver,
so we can't simply check the code to see what's wrong.  Google finds
this:

http://forums.gentoo.org/viewtopic-t-961110.html?sid=0a60d40ba001f7bbe799bb16b2921cac

That was of course on bare metal, but note that the IOMMU prevented some
accesses and the solution was to disable the IOMMU.  Of course we can't
disable the IOMMU in this case.  Do you see any IOMMU faults in dmesg on
the host around this error?  Does nouveau work?  Thanks,

Alex




  reply	other threads:[~2013-07-10 15:25 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
2013-07-10 12:54     ` Guillaume Thouvenin
2013-07-10 15:25       ` Alex Williamson [this message]
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=1373469932.2602.330.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