Date   

Re: ACRN Networking problem

Jianjie Lin
 

Hi Geoffroy

 

Unfortunately, it did not work. “sudo dhclient enp0s4” can not even finished, it stuck in the terminal.  By the way, I use v2.0

 

Thanks,

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 16. September 2021 15:52
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

The MAC address you specify there will be the MAC address you from within the User VM. Once you’ve booted the VM, run “ip a” in it, and the Ethernet interface should have that MAC address.

 

I just looked things up on one of my system (running some version of ACRN in between 2.4 and 2.5). The interface is there but it is down by default. If I manually run “sudo dhclient enp0s4” then it comes up and gets an IP address. Can you try this on your side (if you have not already done so). My User VM is based on Ubuntu. I have not investigated at all why the network interface is down by default (yet :-)).

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 16, 2021 12:40 pm
To: acrn-users@...
Subject: Re: [acrn-users] ACRN Networking problem

 

Hi geoffory,

I try this before, but it makes difference.

By the way is this mac address of tap_0 or something else? I use the tap0 mac address

Thanks

Jianjie LIN

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 16.
September 2021 12:37
An:
acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you try to specify a MAC address in your launch script? E.g.:

        -s 4,virtio-net,<tap_name>,[mac=<XX:XX:XX:XX:XX:XX>]

(from https://projectacrn.github.io/latest/developer-guides/hld/virtio-net.html)

 

I have never played with that myself but hopefully this can help you!

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 16, 2021 10:57 am
To: acrn-users@...
Subject: Re: [acrn-users] ACRN Networking problem

 

Hi Geoffory,

 

I Just figure out why the DHCP can not work, since the acrn-br0 generates a random mac-address, since the IT uni does not allow the random mac-address.

Therefore, I add the mac-address in the file /usr/lib/system/network/50-acrn.netdev with additional item: MACAddress=xx.xx.xxx.xx

 

Now the dhcp is correct.

However,

I found in the UOS, by using the virtio-net, I can generate an Ethernet name with enp4s0, but the same, no ip address is assigned. I can use the static ip address as before. But it is not so nice.

My question, is it possible of acrn bridge also an address space generates, like the normal virtual machine?

Since I cannot see the tap0 has an internet space.

 

Thanks

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Mittwoch, 15. September 2021 17:41
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you send us the output of “ip a” after a reboot, confirm whether you have internet access and then the same output after launching the User VM?

 

You don’t have any IP address (IPv4) assigned to your bridge below, that’s where the problem is coming from but I do not know why you don’t have such IP address assigned to it. Are you using DHCP on your network or are you using statically assigned IP addresses?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Tuesday, September 14, 2021 2:54 pm
To: acrn-users@...
Subject: [acrn-users] ACRN Networking problem

 

Hi Acrn community,

 

I just faced another problem in terms of networking.

I follow the tutorial from the document by using

Enable network sharing for the User VM

In the Ubuntu Service VM, enable network sharing for the User VM:

$ sudo systemctl enable systemd-networkd
$ sudo systemctl start systemd-networkd

and the ifconfig I got is:

 

acrn-br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::502a:fbff:fe20:e829  prefixlen 64  scopeid 0x20<link>

        ether 52:2a:fb:20:e8:29  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 28200 (28.2 KB)

        RX errors 0  dropped 3  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1a  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1200000-a121ffff  

 

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1b  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 31826 (31.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1100000-a111ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 119  bytes 9331 (9.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 119  bytes 9331 (9.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tap0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 9e:80:1e:99:4f:82  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0b:09:e0  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

 

After that, I do not have internet access anymore.

Do you have any suggestions on how to fix the problem?

Moreover, I test with the console version, and it also has no internet.

For your information, I have attached my launch file.

 

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: ACRN Networking problem

Jianjie Lin
 

Hi Geoffory,

 

Thank you, I do not run the command the “sudo dhclient enpos4” before, But I will try it later

Thanks

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 16. September 2021 15:52
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

The MAC address you specify there will be the MAC address you from within the User VM. Once you’ve booted the VM, run “ip a” in it, and the Ethernet interface should have that MAC address.

 

I just looked things up on one of my system (running some version of ACRN in between 2.4 and 2.5). The interface is there but it is down by default. If I manually run “sudo dhclient enp0s4” then it comes up and gets an IP address. Can you try this on your side (if you have not already done so). My User VM is based on Ubuntu. I have not investigated at all why the network interface is down by default (yet :-)).

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 16, 2021 12:40 pm
To: acrn-users@...
Subject: Re: [acrn-users] ACRN Networking problem

 

Hi geoffory,

I try this before, but it makes difference.

By the way is this mac address of tap_0 or something else? I use the tap0 mac address

Thanks

Jianjie LIN

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 16. September 2021 12:37
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you try to specify a MAC address in your launch script? E.g.:

        -s 4,virtio-net,<tap_name>,[mac=<XX:XX:XX:XX:XX:XX>]

(from https://projectacrn.github.io/latest/developer-guides/hld/virtio-net.html)

 

I have never played with that myself but hopefully this can help you!

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 16, 2021 10:57 am
To: acrn-users@...
Subject: Re: [acrn-users] ACRN Networking problem

 

Hi Geoffory,

 

I Just figure out why the DHCP can not work, since the acrn-br0 generates a random mac-address, since the IT uni does not allow the random mac-address.

Therefore, I add the mac-address in the file /usr/lib/system/network/50-acrn.netdev with additional item: MACAddress=xx.xx.xxx.xx

 

Now the dhcp is correct.

However,

I found in the UOS, by using the virtio-net, I can generate an Ethernet name with enp4s0, but the same, no ip address is assigned. I can use the static ip address as before. But it is not so nice.

My question, is it possible of acrn bridge also an address space generates, like the normal virtual machine?

Since I cannot see the tap0 has an internet space.

 

Thanks

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Mittwoch, 15. September 2021 17:41
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you send us the output of “ip a” after a reboot, confirm whether you have internet access and then the same output after launching the User VM?

 

You don’t have any IP address (IPv4) assigned to your bridge below, that’s where the problem is coming from but I do not know why you don’t have such IP address assigned to it. Are you using DHCP on your network or are you using statically assigned IP addresses?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Tuesday, September 14, 2021 2:54 pm
To: acrn-users@...
Subject: [acrn-users] ACRN Networking problem

 

Hi Acrn community,

 

I just faced another problem in terms of networking.

I follow the tutorial from the document by using

Enable network sharing for the User VM

In the Ubuntu Service VM, enable network sharing for the User VM:

$ sudo systemctl enable systemd-networkd
$ sudo systemctl start systemd-networkd

and the ifconfig I got is:

 

acrn-br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::502a:fbff:fe20:e829  prefixlen 64  scopeid 0x20<link>

        ether 52:2a:fb:20:e8:29  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 28200 (28.2 KB)

        RX errors 0  dropped 3  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1a  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1200000-a121ffff  

 

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1b  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 31826 (31.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1100000-a111ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 119  bytes 9331 (9.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 119  bytes 9331 (9.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tap0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 9e:80:1e:99:4f:82  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0b:09:e0  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

 

After that, I do not have internet access anymore.

Do you have any suggestions on how to fix the problem?

Moreover, I test with the console version, and it also has no internet.

For your information, I have attached my launch file.

 

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: ACRN Networking problem

Geoffroy Van Cutsem
 

Hi Jianjie,

 

The MAC address you specify there will be the MAC address you from within the User VM. Once you’ve booted the VM, run “ip a” in it, and the Ethernet interface should have that MAC address.

 

I just looked things up on one of my system (running some version of ACRN in between 2.4 and 2.5). The interface is there but it is down by default. If I manually run “sudo dhclient enp0s4” then it comes up and gets an IP address. Can you try this on your side (if you have not already done so). My User VM is based on Ubuntu. I have not investigated at all why the network interface is down by default (yet :-)).

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 16, 2021 12:40 pm
To: acrn-users@...
Subject: Re: [acrn-users] ACRN Networking problem

 

Hi geoffory,

I try this before, but it makes difference.

By the way is this mac address of tap_0 or something else? I use the tap0 mac address

Thanks

Jianjie LIN

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 16. September 2021 12:37
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you try to specify a MAC address in your launch script? E.g.:

        -s 4,virtio-net,<tap_name>,[mac=<XX:XX:XX:XX:XX:XX>]

(from https://projectacrn.github.io/latest/developer-guides/hld/virtio-net.html)

 

I have never played with that myself but hopefully this can help you!

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 16, 2021 10:57 am
To: acrn-users@...
Subject: Re: [acrn-users] ACRN Networking problem

 

Hi Geoffory,

 

I Just figure out why the DHCP can not work, since the acrn-br0 generates a random mac-address, since the IT uni does not allow the random mac-address.

Therefore, I add the mac-address in the file /usr/lib/system/network/50-acrn.netdev with additional item: MACAddress=xx.xx.xxx.xx

 

Now the dhcp is correct.

However,

I found in the UOS, by using the virtio-net, I can generate an Ethernet name with enp4s0, but the same, no ip address is assigned. I can use the static ip address as before. But it is not so nice.

My question, is it possible of acrn bridge also an address space generates, like the normal virtual machine?

Since I cannot see the tap0 has an internet space.

 

Thanks

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Mittwoch, 15. September 2021 17:41
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you send us the output of “ip a” after a reboot, confirm whether you have internet access and then the same output after launching the User VM?

 

You don’t have any IP address (IPv4) assigned to your bridge below, that’s where the problem is coming from but I do not know why you don’t have such IP address assigned to it. Are you using DHCP on your network or are you using statically assigned IP addresses?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Tuesday, September 14, 2021 2:54 pm
To: acrn-users@...
Subject: [acrn-users] ACRN Networking problem

 

Hi Acrn community,

 

I just faced another problem in terms of networking.

I follow the tutorial from the document by using

Enable network sharing for the User VM

In the Ubuntu Service VM, enable network sharing for the User VM:

$ sudo systemctl enable systemd-networkd
$ sudo systemctl start systemd-networkd

and the ifconfig I got is:

 

acrn-br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::502a:fbff:fe20:e829  prefixlen 64  scopeid 0x20<link>

        ether 52:2a:fb:20:e8:29  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 28200 (28.2 KB)

        RX errors 0  dropped 3  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1a  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1200000-a121ffff  

 

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1b  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 31826 (31.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1100000-a111ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 119  bytes 9331 (9.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 119  bytes 9331 (9.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tap0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 9e:80:1e:99:4f:82  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0b:09:e0  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

 

After that, I do not have internet access anymore.

Do you have any suggestions on how to fix the problem?

Moreover, I test with the console version, and it also has no internet.

For your information, I have attached my launch file.

 

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: ACRN Networking problem

Jianjie Lin
 

Hi geoffory,

I try this before, but it makes difference.

By the way is this mac address of tap_0 or something else? I use the tap0 mac address

Thanks

Jianjie LIN

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 16. September 2021 12:37
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you try to specify a MAC address in your launch script? E.g.:

        -s 4,virtio-net,<tap_name>,[mac=<XX:XX:XX:XX:XX:XX>]

(from https://projectacrn.github.io/latest/developer-guides/hld/virtio-net.html)

 

I have never played with that myself but hopefully this can help you!

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 16, 2021 10:57 am
To: acrn-users@...
Subject: Re: [acrn-users] ACRN Networking problem

 

Hi Geoffory,

 

I Just figure out why the DHCP can not work, since the acrn-br0 generates a random mac-address, since the IT uni does not allow the random mac-address.

Therefore, I add the mac-address in the file /usr/lib/system/network/50-acrn.netdev with additional item: MACAddress=xx.xx.xxx.xx

 

Now the dhcp is correct.

However,

I found in the UOS, by using the virtio-net, I can generate an Ethernet name with enp4s0, but the same, no ip address is assigned. I can use the static ip address as before. But it is not so nice.

My question, is it possible of acrn bridge also an address space generates, like the normal virtual machine?

Since I cannot see the tap0 has an internet space.

 

Thanks

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Mittwoch, 15. September 2021 17:41
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you send us the output of “ip a” after a reboot, confirm whether you have internet access and then the same output after launching the User VM?

 

You don’t have any IP address (IPv4) assigned to your bridge below, that’s where the problem is coming from but I do not know why you don’t have such IP address assigned to it. Are you using DHCP on your network or are you using statically assigned IP addresses?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Tuesday, September 14, 2021 2:54 pm
To: acrn-users@...
Subject: [acrn-users] ACRN Networking problem

 

Hi Acrn community,

 

I just faced another problem in terms of networking.

I follow the tutorial from the document by using

Enable network sharing for the User VM

In the Ubuntu Service VM, enable network sharing for the User VM:

$ sudo systemctl enable systemd-networkd
$ sudo systemctl start systemd-networkd

and the ifconfig I got is:

 

acrn-br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::502a:fbff:fe20:e829  prefixlen 64  scopeid 0x20<link>

        ether 52:2a:fb:20:e8:29  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 28200 (28.2 KB)

        RX errors 0  dropped 3  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1a  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1200000-a121ffff  

 

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1b  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 31826 (31.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1100000-a111ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 119  bytes 9331 (9.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 119  bytes 9331 (9.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tap0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 9e:80:1e:99:4f:82  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0b:09:e0  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

 

After that, I do not have internet access anymore.

Do you have any suggestions on how to fix the problem?

Moreover, I test with the console version, and it also has no internet.

For your information, I have attached my launch file.

 

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: ACRN Networking problem

Geoffroy Van Cutsem
 

Hi Jianjie,

 

Can you try to specify a MAC address in your launch script? E.g.:

        -s 4,virtio-net,<tap_name>,[mac=<XX:XX:XX:XX:XX:XX>]

(from https://projectacrn.github.io/latest/developer-guides/hld/virtio-net.html)

 

I have never played with that myself but hopefully this can help you!

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 16, 2021 10:57 am
To: acrn-users@...
Subject: Re: [acrn-users] ACRN Networking problem

 

Hi Geoffory,

 

I Just figure out why the DHCP can not work, since the acrn-br0 generates a random mac-address, since the IT uni does not allow the random mac-address.

Therefore, I add the mac-address in the file /usr/lib/system/network/50-acrn.netdev with additional item: MACAddress=xx.xx.xxx.xx

 

Now the dhcp is correct.

However,

I found in the UOS, by using the virtio-net, I can generate an Ethernet name with enp4s0, but the same, no ip address is assigned. I can use the static ip address as before. But it is not so nice.

My question, is it possible of acrn bridge also an address space generates, like the normal virtual machine?

Since I cannot see the tap0 has an internet space.

 

Thanks

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Mittwoch, 15. September 2021 17:41
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you send us the output of “ip a” after a reboot, confirm whether you have internet access and then the same output after launching the User VM?

 

You don’t have any IP address (IPv4) assigned to your bridge below, that’s where the problem is coming from but I do not know why you don’t have such IP address assigned to it. Are you using DHCP on your network or are you using statically assigned IP addresses?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Tuesday, September 14, 2021 2:54 pm
To: acrn-users@...
Subject: [acrn-users] ACRN Networking problem

 

Hi Acrn community,

 

I just faced another problem in terms of networking.

I follow the tutorial from the document by using

Enable network sharing for the User VM

In the Ubuntu Service VM, enable network sharing for the User VM:

$ sudo systemctl enable systemd-networkd
$ sudo systemctl start systemd-networkd

and the ifconfig I got is:

 

acrn-br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::502a:fbff:fe20:e829  prefixlen 64  scopeid 0x20<link>

        ether 52:2a:fb:20:e8:29  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 28200 (28.2 KB)

        RX errors 0  dropped 3  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1a  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1200000-a121ffff  

 

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1b  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 31826 (31.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1100000-a111ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 119  bytes 9331 (9.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 119  bytes 9331 (9.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tap0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 9e:80:1e:99:4f:82  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0b:09:e0  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

 

After that, I do not have internet access anymore.

Do you have any suggestions on how to fix the problem?

Moreover, I test with the console version, and it also has no internet.

For your information, I have attached my launch file.

 

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: ACRN Networking problem

Jianjie Lin
 

Hi Geoffory,

 

I Just figure out why the DHCP can not work, since the acrn-br0 generates a random mac-address, since the IT uni does not allow the random mac-address.

Therefore, I add the mac-address in the file /usr/lib/system/network/50-acrn.netdev with additional item: MACAddress=xx.xx.xxx.xx

 

Now the dhcp is correct.

However,

I found in the UOS, by using the virtio-net, I can generate an Ethernet name with enp4s0, but the same, no ip address is assigned. I can use the static ip address as before. But it is not so nice.

My question, is it possible of acrn bridge also an address space generates, like the normal virtual machine?

Since I cannot see the tap0 has an internet space.

 

Thanks

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Mittwoch, 15. September 2021 17:41
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you send us the output of “ip a” after a reboot, confirm whether you have internet access and then the same output after launching the User VM?

 

You don’t have any IP address (IPv4) assigned to your bridge below, that’s where the problem is coming from but I do not know why you don’t have such IP address assigned to it. Are you using DHCP on your network or are you using statically assigned IP addresses?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Tuesday, September 14, 2021 2:54 pm
To: acrn-users@...
Subject: [acrn-users] ACRN Networking problem

 

Hi Acrn community,

 

I just faced another problem in terms of networking.

I follow the tutorial from the document by using

Enable network sharing for the User VM

In the Ubuntu Service VM, enable network sharing for the User VM:

$ sudo systemctl enable systemd-networkd
$ sudo systemctl start systemd-networkd

and the ifconfig I got is:

 

acrn-br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::502a:fbff:fe20:e829  prefixlen 64  scopeid 0x20<link>

        ether 52:2a:fb:20:e8:29  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 28200 (28.2 KB)

        RX errors 0  dropped 3  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1a  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1200000-a121ffff  

 

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1b  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 31826 (31.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1100000-a111ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 119  bytes 9331 (9.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 119  bytes 9331 (9.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tap0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 9e:80:1e:99:4f:82  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0b:09:e0  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

 

After that, I do not have internet access anymore.

Do you have any suggestions on how to fix the problem?

Moreover, I test with the console version, and it also has no internet.

For your information, I have attached my launch file.

 

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: ACRN Networking problem

Jianjie Lin
 

Hi geoffory,

In my case If I use the DHCP, no ipv4 will be assigned to bridge

I change to the static ip address, and It works.

But I still want to know how use the dhcp.

 Thanks,

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Mittwoch, 15. September 2021 17:41
An: acrn-users@...
Betreff: Re: [acrn-users] ACRN Networking problem

 

Hi Jianjie,

 

Can you send us the output of “ip a” after a reboot, confirm whether you have internet access and then the same output after launching the User VM?

 

You don’t have any IP address (IPv4) assigned to your bridge below, that’s where the problem is coming from but I do not know why you don’t have such IP address assigned to it. Are you using DHCP on your network or are you using statically assigned IP addresses?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Tuesday, September 14, 2021 2:54 pm
To: acrn-users@...
Subject: [acrn-users] ACRN Networking problem

 

Hi Acrn community,

 

I just faced another problem in terms of networking.

I follow the tutorial from the document by using

Enable network sharing for the User VM

In the Ubuntu Service VM, enable network sharing for the User VM:

$ sudo systemctl enable systemd-networkd
$ sudo systemctl start systemd-networkd

and the ifconfig I got is:

 

acrn-br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::502a:fbff:fe20:e829  prefixlen 64  scopeid 0x20<link>

        ether 52:2a:fb:20:e8:29  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 28200 (28.2 KB)

        RX errors 0  dropped 3  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1a  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1200000-a121ffff  

 

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1b  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 31826 (31.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1100000-a111ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 119  bytes 9331 (9.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 119  bytes 9331 (9.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tap0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 9e:80:1e:99:4f:82  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0b:09:e0  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

 

After that, I do not have internet access anymore.

Do you have any suggestions on how to fix the problem?

Moreover, I test with the console version, and it also has no internet.

For your information, I have attached my launch file.

 

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: ACRN Networking problem

Geoffroy Van Cutsem
 

Hi Jianjie,

 

Can you send us the output of “ip a” after a reboot, confirm whether you have internet access and then the same output after launching the User VM?

 

You don’t have any IP address (IPv4) assigned to your bridge below, that’s where the problem is coming from but I do not know why you don’t have such IP address assigned to it. Are you using DHCP on your network or are you using statically assigned IP addresses?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Tuesday, September 14, 2021 2:54 pm
To: acrn-users@...
Subject: [acrn-users] ACRN Networking problem

 

Hi Acrn community,

 

I just faced another problem in terms of networking.

I follow the tutorial from the document by using

Enable network sharing for the User VM

In the Ubuntu Service VM, enable network sharing for the User VM:

$ sudo systemctl enable systemd-networkd
$ sudo systemctl start systemd-networkd

and the ifconfig I got is:

 

acrn-br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::502a:fbff:fe20:e829  prefixlen 64  scopeid 0x20<link>

        ether 52:2a:fb:20:e8:29  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 28200 (28.2 KB)

        RX errors 0  dropped 3  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1a  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1200000-a121ffff  

 

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1b  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 31826 (31.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1100000-a111ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 119  bytes 9331 (9.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 119  bytes 9331 (9.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tap0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 9e:80:1e:99:4f:82  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0b:09:e0  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

 

After that, I do not have internet access anymore.

Do you have any suggestions on how to fix the problem?

Moreover, I test with the console version, and it also has no internet.

For your information, I have attached my launch file.

 

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


ACRN Networking problem

Jianjie Lin
 

Hi Acrn community,

 

I just faced another problem in terms of networking.

I follow the tutorial from the document by using

Enable network sharing for the User VM

In the Ubuntu Service VM, enable network sharing for the User VM:

$ sudo systemctl enable systemd-networkd
$ sudo systemctl start systemd-networkd

and the ifconfig I got is:

 

acrn-br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::502a:fbff:fe20:e829  prefixlen 64  scopeid 0x20<link>

        ether 52:2a:fb:20:e8:29  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 28200 (28.2 KB)

        RX errors 0  dropped 3  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

enp1s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1a  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1200000-a121ffff  

 

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ether b0:41:6f:03:c6:1b  txqueuelen 1000  (Ethernet)

        RX packets 259  bytes 31826 (31.8 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 35  bytes 8894 (8.8 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device memory 0xa1100000-a111ffff  

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1000  (Local Loopback)

        RX packets 119  bytes 9331 (9.3 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 119  bytes 9331 (9.3 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tap0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 9e:80:1e:99:4f:82  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0b:09:e0  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

 

After that, I do not have internet access anymore.

Do you have any suggestions on how to fix the problem?

Moreover, I test with the console version, and it also has no internet.

For your information, I have attached my launch file.

 

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


2021 ACRN Project Technical Community Meeting (2021/1~2021/12): @ Monthly 3rd Wednesday 4PM (China-Shanghai), Wednesday 10AM (Europe-Munich), Tuesday 1AM (US-West Coast)

Zou, Terry
 

Special Notes: If you have Zoom connection issue by using web browser, please install & launch Zoom application, manually input the meeting ID (320664063) to join the Zoom meeting.
 
Agenda & Archives:
WW Topic Presenter Status
WW04 ACRN PCI based vUART introduction Tao Yuhong 1/20/2021
Chinese New Year Break
WW13 ACRN Real-Time Enhancement Introduction Huang Yonghua 3/24/2021
WW17 Enable ACRN on TGL NUC11 Liu Fuzhong 4/21/2021
WW21 ACRN Memory Layout Related Boot Issue Diagnosis Sun Victor 5/19/2021
WW30 ACRN Config Tool 2.0 Introduction Xie Nanlin 7/21/2021
WW34 ACRN RTVM  Performance of Sharing Storage Cao Minggui 8/18/2021
WW39 ACRN Software SRAM Introduction Huang Yonghua 9/22/2021
WW43 ACRN Nested Virtualization Introduction Shen Fangfang 10/20/2021
 
Project ACRN: A flexible, light-weight, open source reference hypervisor for IoT devices
We invite you to attend a monthly "Technical Community" meeting where we'll meet community members and talk about the ACRN project and plans.
As we explore community interest and involvement opportunities, we'll (re)schedule these meetings at a time convenient to most attendees:
  • Meets every 3rd Wednesday, Starting Jan 20, 2021: 4-5:00 PM (China-Shanghai), Wednesday 10-11:00 AM (Europe-Munich), Tuesday 1-2:00 AM (US-West Coast)
  • Chairperson: Terry ZOU, terry.zou@... (Intel)
  • Online conference link: https://zoom.com.cn/j/320664063
  • Zoom Meeting ID: 320 664 063
  • Special Notes: If you have Zoom connection issue by using web browser, please launch Zoom application, manually input the meeting ID (320664063) to join the Zoom meeting.
  • Online conference phone:
  • China: +86 010 87833177  or 400 669 9381 (Toll Free)
  • Germany: +49 (0) 30 3080 6188  or +49 800 724 3138 (Toll Free)
  • US: +1 669 900 6833  or +1 646 558 8656   or +1 877 369 0926 (Toll Free) or +1 855 880 1246 (Toll Free)
  • Additional international phone numbers
  • Meeting Notes:
 
 


Re: How/Where to use ACRN Shell Commands

Geoffroy Van Cutsem
 

Hi Feng,

 

These are accessible via the serial port interface. It’s the only way to have access to the ACRN shell.

 

Do you have a serial port on your system?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Pan, Fengjunjie
Sent: Friday, September 10, 2021 3:00 pm
To: acrn-users@...
Subject: [acrn-users] How/Where to use ACRN Shell Commands

 

Hello community,

 

Does anyone know how to use these ACRN shell commands? https://projectacrn.github.io/latest/user-guides/acrn-shell.html

I could not find anywhere to open a console which can execute them.

 

Regards,

Feng


How/Where to use ACRN Shell Commands

Pan, Fengjunjie
 

Hello community,

 

Does anyone know how to use these ACRN shell commands? https://projectacrn.github.io/latest/user-guides/acrn-shell.html

I could not find anywhere to open a console which can execute them.

 

Regards,

Feng


Re: GPU-g is gpu sharing or cutting?

Zou, Terry
 

Hi Jianjie, basically GVT-g is based on mediated passthrough technology for graphics sharing between VMs, that could provide full GPU feature as vGPU in each VM, and also secure the isolation among VMs.

So for memory virtualization, it is not simplify ‘cut’ or ‘sharing’ for GPU memory assignment, but at least from general vGPU perspective, one VM cannot touch/access other VM’s memory address, and Hypervisor/DM would handle GPA<->HPA translation right.

 

GVT-g passes through the performance-critical operations, such as Frame Buffer and Command Buffer from the VM. For the global graphics memory space, GVT-g uses graphics memory resource partitioning and an address space ballooning mechanism.

You can find more detailed graphics memory virtualization arch design in: https://projectacrn.github.io/latest/developer-guides/hld/hld-APL_GVT-g.html#graphics-memory-virtualization

 

Best & Regards

Terry

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Tuesday, September 7, 2021 10:40 PM
To: acrn-users@...
Subject: [acrn-users] GPU-g is gpu sharing or cutting?

 

Hi ACRN community,

 

As I got reply last time from the community, that by using the gvt-g, we CAN NOT assign the e.g. 60 % GPU to uos.

Now I have another question is about the theory of GVT-G,

If I use the gvt-g with parameter -G "10 128 6"  to launch UOS0,

my question is that the other UOS such as UOS1 can access this part GPU or not? Or more especially, the gvt-g will “cut” the GPU or just doing the GPU-sharing?

  1. “cut” means that if we assign this part to UOS0,  and other UOS CAN not  access this part
  2. “sharing” means that other UOS can share the GPU with UOS0 in the same GPU memory.

 

Thank you for your reply in advanced.

Cheers,

Jianjie Lin

 


GPU-g is gpu sharing or cutting?

Jianjie Lin
 

Hi ACRN community,

 

As I got reply last time from the community, that by using the gvt-g, we CAN NOT assign the e.g. 60 % GPU to uos.

Now I have another question is about the theory of GVT-G,

If I use the gvt-g with parameter -G "10 128 6"  to launch UOS0,

my question is that the other UOS such as UOS1 can access this part GPU or not? Or more especially, the gvt-g will “cut” the GPU or just doing the GPU-sharing?

1.       “cut” means that if we assign this part to UOS0,  and other UOS CAN not  access this part

2.       “sharing” means that other UOS can share the GPU with UOS0 in the same GPU memory.

 

Thank you for your reply in advanced.

Cheers,

Jianjie Lin

 


Re: [WHL] launch two UOSs in the same time

Jianjie Lin
 

As you suggest, I add each UOS launch script with an UUID value, and launch the file according to the order of uuid, defined in the vm_uuid.h file. And, Yes, only one UUID is sufficient.

Thank you.

 

Actually, I found some documentation error in the version of v2.0

For example. In this tutorial:

https://projectacrn.github.io/2.0/getting-started/rt_industry_ubuntu.html

for build ACRN

Documented as

$ make all BOARD_FILE=misc/acrn-config/xmls/board-xmls/whl-ipc-i7.xml SCENARIO_FILE=misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml RELEASE=0

$ sudo make install

$ sudo cp build/hypervisor/acrn.bin /boot/acrn/

 

è It should be

$ make all BOARD_FILE=misc/acrn-config/xmls/board-xmls/whl-ipc-i7.xml SCENARIO_FILE=misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml RELEASE=0

$ sudo make install BOARD=whl-ipc-i7 SCENARIO=industry

$ sudo cp build/hypervisor/acrn.bin /boot/acrn/

 

Otherwise, the sudo make install will automatically install BOARD as nuc7i7dnb and SCENARIO=sdc.

 

Another example,

 

if you did not define the CONFIG_HV_RAM_SIZE in the scenario file, and build the acrn-hypervisor, it will has a problem of .bss. In my case, the old whiskey board is automatilcally defined as 0x1400000, which is not enough for the new whiskey. I manually change the config in the build/hypervisor/.config, file. And rebuild again.

 

By the way, if I recompile the acrn-hypervisor with different scenario, should I recompile my acrn-kernel again.

 

Cheers

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Freitag, 3. September 2021 09:49
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Thanks for the confirmation Jianjie Lin!

 

You shouldn’t have to add more UUIDs to that file though, using different ones in each launch script (by adding the “-U” option) should be sufficient, were you not able to do this without adding new ones??

 

Thanks!
Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Friday, September 3, 2021 9:43 am
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Geoffory,

Thank you very much. The problem is fixed. It really depends on the UUID in my case. I need to add different UUID from the vm_uuid.h ..

Thanks again.

 

Cheers,

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 2.
September 2021 17:13
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

That header file contains a fixed (and static) list of UUIDs that can be used to launch VMs. I’m thinking that perhaps what is happening is the acrn-dm uses the same UUID by default for the second VM because it is not specified via the command-line. Adding the -U parameter will force it to use a UUID that we have chosen ourselves, it *must* be one from the list in that header file.

 

Does that help clarify?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 5:10 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Sorry, you mean the uuid can only assigned to the one which is saved in the vm_uuid.h? Am I missunderstanding?

 

Mit freundlichen Grüßen
Jianjie Lin


From: acrn-users@... <acrn-users@...> on behalf of Geoffroy Van Cutsem <geoffroy.vancutsem@...>
Sent: Thursday, September 2, 2021 5:01:13 PM
To: acrn-users@... <acrn-users@...>
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

I’m suspicious of something wrong with the UUIDs.


Can you try to add the UUID you want to use for the second VM to the launch script, using the “-U” option

 

E.g.: -U 615db82a-e189-4b4f-8dbb-d321343e4ab3 (similar to what you see here: https://github.com/projectacrn/acrn-hypervisor/blob/master/misc/config_tools/data/sample_launch_scripts/nuc/launch_hard_rt_vm.sh#L47, but with a different UUID taken from here: https://github.com/projectacrn/acrn-hypervisor/blob/master/hypervisor/include/common/vm_uuids.h

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 4:38 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Is that happening no matter which order you try to load them ?

.--> yes, no matter in the gpu version or console version. The first one is always correct, but the second one fails always.

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesend
et: Donnerstag, 2. September 2021 16:21
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Jianjie Lin,

 

Do you have more logs to share when the second VM fails to start (acrn-dm console & serial port output)? Is that happening no matter which order you try to load them?

 

A couple of remarks/questions:

* Your industry.xml file only ever assigns pCPU 0 and 1 to all User VMs, but your console_launch_uos3_4.sh tries to use pCPUs 2 and 3

* Is gpu_launch_uos4.sh supposed to launch a Windows User VM? I see the ‘--windows’ parameter in it but it seems to want to use GVTg and picks up an image from a folder called “ubuntu_images”. The  “--windows” parameter makes acrn-dm use the Oracle Virtio block device.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 2:40 pm
To: acrn-users@...
Subject: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi ACRN Community,

 

We faced the problem of launching two UOSs at the same time. We deployed the whiskey lake board: whl-IPC-i7.xml, and we customize the scenario file with 4 Post-STD VM.

 

We can successfully launch one VM, but we can not create the second VM in the acrn kernel.

 

I attached the two launch file

gpu_launch_uos3.sh

console_launch_uos3_4.sh

 

Besides, I attach my board file and scenario file if it can help to find out the issue.

 

I add the following the command line in the file in the /etc/grub.d/40.cutsom for Gvt-g

“i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_gvt=1 i915.enable_guc=0 i915.enable_conformance_check=0”

 

For each launch file, we can launch the VM without any problem. But If I launch them at the same time, only the first one is successful, the another one is failed to created.

 

I go through the issue from GitHub. However, no direct solution is founded based on those comments.

Do you have any idea how I can forward further?

 

Thank you very much firstly for your support.

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: [WHL] launch two UOSs in the same time

Geoffroy Van Cutsem
 

Thanks for the confirmation Jianjie Lin!

 

You shouldn’t have to add more UUIDs to that file though, using different ones in each launch script (by adding the “-U” option) should be sufficient, were you not able to do this without adding new ones??

 

Thanks!
Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Friday, September 3, 2021 9:43 am
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Geoffory,

Thank you very much. The problem is fixed. It really depends on the UUID in my case. I need to add different UUID from the vm_uuid.h ..

Thanks again.

 

Cheers,

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 2. September 2021 17:13
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

That header file contains a fixed (and static) list of UUIDs that can be used to launch VMs. I’m thinking that perhaps what is happening is the acrn-dm uses the same UUID by default for the second VM because it is not specified via the command-line. Adding the -U parameter will force it to use a UUID that we have chosen ourselves, it *must* be one from the list in that header file.

 

Does that help clarify?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 5:10 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Sorry, you mean the uuid can only assigned to the one which is saved in the vm_uuid.h? Am I missunderstanding?

 

Mit freundlichen Grüßen
Jianjie Lin


From: acrn-users@... <acrn-users@...> on behalf of Geoffroy Van Cutsem <geoffroy.vancutsem@...>
Sent: Thursday, September 2, 2021 5:01:13 PM
To: acrn-users@... <acrn-users@...>
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

I’m suspicious of something wrong with the UUIDs.


Can you try to add the UUID you want to use for the second VM to the launch script, using the “-U” option

 

E.g.: -U 615db82a-e189-4b4f-8dbb-d321343e4ab3 (similar to what you see here: https://github.com/projectacrn/acrn-hypervisor/blob/master/misc/config_tools/data/sample_launch_scripts/nuc/launch_hard_rt_vm.sh#L47, but with a different UUID taken from here: https://github.com/projectacrn/acrn-hypervisor/blob/master/hypervisor/include/common/vm_uuids.h

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 4:38 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Is that happening no matter which order you try to load them ?

.--> yes, no matter in the gpu version or console version. The first one is always correct, but the second one fails always.

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesend
et: Donnerstag, 2. September 2021 16:21
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Jianjie Lin,

 

Do you have more logs to share when the second VM fails to start (acrn-dm console & serial port output)? Is that happening no matter which order you try to load them?

 

A couple of remarks/questions:

* Your industry.xml file only ever assigns pCPU 0 and 1 to all User VMs, but your console_launch_uos3_4.sh tries to use pCPUs 2 and 3

* Is gpu_launch_uos4.sh supposed to launch a Windows User VM? I see the ‘--windows’ parameter in it but it seems to want to use GVTg and picks up an image from a folder called “ubuntu_images”. The  “--windows” parameter makes acrn-dm use the Oracle Virtio block device.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 2:40 pm
To: acrn-users@...
Subject: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi ACRN Community,

 

We faced the problem of launching two UOSs at the same time. We deployed the whiskey lake board: whl-IPC-i7.xml, and we customize the scenario file with 4 Post-STD VM.

 

We can successfully launch one VM, but we can not create the second VM in the acrn kernel.

 

I attached the two launch file

gpu_launch_uos3.sh

console_launch_uos3_4.sh

 

Besides, I attach my board file and scenario file if it can help to find out the issue.

 

I add the following the command line in the file in the /etc/grub.d/40.cutsom for Gvt-g

“i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_gvt=1 i915.enable_guc=0 i915.enable_conformance_check=0”

 

For each launch file, we can launch the VM without any problem. But If I launch them at the same time, only the first one is successful, the another one is failed to created.

 

I go through the issue from GitHub. However, no direct solution is founded based on those comments.

Do you have any idea how I can forward further?

 

Thank you very much firstly for your support.

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: [WHL] launch two UOSs in the same time

Jianjie Lin
 

Hi Geoffory,

Thank you very much. The problem is fixed. It really depends on the UUID in my case. I need to add different UUID from the vm_uuid.h ..

Thanks again.

 

Cheers,

Jianjie Lin

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesendet: Donnerstag, 2. September 2021 17:13
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

That header file contains a fixed (and static) list of UUIDs that can be used to launch VMs. I’m thinking that perhaps what is happening is the acrn-dm uses the same UUID by default for the second VM because it is not specified via the command-line. Adding the -U parameter will force it to use a UUID that we have chosen ourselves, it *must* be one from the list in that header file.

 

Does that help clarify?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 5:10 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Sorry, you mean the uuid can only assigned to the one which is saved in the vm_uuid.h? Am I missunderstanding?

 

Mit freundlichen Grüßen
Jianjie Lin


From: acrn-users@... <acrn-users@...> on behalf of Geoffroy Van Cutsem <geoffroy.vancutsem@...>
Sent: Thursday, September 2, 2021 5:01:13 PM
To: acrn-users@... <acrn-users@...>
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

I’m suspicious of something wrong with the UUIDs.


Can you try to add the UUID you want to use for the second VM to the launch script, using the “-U” option

 

E.g.: -U 615db82a-e189-4b4f-8dbb-d321343e4ab3 (similar to what you see here: https://github.com/projectacrn/acrn-hypervisor/blob/master/misc/config_tools/data/sample_launch_scripts/nuc/launch_hard_rt_vm.sh#L47, but with a different UUID taken from here: https://github.com/projectacrn/acrn-hypervisor/blob/master/hypervisor/include/common/vm_uuids.h

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 4:38 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Is that happening no matter which order you try to load them ?

.--> yes, no matter in the gpu version or console version. The first one is always correct, but the second one fails always.

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesend
et: Donnerstag, 2. September 2021 16:21
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Jianjie Lin,

 

Do you have more logs to share when the second VM fails to start (acrn-dm console & serial port output)? Is that happening no matter which order you try to load them?

 

A couple of remarks/questions:

* Your industry.xml file only ever assigns pCPU 0 and 1 to all User VMs, but your console_launch_uos3_4.sh tries to use pCPUs 2 and 3

* Is gpu_launch_uos4.sh supposed to launch a Windows User VM? I see the ‘--windows’ parameter in it but it seems to want to use GVTg and picks up an image from a folder called “ubuntu_images”. The  “--windows” parameter makes acrn-dm use the Oracle Virtio block device.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 2:40 pm
To: acrn-users@...
Subject: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi ACRN Community,

 

We faced the problem of launching two UOSs at the same time. We deployed the whiskey lake board: whl-IPC-i7.xml, and we customize the scenario file with 4 Post-STD VM.

 

We can successfully launch one VM, but we can not create the second VM in the acrn kernel.

 

I attached the two launch file

gpu_launch_uos3.sh

console_launch_uos3_4.sh

 

Besides, I attach my board file and scenario file if it can help to find out the issue.

 

I add the following the command line in the file in the /etc/grub.d/40.cutsom for Gvt-g

“i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_gvt=1 i915.enable_guc=0 i915.enable_conformance_check=0”

 

For each launch file, we can launch the VM without any problem. But If I launch them at the same time, only the first one is successful, the another one is failed to created.

 

I go through the issue from GitHub. However, no direct solution is founded based on those comments.

Do you have any idea how I can forward further?

 

Thank you very much firstly for your support.

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: [WHL] launch two UOSs in the same time

Jianjie Lin
 

Thank you, I will try it  tomorrow, and give you the reply if something happens.
Thanks

Mit freundlichen Grüßen
Jianjie Lin


From: acrn-users@... <acrn-users@...> on behalf of Geoffroy Van Cutsem <geoffroy.vancutsem@...>
Sent: Thursday, September 2, 2021 5:13:16 PM
To: acrn-users@... <acrn-users@...>
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time
 

That header file contains a fixed (and static) list of UUIDs that can be used to launch VMs. I’m thinking that perhaps what is happening is the acrn-dm uses the same UUID by default for the second VM because it is not specified via the command-line. Adding the -U parameter will force it to use a UUID that we have chosen ourselves, it *must* be one from the list in that header file.

 

Does that help clarify?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 5:10 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Sorry, you mean the uuid can only assigned to the one which is saved in the vm_uuid.h? Am I missunderstanding?

 

Mit freundlichen Grüßen
Jianjie Lin


From: acrn-users@... <acrn-users@...> on behalf of Geoffroy Van Cutsem <geoffroy.vancutsem@...>
Sent: Thursday, September 2, 2021 5:01:13 PM
To: acrn-users@... <acrn-users@...>
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

I’m suspicious of something wrong with the UUIDs.


Can you try to add the UUID you want to use for the second VM to the launch script, using the “-U” option

 

E.g.: -U 615db82a-e189-4b4f-8dbb-d321343e4ab3 (similar to what you see here: https://github.com/projectacrn/acrn-hypervisor/blob/master/misc/config_tools/data/sample_launch_scripts/nuc/launch_hard_rt_vm.sh#L47, but with a different UUID taken from here: https://github.com/projectacrn/acrn-hypervisor/blob/master/hypervisor/include/common/vm_uuids.h

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 4:38 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Is that happening no matter which order you try to load them ?

.--> yes, no matter in the gpu version or console version. The first one is always correct, but the second one fails always.

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesend
et: Donnerstag, 2. September 2021 16:21
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Jianjie Lin,

 

Do you have more logs to share when the second VM fails to start (acrn-dm console & serial port output)? Is that happening no matter which order you try to load them?

 

A couple of remarks/questions:

* Your industry.xml file only ever assigns pCPU 0 and 1 to all User VMs, but your console_launch_uos3_4.sh tries to use pCPUs 2 and 3

* Is gpu_launch_uos4.sh supposed to launch a Windows User VM? I see the ‘--windows’ parameter in it but it seems to want to use GVTg and picks up an image from a folder called “ubuntu_images”. The  “--windows” parameter makes acrn-dm use the Oracle Virtio block device.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 2:40 pm
To: acrn-users@...
Subject: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi ACRN Community,

 

We faced the problem of launching two UOSs at the same time. We deployed the whiskey lake board: whl-IPC-i7.xml, and we customize the scenario file with 4 Post-STD VM.

 

We can successfully launch one VM, but we can not create the second VM in the acrn kernel.

 

I attached the two launch file

gpu_launch_uos3.sh

console_launch_uos3_4.sh

 

Besides, I attach my board file and scenario file if it can help to find out the issue.

 

I add the following the command line in the file in the /etc/grub.d/40.cutsom for Gvt-g

“i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_gvt=1 i915.enable_guc=0 i915.enable_conformance_check=0”

 

For each launch file, we can launch the VM without any problem. But If I launch them at the same time, only the first one is successful, the another one is failed to created.

 

I go through the issue from GitHub. However, no direct solution is founded based on those comments.

Do you have any idea how I can forward further?

 

Thank you very much firstly for your support.

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: [WHL] launch two UOSs in the same time

Geoffroy Van Cutsem
 

That header file contains a fixed (and static) list of UUIDs that can be used to launch VMs. I’m thinking that perhaps what is happening is the acrn-dm uses the same UUID by default for the second VM because it is not specified via the command-line. Adding the -U parameter will force it to use a UUID that we have chosen ourselves, it *must* be one from the list in that header file.

 

Does that help clarify?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 5:10 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Sorry, you mean the uuid can only assigned to the one which is saved in the vm_uuid.h? Am I missunderstanding?

 

Mit freundlichen Grüßen
Jianjie Lin


From: acrn-users@... <acrn-users@...> on behalf of Geoffroy Van Cutsem <geoffroy.vancutsem@...>
Sent: Thursday, September 2, 2021 5:01:13 PM
To: acrn-users@... <acrn-users@...>
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

I’m suspicious of something wrong with the UUIDs.


Can you try to add the UUID you want to use for the second VM to the launch script, using the “-U” option

 

E.g.: -U 615db82a-e189-4b4f-8dbb-d321343e4ab3 (similar to what you see here: https://github.com/projectacrn/acrn-hypervisor/blob/master/misc/config_tools/data/sample_launch_scripts/nuc/launch_hard_rt_vm.sh#L47, but with a different UUID taken from here: https://github.com/projectacrn/acrn-hypervisor/blob/master/hypervisor/include/common/vm_uuids.h

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 4:38 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Is that happening no matter which order you try to load them ?

.--> yes, no matter in the gpu version or console version. The first one is always correct, but the second one fails always.

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesend
et: Donnerstag, 2. September 2021 16:21
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Jianjie Lin,

 

Do you have more logs to share when the second VM fails to start (acrn-dm console & serial port output)? Is that happening no matter which order you try to load them?

 

A couple of remarks/questions:

* Your industry.xml file only ever assigns pCPU 0 and 1 to all User VMs, but your console_launch_uos3_4.sh tries to use pCPUs 2 and 3

* Is gpu_launch_uos4.sh supposed to launch a Windows User VM? I see the ‘--windows’ parameter in it but it seems to want to use GVTg and picks up an image from a folder called “ubuntu_images”. The  “--windows” parameter makes acrn-dm use the Oracle Virtio block device.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 2:40 pm
To: acrn-users@...
Subject: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi ACRN Community,

 

We faced the problem of launching two UOSs at the same time. We deployed the whiskey lake board: whl-IPC-i7.xml, and we customize the scenario file with 4 Post-STD VM.

 

We can successfully launch one VM, but we can not create the second VM in the acrn kernel.

 

I attached the two launch file

gpu_launch_uos3.sh

console_launch_uos3_4.sh

 

Besides, I attach my board file and scenario file if it can help to find out the issue.

 

I add the following the command line in the file in the /etc/grub.d/40.cutsom for Gvt-g

“i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_gvt=1 i915.enable_guc=0 i915.enable_conformance_check=0”

 

For each launch file, we can launch the VM without any problem. But If I launch them at the same time, only the first one is successful, the another one is failed to created.

 

I go through the issue from GitHub. However, no direct solution is founded based on those comments.

Do you have any idea how I can forward further?

 

Thank you very much firstly for your support.

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814


Re: [WHL] launch two UOSs in the same time

Geoffroy Van Cutsem
 

Use different UUIDs in different launch scripts, pick any that is labeled as POST_STANDARD_VM_UUIDX in the https://github.com/projectacrn/acrn-hypervisor/blob/master/hypervisor/include/common/vm_uuids.h file

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 5:06 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Can I  use the UUID from each VM, or just two different random UUID

 

Mit freundlichen Grüßen
Jianjie Lin


From: acrn-users@... <acrn-users@...> on behalf of Geoffroy Van Cutsem <geoffroy.vancutsem@...>
Sent: Thursday, September 2, 2021 5:01:13 PM
To: acrn-users@... <acrn-users@...>
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

I’m suspicious of something wrong with the UUIDs.


Can you try to add the UUID you want to use for the second VM to the launch script, using the “-U” option

 

E.g.: -U 615db82a-e189-4b4f-8dbb-d321343e4ab3 (similar to what you see here: https://github.com/projectacrn/acrn-hypervisor/blob/master/misc/config_tools/data/sample_launch_scripts/nuc/launch_hard_rt_vm.sh#L47, but with a different UUID taken from here: https://github.com/projectacrn/acrn-hypervisor/blob/master/hypervisor/include/common/vm_uuids.h

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 4:38 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Is that happening no matter which order you try to load them ?

.--> yes, no matter in the gpu version or console version. The first one is always correct, but the second one fails always.

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesend
et: Donnerstag, 2. September 2021 16:21
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Jianjie Lin,

 

Do you have more logs to share when the second VM fails to start (acrn-dm console & serial port output)? Is that happening no matter which order you try to load them?

 

A couple of remarks/questions:

* Your industry.xml file only ever assigns pCPU 0 and 1 to all User VMs, but your console_launch_uos3_4.sh tries to use pCPUs 2 and 3

* Is gpu_launch_uos4.sh supposed to launch a Windows User VM? I see the ‘--windows’ parameter in it but it seems to want to use GVTg and picks up an image from a folder called “ubuntu_images”. The  “--windows” parameter makes acrn-dm use the Oracle Virtio block device.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 2:40 pm
To: acrn-users@...
Subject: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi ACRN Community,

 

We faced the problem of launching two UOSs at the same time. We deployed the whiskey lake board: whl-IPC-i7.xml, and we customize the scenario file with 4 Post-STD VM.

 

We can successfully launch one VM, but we can not create the second VM in the acrn kernel.

 

I attached the two launch file

gpu_launch_uos3.sh

console_launch_uos3_4.sh

 

Besides, I attach my board file and scenario file if it can help to find out the issue.

 

I add the following the command line in the file in the /etc/grub.d/40.cutsom for Gvt-g

“i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_gvt=1 i915.enable_guc=0 i915.enable_conformance_check=0”

 

For each launch file, we can launch the VM without any problem. But If I launch them at the same time, only the first one is successful, the another one is failed to created.

 

I go through the issue from GitHub. However, no direct solution is founded based on those comments.

Do you have any idea how I can forward further?

 

Thank you very much firstly for your support.

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814

201 - 220 of 1229