From nobody Sun Nov 6 19:08:22 2022 X-Original-To: virtualization@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 4N53mx2TVNz4gsnC for ; Sun, 6 Nov 2022 19:08:49 +0000 (UTC) (envelope-from void@f-m.fm) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4N53mv5k8Dz3x9p; Sun, 6 Nov 2022 19:08:47 +0000 (UTC) (envelope-from void@f-m.fm) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id A445C3200645; Sun, 6 Nov 2022 14:08:44 -0500 (EST) Received: from imap46 ([10.202.2.96]) by compute3.internal (MEProxy); Sun, 06 Nov 2022 14:08:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc:cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1667761724; x=1667848124; bh=J877jI0tpL vVlUOadGBhqZ/pTDHh4J2C9FhMihLoT0E=; b=pqHSG05X7S1xv9dsX/Skjflyn4 qH/j4KGl6PA4LXR+8CHb+y8EfmJoIFLyHz1qkHJEFyUy5NlpQC/gC4bJGgXnoIh+ 0WWmNGGJAgzQ6VFSb9EAiLVjXDYpAwvsYilff4hRWgenUg5+oyxZm4MkAEVb2c1z ex4RfByjxl/Ej6+Ek2fMTL7Qej/onSqRnkeDYYdUWTfw1tshSnCdrWH2LBiqvHxX gAxpyXpkByJCvqBMNp2Sap7RTqr8rPltZrxd0qG+tJi9laTjF+rMnnvQokg23blB GihGgfMDGfa+L2V80Ng23TzLMfI0YEyUOdex1qN1B08DZh0yWFmUhjQ99y+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1667761724; x=1667848124; bh=J877jI0tpLvVlUOadGBhqZ/pTDHh 4J2C9FhMihLoT0E=; b=gPv0Jx84ejIz/ItIQR8AsqQ/6UvQST1c6ZiinIN3RmU9 P4hg16hfsFNeqiraTr623zDrj1KbsDipgH05X7BUvtStbQpP60l53nU/jg1ndFj2 NiHNuwMI3jDH3g6fCOO4HS4NUtsbG0vwoz8tnsROtldB4nHJ7MB3yUDU/fR6Te8P N1xDQFU8kY/Ti4fh4PySMAeKIlZjY3Lqu0gYEikD3cZKOLKcUge5JJVOgi3Jn0x/ Z4bQQW+tV5eq/B6jklU0BO2kONDkls5KEmOuhvCBYIE0wDZu3OSKCkc4GLHVFMsn 1i4RUbKZm5yDGxZALpbDhwBCyW6ogdrDsuXzPhSHDQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdeigdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpehvohhi ugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrghtthgvrhhnpedvkeeuffeftefhhf dtgfevfeffffeileevieegvdejheefveeiveeftdfgieeiudenucffohhmrghinheptgho nhhfrdhonhgvpdgtohhnfhdrhihouhenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehvohhiugesfhdqmhdrfhhm X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 019242A20080; Sun, 6 Nov 2022 14:08:43 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1087-g968661d8e1-fm-20221021.001-g968661d8 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org Mime-Version: 1.0 Message-Id: <7e4981bf-672e-48d3-a975-5c64fe286ade@app.fastmail.com> In-Reply-To: References: Date: Sun, 06 Nov 2022 19:08:22 +0000 From: void To: virtualization@freebsd.org Cc: "Peter Grehan" Subject: Re: trying to attach another disk to openbsd72 bhyve guest Content-Type: text/plain X-Rspamd-Queue-Id: 4N53mv5k8Dz3x9p X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm3 header.b=pqHSG05X; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=gPv0Jx84; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 64.147.123.25 as permitted sender) smtp.mailfrom=void@f-m.fm X-Spamd-Result: default: False [-4.57 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.983]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm3,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.25:from]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; FREEMAIL_FROM(0.00)[f-m.fm]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.25:from] X-ThisMailContainsUnwantedMimeParts: N Hello Peter, On Sun, 6 Nov 2022, at 11:16, Peter Grehan wrote: > I tried this out with 7 disks, 6 added post-install, and OpenBSD 7.2 was > able to see them. Info appended. Thanks for this, I'll try to replicate your results here > What version is the FreeBSD host ? I tested on CURRENT. Ah, all the systems I've tested on have been some version of 13-stable. Tested on: stable/13-n252517-5593488d8bc stable/13-n252928-0156c3f1f760 stable/13-n250910-fb231965f9b on all of them there's various WITHOUT_* options in /etc/src.conf. One of these machines I can upgrade to no-debug current with a minimum of options in src.conf. You're using slightly different bhyve options to me, so I'll try those too. I've found that if openbsd gets as far as the bootloader, one can quickly set 'set tty com0' to see the output in a console so no vnc is needed. Some additional info: I've also had problems [1] post-install running the openbsd72 bhyve instance. Seems it can't find the efi/boot. The installer runs ok but it seems no (msdos) efi partition gets created in the install process.[2] I have worked around this by firstly preparing the destination disk with gpart, creating a 1GB msdos partition (in for example a 64gb .img) then running the installer and telling it to install to the empty part of the img. Then mounting the msdos part with mdconfig and copying the whole path efi/boot/bootx64.efi into it. This is the only way I've got an openbsd72 bhyve guest running. With virtualbox 7 on linux: I can create an openbsd72 guest easily, remove the installation image and boot the guest within virtualbox. It runs as a VDI image. I've converted a copy of the vdi to raw with qemu-img then transferred it to a freebsd box but bhyve still won't boot it. [1] BdsDxe: failed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-FCAF-9707-5087" from PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0xFFFF,0x0): Not Found BdsDxe: failed to load Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x4,0x0): Not Found >>Start PXE over IPv4. (repeats a few times, then drops to Shell> ) where I type exit and get to the ncurses/graphical uefi shell with a grey background. Then select from the boot menu and get to the one where it says boot from a file, hit enter but no file is found. [2] checked with mdconfig the only partition post-install is md0p4 which is ffs/ufs.