From: Leonard Michelet <leonard.michelet@gmail.com>
To: xen-devel@lists.xensource.com
Subject: Re: pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:03.0][Offset:30h][Length:4]
Date: Tue, 14 Apr 2009 07:17:24 -0700 (PDT) [thread overview]
Message-ID: <23040258.post@talk.nabble.com> (raw)
In-Reply-To: <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434B9F19@heavy-vm03.heavy.org.uk>
Hi,
I can't tell you why it's not working but I might help you to understand the
error message.
Your driver is trying to write something at the address 0x30 in the PCI
port.
This address correspond to the ROM's card address in the address space
(http://pficheux.free.fr/articles/lmf/pci/registres_pci.gif).
Does your card use ROM?
Usually, BARs and ROM are set while VM is starting (with remapping) and Xen
flag unset BARs as "unused". So when strange drivers write things in unused
PCI registers this error message warn you, but I'm not sure it stop the
writing order.
I have a card which work great despite these messages, so I don't think this
is the problem.
I hope this will help you. Can I ask you what card do you try to use?
Good luck.
Léonard
http://pficheux.free.fr/articles/lmf/pci/registres_pci.gif
Tim Moore-13 wrote:
>
> Hi Ian,
>
> I noticed that you updated the qemu-dm passthrough debug messages recently
> and was wondering if you could help me with this issue?
> (Please see xen-devel postings for further info)
>
> To sum things up, I have a non-hvm DomU with PCI Passthrough working
> successfully. The problem is that this is not working for any hvm DomU. Is
> this BAR warning related to my issue? I`m assume the vendor driver is
> attempting to set BAR and not just accepting the values passed in.
>
> What I find strange is that I am using the vendor driver under the non-hvm
> DomU also. Maybe pcifront is doing something that qemu-dm is not ?
>
> Here is the qemu-dm log output ... (relevant parts)
>
> register_real_device: Assigning real physical device 03:00.0 ...
> pt_register_regions: IO region registered (size=0x01000000
> base_addr=0xb2000000)
> pt_register_regions: IO region registered (size=0x10000000
> base_addr=0xe000000c)
> pt_register_regions: IO region registered (size=0x02000000
> base_addr=0xb0000004)
> pt_register_regions: IO region registered (size=0x00000080
> base_addr=0x00001001)
> pt_msi_setup: msi mapped with pirq ff
> register_real_device: Real physical device 03:00.0 registered successfuly!
> IRQ type = MSI-INTx
> Register xen platform.
> Done register platform.
> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw
> state.
> xs_read(/local/domain/0/device-model/3/xen_extended_power_mgmt): read
> error
> xs_read(): vncpasswd get error.
> /vm/900c41f9-a3f6-d78f-2270-93e116ee07e7/vncpasswd.
> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
> pt_pci_write_config: Warning: Guest attempt to set address to unused Base
> Address Register. [00:03.0][Offset:30h][Length:4]
> pt_iomem_map: e_phys=e0000000 maddr=e0000000 type=8 len=268435456 index=1
> first_map=1
> cirrus vga map change while on lfb mode
> pt_iomem_map: e_phys=f2000000 maddr=b0000000 type=0 len=33554432 index=3
> first_map=1
> pt_iomem_map: e_phys=f4000000 maddr=b2000000 type=0 len=16777216 index=0
> first_map=1
> pt_pci_write_config: Warning: Guest attempt to set address to unused Base
> Address Register. [00:03.0][Offset:30h][Length:4]
> pt_ioport_map: e_phys=c200 pio_base=1000 len=128 index=5 first_map=1
> mapping vram to f0000000 - f0400000
> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw
> state.
> platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro
> state.
> track_dirty_vram(f0000000, 26) failed (-1, 22)
> track_dirty_vram(f0000000, 26) failed (-1, 22)
> track_dirty_vram(f0000000, 26) failed (-1, 22)
> track_dirty_vram(f0000000, 26) failed (-1, 22)
>
> Many Thanks,
> Tim
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
--
View this message in context: http://www.nabble.com/pt_pci_write_config%3A-Warning%3A-Guest-attempt-to-set-address-to-unused-Base-Address-Register.--00%3A03.0--Offset%3A30h--Length%3A4--tp23022929p23040258.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
next prev parent reply other threads:[~2009-04-14 14:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-13 14:12 pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:03.0][Offset:30h][Length:4] Tim Moore
2009-04-14 14:17 ` Leonard Michelet [this message]
2009-04-14 18:42 ` Tim Moore
2009-04-16 5:53 ` [PATCH] ioemu: make unused Base Address Register 0 hardwired Yuji Shimada
2009-04-17 20:18 ` Tim Moore
2009-04-21 8:46 ` Yuji Shimada
2009-04-28 8:07 ` [PATCH] [RESEND] " Yuji Shimada
2009-04-29 15:54 ` Ian Jackson
-- strict thread matches above, loose matches on Subject: below --
2009-04-18 13:05 pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:03.0][Offset:30h][Length:4] Tim Moore
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=23040258.post@talk.nabble.com \
--to=leonard.michelet@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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.