Hi,

On 6/27/19 9:06 AM, Jan Kiszka wrote:
> On 25.06.19 19:25, Ralf Ramsauer wrote:
>> Hi,
>>
>> for the completeness sake: it's about ivshmem-net. The PCI device shows
>> up in the root cell and can be discovered via lspci, but the driver
>> fails while probing with
>>
>> [17061.414176] ivshmem-net 0000:00:01.0: enabling device (0000 -> 0002)
>> [17061.420598] ivshmem-net 0000:00:01.0: invalid IVPosition -1
> 
> The register read-out failed. Maybe a mismatch between driver and
> Jailhouse version: Which revisions are you using on both sides?

siemens/4.19-rt vs. jailhouse/next. Should match.

The bar_mask was copied over from the qemu demo. Other than that, the
only thing that changed is the bdf. We simply chose a free one on our
system.

The memory region behin ivshmem is high memory above 32-bit. I
instrumented and checked the code, but that shouldn't be a problem.


Thanks
  Ralf

> 
> Jan
> 
>> [17061.426193] ivshmem-net: probe of 0000:00:01.0 failed with error -22
>>
>> AFAICT, the device is correctly set up in the system configuration.
>>
>> Thanks
>>    Ralf
>>
>>
>> On 6/25/19 6:07 PM, Mario Mintel wrote:
>>> Hello,
>>>
>>>
>>> I want to set up a shared PCI device in the root cell but got stuck in
>>> the process.
>>>
>>>
>>> I did the following:
>>>
>>> I reserved a memory region for IVSHMEM and referenced this region in the
>>> pci_devices.
>>>
>>> When checking lspci the device shows up but looking at the dmesg the
>>> probing of the driver failed.
>>>
>>>
>>> I attached the configuration used, lspci of the device and the dmesg.
>>>
>>>
>>> I hope you can help me what's going wrong here.
>>>
>>>
>>> Thanks,
>>>
>>> Mario
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Jailhouse" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected]
>>> <mailto:[email protected]>.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jailhouse-dev/525b5e1b82474f3eaaecf83b150aa9f7%40st.oth-regensburg.de
>>>
>>> <https://groups.google.com/d/msgid/jailhouse-dev/525b5e1b82474f3eaaecf83b150aa9f7%40st.oth-regensburg.de?utm_medium=email&utm_source=footer>.
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/6a5c3bbf-ea93-775a-edaa-1dda25b08d8f%40oth-regensburg.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to