[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug] Error when running network-attach



Hi,

When I try to add a network with xl network-attach command,
the log show some errors:

root@RK3588:/mnt# xl network-attach 0
libxl: error: libxl_xshelp.c:201:libxl__xs_read_mandatory: xenstore read failed: `/libxl/0/type': No such file or directory
libxl: warning: libxl_dom.c:52:libxl__domain_type: unable to get domain type for domid=0, assuming HVM
[   50.081420] rockchip-thermal fec00000.tsadc: Missing rockchip,grf property
[   50.081631] rockchip-thermal fec00000.tsadc: failed to register sensor 0: -517
[   50.081667] rockchip-thermal fec00000.tsadc: failed to register sensor[0] : error = -517
[   50.104335] rockchip-thermal fec00000.tsadc: Missing rockchip,grf property
[   50.104507] rockchip-thermal fec00000.tsadc: failed to register sensor 0: -517
[   50.104544] rockchip-thermal fec00000.tsadc: failed to register sensor[0] : error = -517
(XEN) grant_table.c:1869:d0v1 Expanding d0 grant table from 1 to 2 frames
(XEN) grant_table.c:1869:d0v1 Expanding d0 grant table from 2 to 3 frames
(XEN) grant_table.c:1869:d0v1 Expanding d0 grant table from 3 to 4 frames
(XEN) grant_table.c:1869:d0v1 Expanding d0 grant table from 4 to 5 frames
[   50.155613] xen_netfront: backend supports XDP headroom
[   50.189706] vif vif-0-0 vif0.0: Guest Rx ready
libxl: error: libxl_exec.c:117:libxl_report_child_exitstatus: /etc/xen/scripts/vif-bridge online [1044] exited with error status 1
libxl: error: libxl_device.c:1259:device_hotplug_child_death_cb: script: Could not find bridge device xenbr0
libxl: error: libxl_device.c:1402:device_addrm_aocomplete: Unable to add vif with id 0
libxl_device_nic_add failed.
root@RK3588:/mnt# (XEN) gnttab_mark_dirty not implemented yet

what does vif-bridge exited with error status 1 mean?
"Could not find bridge device xenbr0", is that means I have to create a xenbr0?How to create?

I create a domu with the config below:
kernel = "/media/sdcard0/domu-Image"
memory = 1024
name = "guest1"
vcpus = 2
serial="pty"
vif = ['']
disk = [ 'phy:/dev/mmcblk2p2,xvda,w' ]
extra = 'console=hvc0 root=/dev/xvda rw clk_ignore_unused'

There also has the same error log above, although the network can work.
dom0 and domu can ping each other successfully.
But the network type seems is NAT, How can I set up a bridged networking ?

Best regards
Cailigang

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.