Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4727240rdb; Tue, 12 Dec 2023 07:46:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrWfmNHkm1GYHSnLSljy51PZQdV1OPO/VKlYm85mfYHllJPHJ5svO3rGicphnvDtDaLUyI X-Received: by 2002:a05:6a20:b729:b0:191:a36a:80f9 with SMTP id fg41-20020a056a20b72900b00191a36a80f9mr286226pzb.11.1702395967111; Tue, 12 Dec 2023 07:46:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702395967; cv=none; d=google.com; s=arc-20160816; b=U2oHBi0H39Dtqtb9YwinwTf66NJNRya1ku056dV62uY/0S/RcdEBWvIIcYIKOssX/U xscFw0EPuT+6F+RKZX6Lj5VAU+ieaD9TIbw5UA852fhf3yWjxjnUScMytitrE6pPV4Yj Sb8fjzL2HMqfBBFJ9KlmUqk6EfaXzTz5hs+mP7gdEcrnFZeOlAFbgKAu8pJOec6KKuB3 mLf1fFEoNWpQ28Ptq+aRN9/YIKkTs2P0c0hvb39G2BKkRD7Jfn68Qf1VHI7nYagnQRV9 wI8sCclJ7N/p39Vwulya+Q+xiJwmf30Y07+G0ZuNoFYbeomT7RPgdzuYz07WyVnIjOWn VD3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+6Jd58ewzGFdt/Wd1AvGxYU7GlBPwnx7Q4Vswy/zEE8=; fh=pyiYNfKQAJHe4ViWr8BUDbIQ4Ht3k5MHN6lJPGrf3iM=; b=tYNZ2TmuO7x9eDKrt5OpuMJa1JEc6obNqA5RAH0o2zvUi+D4JBNd7lIcjf+Gm0zX7l MrASZqxUHG6FS39F6f3IqwbAFAoYncMRrrrgTJ4FM04hBVCyMZHH6upeoOx/NMSFDwhR S/4371jjjI+CRDpoAIbQ2+Hz9rGENR0SZiTf2Mi3hCngwNhewE6d5mz4yHNgQoztr6JF 43DQL8T/FNHjuH1GXKvkV7Ik3blBxpFsBLCQzVUZNcoFd/Q3kzjmSyWVTmCb6dnk+0fn yUGWQZ2AqEiWJvAHTOgWaGeWh+g3Qyj7tuZGoY1btcHJay6xgB6bO989Db/Hn6HuNtUN LxPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iJiN6QU3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id z1-20020a656101000000b005be1e555473si7872577pgu.574.2023.12.12.07.46.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 07:46:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iJiN6QU3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 41DFB80A28DC; Tue, 12 Dec 2023 07:46:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377127AbjLLPpq (ORCPT + 99 others); Tue, 12 Dec 2023 10:45:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377023AbjLLPpo (ORCPT ); Tue, 12 Dec 2023 10:45:44 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3049099 for ; Tue, 12 Dec 2023 07:45:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702395950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+6Jd58ewzGFdt/Wd1AvGxYU7GlBPwnx7Q4Vswy/zEE8=; b=iJiN6QU3FVREHwmLZHMgaRV5AGDFAavwuBKHGVrk+YS4kDVj+lTzlLLRis6xgHKvec4xhn fbprTOFCe39Vw/jGhIYONOBKmIPhy31f0swjY7mGPhuwpOXsu5a1hSgcODZZrsCewL+yTI Slh4RaYpK3n1chxNHD9fHd5tncSenhE= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-110-4xa9sEYPMRqcazRVt8XzKQ-1; Tue, 12 Dec 2023 10:45:48 -0500 X-MC-Unique: 4xa9sEYPMRqcazRVt8XzKQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8B90B1C0BA4E; Tue, 12 Dec 2023 15:45:48 +0000 (UTC) Received: from [10.45.225.77] (unknown [10.45.225.77]) by smtp.corp.redhat.com (Postfix) with ESMTP id B40961C060AF; Tue, 12 Dec 2023 15:45:47 +0000 (UTC) Message-ID: Date: Tue, 12 Dec 2023 16:45:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Failed to start Raise network interfaces error Content-Language: en-US To: Julia Lawall Cc: "David S. Miller" , linux-kernel@vger.kernel.org References: <21977757-3a63-4586-ae03-e6630c1f009d@redhat.com> From: Ivan Vecera In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 12 Dec 2023 07:46:04 -0800 (PST) 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