Skip to content

No IP in SOS hybrid mode on RPL NUC I5 #8849

@yisun-git

Description

@yisun-git

How Found

Function test

 

HW/Board

RPL NUC I5, cpu: i5-13500H

 

Build link

build acrn from [https://github.com/projectacrn/acrn-hypervisor.git]

commit: bc90c7b  branch: master

build kernel from [https://github.com/projectacrn/acrn-kernel.git]

commit: a3634b1a933e80ff672cc47bd32d2f036cfbe755   branch: 6.12/linux

 

Steps

install ubuntu 24.04 on RPL NUC I5

build acrn in hybrid mode:

configure1(Hybrid Mode)

Component CPU Memory Graphic USB input USB disk Ethernet(pcie) storage(pcie) vUART Inter-UART
SOS 7P+8E 15G Headless Y SOS<-> UOS, SOS<->Tee
UOS(UAAG) 4P 16384M virtio-gpu SRIOV Mdediator/pT PT virtio-net nvme-partition PT Y SOS<-> UOS
Pre-launchVM (TEE) 1 256M / / / / / Y SOS<->TEE

install acrn/kernel following [https://projectacrn.github.io/latest/getting-started/getting-started.html] on RPL NUC I5

launch SOS

 

Expected result

  1. sos got ip successfully

 

Actual result

  1. sos failed to got ip:

root@acrn-MINIPC-PN64-E1:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
3: enp86s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master acrn-br0 state DOWN group default qlen 1000
    link/ether e8:9c:25:8b:69:69 brd ff:ff:ff:ff:ff:ff
4: acrn-br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether da:39:3b:c8:04:a3 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::d839:3bff:fec8:4a3/64 scope link
       valid_lft forever preferred_lft forever
5: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master acrn-br0 state DOWN group default qlen 1000
    link/ether e6:ab:d0:3f:a4:77 brd ff:ff:ff:ff:ff:ff

dmesg:
root@acrn-MINIPC-PN64-E1:# dmesg|grep net
[   11.141217] audit: initializing netlink subsys (disabled)
[   14.872240] igb: Intel(R) Gigabit Ethernet Network Driver
[   14.886864] Consider using thermal netlink events interface
[   15.317665] Initializing XFRM netlink socket
[   15.318061] can: controller area network core
[   15.318074] can: netlink gateway - max_hops=1
[   15.350204] printk: legacy console [netcon0] enabled
[   15.350206] netconsole: network logging started
[   15.466730] Intel(R) 2.5G Ethernet Linux Driver
[   15.514906] igc 0000:56:00.0 (unnamed net_device) (uninitialized): PHC added
[   17.213690] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket.
[   17.220766] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl).
[   17.222244] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
[   17.226368] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line.
[   19.142282] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   31.523116] audit: type=1400 audit(1763342575.141:177): apparmor="DENIED" operation="sendmsg" class="net" profile="/snap/snapd/24792/usr/lib/snapd/snap-confine" pid=2238 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send" denied_mask="send"
[   31.523119] audit: type=1400 audit(1763342575.141:178): apparmor="DENIED" operation="sendmsg" class="net" profile="/snap/snapd/24792/usr/lib/snapd/snap-confine" pid=2238 comm="snap-confine" family="unix" sock_type="stream" protocol=0 requested_mask="send" denied_mask="send"
root@acrn-MINIPC-PN64-E1:
# [   75.285616] igc 0000:56:00.0 enp86s0: NETDEV WATCHDOG: CPU: 2: transmit queue 0 timed out 5001 ms
[   75.285741] igc 0000:56:00.0 enp86s0: Reset adapter
[   87.560625] igc 0000:56:00.0 enp86s0: NETDEV WATCHDOG: CPU: 9: transmit queue 0 timed out 5309 ms
[   87.560788] igc 0000:56:00.0 enp86s0: Reset adapter
[   99.336586] igc 0000:56:00.0 enp86s0: NETDEV WATCHDOG: CPU: 0: transmit queue 0 timed out 5053 ms
[   99.336733] igc 0000:56:00.0 enp86s0: Reset adapter

 

Reproduce rate

100%

 

Debugging info

1.  native ubuntu got ip successfully:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: enp86s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e8:9c:25:8b:69:69 brd ff:ff:ff:ff:ff:ff
    inet 10.239.147.15/23 brd 10.239.147.255 scope global dynamic noprefixroute enp86s0
       valid_lft 42038sec preferred_lft 42038sec
    inet6 fe80::ea9c:25ff:fe8b:6969/64 scope link
       valid_lft forever preferred_lft forever
3: enx68da73a4d0f7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 68:da:73:a4:d0:f7 brd ff:ff:ff:ff:ff:ff
4: wlp87s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether a4:f9:33:cb:59:35 brd ff:ff:ff:ff:ff:ff

 

  1. eth controller is under pci bridge:

acrn@acrn-MINIPC-PN64-E1:/acrn-work/acrn-hypervisor$ lspci -t
{-}[0000:00]{-}+-00.0
           +-02.0
           +-04.0
           +{-}06.0{-}[01]----00.0
           +{-}07.0{-}[02-2b]--
           +{-}07.3{-}[2c-55]--
           +-08.0
           +-0a.0
           +-0d.0
           +-0d.3
           +-0e.0
           +-14.0
           +-14.2
           +-15.0
           +-15.1
           +-15.2
           +-15.3
           +-16.0
           +-17.0
           +-19.0
           +-19.1
           +{-}1d.0{-}[56]----00.0
           +{-}1d.1{-}[57]----00.0
           +-1f.0
           +-1f.3
           +-1f.4
           -1f.5
acrn@acrn-MINIPC-PN64-E1:
/acrn-work/acrn-hypervisor$ lspci |grep -i eth
56:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 06)

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: newThe issue status: new for creation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions