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

Re: Network driver domain broken


  • To: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Andrea Stevanato <andrea.stevanato@xxxxxxxxxxxxxxx>
  • Date: Mon, 7 Mar 2022 15:20:22 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=santannapisa.it; dmarc=pass action=none header.from=santannapisa.it; dkim=pass header.d=santannapisa.it; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=B89FcYxILbSsm9x4zTe5ruz1r7jr1d0Fn8Ch8Vdyqyg=; b=RvZkvyutlborDtF216LPVI4MjuqORMm8Xhuerspd4GN0tLEVgdWwUxuUQWvec1y56izxtOvvZNUQbfguoc9vtTJZcgX/Nl2dC+llcGdiX3lbZ3JN5HO5hy/Zyz5Mrdy8WYaqRjPsBLSOn6Lj31J5K99BiQGeW3Mh0hH3B+UlOrrW0y4oZsoQlSXnCrlXvRqnexriYbR7vD4d/Td7/TK92aqNgGz3094STe4ER+1nVoawWjrNBui/J9hldaC3lC/PE8nQndIMMjYXQqjNGh18v1FUmh4wad8SlC2OWwoeZaW71XRA+oCDz1S6KJCBtrPMyk35NJKpgsqYL3m4v3Aivw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L+H9i2GA0fyKdply2AIYsso6j31Cm3ydrbYtcRcsfgRpuP6OwIA7g2maDduyy7f9HbiL0e80MdBdZLE0W1OpM19N5HwGNVdx0MAyVE3EEekyZqHxzkmfmcybkuaeZ976IC8Kegzlo8NThi1TuHjKxDgwdx6WMbvLp1t+CmckFxqVUNAZgau5z6MYoF0Le6vMDoawUQWlUejM1tXF0ARGZKK9kBOqf4WJ93JZNyIe/Kb5zfGW/F01Rm1G9FK7gHH+IOeXNhkNos1LdUYK7jj11BEol/RxCuN6wd/bqXl7q8h9WymnqNn4XZD247mlum3Wv0BXLx8kWv9zCo20lW94uQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=santannapisa.it;
  • Cc: Jason Andryuk <jandryuk@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "wl@xxxxxxx" <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Mon, 07 Mar 2022 14:20:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 3/7/2022 12:46 PM, Roger Pau Monné wrote:
> On Mon, Mar 07, 2022 at 12:39:22PM +0100, Andrea Stevanato wrote:
>> /local/domain/2 = ""   (n0,r2)
>> /local/domain/2/vm = "/vm/f6dca20a-54bb-43af-9a62-67c55cb75708"   (n0,r2)
>> /local/domain/2/name = "guest1"   (n0,r2)
>> /local/domain/2/cpu = ""   (n0,r2)
>> /local/domain/2/cpu/0 = ""   (n0,r2)
>> /local/domain/2/cpu/0/availability = "online"   (n0,r2)
>> /local/domain/2/cpu/1 = ""   (n0,r2)
>> /local/domain/2/cpu/1/availability = "online"   (n0,r2)
>> /local/domain/2/memory = ""   (n0,r2)
>> /local/domain/2/memory/static-max = "1048576"   (n0,r2)
>> /local/domain/2/memory/target = "1048577"   (n0,r2)
>> /local/domain/2/memory/videoram = "-1"   (n0,r2)
>> /local/domain/2/device = ""   (n0,r2)
>> /local/domain/2/device/suspend = ""   (n0,r2)
>> /local/domain/2/device/suspend/event-channel = ""   (n2)
>> /local/domain/2/device/vif = ""   (n0,r2)
>> /local/domain/2/device/vif/0 = ""   (n2,r1)
>> /local/domain/2/device/vif/0/backend = "/local/domain/1/backend/vif/2/0"
>> (n2,r1)
>> /local/domain/2/device/vif/0/backend-id = "1"   (n2,r1)
>> /local/domain/2/device/vif/0/state = "6"   (n2,r1)
>> /local/domain/2/device/vif/0/handle = "0"   (n2,r1)
>> /local/domain/2/device/vif/0/mac = "00:16:3e:07:df:91"   (n2,r1)
>> /local/domain/2/device/vif/0/xdp-headroom = "0"   (n2,r1)
>> /local/domain/2/control = ""   (n0,r2)
>> /local/domain/2/control/shutdown = ""   (n2)
>> /local/domain/2/control/feature-poweroff = "1"   (n2)
>> /local/domain/2/control/feature-reboot = "1"   (n2)
>> /local/domain/2/control/feature-suspend = ""   (n2)
>> /local/domain/2/control/sysrq = ""   (n2)
>> /local/domain/2/control/platform-feature-multiprocessor-suspend = "1"
>> (n0,r2)
>> /local/domain/2/control/platform-feature-xs_reset_watches = "1"   (n0,r2)
>> /local/domain/2/data = ""   (n2)
>> /local/domain/2/drivers = ""   (n2)
>> /local/domain/2/feature = ""   (n2)
>> /local/domain/2/attr = ""   (n2)
>> /local/domain/2/error = ""   (n2)
>> /local/domain/2/error/device = ""   (n2)
>> /local/domain/2/error/device/vif = ""   (n2)
>> /local/domain/2/error/device/vif/0 = ""   (n2)
>> /local/domain/2/error/device/vif/0/error = "1 allocating event channel"
>> (n2)
> 
> That's the real error. Your guest netfront fails to allocate the event
> channel. Do you get any messages in the guest dmesg after trying to
> attach the network interface?

Just these two lines:

[  389.453390] vif vif-0: 1 allocating event channel
[  389.804135] vif vif-0: 1 allocating event channel
 
> Does the same happen if you don't use a driver domain and run the
> backend in dom0?

No, it does not. On dom0 everything is set up correctly. Here the final
part of xl -vvv devd -F executed on dom0, which is different from the 
execution on guest0

libxl: debug: libxl_event.c:1052:devstate_callback: backend 
/local/domain/0/backend/vif/1/0/state wanted state 2 ok
libxl: debug: libxl_event.c:850:libxl__ev_xswatch_deregister: watch 
w=0xaaaaca342470 wpath=/local/domain/0/backend/vif/1/0/state token=1/2: 
deregister slotnum=1
libxl: debug: libxl_device.c:1090:device_backend_callback: Domain 1:calling 
device_backend_cleanup
libxl: debug: libxl_event.c:864:libxl__ev_xswatch_deregister: watch 
w=0xaaaaca342470: deregister unregistered
libxl: debug: libxl_device.c:1191:device_hotplug: Domain 1:calling hotplug 
script: /etc/xen/scripts/vif-bridge online
libxl: debug: libxl_device.c:1192:device_hotplug: Domain 1:extra args:
libxl: debug: libxl_device.c:1198:device_hotplug: Domain 1:     type_if=vif
libxl: debug: libxl_device.c:1200:device_hotplug: Domain 1:env:
libxl: debug: libxl_device.c:1207:device_hotplug: Domain 1:     script: 
/etc/xen/scripts/vif-bridge
libxl: debug: libxl_device.c:1207:device_hotplug: Domain 1:     XENBUS_TYPE: vif
libxl: debug: libxl_device.c:1207:device_hotplug: Domain 1:     XENBUS_PATH: 
backend/vif/1/0
libxl: debug: libxl_device.c:1207:device_hotplug: Domain 1:     
XENBUS_BASE_PATH: backend
libxl: debug: libxl_device.c:1207:device_hotplug: Domain 1:     netdev:
libxl: debug: libxl_device.c:1207:device_hotplug: Domain 1:     vif: vif1.0
libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: 
/etc/xen/scripts/vif-bridge online

> 
> Regards, Roger.

Cheers,
Andrea.



 


Rackspace

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