From nobody Mon Dec 26 01:23:22 2022 X-Original-To: freebsd-arm@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 4NgKmr41cpz1HGF7 for ; Mon, 26 Dec 2022 01:23:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NgKmr17wvz3M77 for ; Mon, 26 Dec 2022 01:23:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672017818; bh=Ae2waz8ZF+dQ/6qylM/+6wPQxnmrpn0i1GFMGQLH1n8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=p46ekyY5ZaoWNfhquVE6+GEQzrhiVrn2NKEPeug5l5TqhHts8S9m7yftOiloLtVj2YYOI65CgQ18oUl2Naony3C2E8mVIiNCdkY56wdKhpv67jRYKxYMjB53AxWudiEmQzhgP2y8KNOTMjBc0k5UPkIwhWRV8hIXSnfcheo05D8HDaiqJqIagHFw87LOitz7EDBj+ayqNeG7YDQk1vmc/hiOOQoLiIEU63pCVenEbWw2UWIQSaaZOa1d9Yi7FU3H+z8yEP4ox3LKrZpa131xqNPO1Y8wngepxepp+eXZ6/mD8sfH8/hisIBocnmBe88wrJj5atZq4Xt6XBnKDSzNFg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672017818; bh=9XKVhp7MxXzO7Y5pOm6azNyFPycvDIj3m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n0lAA1S.kZDtBmjqeR18cKTG.csjZlFwWsLxMh.yEBBDk07AgYMCQH AodGdcZfo9K4U4zFxoS36HPbYCPtqsAtEmty1qM7JgedqaSXGSauNPvjjEykAA7cPNxJ3ZUJ8Ajl IRPTH5RbZgeKnfeSOOW9_OsXnTbggNMSPbS.AdPgIG6PfvAHmGKesk3VevH9uVgKhX6.vQYekC_e nf3nBIww2qc1upAQ88H8nyzWC2FC4J9nFsTy0DkFUYZDEoTTEXAdjJBsZ.6OY0onNxWN60zIBU5L KF4PGq26vWhLu8ZYSgW0k.tvf5GLqvXM_St0eKAisc0bbncu9rZwFZpHiR9clHBZwon7ieewLiKR j8Gx2.fQXarXZUXUD3FArsGxraXs60zh8sIjPynDLQ_yPRmfvVZclTIIpIYWhv8XSr3k2FupehBL qX8Xz9EiyRk8mnkhGup.VdV0.CH0sdQ45ePMgy_B0VkthCAAFuGa43Qpi_Jgf3OENeu8XmXI9dmv 2hvTude5x5qxINT.gsX5YQ6nk4E5CNTi9LkokYpwfNZfjEee6akcb2qFVPDMjVye0IfxKbeVAU58 A X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Mon, 26 Dec 2022 01:23:38 +0000 Received: by hermes--production-gq1-d898c4779-9jfqr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e52595520abca9777e47cd8c14d51972; Mon, 26 Dec 2022 01:23:33 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: snapshot 1st aarcch64 boot got devd error message: "sh: /usr/libexec/hyperv/hyperv_vfattach: not found" From: Mark Millard In-Reply-To: Date: Sun, 25 Dec 2022 17:23:22 -0800 Cc: freebsd-current , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Warner Losh X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Rspamd-Queue-Id: 4NgKmr17wvz3M77 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Dec 25, 2022, at 15:55, Warner Losh wrote: > Most likely MK_HYPERV is defaulting to no for aarch64? Or there is a = bogus if MACHINE_ARCH =3D=3D "amd64" somewhere. Well, seems more is missing for aarch64 if devd hyperv is to be enabled: # grep -r MK_HYPERV /usr/main-src/ | more /usr/main-src/sbin/devd/Makefile:.if ${MK_HYPERV} !=3D "no" /usr/main-src/libexec/Makefile.i386:.if ${MK_HYPERV} !=3D "no" /usr/main-src/libexec/Makefile.amd64:.if ${MK_HYPERV} !=3D "no" /usr/main-src/usr.sbin/Makefile.amd64:.if ${MK_HYPERV} !=3D "no" /usr/main-src/usr.sbin/Makefile.i386:.if ${MK_HYPERV} !=3D "no" /usr/main-src/lib/libc/x86/sys/Makefile.inc:.if ${MACHINE_CPUARCH} =3D=3D = "amd64" && ${MK_HYPERV} !=3D "no" /usr/main-src/tools/build/mk/OptionalObsoleteFiles.inc:.if ${MK_HYPERV} = =3D=3D no (The below is based on cgit.freebsd.org in = case my source tree vintage is problematical.) There is no libexec/Makefile.aarch64 or libexec/Makefile.arm64 . For reference, libexec/Makefile.amd64 example: # $FreeBSD$ .if ${MK_HYPERV} !=3D "no" SUBDIR+=3D hyperv .endif There is a usr.sbin/Makefile.aarch64 but it makes no mention of hyperv: # $FreeBSD$ .if ${MK_ACPI} !=3D "no" SUBDIR+=3D acpi .endif SUBDIR+=3D ofwdump By contrast usr.sbin/Makefile.amd64 (for example) contains: . . . .if ${MK_HYPERV} !=3D "no" SUBDIR+=3D hyperv .endif . . . I do not find an aarch64 equivalent of lib/libc/x86/sys/Makefile.inc 's: . . . .if ${MACHINE_CPUARCH} =3D=3D "amd64" && ${MK_HYPERV} !=3D "no" CFLAGS+=3D -DWANT_HYPERV .endif . . . > Warner >=20 > On Sun, Dec 25, 2022, 4:28 PM Mark Millard wrote: > =46rom the Dec 24 main [so: 14] snaphot for an aarch64 RPi* > system: >=20 > . . . > Starting devd. > genet0: link state changed to UP > sh: /usr/libexec/hyperv/hyperv_vfattach: not found > Starting dhclient. > . . . >=20 > This seems to be from /etc/devd/hyperv.conf : >=20 > notify 10 { > match "system" "ETHERNET"; > match "type" "IFATTACH"; > action "/usr/libexec/hyperv/hyperv_vfattach $subsystem 0"; > }; >=20 > For reference: >=20 > # ls -Tla /usr/libexec/hyperv/ > total 8 > drwxr-xr-x 2 root wheel 512 Dec 24 06:30:06 2022 . > drwxr-xr-x 10 root wheel 1536 Dec 24 06:49:40 2022 .. >=20 > I do not know if the error might have lead to skipping some > other activities or not. >=20 > Note: >=20 > This is from a test where I'd 1st side stepped a syntax problem > in /etc/rc.d/growfs in the snapshot to try to see if the growfs > otherwise worked. >=20 > # uname -apKU # long output line split for reability > FreeBSD generic 14.0-CURRENT FreeBSD 14.0-CURRENT #0 > main-n259842-c89209c674f2: Sat Dec 24 05:52:28 UTC 2022 > = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > arm64 aarch64 1400076 1400076 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com