From nobody Thu Oct 10 02:33:09 2024 X-Original-To: freebsd-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 4XPDMM6Fv0z5ZM16 for ; Thu, 10 Oct 2024 02:33:19 +0000 (UTC) (envelope-from SRS0=SYqd=RG=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPDMJ5CF8z49WR for ; Thu, 10 Oct 2024 02:33:14 +0000 (UTC) (envelope-from SRS0=SYqd=RG=freebsd.org=grehan@iredmail.onthenet.com.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nt.com.au header.s=dkim header.b=Ee+BWgZw; spf=pass (mx1.freebsd.org: domain of "SRS0=SYqd=RG=freebsd.org=grehan@iredmail.onthenet.com.au" designates 203.13.68.12 as permitted sender) smtp.mailfrom="SRS0=SYqd=RG=freebsd.org=grehan@iredmail.onthenet.com.au"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=freebsd.org (policy=none) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id A198D20B49B3 for ; Thu, 10 Oct 2024 12:33:10 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 9829C2127CBD for ; Thu, 10 Oct 2024 12:33:10 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nt.com.au; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:to:content-language:subject:subject :user-agent:mime-version:date:date:message-id; s=dkim; t= 1728527590; x=1731119591; bh=TENrsGQFgqcLHz504/hursvFcqfwtNQvd4R 014kUUIE=; b=Ee+BWgZwBUly3rnhyD0Ce+lJsQoPbZZhNibhwIWibtajKyHgemy 8+2mOSG9M3McBIx4F8a0OwNKrImfvPBzyNWKmvwfVhcMCCcG9pwHFUueB2h8n+nj e669d62CArcyW7nNy099gbyLh7iY0uRgZ7i+7Pv2/2Jlf7akkHh3t6zw= Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XGj7kOil1gy8 for ; Thu, 10 Oct 2024 12:33:10 +1000 (AEST) Received: from [172.20.10.3] (unknown [1.146.52.193]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 5D4632127CB7; Thu, 10 Oct 2024 12:33:10 +1000 (AEST) Message-ID: <8b249b64-d041-4f12-b6cb-fdb528837f22@freebsd.org> Date: Thu, 10 Oct 2024 12:33:09 +1000 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Running Mezzano in bhyve Content-Language: en-US To: Vasily Postnicov Cc: freebsd-virtualization@freebsd.org References: <17f4077d-647d-4848-9d6f-97f9886ef636@freebsd.org> From: Peter Grehan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-CMAE-Score: 0 X-CMAE-Analysis: v=2.4 cv=Fu4D/Xrq c=1 sm=1 tr=0 ts=67073ce6 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=Zfx7oXMFReXrHyuXUb3ZVQ==:17 a=IkcTkHD0fZMA:10 a=DAUX931o1VcA:10 a=bi0XHdcepdgA:10 a=2PKPKxbeqJBfNPpYSrMA:9 a=QEXdDO2ut3YA:10 X-Spamd-Result: default: False [-3.25 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.958]; FORGED_SENDER(0.30)[grehan@freebsd.org,SRS0=SYqd=RG=freebsd.org=grehan@iredmail.onthenet.com.au]; R_SPF_ALLOW(-0.20)[+ip4:203.13.68.0/24]; R_DKIM_ALLOW(-0.20)[nt.com.au:s=dkim]; RCVD_IN_DNSWL_LOW(-0.10)[203.13.68.12:from]; RWL_MAILSPIKE_GOOD(-0.10)[203.13.68.12:from]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), DKIM not aligned (relaxed),none]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[grehan@freebsd.org,SRS0=SYqd=RG=freebsd.org=grehan@iredmail.onthenet.com.au]; DKIM_TRACE(0.00)[nt.com.au:+]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; TAGGED_RCPT(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/24, country:AU]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[] X-Rspamd-Queue-Id: 4XPDMJ5CF8z49WR X-Spamd-Bar: --- > Turns out, panic always happens in the same place when Mezzano is tryin= g=20 > to initialize an AHCI controller. Qemu uses an old PATA controller=20 > by=C2=A0default, which works. When forcing SATA, it fails just like bhy= ve.=20 > Virtio block devices are also claimed to work, but using virtio-blk=20 > option in bhyve also results in panic. What's the panic with virtio-blk ? That may be an easier=20 fix/workaround than AHCI, and it may help with other virtio devices. > When I tried Mezzano on my PC=20 > (bare metal), I used a USB stick. Can a USB stick be emulated in bhyve?= =20 > I guess, only using USB controller passthrough? That's correct currently. later, Peter.