From nobody Wed Feb 08 11:13:54 2023 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PBcnZ5xz1z3n35G for ; Wed, 8 Feb 2023 11:13:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBcnZ34cFz44m8 for ; Wed, 8 Feb 2023 11:13:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675854834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Xc8h8syRX+RUaRmMwj9a0XE8m+0HGXZi2nrbTiromPg=; b=UHdCYGGh4av/bwOEpFkR5+zpquG7MHJHsb5qLIqpsVeRqxnOST5LNqD0imGtINBb2sqQMf f1uBSUSiwSV15dpZeQJIFDcytZv4UaRZwTWKnBm0lzv+zlXuBZN/8whhm6CQj6v0zUY8Cw tlYuTSZ2ERBem1Ev2Dg71EshmFEvVMX3rcoGHGP0n1onEzlOVvALMkBgrBzIL3kuP2G/yL kGSa0w8gbAa9B/9uy07RMEhSQ4AuxjsHSDGLPY9y8CbA5C72sW823uO7m9jss2fBdxXm0Y diKeTUXdt7jgIPisUJ+FD8OP4X/TEJSLRyJ6qdxNGimDaM2Jd7Ctddo9nW88fQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675854834; a=rsa-sha256; cv=none; b=fjZWDA/c3s59VQw4X0oQvCHshiO0oXVXGN+0YcgK70jha0rBiVwun6TcphF/PD9m12PHS+ G2OSFcpKj6Lx7G8WFiFjaZQtH88DJg1eGnU2ymPxP6ZYPrPMLTsOUeZOvjFLXicqIhxdj5 c8rPhupCwTp0tQ6QzipMkJUqGPYE5BouuqOBwBMC9TzpZ/Xco+x9ZSROC/4Sr9TuIaZOzW ilbMf1u7C0NVB8QZTm7s7AU5e+OPtGsHVIaGM0YXQHuPV03ZG+IRmvGcGBGcoGEodbnSdq RZgP/4k5q+MQ/OX61bZjUxl6B5GAYtlbVuichbw3B9T2qP6fOPTY0wzg//q3vw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PBcnZ1sGpzvj9 for ; Wed, 8 Feb 2023 11:13:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 318BDsaf090537 for ; Wed, 8 Feb 2023 11:13:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 318BDsh8090536 for usb@FreeBSD.org; Wed, 8 Feb 2023 11:13:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 269405] Problems in PXE booting for laptops with usb ethernet adapter Date: Wed, 08 Feb 2023 11:13:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: maggiebol89@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269405 Bug ID: 269405 Summary: Problems in PXE booting for laptops with usb ethernet adapter Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: maggiebol89@gmail.com Created attachment 239990 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239990&action= =3Dedit booting screen photo Hi We need to automate network installation on some laptops.=20 For laptops with Ethernet cards pxe booting works fine in our configurat= ion environment. But for laptops with ethernet Type-C connector (USB), we met s= ome problems.=20 After loading kernel from server, OS starts initializing all devices, but the process of booting stops when system try to mount nfs root file system = (see attached image). It stops with error: nfs_diskless: no interface In nfs_diskless.c we just insert a printf() line to display interface, to make sure about device initialization works properly. retry: CURVNET_SET(TD_TO_VNET(curthread)); IFNET_RLOCK(); CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) { printf("name=3D%s\n", ifp->if_xname); /* smalll debug */ CK_STAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) { if (ifa->ifa_addr->sa_family =3D=3D AF_LINK) { sdl =3D (struct sockaddr_dl *)ifa->ifa_addr; if ((sdl->sdl_type =3D=3D ourdl.sdl_type) && (sdl->sdl_alen =3D=3D ourdl.sdl_alen) && !bcmp(LLADDR(sdl), LLADDR(&ourdl), sdl->sdl_alen)) { IFNET_RUNLOCK(); CURVNET_RESTORE(); goto match_done; } } } } The result of booting process in attached image. Looks like initialization of usb (also network) happens after system try = to mount root, so we cannot boot system properly. Is that so? Is there any opportunity to boot laptops with USB ethernet adapter via network? May be some workaround. --=20 You are receiving this mail because: You are the assignee for the bug.=