From nobody Sun May 04 17:44:47 2025 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 4ZrBrC4zQwz5v1y3 for ; Sun, 04 May 2025 17:44:59 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZrBrC4HxKz3XJG for ; Sun, 04 May 2025 17:44:59 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746380699; 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=nYRdrbFxqAtQ4DHxqRcNObpXP1SfTG6uqybBxHHcGzI=; b=Kwnfb1QNzexjxfd89dcGklikPNs8lK1Mojl0YLJaY9fOplRCzIRRBbS5ff7C7dMTSY9sM4 iYdEf47P5FQHv+vL+z6+sc3AAAl/RrkABlPS/phULDiReGOXtpWoJ89nK6169NL3FY9qg4 LiQBt6A/41Sox0wqkcMyVU4+/ppCt0lYVHQwMaEJ4Mqu+xO2aM6k3OpCxgaE3BajqYq4fS fN5Gd0Jo9F4tHxdH/eHFM256k/hVcf1su1qYluGtwM3M5ADsk5Nyfy9b5oI4lhMZNqsRUH AEsXMb9oMH7BXpCgjUE3XmAVNQM/egAqZJO/ftcNbrfogv8dFQkdmFsPOHeARw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746380699; 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=nYRdrbFxqAtQ4DHxqRcNObpXP1SfTG6uqybBxHHcGzI=; b=SS8s+jprSMPZjPgn9IUknD+wWsGeVx0PG9s62G9h4t01+580x7zGnUDRlKMQ1LHD+A0KoR wmtDwFpDuR2nOe4KAKW+10ZbsRa8zje+u3cBzhc/+93xMZs0tasuRMnMEZN67EPYuPr+wx bipkXEYFidvs+IGYu/fPOL1vvwV6tyC7EdyA2kQX6XiHC+DJbNc0X/dS3+xuBL4F5opfFH AgSLlu1t2u/m3YcXYugXKov3Z1KGPi82I6DKP6Qr0ROT3ajm8ezN6f3okRbSTEKxhIZgiK U1iBPyNtxlzWC5VjKV7oWPDkoARiLxeHB2lldOm3fztV4A6f1T5txso/OSyrAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746380699; a=rsa-sha256; cv=none; b=D3tmkbp1DA2f5WoeSGVkiayfkGXIzSPAGmKxtFQCqeJ2BrvSlnXX2jeg3cvliLHuZTicFs kb1NapfmhZWKEvNlhxKvTKxfoLNHRMON3URh3NoSPIpdRjYM3e/cEHKM655n3AaBntyZEw FfpvV4kkIQIm7/Bu71FffCTMbjtQOl02bcdbbwLpvzCmGzHoTHGzMEPkpKEKiHYRZOnzSM mTC4HUKgOAAJuqwF+uxK2xFrC0HKW7n6tfwudHTOYcy4HWFRqxGEKvn23vSfo9COBxtUeV 95SDA/Grq96UXak7pyKE3UJg8Gj+zI6kHH+hPzo+SMWQykVnbaLV5uKkmmwHUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (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: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZrBrC3w00zrm9 for ; Sun, 04 May 2025 17:44:59 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-7c548db0aa0so54282385a.0 for ; Sun, 04 May 2025 10:44:59 -0700 (PDT) X-Gm-Message-State: AOJu0YyLz5P4lnRMoF8X3kmj6p7R54zQ2UiX05UVfx/mtBeXgQs+PFid vPQ39K1UnBNO58DLTw7VTbyRvZuJYUzOc576sZzF0Ut6a4NB9yRBV44nNhWGEVhNBnnpio2jI4e rQEoe32bNdLw0/KznzTBg5I/r1vI= X-Google-Smtp-Source: AGHT+IGEb/nw6v5dGtr6FjlCXArdLJB3D3DfnVZQRFGksKvE0PJW/oq2obT/DLNz8Wyp/jitzOTdYICsUMAIJqptA10= X-Received: by 2002:a05:622a:2cd:b0:474:efa8:3607 with SMTP id d75a77b69052e-48c30d83db9mr50191291cf.1.1746380698795; Sun, 04 May 2025 10:44:58 -0700 (PDT) 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 References: <9q98538r-18sn-2q2r-196p-rspon8q137n0@yvfgf.mnoonqbm.arg> <5940npr5-9qn7-nq8r-6rnr-o4q185n621p2@yvfgf.mnoonqbm.arg> In-Reply-To: From: Nuno Teixeira Date: Sun, 4 May 2025 18:44:47 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: ATxdqUGR3WiJe7cPUBKog50f6kda1R4zgUmQsQcppcCZ1ItNdsHDN90Kk2AdRDE Message-ID: Subject: Re: bhyve crashes silently rc=3 To: "Bjoern A. Zeeb" Cc: virtualization@freebsd.org Content-Type: multipart/alternative; boundary="00000000000031c66e063452f18d" --00000000000031c66e063452f18d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable (...) It start to failing on debian too. Nuno Teixeira 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 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) >> > >> > >> > 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: Web: https://FreeBSD.org > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --00000000000031c66e063452f18d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(...)

It start to failing on= debian too.

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

Don'= t know if its related but my AX201 wireless card stop working on win11 bhyv= e passthru.
It connects at first, I see it in router interfac= e and I was abble to ping it for a few secs.
It disconnects a= ffter 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> esc= reveu (s=C3=A1bado, 3/05/2025 =C3=A0(s) 21:32):
On Sat, 3 May 2025, Bjoern A. Zeeb wrote:<= br>
> 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 i= n
> 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.=C2=A0 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=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



--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org


--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--00000000000031c66e063452f18d--