On 19.11.20 08:52, Peter pan wrote:
> Hi, Jan,
> 
> After some investigation, I found the root cause of the issue: the
> carrier is not
> changed to be on if we open virtual NIC in inmate firstly, attached
> patch can
> fix this issue, please help to review, by the way where I can upstream
> this patch?

Thanks for the patch!

I'm just wondering, given that ivshmem-net is conceptually fully
symmetric, what is causing this issue to only happen in one way. Guess I
need to study the scenario in details.

Jan

> Thanks.
> 
> Best Regards,
> Jiafei.
> 
> 在2020年11月18日星期三 UTC+8 下午6:01:51<[email protected]> 写道:
> 
>     On 18.11.20 10:50, Peter pan wrote:
>     > Hi, Jan,
>     >
>     > I have one new issue and not sure it is a know issue.
>     >
>     > The issue is: when I ifconfig up ivshmem-net NIC in root cell firstly
>     > and then ifconfig up ivshmem NIC in inmate cell (runing Linux),  I
>     can
>     > ping through between two NICs, but if I ifconfig up NIC in inmate
>     cell
>     > before ifconfig up the NIC in root cell, I can't ping through between
>     > two NICs, and I found NIC in inmate can only receive packet
>     sending from
>     > root cell NIC, but NIC in root cell can't receive any packet and
>     there
>     > is also no irq received for ivshmem NIC.
>     >
> 
>     The link states of both virtual NICs are up (ethtool)? Is there any
>     ivshmem-net interrupt received at all on the root side? There should be
>     a few during setup at least.
> 
>     Check that the interrupt line on the root side is really free, and also
>     that GICD is properly intercepted by Jailhouse (check mappings).
> 
>     Jan
> 
>     -- 
>     Siemens AG, T RDA IOT
>     Corporate Competence Center Embedded Linux
> 
> -- 
> 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/581e32ac-d032-4108-b4fe-21286e6b2085n%40googlegroups.com
> <https://groups.google.com/d/msgid/jailhouse-dev/581e32ac-d032-4108-b4fe-21286e6b2085n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

-- 
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/803d46bb-b51a-6fba-7bfc-3e6d2145a8cd%40siemens.com.

Reply via email to