Hi Léonard,
Thank you for your reply.
I do understand the driver is trying to write to 0x30 and also that it is more
than likely vBar / pBar related. (not sure what the difference is!!)
Yes I'm pretty sure the card has a ROM, I flashed it with the latest bios
recently (Nvidia Geforce 8800 GTS 512).
I also have a Nvidia Geforce 9500 GT which exhibits the same symptoms, although
it does use the same driver.
I`m very new to developing at this level, with PCI bus etc .. I have a great
understanding otherwise and I didnt write Xen so i`m finding it difficult to
overcome these last obstacles!
Does your card work with HVM ? What model is it ?
Again - Thanks,
Tim
________________________________________
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Leonard Michelet
[leonard.michelet@xxxxxxxxx]
Sent: 14 April 2009 15:17
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] pt_pci_write_config: Warning: Guest attempt to set
address to unused Base Address Register. [00:03.0][Offset:30h][Length:4]
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@xxxxxxxxxxxxxxxxxxx
> 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.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|