All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gordon Messmer <yinyang@eburg.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: Device pass-through
Date: Thu, 05 Jan 2012 11:07:26 -0800	[thread overview]
Message-ID: <4F05F4EE.3050003@eburg.com> (raw)
In-Reply-To: <1325648683.4305.54.camel@bling.home>

On 01/03/2012 07:44 PM, Alex Williamson wrote:
> Yep, that's what I would have guessed, there's a 256MB resource.  I'm
> not sure if the seabios you're using is mapping the MMIO hole
> efficiently enough to handle that.  Can you test on new upstream
> qemu-kvm?  Thanks,

I'm not done poking the system, but I thought I'd send an update.

I started with an update to seabios, from the bundled version 
0.6.1.2-8.el6 to a rebuilt package from F16, 0.6.2-3.el6.  That's enough 
to get the guest to boot with the pass-through video card.  It doesn't 
work, currently, and I'm pretty sure that's because I can't read the ROM 
from the card.  I'm going to look around for a solution to that and will 
update again.

lspci in the guest shows the device:

00:07.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon
		HD 3470 (prog-if 00 [VGA controller])
	Subsystem: Dell Device 3243
	Physical Slot: 7
	Flags: fast devsel, IRQ 11
	Memory at e0000000 (32-bit, prefetchable) [size=256M]
	Memory at f2050000 (32-bit, non-prefetchable) [size=64K]
	I/O ports at c100 [size=256]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [50] Power Management version 3
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit-
	Kernel modules: radeon


dmesg reports some errors:

[    1.048791] [drm] Initialized drm 1.1.0 20060810
[    1.066131] [drm] radeon defaulting to kernel modesetting.
[    1.066133] [drm] radeon kernel modesetting enabled.
[    1.066220] radeon 0000:00:07.0: PCI INT A -> Link[LNKC] ->
		GSI 11 (level, high) -> IRQ 11
[    1.066267] radeon 0000:00:07.0: setting latency timer to 64
[    1.066611] [drm] initializing kernel modesetting
		(RV620 0x1002:0x95C0 0x1028:0x3243).
[    1.066774] [drm] register mmio base: 0xF2050000
[    1.066776] [drm] register mmio size: 65536
[    1.066884] radeon 0000:00:07.0: Expecting atombios for R600 GPU
[    1.066886] radeon 0000:00:07.0: Fatal error during GPU init
[    1.066888] [drm] radeon: finishing device.
[    1.066890] [TTM] Memory type 2 has not been initialized.
[    1.067924] vga_switcheroo: disabled
[    1.068070] radeon 0000:00:07.0: PCI INT A disabled
[    1.068075] radeon: probe of 0000:00:07.0 failed with error -22




  reply	other threads:[~2012-01-05 19:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-02 19:41 Device pass-through Gordon Messmer
2012-01-03 21:34 ` Alex Williamson
2012-01-04  0:29   ` Gordon Messmer
2012-01-04  3:44     ` Alex Williamson
2012-01-05 19:07       ` Gordon Messmer [this message]
2012-01-06  7:25         ` Gordon Messmer
2012-01-06  9:31           ` André Weidemann
2012-01-07  2:07             ` Gordon Messmer
2012-01-07 22:21               ` Gordon Messmer
2012-01-09  6:22                 ` Gordon Messmer
2012-01-16  6:52                   ` Gordon Messmer

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=4F05F4EE.3050003@eburg.com \
    --to=yinyang@eburg.com \
    --cc=alex.williamson@redhat.com \
    --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 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.