From nobody Sun Feb 02 21:40:31 2025 X-Original-To: freebsd-hackers@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 4YmNNC5dwMz5n4RP for ; Sun, 02 Feb 2025 21:40:43 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YmNNC58rgz3wTb for ; Sun, 02 Feb 2025 21:40:43 +0000 (UTC) (envelope-from olivier@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738532443; 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: in-reply-to:in-reply-to:references:references; bh=DBMdYjQI8pSzBfbscgfTjMeoL3Fo1YFuP1JwUEgQBjk=; b=fltSrqUovocUttZEewhBZb4bCumaF43qEgJ4iZgCsGjbjSNlwaPLAhbAvDOVvRnj2L0C1K 2SRIrMISsyz/kfxYyleKgHRd+7+nxt4WsoPu1KGB+e/xG/lpuMnR4akPEf9CvjIYuSwh1c jmQ9XKzoXvZAkqlnLsF6f6Xi7u39fvhzotYuESwKdIgD+qU17e2yzRcGcHM7Fjk03hKG1a PNFM09GjHReyMz2QakuwrC0ORUBtSpWWc+6UuygNPDbFC+U2xE82l7owjPxJwUr3LwJL4T Ij3Ei8cQYdrAKpvi8aynFsArZNBCj2WQbjg95uQgO0PF66Cj3IwrV7NmVqtNCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738532443; 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: in-reply-to:in-reply-to:references:references; bh=DBMdYjQI8pSzBfbscgfTjMeoL3Fo1YFuP1JwUEgQBjk=; b=g0SyMmc3UU7z5ayMIJuEgJ/DUYoRErLlIfx3aXTEbiWkgbScsONVlp5Fu2iBKJqHQEpFcS qcDcM7UZ/n0KK3zpYyr3bP8EJHmUOqXW7YTcChNriEs3pakNBN/QdjdNMtLHirp9Ak6iOi ipAFHn5/QdW2rpWedyIRCNb2Sc8kruq+F18USEOQX4Jcmg0gjT+cEmBmxo4hs8dO+AjF7f eLHRCGQkAykrzr7fYzRVrAHdZn/dCV87qblM3L+0j+syTBYo7wyQfFGIdwoGEFEp8jCzgc f1lKVCC9Z2liViuoeo4NM/zFf14wuDAkVp9AyV494uldoe3+eDyhbpu2bODm8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738532443; a=rsa-sha256; cv=none; b=GS9Z1Q/OxEOn7RAz8Bw1WIwP7fg67P894m3FQ4EnvD5RE9K3ckpM8ZbbmgKRglHV5iAm+s T6Ac7r6JmKSc6sE0J4t0paBWDyaeyZCOL5aFbovyhAwdh/yEtmfKI7wvP9PF+mpvl4R/TS gBOgLjpvE0im9u5HcLnl37BW3dXdzdppyedAcEJqx9G2RGCv17YiOGSYamJmD8EBcQj3mb 5v9jjSWVdnqoIURLXHXmjc1jkW1XKkjWnYb8vFjRLQB9Yo4WK2updNXOZCckhNX9lQ3Oks /NQ4x+VnTyCWaIBBxcUeeJOQF2XJmHDPUraa65E20ZDGd6+5yBaqHDn9igEdXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: olivier/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YmNNC4RwZzsWW for ; Sun, 02 Feb 2025 21:40:43 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-6dcd4f1aaccso53310536d6.2 for ; Sun, 02 Feb 2025 13:40:43 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXzeepBOqFKz6m3TmgKm6GFui/PX1XjMB0jG2dx9qtUdo/uEkjkx0NsWxJI1zL7OL9UfhqhQajbGQcNc/T1eN4=@freebsd.org X-Gm-Message-State: AOJu0YwNnAcu3zHnCZU0I648HmnEzVH4hCIaQ72631hOIevWVugqs36f mgG8qJT1RiLCYwq6qwUte+hH6X3ZkYuCBmGzb87tkp7hJeCmsO1jR4ynv3HBAAkgxEYaoszH3Vl 4gYzp/CaOutkLI2ZE0zzTLoNnYyo= X-Google-Smtp-Source: AGHT+IHKfhL06zF0kIJbyeqRJatqWiyRsyKVQjgFJh9pr/guLuUi1MIGaMgrD+gVIJtXRHXHLQH+Q3kybrckhmJXLXQ= X-Received: by 2002:a05:6214:1d0e:b0:6d8:9124:8795 with SMTP id 6a1803df08f44-6e243b94159mr247773636d6.1.1738532443255; Sun, 02 Feb 2025 13:40:43 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Sun, 2 Feb 2025 22:40:31 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: AWEUYZkbVm2bh442BiiBplY7lm7CY3UL2gnxfRP-JY5M9wjCUJsHygZLmLSWOxs Message-ID: Subject: Re: bhyve an missing packages? To: Miroslav Lachman <000.fbsd@quip.cz> Cc: sgk@troutmask.apl.washington.edu, freebsd-hackers@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b60aa8062d2fa05d" --000000000000b60aa8062d2fa05d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Feb 2, 2025 at 10:32=E2=80=AFPM Olivier Cochard-Labb=C3=A9 wrote: > On aarch64, here is what I was used to do: > > $ sudo pkg install -y u-boot-bhyve-arm64 > $ sudo bhyve -c 2 -s 0,hostbridge -s > 1,virtio-blk,FreeBSD-14.2-RELEASE-arm64-aarch64.raw -o console=3Dstdio -o > bootrom=3D/usr/local/share/u-boot/u-boot-bhyve-arm64/u-boot.bin -m 1G vm1 > > But on a recent head I meet an error that wasn=E2=80=99t here few months = ago: > bhyve: vm_openf: No such file or directory > > > Thanks to markj@: I had just forgotten to load vmm.ko. So, step 0: "sudo kldload vmm" Now it is booting fine. --000000000000b60aa8062d2fa05d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sun, = Feb 2, 2025 at 10:32=E2=80=AFPM Olivier Cochard-Labb=C3=A9 <olivier@freebsd.org> wr= ote:
On aarch= 64, here is what I was used to do:

$ sudo pkg install -y u-boot-bhyve-arm64
$ sudo bh= yve -c 2 -s 0,hostbridge -s 1,virtio-blk,FreeBSD-14.2-RELEASE-arm64-aarch64= .raw -o console=3Dstdio -o bootrom=3D/usr/local/share/u-boot/u-boot-bhyve-a= rm64/u-boot.bin -m 1G vm1

But on a recent head I meet an error that wasn=E2=80=99t here = few months ago:
bhyve: vm_openf: No such file or directory



=
Thanks to markj@: I had just forgotten to load vmm.ko.
So, step 0:= "sudo kldload vmm"

Now it is booting fine.
--000000000000b60aa8062d2fa05d--