Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4729106rdb; Tue, 12 Dec 2023 07:49:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IF52k3Sz+6a7+D9T4ofdiNuB437dwg40rFms5aQLyvekYoIaGmf+9bf+gOz/FK+rrNBCOjB X-Received: by 2002:a05:6a20:2583:b0:188:39e:9054 with SMTP id k3-20020a056a20258300b00188039e9054mr3152042pzd.6.1702396153345; Tue, 12 Dec 2023 07:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702396153; cv=none; d=google.com; s=arc-20160816; b=viDh0Aj3QoHZ29JbZ0WsfHtefiGfS+ghS57aKDQOEbhxkzGGQxqbqe7AjyW68h5sr6 DGfXa2pbOTTEPlJsD+cPlXDDK4uRAt0I3TrwyMkIxsVYGisFryJJHdL+opVzZblFrGM8 pHajS7jmAgxbHTnfRhyerD1caL0kd5D8DpwhlMFfaU/LqVNuyxH1gTeKpeD71btsghz2 BcVGPTw1qWXAFQeHftwDwbt3mNWjbB/jDNWfFHYot2Fw5QghU8pEkM7zTipanlcHiYyH w+VB1tAKjhk56B3bwAi6EkMyMqPENGTnLssQoOOVg//XBUEwVPvQuAOoYJpIjmQ6ZO4w bJIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=m4AvD8h69P6jG+auD+vR6e1/m2tGMZdbgOU3KePGX4M=; fh=nvrfxrRL6yTjdzjzuyW0esT4jBxKco3E79PlrLHTLZM=; b=pJ8WJIKSsCdwX2aCvieAiV66nZEXYQTA+rsANe0gTGi3Zt5jKpNu/gohLdv4Nf6RYT vnWTQCT8x9YQWHbwoRjNt7tgm6r1KobW9Dbh8QB+bvukKXqNznbx2TgI7Os9fF1ZToYN dgnq7Migln3A5eIU4l8i8nOkoD6h+drEDYFkaePY/HSqKjsyu9LK/HRxq+JTLp1r3dL1 JKNulILdJQ/II5w2vtLUjsyQKnUTfCOY7EBWeKHlBOlohDPqDzAcImJ/6+D5LigmpwRW T8ykWMb8knqP50u9fzRy75Twv1Kb7lr1/Hrli2nzauSFzbkneMuSAFQu1vU7h+OhyGFx 8gcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=rF1XvoPO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id b2-20020a655cc2000000b005c21722b7d6si7774460pgt.863.2023.12.12.07.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 07:49:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=rF1XvoPO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 83CDF8052BF3; Tue, 12 Dec 2023 07:49:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377152AbjLLPsy (ORCPT + 99 others); Tue, 12 Dec 2023 10:48:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377023AbjLLPsy (ORCPT ); Tue, 12 Dec 2023 10:48:54 -0500 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D50B099 for ; Tue, 12 Dec 2023 07:48:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=m4AvD8h69P6jG+auD+vR6e1/m2tGMZdbgOU3KePGX4M=; b=rF1XvoPOC5u/sWU8xZYeD41fwZFokMd87BI3ZDirU+I6ecso13NBUddt 255gwCtLcGzuOFjPuU/zlv7+rh+KN57I31hoUqHga34i90LB4+EF9kyiN HjIO5GQMv7qgP34mHKm5alEzsFBKBYXFas5XBmZhvtyGCc+lu/p4Dm2I2 g=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.04,270,1695679200"; d="scan'208";a="141878901" Received: from dt-lawall.paris.inria.fr ([128.93.67.65]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2023 16:48:58 +0100 Date: Tue, 12 Dec 2023 16:48:58 +0100 (CET) From: Julia Lawall To: Ivan Vecera cc: "David S. Miller" , linux-kernel@vger.kernel.org Subject: Re: Failed to start Raise network interfaces error In-Reply-To: Message-ID: <18fd8fc3-3165-768a-700-60f344649af@inria.fr> References: <21977757-3a63-4586-ae03-e6630c1f009d@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Dec 2023 07:49:10 -0800 (PST) On Tue, 12 Dec 2023, Ivan Vecera wrote: > On 12. 12. 23 16:08, Julia Lawall wrote: > > > > > > On Tue, 12 Dec 2023, Ivan Vecera wrote: > > > > > On 10. 12. 23 23:28, Julia Lawall wrote: > > > > Hello, > > > > > > > > Starting with the commit: > > > > > > > > commit 9e479d64dc58f11792f638ea2e8eff3304edaabf > > > > Author: Ivan Vecera > > > > Date: Fri Oct 13 19:07:51 2023 +0200 > > > > > > > > i40e: Add initial devlink support > > > > > > > > I am not able to boot normally. The console shows the message > > > > > > > > Failed to start Raise network interfaces > > > > > > > > Searching for this message on th internet produces some old discussions > > > > that suggest to look at the file /etc/network/interfaces. That file on > > > > my > > > > system contains: > > > > > > > > # This file describes the network interfaces available on your system > > > > # and how to activate them. For more information, see interfaces(5). > > > > > > > > source /etc/network/interfaces.d/* > > > > > > > > # The loopback network interface > > > > auto lo > > > > iface lo inet loopback > > > > > > > > auto enp24s0f0 > > > > iface enp24s0f0 inet dhcp > > > > > > The problem is maybe with interface name... after this commit the > > > interface > > > should contain port_name suffix. In your case the name should be > > > `enp24s0f0np0`. > > > > > > Could you please check it? > > > > Thanks for the feedback. But I'm not clear on how this would work. Does > > there have to be one name for kernels before this patch and another name > > for kernels starting with this patch? Or is the new name also acceptable > > for older kernels? > > The name of a network interface is configured by udev. And it takes network > interface attributes and compose a name for it. One of these attributes is > phys_port_name [1] and if it is provided then its value is appended to the > name. > > Prior this commit the i40e driver didn't provided this attribute so the name > is (in your case) enp24s0f0. After this commit the value is provided so it is > appended -> enp24s0f0np0 > > Look at 'systemd.net-naming-scheme' man page for details how the interface > names are composed. > > Thanks, > Ivan > > [1] /sys/class/net/enp2s0f0np0/phys_port_name OK, thanks. I will see if the administrators of the cluster can help with this. I'll get back to you soon. julia