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

Re: Network driver domain broken


  • To: Andrea Stevanato <andrea.stevanato@xxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 7 Mar 2022 15:36:48 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; 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=yF89vvKdeF4DK/uA5UcNsMIWRFEbZXQida894KnwPHM=; b=njlc/opaeONAbXp1KV9bIsgDCilB0Xa43f+IWl99kZt6BHFi4y6DvKSsAMsYWHfcFhq0ITAHZOG+NLKt70Suz9YmzL0q+17NN7pMJCz5V9KRkPX+0eBPAlRe/tw1sSy2HPBRiPxvObmbQ3mZO2JtihzPT/wuEvt9fzOnHeZ0pMDgPFYI2MuEvysHwNL82x6i7nOdo8wRAE2GN6V01UjeWlBuOsLAQMMLa5JbwZY0rQ4bUCo3/1hzoCP/eF2k8CLcIEfo5BB0jzOOKIwAiLe9XA/1b9c92Y2fAX5VAJf6NbgZC+82RC4IloSFEH2stBoCliR43YlBLUVUdZE2sqeh+A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IjiSeSbbXsse3GkanCKNGGZgv5id+V/28fkjTa27KJkaomGQusfSyjL0KRgA2h8Lj9F34PyEqpqiUZkmbRWfWrBNI6wxFGj1C8LQQsRLyEkjmvjiwZc5Tqlg3ocFc/vn6jsKifgaM9OOtI/pIMngRmM4zSwY14nu6EhLtdO1tZNt2OEC2vVcA4/Czd9soYx0vJUSMDXkbB7c+MjItE8Il72JqX40tvaqwoUtmdqKS4Ff/86tD0PeK6IX8hglHz5Pg/IKBHmtKpSMUU6YOLASs/3bWS9KpfgJiahxNo4NGYdCZL4oojbSgd9ijPGqNAcXcKtkfuP9pPWQgI3rJ8Ukjg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Jason Andryuk <jandryuk@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "wl@xxxxxxx" <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Mon, 07 Mar 2022 14:36:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 07.03.2022 15:20, Andrea Stevanato wrote:
> 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

Well, these are the error messages, from xenbus_alloc_evtchn().
What's a little odd is that the error code is positive, but that's
how -EPERM is logged. Is there perhaps a strange or broken XSM
policy in use? I ask because evtchn_alloc_unbound() itself
wouldn't return -EPERM afaics.

Jan




 


Rackspace

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