Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2025 18:44:47 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        virtualization@freebsd.org
Subject:   Re: bhyve crashes silently rc=3
Message-ID:  <CAFDf7UKVuc6QzvzGSHzJUTd-DWFa44betwC=S7%2BYbBeWvF7=Tw@mail.gmail.com>
In-Reply-To: <CAFDf7U%2BLukJ3UFzc-hyLTtx7hr_0hSruE_MD9oUGuKt3pPnndw@mail.gmail.com>
References:  <9q98538r-18sn-2q2r-196p-rspon8q137n0@yvfgf.mnoonqbm.arg> <5940npr5-9qn7-nq8r-6rnr-o4q185n621p2@yvfgf.mnoonqbm.arg> <CAFDf7U%2BLukJ3UFzc-hyLTtx7hr_0hSruE_MD9oUGuKt3pPnndw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000031c66e063452f18d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

(...)

It start to failing on debian too.

Nuno Teixeira <eduardo@freebsd.org> escreveu (domingo, 4/05/2025 =C3=A0(s)
12:32):

> Hello Bjoern,
>
> Don't know if its related but my AX201 wireless card stop working on win1=
1
> bhyve passthru.
> It connects at first, I see it in router interface and I was abble to pin=
g
> it for a few secs.
> It disconnects affter minutes and don't come back anymore.
>
> It runs OK on debian and openbsd.
>
> I'm running this passtrhu for more than a year without issues until now
> (recent main).
>
> Cheers,
>
> Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> escreveu (s=C3=A1bado,
> 3/05/2025 =C3=A0(s) 21:32):
>
>> On Sat, 3 May 2025, Bjoern A. Zeeb wrote:
>>
>> > Hi,
>> >
>> > on amd64 (AMD) using or not using a passthru device bhyve starts, load=
er
>> > works, kernel starts booting:
>> >
>> > WARNING: WITNESS option enabled, expect reduced performance.
>> > pmap: large map 8 PML4 slots (4096 GB)
>> > <bhyve crashed>
>> >
>> > return code 3.
>> >
>> > There's nothing in the terminal where bhyve was started, nothing in
>> > dmesg of the host (booted -v) apart from the tap interface going UP an=
d
>> > DOWN.
>> >
>> > Anyone knows what's going on?
>>
>> Ok found it; was a local SI_SUB running at the wrong level.  After I
>> lowered memory to 2GB things went into an endless (yes endless) loop of
>> kernel trap 12 with interrupts disabled but the boot had continues
>> further already so the log file gave the hint.
>>
>> Now I need to figure out why my PCI passthru device does not show up.
>>
>> /bz
>>
>> --
>> Bjoern A. Zeeb                                                     r15:7
>>
>>
>
> --
> Nuno Teixeira
> FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org
>


--=20
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

--00000000000031c66e063452f18d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>(...)</div><div><br></div><div>It start to failing on=
 debian too.</div></div><br><div class=3D"gmail_quote gmail_quote_container=
"><div dir=3D"ltr" class=3D"gmail_attr">Nuno Teixeira &lt;<a href=3D"mailto=
:eduardo@freebsd.org">eduardo@freebsd.org</a>&gt; escreveu (domingo, 4/05/2=
025 =C3=A0(s) 12:32):<br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex"><div dir=3D"ltr"><div>Hello Bjoern,</div><div><br></div><div>Don&#39;=
t know if its related but my AX201 wireless card stop working on win11 bhyv=
e passthru.<br></div><div>It connects at first, I see it in router interfac=
e and I was abble to ping it for a few secs.<br></div><div>It disconnects a=
ffter minutes and don&#39;t come back anymore.<br><br></div><div>It runs OK=
 on debian and openbsd.<br><br></div><div>I&#39;m running this passtrhu for=
 more than a year without issues until now (recent main).</div><div><br></d=
iv><div>Cheers,</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">Bjoern A. Zeeb &lt;<a href=3D"mailto:bzeeb-lists@lists=
.zabbadoz.net" target=3D"_blank">bzeeb-lists@lists.zabbadoz.net</a>&gt; esc=
reveu (s=C3=A1bado, 3/05/2025 =C3=A0(s) 21:32):<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">On Sat, 3 May 2025, Bjoern A. Zeeb wrote:<=
br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; on amd64 (AMD) using or not using a passthru device bhyve starts, load=
er<br>
&gt; works, kernel starts booting:<br>
&gt;<br>
&gt; WARNING: WITNESS option enabled, expect reduced performance.<br>
&gt; pmap: large map 8 PML4 slots (4096 GB)<br>
&gt; &lt;bhyve crashed&gt;<br>
&gt;<br>
&gt; return code 3.<br>
&gt;<br>
&gt; There&#39;s nothing in the terminal where bhyve was started, nothing i=
n<br>
&gt; dmesg of the host (booted -v) apart from the tap interface going UP an=
d<br>
&gt; DOWN.<br>
&gt;<br>
&gt; Anyone knows what&#39;s going on?<br>
<br>
Ok found it; was a local SI_SUB running at the wrong level.=C2=A0 After I<b=
r>
lowered memory to 2GB things went into an endless (yes endless) loop of<br>
kernel trap 12 with interrupts disabled but the boot had continues<br>
further already so the log file gave the hint.<br>
<br>
Now I need to figure out why my PCI passthru device does not show up.<br>
<br>
/bz<br>
<br>
-- <br>
Bjoern A. Zeeb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0r15:7<br>
<br>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr"><div><font color=3D"#888888">Nuno Teixeira</font></div><div>=
<div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr"><div><font color=3D"#888888">Nuno Teixeira</font></div><div>=
<div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div>

--00000000000031c66e063452f18d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UKVuc6QzvzGSHzJUTd-DWFa44betwC=S7%2BYbBeWvF7=Tw>