Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4759377rdb; Tue, 12 Dec 2023 08:33:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEr68SYh/f9oYG2g1RYxmj4XfCASos696HHY/hly+47R2K7G7zVOpv72LS8S0SZh0uKXqAe X-Received: by 2002:a17:90a:e395:b0:286:e5c7:c218 with SMTP id b21-20020a17090ae39500b00286e5c7c218mr5327408pjz.49.1702398805282; Tue, 12 Dec 2023 08:33:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702398805; cv=none; d=google.com; s=arc-20160816; b=JEGXimhDGfP4Z+JAH2mj+vU2/H6HRN/CVQgrXKmZMWnAOETSsr0dbt4+E0nxydtbhH RvqJNaN0278MUls8JfMJhgiNpuFrL78N8A0Rr/nwI5hU8pe/1k/v4FMZhmdjSNusTrx8 uQb7+ZJ3vMdb1qDCvEOe0943t/3x2XMAvrF7jVst/TSAtWkLV7IHk3hOEFBw/U0c7TgR +Uzmrj5w4+e/Nuf05uOPYdgSPLgI2wnqEAoR5BspeJKkevgFlYChpBA+9GD4F8307H9G kxofi2HOBgYqyXd39q1z1dgrBNb5xZHCXn0JyAK5FAsHrpNeOZ3IFx9esGFGbvejExOv /ECw== 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=3xHlem4pz0D1lBzgxJbJ/CLXkAkREGywHUDBpdVSaUo=; fh=nvrfxrRL6yTjdzjzuyW0esT4jBxKco3E79PlrLHTLZM=; b=QmaL98uMVBlkQHPCaJbwTiHtvQBsqBQ+NSBmYZBhjNh1cmF4FLDk3X9FKARcM8sJ8w qNzHAMyXR7C16pPgHO8wVjxNwfVgHdZpAM+zLynC+k6RuKUXvyCzHB8sxgO5rZB2Kust hbb13nw31DJ1KNdWGBnpkfHN9tRGT80wkMkLOKELa1eZFuTKn0FIQpEgCduegutz0i0w vTjv4s/jlUH/oFbNsospmQiyjZ853dycWFvEdISiHJ0Bk9tjbc/3fm064GOg1xDLI3vl bBShnS0b3HGl2KeMRgD5MGq65PEH39xsWYLV8Psq0/yJBhvR5BOgQPE6ehsDHUeHDD8d 6ipw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b="TV2Pf/7R"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id w3-20020a17090aad4300b0028a7de5f772si4590427pjv.119.2023.12.12.08.33.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 08:33:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b="TV2Pf/7R"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 9A5C6805191E; Tue, 12 Dec 2023 08:33:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232585AbjLLQdG (ORCPT + 99 others); Tue, 12 Dec 2023 11:33:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232565AbjLLQdF (ORCPT ); Tue, 12 Dec 2023 11:33:05 -0500 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 862D7E9 for ; Tue, 12 Dec 2023 08:33:10 -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=3xHlem4pz0D1lBzgxJbJ/CLXkAkREGywHUDBpdVSaUo=; b=TV2Pf/7RqkK1z9ROea0bDdumrKniOhv3zJK7ZtXBGkG0ouAuPqTRahdz MCe1+XHjlSHYdeCApQEyoUTKZ/2slB0m1SR5/Ic1IDcWhlPFMEFeo2k+Z cEFQ2oLpClwVomzWoqieE0FNxbU6hbwdp0X6UaCSx/07j8emZKANLXiKo M=; Authentication-Results: mail3-relais-sop.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="74214030" Received: from dt-lawall.paris.inria.fr ([128.93.67.65]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2023 17:33:09 +0100 Date: Tue, 12 Dec 2023 17:33:08 +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: <4c707e3e-a324-a5e6-dc21-833b6d40324d@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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 12 Dec 2023 08:33:22 -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. After booting into 6.7.0-rc4, I have the following in /etc/network/interfaces: # 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 ---------- So I don't see enp24s0f0np0 /sys/class/net/ contains: enp24s0f0np0 enp24s0f1np1 ibp94s0 lo /sys/class/net/enp24s0f0np0/phys_port_name does contain p0. thanks, julia > > Thanks, > Ivan > > [1] /sys/class/net/enp2s0f0np0/phys_port_name > >