[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Q: how to solve "shared RMRR" / "gfn already mapped" / GSI ?



On Wed, Oct 14, 2015 at 10:32 AM, HÃkon Alstadheim
<hakon@xxxxxxxxxxxxxxxxxx> wrote:
> Hi all, I'm running xen 4.6.0 since yesterday, and I really appreciate
> the progress that is being made, which finally allows me to state my
> problem concisely, so an answer /might/ be possible :-) .
>
> I am trying to pass through a usb-card to a windows domU, and it is not
> working. A while ago (well before 4.6) it was working for quite a while,
> then it stopped, without me being able to pinpoint what had changed.
>
> Now, after 4.6 , I have it working for a linux domU, but not for windows
> 8.1. Both are identical hvms as much as possible. For the linux domU,
> (which is working) xen console says:

Since you say it stopped working for Windows "well before 4.6", and it
*does* work for Linux with the errors below, I suspect that whatever
the problem is has nothing to do with the RMRRs (which are what the
errors below are about).

You could probably make the errors below go away by adding
"mmio_hole=3072" to your config file; but I suspect that your problem
will remain.

Unfortunately, without a more concrete error message to go on, the
most reliable way to find out what caused things to stop working is to
do a bisection. :-/

 -George

> -------
> (XEN) [2015-10-14 08:28:27] [VT-D] It's risky to assign 0000:04:00.0
> with shared RMRR at 7dbcb000 for Dom5.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbcb, gfn
> already mapped to bbdbcb.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbcc, gfn
> already mapped to bbdbcc.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbcd, gfn
> already mapped to bbdbcd.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbce, gfn
> already mapped to bbdbce.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbcf, gfn
> already mapped to bbdbcf.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd0, gfn
> already mapped to bbdbd0.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd1, gfn
> already mapped to bbdbd1.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd2, gfn
> already mapped to bbdbd2.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd3, gfn
> already mapped to bbdbd3.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd4, gfn
> already mapped to bbdbd4.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd5, gfn
> already mapped to bbdbd5.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd6, gfn
> already mapped to bbdbd6.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd7, gfn
> already mapped to bbdbd7.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd8, gfn
> already mapped to bbdbd8.
> (XEN) [2015-10-14 08:28:27] Cannot setup identity map d5:7dbd9, gfn
> already mapped to bbdbd9.
> (XEN) [2015-10-14 08:28:31] Direct Vector 0xf3
> -------
> For the windows domU (which is NOT WORKING) xen console says:
> -------
> (XEN) [2015-10-14 08:54:43] [VT-D] It's risky to assign 0000:04:00.0
> with shared RMRR at 7dbcb000 for Dom6.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbcb, gfn
> already mapped to cfdbcb.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbcc, gfn
> already mapped to cfdbcc.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbcd, gfn
> already mapped to cfdbcd.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbce, gfn
> already mapped to cfdbce.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbcf, gfn
> already mapped to cfdbcf.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd0, gfn
> already mapped to cfdbd0.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd1, gfn
> already mapped to cfdbd1.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd2, gfn
> already mapped to cfdbd2.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd3, gfn
> already mapped to cfdbd3.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd4, gfn
> already mapped to cfdbd4.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd5, gfn
> already mapped to cfdbd5.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd6, gfn
> already mapped to cfdbd6.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd7, gfn
> already mapped to cfdbd7.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd8, gfn
> already mapped to cfdbd8.
> (XEN) [2015-10-14 08:54:43] Cannot setup identity map d6:7dbd9, gfn
> already mapped to cfdbd9.
> (XEN) [2015-10-14 08:55:05] GSI 28
> ------
> After which usb is not working ( and I have no mouse&kbd, and I can not
> run the scanner for which I want the VM in the first place) .
>
> Is there a way to tweak bios or Xen to make this conflict go away?
>
> For reference, I start the vm with this command, identical for both vms:
> /usr/sbin/xl create windows.hvm
> 'pci=["82:00.0","04:00.0,rdm_policy=relaxed"]'
>
> --- windows.hvm file contents: --------------------------
> name = "windows.hvm"
> builder = "hvm"
> vcpus = 8
> pool="Pool-1"
> memory = 6144
> localtime = 1
> no_migrate = 1
> timer_mode = "one_missed_tick_pending"
>
> device_model_version="qemu-xen-traditional"
>
> disk = [ '/dev/system/winsys,raw,hda,rw'
> ,'/dev/system/windata,raw,hdb,rw'
> ,'file:/usr/local/share/xen/cd-images/ASMEDIA_USB_2-02.iso,hdc:cdrom,r']
>
> vif = [ 'mac=02:16:3e:00:00:05,model=e1000']
>
> on_poweroff = 'destroy'
> on_reboot = 'restart'
> on_crash = 'restart'
> boot = 'cd'
> acpi = '1'
> viridian = '1'
> sdl = '0'
> vnc = '1'
> videoram=16
> stdvga=1
> vnclisten="0.0.0.0"
> vncpasswd = ''
> usb = '1'
> usbdevices=['tablet']
> ---- windows.hvm ends ----
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.