From nobody Mon Feb 10 09:19:46 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 4YrzYc0N5hz5ncWN for ; Mon, 10 Feb 2025 09:19:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YrzYb5DByz3qtk for ; Mon, 10 Feb 2025 09:19:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739179187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EBDEXWYsG+aRNAHbJLI0b6FKloSCK7qpPWSEvh68GVA=; b=IBf+h4kjDyjT3V5AZd0XtE2uFm3J8DLy618SrthN2KxdJTKzWVX+PQkLjA7/FLbsb7+5hj +bqZr997hD3/9fzvFscQ7Z+XXfLfxK/tsqs7a8G4fVjWLDbKCgb8AzuM0gcpYdhIfZMjik i1yGxUUPt6ejH7Po3Cv7EIUQw/DJyETxfTuFfkewnhmOgvT5+O1MJKknb8FS3NnKx3wS5f qBpxRQ4nd29513VSql1Om2441b2dIEBLk7iWX6j+QqkkFC3gRSvf9utTO9fU8Vpe201SIW jWHeEizdMaLdYopRecSF5GkWyYYI/ZezQpcoV+TnaqWmJxyFGkBGqIiRcRvKLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739179187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EBDEXWYsG+aRNAHbJLI0b6FKloSCK7qpPWSEvh68GVA=; b=lVZKiscg6v63qNmK0LI6P07KxhLUo1bErWVN9VKVDHubuSPcpDOHdtMIo4P4g+Vh0EMSQI AxTb5HjUHm1tGcSYZHlYngXT5sxFAFprBEwxnffbAeqKJv6iRptyw1up+AWSGRlMNdsoDr RQI6WyGCdxypGlEum4i0NJsMEbLKbrUVkdcS6VFbzRq4vHJnmbiMNwjtQE38RPbGMWe6Od NCOxjzyeCINegwVAEPpAuCsHSjwVWvpIKv3K+l0WeqFfw+wmHlFvZfbWP6YZPAMZ9aqCWh RMXjuaYTAzUo/GL4HuzKSJc98kpIUp5pBfaFUSimuEI1jwIHHTTNtd24Mv1mcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739179187; a=rsa-sha256; cv=none; b=Dx1g8BFziX6cHUh1jBaLRkallaNnlghjGvHcL7HSwb1OnFQi6wmsT7dAPVZAGkWBUQcnn1 ADqhhoTteGYNSTDI3j6zLZS3HZqAQvx4d6ksUvp96MAwJ5Ioc9IiHaP3QRVPUdH759NlgR aPEEMiVR9kXt1z33EHYIVKcSJh9o5cnu9FcAxnZ2ObxQb2j7Vhdm9XOZp9+j7/0qJdiFuE J0udSp7/GzLK6EsAA3t4h9A868iiB8kbYSlIN+MyWpbXwy2w565Hkj+wBwmzep5RNsuE6D pGtYZfXoamfxMTWhlicLSIsttj/m79R7pEaYRdCXJrXoYevvHdmMm3CLUq3CtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YrzYb4SQsz5SK for ; Mon, 10 Feb 2025 09:19:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51A9JlKO043754 for ; Mon, 10 Feb 2025 09:19:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51A9JlrV043753 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 09:19:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 284443] Hyper-V snapshot triggers SCSI errors Date: Mon, 10 Feb 2025 09:19:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: michael.adm@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284443 --- Comment #2 from Michael --- Created attachment 257379 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D257379&action= =3Dedit Message log for several days including Fatal trap and initial launch --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 10 09:21:40 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 4Yrzbm0Wv1z5nd08 for ; Mon, 10 Feb 2025 09:21:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yrzbm032bz3rsH for ; Mon, 10 Feb 2025 09:21:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739179300; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SbF1uLnnMtIwOWVBkZ67D2nOBmGWaUspVCsZYUS22TQ=; b=s11fQmfJrZvwGinocVj1qYqtRQPOVTmDcKhfFNIR3L6dFZ0daPJ1GBtxydwgbDJTtyJGwz GDcgrib0Qjs1dRdOBu1DYPwD0ZqMCYOh7FRAz4T4zyjZLWDJK980N9tUTTOJAf3lPJMG3v BHNtxeCkXQ96Tboh5vUk+fLAcrw3mV7UuaeQshDs4F68rH125BcuB8cp8rKny1Fc7wVm+c VNgf7BoeZtMHYz+fZpuqjb8lltwpjsE6aMeWTTpx3GGXFtvwDG4Y6mrZ0xcHl5D+1RlmeV oyqUp5ACChVmX0xnzDxuolUV+OK6bilL4C4JNJAESbfPcsQkG5bojNMDYQfWCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739179300; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SbF1uLnnMtIwOWVBkZ67D2nOBmGWaUspVCsZYUS22TQ=; b=s3JscKTGG5Av3DsfU4dJD2bK/X/ErweRHd0jvajwtG15bJidHCuB7PIHCjIe5g2ohBk2hH Mo/5UFSNWHU8z1qR3qsjHurgPn4XmvDJ6gaYj9lA29rBi9Gfm2+W4A0X6QvN3dn4wbUbAC 14bq0faa+E0224dF3e2+A1ssoYD5r4CabY+QjOrU5MIWRPGEhMWvQ9HEvyTQw/aYOmxfvN 9PHvSpOvhfJKenqgjiNMrZ9/6fcakFFKm0/eLMx1RKdhgkosc1EapZW0EyZpuGmwRprdd4 VD26KRVZK/AmwMxH8NJu31Rxz9mlVAMuTjd2hYC4VlUgrjoewbU9RsTUjDc+RA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739179300; a=rsa-sha256; cv=none; b=GBcIORorge2GDm+mm4wmETiPzup9a5vNtfQfUwT1E9pcdafQwD8azICa/GPJgQo5T6/Lqk OLdeOyQBXAbgKPhYd5PQ8SpujEbfR3Rs2WUGKPqD0Tr7r7wurIppm/XkQ3qbFqOv5CSe+S 2gPp/hsDS2Ixwg1BkQSMxrffRgocUKi//LJr0A6mUGekJFKq8FDNhSNNva6YcIxDb9Z9HX dftNe8gbklsBioP9TomBaIQ+bCwTPzxqpzhSH73pl5Tr3FQz0VcipkpMNzzUAT75XuaCIM 8igb/oU+cKnUJYEHlcutjNxx8aOub6DEKFlus/iPJt/1cvQ/6WfMeU0Fq1SF0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Yrzbl6h7Vz56w for ; Mon, 10 Feb 2025 09:21:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51A9LdLY051828 for ; Mon, 10 Feb 2025 09:21:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51A9LdLd051827 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 09:21:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 284443] Hyper-V snapshot triggers SCSI errors Date: Mon, 10 Feb 2025 09:21:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: michael.adm@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284443 --- Comment #3 from Michael --- A little more information on this matter. Every night at 3:00 to ~3:10 the VM is backed up. Sometimes immediately after it, sometimes after a few minutes this happens: ------ /var/log/messages ... Fatal trap 12: page fault while in kernel mode=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 cpuid =3D 3; apic id =3D 03=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 fault virtual address =3D 0x10=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 fault code =3D supervisor read data, page not present=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 instruction pointer =3D 0x20:0xffffffff80d0cf6f=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 stack pointer =3D 0x28:0xfffffe001729fc20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 frame pointer =3D 0x28:0xfffffe001729fcb0=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 code segment =3D base 0x0, limit 0xfffff, type 0x1b=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =3D DPL 0, pres 1, long 1, def32 0, gran 1=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 processor eflags =3D interrupt enabled, resume, IOPL =3D 0=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 current process =3D 0 (wg_tqg_3)=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 rdi: 0000000000000000 rsi: fffffe001729f8c0 rdx: ffffffff83a13090=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 rcx: 00000000ffffffff r8: 0000000000000000 r9: ffffffff82af3910=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 rax: 0000000000000000 rbx: fffff80061d60d70 rbp: fffffe001729fcb0=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 r10: fffff800e042d800 r11: fffff800026cc740 r12: fffff80061d60d00=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 r13: fffff800026cc740 r14: fffff80061d60d00 r15: 0000000014dd0a0a=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 trap number =3D 12=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 panic: page fault=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 cpuid =3D 3=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 time =3D 1738031733=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 KDB: stack backtrace:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe001729f= 910=20=20 vpanic() at vpanic+0x136/frame 0xfffffe001729fa40=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 panic() at panic+0x43/frame 0xfffffe001729faa0=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 trap_fatal() at trap_fatal+0x40b/frame 0xfffffe001729fb00=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 trap_pfault() at trap_pfault+0x46/frame 0xfffffe001729fb50=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 calltrap() at calltrap+0x8/frame 0xfffffe001729fb50=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --- trap 0xc, rip =3D 0xffffffff80d0cf6f, rsp =3D 0xfffffe001729fc20, rbp = =3D 0xfffffe001729fcb0 --- ip_tryforward() at ip_tryforward+0x19f/frame 0xfffffe001729fcb0=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 ip_input() at ip_input+0x2ed/frame 0xfffffe001729fd10=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 netisr_dispatch_src() at netisr_dispatch_src+0x9f/frame 0xfffffe001729fd60= =20=20=20=20=20=20 wg_deliver_in() at wg_deliver_in+0x416/frame 0xfffffe001729fe40=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 gtaskqueue_run_locked() at gtaskqueue_run_locked+0x14e/frame 0xfffffe001729= fec0=20 gtaskqueue_thread_loop() at gtaskqueue_thread_loop+0xc2/frame 0xfffffe001729fef0=20=20=20=20=20=20=20=20=20=20=20=20=20=20 fork_exit() at fork_exit+0x7b/frame 0xfffffe001729ff30=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe001729ff30=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 Uptime: 26d23h30m49s=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Dumping 1848 out of 4038 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..9= 1%=20=20=20 Dump complete=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Automatic reboot in 15 seconds - press a key on the console to abort=20=20= =20=20=20=20=20=20=20=20=20=20 ... ----- This happened twice within a few months. This behavior is observed with FreeBSD-13, and in FreeBSD-14, and now in FreeBSD-15. The condition for the occurrence of a "Fatal trap" is that SR-IOV is enable= d on the network cards + a checkpoint or backup of this VM. When SR-IOV was disa= bled on network cards, this behavior was not observed. Message log for several days including Fatal trap and initial launch in the attachment above. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 10 10:02:13 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 4Ys0VZ14jQz5ngCX for ; Mon, 10 Feb 2025 10:02:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ys0VZ0YpJz46mN for ; Mon, 10 Feb 2025 10:02:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739181734; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rLNZMYXjZLaFibAyxiWblj0vyKFBLd+V+iICfl7J6WA=; b=QV54ZgvpPZypzn/eiiJeZo/SX0+E+nJNXAaXNHknAumhlBR2MXvQ86K7s8g0ZQJPOS8QO1 50sFXWZuqi5fqC5YJqdW1hO3oArXILqBpbas4KXwij0SZJRMcLcplO/VLaVFiMB9eBtQYG raZ35blw4qGeE9FbHbq0mannMBYKc0bAUUrUHrcDTqFkyWW386dNeVsWVFmO+o3AwiixHm YxCljyPOQUv7YwDxZUQARuf5lGHGzldJTS0+TXeBDpWHWlR1kwkUdIQt3DkBGfVxYyIwcu 7ndsdlMNB3nGA63nP95iERhYfEKm83VVsRq7FIZ3pv2BWS+flcx0KRAifQTVww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739181734; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rLNZMYXjZLaFibAyxiWblj0vyKFBLd+V+iICfl7J6WA=; b=wwHPZwNz/Lp2WvE/lw6CjSmHFIjBaUjKhR9P1zPDsK3Y5rziX8yB6pZcFyVrUfACQrGn0d W1VeK3zAcPvPcrtm5Kw2bQ/QEt02b/ztwj1EFnUlldVO2jb9/DePx4kTQLsuRWwyR5fomz qD+GW1TPj5GZxr851+tUWjzQH85BSgoomhCprgDrQrUpvtvjZ4ilKOK1XtMsh367tyO3L8 Q9kajwu5wZnuhu8EY+kJDkeVoYr8e2XEKWVONaAMHRaJJZXHIZuZ56YY+ZRv9+Tk8pttys RikQyE1+mtVREJFWfgcLVyL+sRWl75lyjobvclfTQjm1H4RGOUjkptO12rRx3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739181734; a=rsa-sha256; cv=none; b=IN1chBR03LQcXy1Y1k19aPxrV69Fp+A6Y9ko6jUX5D8qBcJ6Z7OQ84r+aaEjNVDWeZ2H04 WnVP+EwllcScfTnexQze/xzbpzSyfee3KrNg6ojdEA+EjNjXYjdYD7DHWoiaqcUbUEZrYY 9pWHiBW4Yt7/5PrXl4/ibtd9GygdI21ETAN4lNGNZE6ugHHMt0Zd1j7pTDAUxuV3VEq6DS MMBZAWT4GEcjwRUC3RhG5O7+O2CLmKcSwBEWm6aSdhWvmOyODFtlDWYN0jYOuAeJOslxgY uQnRtDdU6q/BfGT1inaq/2GMzacCA4Q/tVetvnYM3Ae3bZmqUZ2JyY5qsl98FA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ys0VZ086jz6yR for ; Mon, 10 Feb 2025 10:02:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51AA2DTF029576 for ; Mon, 10 Feb 2025 10:02:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51AA2Dh7029575 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 10:02:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 284443] Hyper-V snapshot triggers SCSI errors Date: Mon, 10 Feb 2025 10:02:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: michael.adm@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284443 --- Comment #4 from Michael --- PS: this behavior has never been observed in Windows guest operating systems with network cards in SR-IOV mode. As for Linux, I never had them. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 10 23:17:27 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 4YsL884LMRz5myls for ; Mon, 10 Feb 2025 23:17:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsL883Z9Wz48tx for ; Mon, 10 Feb 2025 23:17:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739229448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+llJdSo6q+Li41lO3hlQ1ltBDsp1Wax+l502kjhzXwk=; b=q8p6FviBJL4RkjePkklgaV+vJ6xwOOtEgBp6RGfGv42egbZTw+855uoTy4Gu5B9A0gCBJ0 IORtVCsY30TKv3qXKX7L0Vv7dKGTC1fuiI4uU1qRcHFxkggUD4ZkJtJilMytcXfYfj+Lv/ zJ94gn5doGWDhTPbFWpVdh9lSpEr5yXpye1bGsEJyix88vR26XTR+qEuefJCeGY73FtAXN 9CAZjxl8eWGycabZrN9+Z8C8IeKjbrQ/FUAvMkFfVsUK1AHMyCbqOUwuPh5Ssw0yeu8euJ zryZIFiqFxhvc7hTs2g31TNypRLWBE7pqYPzpTYoTCEGrjighgg3TnQW8PKNug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739229448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+llJdSo6q+Li41lO3hlQ1ltBDsp1Wax+l502kjhzXwk=; b=Mmu7FImtVj7fTovpjdXfrKVzNSZV558LFRaPjBzLs4qD2D7bWPcDoBQ6CKlzZ1ssNVvk6Z A5hS4lh5OdZ+/qQ2Vp+5RkIBFwTzPWKPt4ShKGXb7dLgxeXpmTtuThrJHK54by6F8aETOW ofEhRId004l24knlwt+91bufZrd5nzbMuRp0c/MhAQWV1BLVA25Qv6/H/9l9PWQh/8wm5M CYg6EhOn7KI3Igb9ozYGmrE4ANzTPRDkQyLe5aef9B7kdDuMHSGIoRnzrTpG0VDt9PWm0e P+kT4qG5GVjDtjVxXDNQQAKvvH5EziW1Dz917tA9j1o6w8igbwY9GgJrlAKXow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739229448; a=rsa-sha256; cv=none; b=BwpcXns1WG1GU6GVpToh+lraxZEnADj556OIfmnULF5t9AJs2DWxUlBix368ij6fNFta8P 8DQQS2ahyNNsAMXJBAVtGaRIS0k33NCjiq3fOG57a0PUdDBOu3QmJjxW5NSd1EHyFOb/5P kA6hhHbWRRQMN3cs3YI1EiKQGO4/waGF/D8yvo/XzafMBmKfiR65whfLop5JDmX4JDGZ2C +Mj3MKy2m5VYwv1qhAkg8xKG2WqqfR5xanVnpntzUjLsk2rBO1V/ckbXfRvfvXOGZZSrZ/ 07QQ/aa/Dtt8PXfRdpacDcWvGOau5AlFT4s8ygvQQnGCjAVxN+X+wOUDmw6dZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsL882wBgzmv9 for ; Mon, 10 Feb 2025 23:17:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51ANHSnY018402 for ; Mon, 10 Feb 2025 23:17:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51ANHSIa018401 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 23:17:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 195479] mpt(4) on VMware ESXi causes enormous number of SCSI busy errors Date: Mon, 10 Feb 2025 23:17:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugmeister@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to resolution bug_status Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195479 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|virtualization@FreeBSD.org |bugmeister@FreeBSD.org Resolution|--- |Overcome By Events Status|Open |Closed --- Comment #8 from Mark Linimon --- ^Triage: problem apparently OBE. The errors apparently are still printed. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 10 23:32:20 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 4YsLTJ4YC5z5n0RL for ; Mon, 10 Feb 2025 23:32:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsLTJ2v8Bz4NY4 for ; Mon, 10 Feb 2025 23:32:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739230340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2QddGyh1PmSxVMCdvZLyF3qiY/m/KAvZsd4zB6vRveg=; b=rU5VH8ahnlWyq6+IhH/sVYNuJiNgOya4fqPVHMf8MRsktQ2bGQrEqdRazbhFh3TmIBAKAd eJnAghgpL10OFCvZRJjFd9xB75L71iEBIkowQ7TThj2t0qcfqTJ5DcIDPZvovtAaod2zNy XDVCBLsuDbkVWZMnBW+huR7NhdSADX95VoY3b+infn+Zah9qo8LgqCipZ1aJ0GwSQCHJhE prQOwUtwbM3mkcNdYxTFpD8Njh4iNxulsfmbbRXI+pp/55bEFq7tzWP32lAh1WO6QoMqCC FDmg3MDY3MyESlkbvzoiHZ6etqzdww70XheEAxCeOYzpiqiDbgnV2EEjcaePlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739230340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2QddGyh1PmSxVMCdvZLyF3qiY/m/KAvZsd4zB6vRveg=; b=xHoIFp/1pUYkWUBAqT9lzED/CPaB455gJrFs+KYyLZcvXbhk7PeMMV1xlZFlxV9nE4XvFQ wKeUQFUng1n0000IwUxLkwEQpWYiFS37VGOMOOsXKDYcHuRvOZaSd2GvxCf3zUyDUxnOlT 1IRZpvdd3kw+70QdEMWB1yjkOYdbVC8iCrQdQaAzP+1tItl4yiI189csJUlMkwpblxaaDv NFl7hUhwqmCkX3GCqj87oDm3hl5KCoC5ok/JGtrDbDascf4SArVeHRJp5hapSqkPc0MpOC CM1zxR9CRyV7i1CeN0AZp8/DOJ/uJAjzs/hE7uno7QYaPwUGrGcA2DE/JHxvWA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739230340; a=rsa-sha256; cv=none; b=LcVrid5zuUPY21lK9rZriXjhCoHjf120SYM1gMo2fkFgzjCJbpSsRAO33hojZRstc8U/qr Vwp65/Oqybc0YL2mFFBoYjkx6/kFffhfoORwZbwdggJqSQH1DMmxRE+5HI7fVBc/7HSzJR O2eaMhZ9l+6Y+MP4z/iIFIjsnLLndmUWEpfKQL9PNTlR8w1sATyVqBz+D91ZK1MkCAp+Y4 9flfmxw1WfOoHh3jM52aCrElKCMrJJzhzhdUtNXezrx6rTeM/ItmviaWlN6grg7oixPken PJq6fYaRe4UFpKIPdNIrpEnEx0X3XStw71nV7qzNCa6CFYF5l0hivcZtnYWEhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsLTJ2Nfdzp8k for ; Mon, 10 Feb 2025 23:32:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51ANWKiu046523 for ; Mon, 10 Feb 2025 23:32:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51ANWKHn046521 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 23:32:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 200368] [vmware] FreeBSD terminal stops responding to input Date: Mon, 10 Feb 2025 23:32:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugmeister@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to resolution bug_status Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200368 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|virtualization@FreeBSD.org |bugmeister@FreeBSD.org Resolution|--- |Overcome By Events Status|New |Closed --- Comment #1 from Mark Linimon --- ^Triage: I'm sorry that this PR did not get addressed in a timely fashion. By now, the version that it was created against is long out of support. Please re-open if it is still a problem on a supported version. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 10 23:33:22 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 4YsLVW0jjYz5n189 for ; Mon, 10 Feb 2025 23:33:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsLVV6qclz4P8L for ; Mon, 10 Feb 2025 23:33:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739230403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Sg+8OIPp82FXCI3FB59y8VFX89SWcBHylZ3lV8Apmlg=; b=K2Ri/EWeibC3HU+UQ6ZmawDFMciOxgYEIW6OPfbjflkI/EY3U5R4ni1waW9sUVtrq4IfUh PVfyL7EhAEmHEVFPCLmAAmEb3fCR7ySoMthi3z/D9Mmk368fRImFseBaXoAAlRW/03U1nX oBSWL4PUfQtfGORAQ9ErwIEkxqjXP2gMTxvrzBRaThNzjLDABRANOXUyF1NQZu5UXa+cfp SaAdb+9xYFB+Yr/5ZJbw7iOmJFLA5nx1KMsNoSpE1s8OuKyFKR9A3lvcECIO4RyWbwuGu/ GRCZZNXF6AePK9tmGzWAv8U+Bf2Qu96JZ8PFifGaLlRqAG9eV6gd8U2GN3xlvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739230403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Sg+8OIPp82FXCI3FB59y8VFX89SWcBHylZ3lV8Apmlg=; b=FagOGU4A11P+xTwFRQwkkKSM/4nS0AuZWEKIUv0t3sbq5n+Jr2I5KkFhCw2eex+R8xYsuD 3l0Cz9KHfs88fFPbGkH2CcEt4ffpqbxxPz+iNZSEYlaq3iOAI40DJbVJhF1tn2vmRhUVkG DrFGZsZgOa9lYl5j8qENi/t/Yt+IEJ4se9tOsj4/ATRMjwr96MLGmSL5lv23ynlw63IKhh bUdsdVpfXhvrfrlg7T4Z9cJQojvtKK22A8HJd/oUBgRwcMkMCXEM/xoalC7v3IPkE9fRQg gsghqh/r8OBlmshRCYZcBAb+6+SYFyl57PsaHYinpXRKxKbgST85yMaNBotjYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739230403; a=rsa-sha256; cv=none; b=xtwaZgHzn9Do/lMmi6/UInPeJUKfIJqzNW5wnl/KEOoE/XLJssCGtWI7P0d8kI+2WyJEve heQRjsomacXYBjIYhve7mDEIZwBH63KjI1P/vp+RJJHJwMHkGzNxSVeSPzKtFRnQnDK/Pn 450mGru1CtSQpRbNZefVLxm3ZnUWez2OSzPF3uxouh0omKm9TZgwBkoBfWDr8/1a1EqAyw vhUE5VILmuCXyiUPpKVRD9oLFNN6h2bUhPSRrXtc51dDWjnbRWRf49wCJwdTw3GMDlXe4Y m2MCI8xQq3xI2FfjcUsi6Hxf83p8T9UF7RXGj+F7Qu4PknPMSuBQ4lEHFlvOwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsLVV6P4rznnR for ; Mon, 10 Feb 2025 23:33:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51ANXMld049248 for ; Mon, 10 Feb 2025 23:33:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51ANXMC1049247 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 23:33:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 200397] [bhyve] bhyve crashes in Linux KVM on AMD Host Date: Mon, 10 Feb 2025 23:33:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Feedback Timeout X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugmeister@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution assigned_to bug_status Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200397 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Feedback Timeout Assignee|virtualization@FreeBSD.org |bugmeister@FreeBSD.org Status|New |Closed --- Comment #6 from Mark Linimon --- ^Triage: feedback timeout (2 months). 10.X is long out of support. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 10 23:38:02 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 4YsLbv1WYmz5n12H for ; Mon, 10 Feb 2025 23:38:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsLbt2Bfbz3DNT for ; Mon, 10 Feb 2025 23:38:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739230682; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jjKFH2UHpxe8RilW0kTPPRJC3/fULwq6KywBV82TbSk=; b=nTYhNt4+FTtgUwS9WnwcPlNeCs5O813kHVaZTpMtcktSHqzvCMw5pMOcDbNWzhUSy/SZCZ G5c6j9G5balPOq0yVXZUmUG4IeOQKc8gk0KDYPw0ZIr4HVwFkUvSW86xpXonbwFn95BPSx ZH8Dn5+ZKTx5E5SdI08G46G5WaZqoXz0Mlq0HExKrJL0fh9bRgkGFlUvn9A4WgFt7UXdbd GUTKfhAwKXwexxdofH8atnS81GWUh39DPqGNPLktGOwCfelbGta6fAt+osU9wOf2T02qRV s9BnSacHGEzb+N1AZE8CCiqA8xBXMAmj46KLWC6jd02T90dFLilzUhFsdXrikA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739230682; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jjKFH2UHpxe8RilW0kTPPRJC3/fULwq6KywBV82TbSk=; b=s97A0IwiVY5i6xhf7St0vzRCwam3qJXhHrXy7v3Gq/bzoDPquGvBT1ysr2mSG2qEHtrH+u 0eGYz3/fCxdbdYs1JAf1yOFnRAyQW/2na4qekAlexeZMYMj0nlQ/6uLTnsv1VPS4FLrfHX Cv1kBCC1NjcY+8lA+31Eui+whiswTbkH5zr7c/OwUcQJwPHtCHA5kzCNbCbRfcHYuqRQrM Ms0RHOJXB2wUglc+m2+MvaGahkD1RxEVilqXBwvYygZVPi1YrjHtrsu1mxNi3ybOeHrmzi ijUQ3aCEnszFW17pzf/v5ONIIq26m//oXM5G74Iok9cvO64/OJ1LBtQUXn+/Qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739230682; a=rsa-sha256; cv=none; b=U3b2qdZ+klwv8Uw9oVLrMlQg6g7Y51AqM89dtoLf8oNnzcIW6DbQzke7fuf5WqKY3yXPhs XaK87fU00N1x04oE5xetlnlL0wEfcFhMVN8+7E7Iyhxy9R8KmW3nFdg41Tr7OP4OW3M2Iw 7YcdtGu4HPjGpCXrM+b8aQ7kakzFzSeV3oLi0tm1T5pWE6Zvvh3tDkNOeIMyo3hDx1OEMG BsXGfuGaoP9h7wVwDnrIG7pSgZCSynceY0qexwAmroGNYk3eH66Wz9B85jofOVT8ITqX2V wosejUeasCaV0OwEy56GUL4NhYW3njkYayjCNXiemWvZdwbPmOhuYGq1LkN8WA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsLbt1gL6znhv for ; Mon, 10 Feb 2025 23:38:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51ANc2CS053442 for ; Mon, 10 Feb 2025 23:38:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51ANc2Qa053440 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 23:38:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 196744] Hyper-V synthetic network driver ipv6 duplicate address Date: Mon, 10 Feb 2025 23:38:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugmeister@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status assigned_to Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196744 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|New |Closed Assignee|virtualization@FreeBSD.org |bugmeister@FreeBSD.org --- Comment #2 from Mark Linimon --- ^Triage: I'm sorry that this PR did not get addressed in a timely fashion. By now, the version that it was created against is long out of support. Please re-open if it is still a problem on a supported version. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 10 23:46:36 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 4YsLnm64Xkz5n1lN for ; Mon, 10 Feb 2025 23:46:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsLnm5WPqz3LCY for ; Mon, 10 Feb 2025 23:46:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739231196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wNUvPIMRhF6B1HjTm04tBidynYVl2zHhTRJdlItGz1U=; b=eb/W24aavA5A2B+49ZmqaizUrWG0pPhc4HpgXHSg9YWsI+E3gXSzKZFfyTtSJjK/W5nwZ+ RSPI75RUrkQ0JefcZbvNK+IRtMYwv8Ueci69D0AYWTWBsI1XFkK42Quxoh4MgAqi86D/vX jOkuc4i9SxeQMicrWdTfaUVrfPqcUG91xBo7C6yRfxbZbjT0WO7VpupX0fPTWL0zrxr99k tPYz3rdHeFD0mZ+70GtLex1SJZd4cxiKtqVsfa9gPurNlGYgN8/0ZrpzzVMF6WfJ5xu695 p9EerQONJWXjYcok5vPvAS34tmk4iHJoDM6iIltRzDAqqiLCz0m460pDO4/97A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739231196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wNUvPIMRhF6B1HjTm04tBidynYVl2zHhTRJdlItGz1U=; b=ocmSbjgHrJ8w26POfxc5ku83Bagf//o9bH8Wh9ezGnNOSJftu4q90kVNwbLaDB95BCUhXP 2FIcCyUTY3nLQYxcF9mt3f88BowQheSPf60tQaQPT9DCE4gCwBmgHbvhM8WJldsCq3QO32 9uwc3KpcpB2MNsWIUKrf5BoplTPiCNYR061rUU0Y/eHn4WiV0tOvbM54MMMfLAM/P81fKU YWFoTNrNG3etnUFGVl+QexX+PFkzRKLm0snRcA+bYLCtCFNvPZbh5PEqe1wjezw9xOzWaB neL0jVXULnoUHt0jyw/n/nfIKb0/EYhp/22ZORT7tZ9A0Mzk1eFvsbgSq+VpOg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739231196; a=rsa-sha256; cv=none; b=BxiL3I/YSQdV73x9crR3MOI7DbSvK2IMidRAmsyRNqyDraFHxJihxjCK5ziu6LRtYt/30T wuzu7nW3Qq+/7txcKZHeyldQiwrxITthjjAajXM/3arKuclzpOAR+6EpFKlyNsfIbmj13D ZoWjs+VPd3DZ7FPtaWDvfrzK4tOsmPXvgOIZHY/smUzdSvlB1Wcl9Ov7eMY+9qSrJMoo+a WLKkt9Ud1GsLhGlOvfKuSrNVRlvQie/MZQ/tq5sjUOiWrmQTenHEv+gMZgftBOC49Y1mE0 h7PQm8/jpFl8iq3qnuaYOGBO1HoeB7K0c1rAndJ1w5hYEIgCsrePUAmRwi30uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsLnm4zTjzp1C for ; Mon, 10 Feb 2025 23:46:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51ANkaFI072628 for ; Mon, 10 Feb 2025 23:46:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51ANkaoo072627 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 23:46:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 278338] bhyve deletes tap LINK0 flag (regression) Date: Mon, 10 Feb 2025 23:46:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278338 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #4 from Bjoern A. Zeeb --- I am also seeing annoying problems on main these days in that tap loses it's IPv6 link-local address on bhyve reboot and needs a further manual ifconfig tap0 down/up cycle to regain that despite the IPv6 flags being set correctl= y. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 10 23:53:55 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 4YsLyD5Kgyz5n2PZ for ; Mon, 10 Feb 2025 23:53:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsLyD4qY7z3Qgl for ; Mon, 10 Feb 2025 23:53:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739231636; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=95PUJZobYN5UZMGHIqZPVIhBFm8InBYzL7Gq6mpiscY=; b=rKtjCbLgktBlbJ3HxpOnS+6peA+CiiWUQshnnjxh3JaBKmG+zYCv+4cWcWEwfYC8I1TAxG VupQTzQ4SxiEEn2W9ZtFwe5yk6Xnz1jo502VNrVVk4VQ6DvGTX0vAO7XCZihEAhhV61dHJ imo/Fh1t3lit0G0yTkfqS06COTum3hs8nHxdn9P55PHL90btPEU5wHl2BTxPKTIktCxOtg VV970h0tlAZK2eEXLR3KbZ7BDpf16JsDTOtCGztpvlppSRiLJi11yxHmAXd5X2+yCfJzKi jEX5HH8+g5F3Hz0n2eEddWtbSxyjRvqmQXZKmOpasztgCDLGH5h6bWT8aqRuQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739231636; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=95PUJZobYN5UZMGHIqZPVIhBFm8InBYzL7Gq6mpiscY=; b=ueInEfS0xsJh14FOrLho/6GOYiBDQSMdb/Wa9kCsj9L4llzSyhVAVaDmL0QsihQQXlRZhw 7xJlCcM+43URPTLoBCbO7ZWnuRloA6gDJoNv5PGWcAIm166cdwks9epHkpw60vGBX8eG0T ecRXJkIOO2N5K6GgaUKj5HZGUWrS3Y+ZpMbd0Sgd/lWoT6/2kUKXaxY7h/pU8u2btQBOJj Tp2hDgWy03zg+MwTDDYNgSEY1BqSv2lqZaDEheAJjgfXDDvz1/gGLopZG599xGEyO9o/a6 tGHih3bXbYHjfO8FJsrVxx8iRkJZQtxFBH+Ljhye/tK+vSJoE+5YG19o8PD7YA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739231636; a=rsa-sha256; cv=none; b=JH7u1eLD14K4lCLq68ARslElLC8TzNTBPMUrQ5zaxBfRs0GZMjfuTzEDhl1w6u1m5DwcPh lKaX9dT+xV4315O2bjWpNQPrBH3UsN9BYM5f5Cq6vC4gvxCCfZ92DPwkSGkYWTKpxx2GUJ z5lvEUXkfxqKqFkZnuf78u1EL/ACXGgoJp7yRauIGX9uNWOADRUaJWHdNLyHcY6RnBazpN uOT5PjzuPVlBg8qWZ9y6GXTvctTK9c990zLOc3mEmmQz0T4pTrTZWTIIJi86HtFCd0UrdP ikbcqJqO4m6BtoaoUB1zBBrQADnuqUK7F1qwvtxu6HzKYqaH0T6mkYh5hHvJ9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsLyD4MzFzpWf for ; Mon, 10 Feb 2025 23:53:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51ANrueY088241 for ; Mon, 10 Feb 2025 23:53:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51ANruQe088239 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 23:53:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 203820] kernel panic when trying to unload vmm(4) and VirtualBox VMs are running Date: Mon, 10 Feb 2025 23:53:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugmeister@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution assigned_to Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203820 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |Overcome By Events Assignee|virtualization@FreeBSD.org |bugmeister@FreeBSD.org --- Comment #13 from Mark Linimon --- ^Triage: I'm sorry that this PR did not get addressed in a timely fashion. By now, the version that it was created against is long out of support. Please re-open if it is still a problem on a supported version. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Feb 10 23:59:19 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 4YsM4S2ZLbz5n2s5 for ; Mon, 10 Feb 2025 23:59:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsM4R5zV5z3SYP for ; Mon, 10 Feb 2025 23:59:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739231959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7lc0wjiOVg8Z/0mcuG85SC8TAm81RuFL0I1i9Rsy1eU=; b=Pv/zq2ub+Q6dzOim6sYgeitHkXA3ANhwX99zjpYlzVM9DBc9tMq/Nynz9d+JZG1G4Q6t6+ vQ3Aw9A64NkrMIXu/KK4Abk5YmRyQzUCLQJ6FSpo2RWqT5FouCuS2WpWgkpv3ju3agHlOB Q4PVpU/sHDyTB/5gIwBwoLSKTCLLP12EhWEKoxIq7bCM/JzBCAMoR4DbmxeHA8jS4ssw0O uuvNZXZ233PcriLgHNuU/D5/XXkLrS54b6R5RggK/xR8oDIp8ab0gSfltuY53lDxdPHxxQ RtiMXZDHnn/3k7eDFMkAQtvoKFbVj3CMhssXxYRPQ+URl7Isv4BXtKRswgDX5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739231959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7lc0wjiOVg8Z/0mcuG85SC8TAm81RuFL0I1i9Rsy1eU=; b=wCnPWsXb2mZezTrApch3k9J8bxpCPhT48CN5aEz31YO8tolaJaIxbN/uK2ZQrGJT5vn3pB /10oRm7CmpdpQGWvuSxKjN0JFANfuBMzF6nXb65gL51WHeZZ5ybuly273IpZp4OmfRnhpm hK4VJSl+TQaDeywZis2zDGLztWbMFFkc+dFPDmnBCldfliTEhv9SKb8dmeLz9ArVK8Sbbk Xl/5t1nRXrKs8c6jDUB0fzGCNayghC54zOO9+4ca7xMEZv3L7HIM7C8nk3OeaWINct5vIb fUslWCk7mxtl2F4Sc9df4Rwxh9m4B+OCChIF3z2qtOVxowfBmGLSi+X7ONZnkQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739231959; a=rsa-sha256; cv=none; b=Ihs8K61eeqJC9k1YaWPMWovycm4bEBbJqrYUEA4A2pK4DnJ8g6G9h+43oIRbQX9lEn+gmT E4R9R/dbwnHOxu80PK71Ex8XYWrvl00bTOUXokERMkmi+nxFgFRkblvE5vIZK/luuKjaq5 sfevQyQiIFUJNFku5A8qKysfhV6VzWNx5kcByXErpi/3L96+dLbup/gTHleAHSo0e6pt4k 5XoEfQIj4RRP2K3phwLJ2gh3fArOWYhxUsSWvXReKaWokLGQf0ZMXFJj5Qqw/rsD2mAHl7 umgpUTMxHcjBCNKFaX7XFsxsE+kYTdXzKowrt/VH5whnykZhfmjxFOokxLGknA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsM4R4MxVzpKP for ; Mon, 10 Feb 2025 23:59:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51ANxJC0093709 for ; Mon, 10 Feb 2025 23:59:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51ANxJTX093708 for virtualization@FreeBSD.org; Mon, 10 Feb 2025 23:59:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 262292] Seemingly not possible for IPv6 to function over tap devices on if_bridge Date: Mon, 10 Feb 2025 23:59:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: bhyve, ipv6 X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262292 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #5 from Bjoern A. Zeeb --- I just found this as I was looking for another tun/bhyve inet6 issue. Did you ever solve this? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Feb 11 00:33:55 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 4YsMrP08RBz5n51Z for ; Tue, 11 Feb 2025 00:33:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsMrN3PMBz3ffH for ; Tue, 11 Feb 2025 00:33:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739234036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a1FCYX8xcl46+PYgfo2jlnhc8BBIkusDwqywJ6GI630=; b=V/ejaf2J3+V5rJoXBxr4JEtdECQ80DOrXz8mZ40M4CxZ2KqVa54976NkHpp2sEtF8/7gD6 98bahvWmJ/FRNYoQkb2tcW/q6Ek+ExTqu9FOir1kwpd3bumRUsc7dZJq/yAvQDJLYGhsAO JhDml8OqpPgYnf0Um25JRGl1+FW//YByVGcA0fMbmgqH64kAXrMU4jUvQLo8SghHaf3lml E74HeSAq15AZdqCQe6Sd4At4t1v6K68n98RpYV3klxFiNTulOrlbN0qfKdYRtfn4CHMHbm qtuEX9jdozVJ8sqegxeZqFCzvt0oQlAz/2ynHGCPDucLunJnzG/ZMrqUhNZM5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739234036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=a1FCYX8xcl46+PYgfo2jlnhc8BBIkusDwqywJ6GI630=; b=rI6j3S20JQkCJOY9PoU3caugX9n8kSc1wwwTcRzSflP66r9HxfwvCie0JQvypfHpMzP6TB aed9t29u+fwCcFgBcJ0eadQUWUOzftj62nnriSRajyX2nf3MrrH9VyLVThUuBhVvR+dJEw 24xgzhltC2m2ndJM7Lr/BOoLInJW7AUwXBUUVDx5/x5nL04Uoh5SxYlooBZpHWV6NUYm7O Pm6vsJ01dNR3o4z7niYTMSyFQ6pIywatFRTq34Kv6mYTE4OXeBZkboKGR+IpdY/gFKf34i zmCeGPSID4OTUr2e/Leu2EyqPnFAwpY8EdmZivu3OwH4e4Sf6Z4lSwpxdcX0Vg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739234036; a=rsa-sha256; cv=none; b=GvqaRHhGu6Mf5fJMTfodW8ozNvYpM+iMVNchR66T8hNO2e5AWG+9HqQhS6DQt+I/SygC3A SW3RW6Z4ZfN9ibJ7J+PSPfZY6CABwBxfvlq0yRFJ32fxT10eSnYSvxwC77WWRJuztIqJkL FPLQjw3QcmxjhLgyWTeJ031qD+TG4Tg8FT5GTYevWV54WkcasDv06y774QK2LcWXVGqp6u VwrrGxXP7TzubYGqodSMEQxWWi17deRnz6IduAvwYuj8QsEgkBDQBuPpJzKVp1G/vUj+IQ bWn7JKtOFP0IOWSwg/Syf4dONmYcUknT26Hi8WpeYx6OOODtkDiodT4D5F73AQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsMrN2zcwzqbs for ; Tue, 11 Feb 2025 00:33:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51B0XuBK070871 for ; Tue, 11 Feb 2025 00:33:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51B0XuKc070869 for virtualization@FreeBSD.org; Tue, 11 Feb 2025 00:33:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 208246] [Hyper-V] FreeBSD 10.2 Disks not found on Hyper-V Windows Server 2008R2, preventing installation Date: Tue, 11 Feb 2025 00:33:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugmeister@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status resolution Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208246 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|virtualization@FreeBSD.org |bugmeister@FreeBSD.org Status|New |Closed Resolution|--- |Overcome By Events --- Comment #6 from Mark Linimon --- ^Triage: I'm sorry that this PR did not get addressed in a timely fashion. By now, the version that it was created against is long out of support. Please re-open if it is still a problem on a supported version. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Feb 11 00:37:42 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 4YsMwm36c1z5n5Z1 for ; Tue, 11 Feb 2025 00:37:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsMwm0lxDz3h9l for ; Tue, 11 Feb 2025 00:37:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739234264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ctYFB8Cw21Hrzf4jYpKy9Rci3m6idd7/6qq2zw3VGUw=; b=GSe51m5kwDJMlveAiTnzqRl+RP0MbMB4k1KZJ1gfLO5WAQeTp+lVjUuV4ehG/0TcgUKT+o v5Zjlo7WiV23o/DOrCYR9cRU5Mcozy2DC70UpNl5GD3t5ZiPwtOYzSwuAgxI2CwiloN9Ol 1mPGl57fOBU9N3RLm6AHkW01D9gkLugivq5zNEm/KNUlR3YkoD3+0KrldRPDqmA2A/HVHy WuOreMESe1WtXEZN/KIrKqxD94zxYH2POm1gkOrAg7NtDUWH2BL/gXkCSy6/51UfW/kSdU /kSU0Pczd74upnob/zWAgc/3IVIKSX4TQ2RAU3xI6h2IlTjFaYaWRbEacsiigw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739234264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ctYFB8Cw21Hrzf4jYpKy9Rci3m6idd7/6qq2zw3VGUw=; b=toyogT7paMNUONt882PnySmj3ZX4Ng+nyPnoJLnVaPvj0QJim6s8H8IqkIHgaO3o8IbGZy 9KdaG7t6T63X63rNe6O8XK9CBcz1b/WfRvaJx25PyUyOhbfB7dVsocWlGOO52sMnzm7OG7 uOsq0/KkYi37WXhOO4z7RP7MT31FosGrdrUNf4Aw6QQycdI7CzBJkGdeUcq408hgdjEyZd o9DfKwXJXxgjjcmQ7lgej4sjI8mVGElq//IxJeS4OGPB9LRZuv0qt+uHMM1xPWjBR9nwCc Drvz2wszJZXBYOf4ESJrHH5thhZ3U4WAUVFlOYMnYL4DIMiO/XkQVfnQZ7VL0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739234264; a=rsa-sha256; cv=none; b=p8gHrqLc4e887YnXczb17FwSb8r45hukqjYNq3jaJb21TEil8CwUGwIuvSNqg1KijqQ/kl KpwRRkM9LM50TSob2uMIGqQBfmw4F0UuYPxaKCch85MUu2pE1BuaL/t1t1oFhH4aKLZglM KLirKn+LL18ntRf+fkHZtMH4RF9fYejC8vBvlS5ihiQ3TEtQb0n5xR3LS7t2PVMn0Ex+55 ie9mQsuof8MlxcFxEZlOC3/QwV+15UXB5biqdO6qwntmMk8zkfaA68XvucSdqdr1xWKJIW zgIw1jwgH+lKFlLmmmi5lVssYJWZOnON9633HlU8o8Kgp7ITejmKNPfHumvk/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsMwm0FDyzqK4 for ; Tue, 11 Feb 2025 00:37:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51B0bhLH074111 for ; Tue, 11 Feb 2025 00:37:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51B0bhNE074110 for virtualization@FreeBSD.org; Tue, 11 Feb 2025 00:37:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 210466] Page fault in vmxnet3_txq_mq_start_locked -> m_defrag on 10.2-RELEASE-p18 (VMWare ESX 5.5) Date: Tue, 11 Feb 2025 00:37:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugmeister@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status assigned_to Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210466 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|New |Closed Assignee|virtualization@FreeBSD.org |bugmeister@FreeBSD.org --- Comment #2 from Mark Linimon --- ^Triage: I'm sorry that this PR did not get addressed in a timely fashion. By now, the version that it was created against is long out of support. Please re-open if it is still a problem on a supported version. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Feb 11 08:01:29 2025 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 4YsYn94wyTz5n9ZP for ; Tue, 11 Feb 2025 08:01:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-23.consmr.mail.gq1.yahoo.com (sonic303-23.consmr.mail.gq1.yahoo.com [98.137.64.204]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsYn918Swz43sy for ; Tue, 11 Feb 2025 08:01:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=iRSiNZrP; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.204 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739260903; bh=2cP/JMCiQ31BBZupPZCQwtR/eoqKcGZlb+CnNCLbLaU=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=iRSiNZrP9obnkmW0yXd49rr2MOz+atrOQZcehNBfOMeoX/9yH6p+XmuLjgHTbZX1BZ5UivXmJ8gb3uu6fej9qH4p+pm3BrI3+ov50C0JfelWCOh/QxgxvupdBl7ORwIaNiaDUcoZKOz32N0xGdFXqBm6z3CNoTtHcC0E78uOg+kvZQPV2Cb1DH1KDkbCux+9bebjeDBvRM8+G+DZwNjhMlgg/Xc1ahMDcpSCHujyXheqBayTN3i1pQMtb6cKVupyHoIicHzqYVEGmsOgautlgEZrognzNbs99/7m+lnhsf9Jv5PNoNjozytlH7HAvE6X/3VhzVTXuTk7WP8sxpAqbA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739260903; bh=SulkY96lbDN+3K6f7VF1LPXfz0FTMyieM/D7NcCbRVw=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=Y6Df+2ZNtSyQNPKVFwysm0mZqt27luMqzQfa2fmENCrp0o+4AJ9XffrlruGn06FbBfNMNVvM3UCPnvX7Hj0GOSGpao1TejZasumGwdiD4bGuePH0D6ncr418ONEY9/biIImRwjAQZAB6HRnmRmbplNRMr9nlTjJfsaZV/kSRM6YxL4s4h52tVJ6tEV91WqgiuvmPVYnv6MqqQCc+mquBtAzi3nMf1RF8FBrFDtrO8vi+FRllkO+99le3V1JYEqe5sZ6dcfoPd24e/K1XXHBonO0sop/taGT2TMIn8UJjd9wdUFAjCnVjH0oL3/hvVKhGFpx+8f4Bw0x5jbCnhhWxSA== X-YMail-OSG: 139H.fcVM1mrsPnytSwcXZ42Fph77TYPoZI06KuFg6HZDxXkb2hSsmBEQ2si5Vh .3cMnLI.R5K.PakoQxNK62Znbzrl4rNsCTkqbc5C5o_p6QGI5ZWV9kBnUKaNwi.T8VaEruCcvhCY zC1tI3NA6LH_hN51JiNNACvKiBDF2Z7_hODyyBNwLzjbhPyidgYZIBbI4tZidBPdAQk0BbZwMiQu kbLY2kdIFJT_bOBBa3fQWODEfcQBiSP8nA05WTQh_o691JLd8eLDoEiU8QbFUV98qtzVMOHNKROM zNnfdsmy6HvzKpOiEbU5f7FV.5aJ8dLdw1UIJ5PwpZ1EepFDuWVxoZxw3psseBO1L7hK5vPnfvcX hOJjtPbhhf82f1l2hGUR0_XY3He18s4Tm21i5kuwQZo3dgDY25N_Oyhicg97fez.cQTvGg1oPQIZ qHf18jwtx_Yfc74e44vd5R3fTIvJMZVnyz2X1FttafG9r.0sPusJbUdKTW7O36VwtODmEDIsyXe2 1tsJKIuWjBTUmBVAjzXNdlSgUr.RPuIGvgxyED6UNI3kfEF8C.5iK2iuP.HC9CNGy6furkvRdRBI 0ewAgNKrFfNRGwEvfLhVFcdKs_PUeITV_hphdr88ypYcD1NpglsUKvE8ZDdKMy4lUSMT2xh98Z1B DBAj.G2Qf7JPvTTseT2Huq0tt2AHQmZyhXM1XK2LX2Uo5FpARgWQphRG_PYWyiIsef_wuOtXoOk9 qMgEWJuRD9QEm2vU8mVkGK7g9vGd30hOkL6sY6_8k2niyFbQFgXppeQiL1ncrygy_6ILM1sGyxPE msKFGnroz_KXK64J92WRnJv2n8kabW2kH7g1sBwaiB5F7Z3IPVxuccmgyUo1Vx8pxSILSUrB3ITM hYdyx1qiGcD6vIkGXvmXT8zqjdSokh3XHEnvEe_buooi9aOD6AxiWK1DcGPD340KQJpRauutihBL p9NdkpYFOhzvAVO3Kj7lzmktPNxFbA5v392lL8sxU.XmTUF1uENjmcps8JaWVSMMYH8DkXls_Abz AmWuQaaXCNaQOcSuBkbbriR1Yo71CRyGnBKBlkcXfpJk6MYHkbAzL4idrmimPMTxAYNbV3vpI4uW xkAlRKD4i.DU2wb8WMzWzwSSp616kGFUwnXn6RZFgkJ_9UH_237qwsBi9fhCT9y.9OL.yy5DMN2l h9QgABNwZg8Kfwf2MJu8HnOe0CiK_C06SPavFdnBRfJOOeQsNiaR82HHWXQIUjFV_HExhkTgorNL S5KElwOXIhfJSnabvn8T5XifWau6moWUNoMucGQg6qFbHsn2m9Ht9obfkqCjbOa7Gd89ai_e.zXO 352X5dTrT12vtx_c.BhhQBPUEmJZ7OX.aMQpdwDycbn74wsH01dpz5p7icwM1IdIS2Fjz8.0afJc 1mLYBLxm5rW6WYgRrAHKMSip1Uk1HrdK5.fNbroh9cGSB71HkTWdivdbyKEepNA3RbtdAZuzmwIb 29sTZJiSdaV1J4jrvcap2G_5XePhzk_OiDPQnS2IdJeiutPQbVrs9PRWElk.lCmTeZIpdM881.5H bNnkofceOnPwngXayOl5lBUxLdWRc6pCXwWMeVATNC3h44q8g2FSvJI1JQ9pg8jGufJpZwUg1dwK J8rxLrp8vequJeBKpKSZnhPs2uG26KcYP.X2a4aNoOdDyrPuq2NHuYePjRs_Qm0mSZ6LFD2z8pVo ZnQAQ9Kb3mcOKBSEfS3WsDNXIxgFce0UMwQ0aChOf.O3wOfubGUTd45.X3LTFwgwwPNDxu1ztJSL iyfKG4rcTZpvzB.7x8MCcURcAI._dxMLB3RuPCFoHcUmBT7ohZLw6YR3bo2edvNRrGE6i2Exm99Q z7CnzyMGLulbDEggzkQGb_zJuWZIFkqx90W.KJ8vlqC5YDvYHNWXKDsOZvbvnlNc3faIHutUBJjR rtTeaANi94l1nwvsbCFhCxS8Ybn_wiMpk8fB.XQti2XvMhmMWXHkmDlt2R9zTZbYKOjejzHRxBfm DvZcUfSB4Az5_NpAO9FEJknRpWTJXudWjL_mELF7u4kqRmuQK2P9Q8ziFseiwPf7GwYrUoyd7vNi WasYaUOlNZPrSLbtZzAk6KMy8zRI9eIllBSfSyfv2SWHlr7_F4NC8Sn0z7jABHbREYlTIpu8fup_ PXCi1cZ1tRrMu_yYjjxbfo5YgtvYTuKsSC3t164f7mu75OmJnT.iOoShGa.p0klbe7wIL9kTIfly omi0gEOF12WadfaDEmLF5X1F1PCuofrxt3HSoQ2Z67pCt6gD4kKTZnzxoltSavlSMhjnOIe5aqrE - X-Sonic-MF: X-Sonic-ID: ff2b4b0c-303e-48ba-81cc-1699a9c9e936 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Tue, 11 Feb 2025 08:01:43 +0000 Received: by hermes--production-gq1-5dd4b47f46-5kxd4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 345edd218a530f4aeb424039844740d2; Tue, 11 Feb 2025 08:01:40 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: An inp_next() panic under arm64 Parallels [ during vtnet_attach() ]: how to avoid it? Message-Id: <2BC05CE0-CD41-4F6C-8177-75BA1C107935@yahoo.com> Date: Tue, 11 Feb 2025 00:01:29 -0800 Cc: freebsd-arm To: freebsd-virtualization@freebsd.org X-Mailer: Apple Mail (2.3826.400.131.1.6) References: <2BC05CE0-CD41-4F6C-8177-75BA1C107935.ref@yahoo.com> X-Spamd-Result: default: False [-3.49 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[98.137.64.204:from]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.204:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.204:from] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4YsYn918Swz43sy I took my existing media that I use to boot and operate a Windows Dev Kit 2023 and a RPi5 (same media moved between machines) and tried to have Parallels on macOS boot the USB 3.2 Gen 2 capable media plugged into MacBook Pro M4. The result was as shown later below. (Warning: transcription involved.) The below example is for booting an official PkgBase kernel.NODEBUG build: vpanic() at ypanic+0x1al panic() at panic+0x48 data_abort() at data_abort+0x334 handle_el1h_sync() at handle_el1h_sync+0x18 -- exception, est 0x96000004 inp_next() at inp_next+0x4c in_pcbpurgeif0() at in_pcbpurgeif0+0x3c in_ifdetach() at in_ifdetach+0xa0 if_detach_internal() at if_detach_internal+0x384 if_detach() at if_detach+0xac vtnet_attach() at vtnet_attach+0x172c device_attach() at device_attach+0x468 vtpci_legacy_probe_and_attach_child() at = vtpci_legacy_probe_and_attach_child+0x90 vtpci_legacy_attach() at vtpci_legacy_attach+0x230 device_attach() at device_attach+0x468 bus_attach_children() at bus_attach_children+0x40 pci_attach() at pci_attach+0xf8 acpi_pci_attach() at acpi_pci_attach+0x1c device_attach() at device_attach+0x468 bus_attach_children() at bus_attach_children+0x40 pci_host_generic_acpi_attach() at pci_host_generic_acpi_attach+0x38 device_attach() at device_attach+0x468 bus_generic_new_pass() at bus_generic_new_pass+0x10c bus_generic_new_pass() at bus_generic_new_pass+0xb0 bus_generic_new_pass() at bus_generic_new_pass+0xb0 root_bus_configure() at root_bus_configure+0x44 mi_startup() at mi_startup+0x1f0 virtdone() at virtdone+0x6c KDB: enter: panic I thread pid 0 tid 100000 1 Stopped at kdb_enter+0x48: str xzr, [x19, #1920] For reference: # uname -apKU FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT = main-n275286-dd78d987cb38 GENERIC-NODEBUG arm64 aarch64 1500031 1500031 The below example is for booting my personal kernel build, a NODBG build as well: vpanic() at vpanic+0x1a8 panic() at panic+0x48 data_abort() at data_abort+0x330 handle_el1h_sync() at handle_el1h_sync+0x18 -- exception, esr 0x96000004 inp_next() at inp_next+0x4c in_pcbpurgeif0() at in_pcbpurgeif0+0x40 in_ifdetach() at in_ifdetach+0x64 if_detach_internal() at if_detach_internal+0x1a8 if_detach() at if_detach+0x70 vtnet_attach() at vtnet_attach+0x1744 device_attach() at device_attach+0x468 vtpci_legacy_probe_and_attach_child() at = vtpci_legacy_probe_and_attach_child+0x90 vtpci_legacy_attach() at vtpci_legacy_attach+0x230 device_attach() at device_attach+0x468 bus_attach_children() at bus_attach_children+0x40 pci_attach() at pci_attach+0xf8 acpi_pci_attach() at acpi_pci_attach+0x1c device_attach() at device_attach+0x468 bus_attach_children() at bus_attach_children+0x40 pci_host_generic_acpi_attach() at pci_host_generic_acpi_attach+0x38 device_attach() at device_attach+0x468 bus_generic_new_pass() at bus_generic_new_pass+0x114 bus_generic_new_pass() at bus_generic_new_pass+0xb8 bus_generic_new_pass() at bus_generic_new_pass+0xb8 root_bus_configure() at root_bus_configure+0x48 mi_startup() at mi_startup+0x1f0 virtdone() at virtdone+0x6c KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x4c: str xzr, [x19, #2048] # uname -apKU FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT #5 = main-n275290-9ef38a01aea8-dirty: Wed Feb 5 19:45:09 PST 2025 = root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src= /arm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500031 1500031 (So: very similar. Both are non-debug builds.) Is there a known way of avoiding this? =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Tue Feb 11 15:18:56 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 4YslTX2VsMz5njw2 for ; Tue, 11 Feb 2025 15:18:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YslTX1fbFz3T49 for ; Tue, 11 Feb 2025 15:18:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739287136; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RIi3SUBLKP9G5S+08JbttR0DN/Vc8fu7e9NkOqj+puk=; b=v0WuGOiau9eVOXFA05Q22cpZipYDCtbB5GbLIX6BItUxpVgOUQU5/zALLRcNgQxHUgchVx h3kXIFjGTKIK4/pRi6oRR4B53iti0pW842dLhSGJdoNrvtJyYpMC4fAl0WbeppWnj/FtRf dWybB6cvfGrFunW0ob2rXh2FVgqoTOmZBlTpFi6EV6+QPp3JXIbwvSo+z0Vo6gynwdkjwM x7GRzsD5aEu7hjufzaKdR1w5Txa2T2koeanJcMWIH7BkzfdHbyDIe5G/sTxTyjrk3IBLXN jvmCdRowzYJTwahM++9E0L2NKWrkmqg0Wfk88lNpEwYytOm5NXK2/W8L5ILMqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739287136; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RIi3SUBLKP9G5S+08JbttR0DN/Vc8fu7e9NkOqj+puk=; b=OzauzbUAYgij/UdLErD819UXIv+2pD19yIxyfYG1pf0bNSEqV150gv9qzmF6LImTSz/Y2s YFN2ktAlmTQAdQmQ88tfdUlJvuGW/JCmwtuaeR5n2YskwroXUdJsGXReqYHNBg6YUDQfFr OQAhuUnGhD8vOd3XbpILg2pPC1cCh1nsuvaZjGpKG9l1/ePOXRr4fxzPt82kpN+xpUgUM4 jT97ekFqPe+73aY07iPj4BaBlMgka1BsyOfqNzp3YI07TmZ5CcSi2txiuYv3/C8Flz3K0K c96R7OuVNrRY4VeVHJAHNfRjxlc+/B/azXda1SwZbA1olBH9MteYA2xt0NfqLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739287136; a=rsa-sha256; cv=none; b=oEmk1oA8v8NwPWsvbwI+fvQ+7iDb7mVIv/e8RcHQQp3pg+KCCBjx9LA5LrOwDrUSGlg8dO QQa9o46G6vYAEzEjdIbWhC8S5B3BELa2xwoqf3t6fYy5IRUXoPXGGCJjHOlYtpVG2KQc4G ybNyrB7iI83d2c+rYGLN3re4sUh7kakMRQ3lTf4rC3YP/AtopCI2Zz1Tw05yXHtZPd2Muu /GjN5LqOEjpMuaYlSchOhCLiZaoMDljpj1TrN+6AS5azclPDzw5+cLDd3r10Dj0mep/gpp V5QhPaox5N3/hiei2sJiUKuTnM06+CMduhkOwjdXS8vHjLoTyk0cynkXCWiNJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YslTX0x6Fz3HG for ; Tue, 11 Feb 2025 15:18:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51BFItaq034458 for ; Tue, 11 Feb 2025 15:18:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51BFItCW034457 for virtualization@FreeBSD.org; Tue, 11 Feb 2025 15:18:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 277559] kldload vmm sometimes hangs kernel on arm64 Date: Tue, 11 Feb 2025 15:18:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277559 --- Comment #19 from John F. Carr --- The rate of these hangs is down since I reported this bug a year ago. I ju= st saw another hang on my RockPro64 so the problem is not entirely fixed. As before only the first load causes a hang. Once unloaded the vmm module may= be reloaded without risk. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Feb 11 15:57:35 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 4YsmL81pmLz5nmQK for ; Tue, 11 Feb 2025 15:57:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsmL74cRSz3lM9 for ; Tue, 11 Feb 2025 15:57:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739289455; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZQMQJu6Bpdh/RdLCZqX83yO2hn+ugmHzB68agcuROY0=; b=npwXIV0+3ikyvAFBwsLJMiYb+mKe0rSYm1sAPyIIkwM29hLad2fC8vwCnL9E16SQvMFnRJ kmA6jekeHEju7+jrujoxlRcKp8xgpm71W6FKnNonNGk8snP2yfqKsrRGL6wnxyV3VLzb7w S/1V08I04u/33CtWqtbNcuGNWWXXI8zbXj75XVnCp1KEUBxEWOJjC9Wl73MNgEBXWypm3y dd9ubI45nW40SZb5eqiSnNgnYyDaH8Tph77Pym2U/2XSk2Zvx2eO8GKRfOiDwRwls70Vc6 oCob0sQIKNqo+/0LZJYPi8K0OdsgC9FyUyDXJvJZ7c21z6vjIeckKMf8IM5CIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739289455; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZQMQJu6Bpdh/RdLCZqX83yO2hn+ugmHzB68agcuROY0=; b=ZZAQrWOGkZCvkXdV/QlaFvpf4wpIemEe+vb8s0zkYQwcbGvL9D/KjfMs1dHgVwtbHqLbjM 9jwsa/ps9jO+YnxNuUiHjctBk+ECckzoBP8Hv1KbsG7ftkO8DqCxT+M17En61pvU/b9R2P YP4hHvq5DlhN8lQflXJ+rsnVirU9Na5JTizs1cT11tKUnRb00xUnDVHKkXLZN+D4zI99Dd etbjdPIocMuK0DYZmIwff7/HwC8XtC1LMvFTBdXuz65x9WLtfTXAEvNukfLHnhiNNPh7Tp 08p7v5XRrn/boLLYmpJmGIWw6hppx/ethFPEMmkjgGsdOfRjsTy3nmHYl8j97Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739289455; a=rsa-sha256; cv=none; b=ZjwdZdyYqKJk3KqkkONB+9OicymuOzSVEKhVHOgp7Vf02Hcw6k2xQ/BCbVsWiPxtNHpI5W yndYEEN6gZzShde1/0NzXDcdd/4vwidfqvSLfqp3kms2gs8ympa+O0ZOGZaD4E4Dwszusz AuIDUdF6oAzm/Rk325hKkl5hnr2Y+95ma2RrnouoU8nCnU3fxKzlZBWPlhiJ1Rj5pHLYse kAwdCtAnaGPuaZU3g/ljY25evC98RTbdqqnYfDWtS8BhEuzt+ksyOY0+JI7+0GMz7cXp70 AjLwgrGje4VjE94KWp5uYY+/XGdhe6gVuu/MCQ/7tn0kyJr6P1Q1JzgtT+g+EQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsmL73VwZz46J for ; Tue, 11 Feb 2025 15:57:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51BFvZBj004819 for ; Tue, 11 Feb 2025 15:57:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51BFvZ14004818 for virtualization@FreeBSD.org; Tue, 11 Feb 2025 15:57:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 277559] kldload vmm sometimes hangs kernel on arm64 Date: Tue, 11 Feb 2025 15:57:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277559 --- Comment #20 from Michael Tuexen --- (In reply to John F. Carr from comment #19) It still 100% reproducibly hangs my 32 core eMag ampere system... Any suggestions how to debug? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Feb 13 09:56:44 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 4YtrDr29C6z5nGmr for ; Thu, 13 Feb 2025 09:56:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YtrDr1Wpqz3P6n for ; Thu, 13 Feb 2025 09:56:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739440604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KQznOqDN9LklJ2D3hG5PCIugsJJtU+d03XaGgOPYEvU=; b=AY0KKfeI71C2+JSwBa30WijIMUQJ10hL9XWRWlGJxFvvEm5CMZoTdbKBSB+IMSeMoToqk0 IcKMCvraqK088BjuR00mP5q3UY0hEkV6zJy/A9dvVQ1ej1WVLa70n6JWfr9KTy+PEf/M1n D8w1NeDTUxalarr2Y/FUUT3p3oxCRUdsvdp8H7etoku+z0k0FWX7DuCyzaq8Yc1Py2wnex frFZmYuXBMhg8nA/QI3Edj2nbiolTnnNVljV7wG7fB49SVyCHa6ZB2RbnjNcyksq+f6zYM 2j+E3FwRToUc0QpujX+knZS0gpogu+CeWf2qET//nXT2+bIPo9ZJCJ31L+zl+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739440604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KQznOqDN9LklJ2D3hG5PCIugsJJtU+d03XaGgOPYEvU=; b=hRhAS2gK2st5hSY4yyIPzVGTXA+BsfkYgbyVtOsMIiFmTZIcHSbmP9bSsWiwswupKjb5RM foldmBEtwACPD33GBBWZIDLh/SUkBLFXOenhACqzOYrWDfqto1/MLHavCpxArnoq419/aV qmzZ5Ty3wAHDdcLzTvmEAFlIXIgcxmfFhEKNmqPBNR+7ZL1DEazppqZxkkOL5pQyIWS0zG bZO8S549yaQLi7ESoLDVKkiXlRA4o7N9PxavjDLnO6g6rO1gl0Lgm0C988IuS+OT1RVbFu GtGQvtv4BTSOgYJoIArTRM1WQo661Tr69JFK61bK+w3dTwQFpw+CcOk7TQHGNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739440604; a=rsa-sha256; cv=none; b=W2O7zpliwrxslMClMjUIAr7EHmA2QDPS3wyeb/jBoVlEXG4yJW1GNngDsCs99lCenWGNKW /LhiA01HW211c7XYiqWdfKDy52UhmkHQS+YzJ+b12Sna9SYtXoaH5hw6jGwQhWpHRzuo+7 UjDsXtD7CRE6ktJVxZsMAvUtvsX+OoCQVpx/fp2W4Qm69lvWPBoyzCgb992SZooUYJO3MP 03+InuI/o2FAUuAWzShbTu2X1Lq3/QNlgmGTfhQidFFr5+/1dsmBUoaTsydlcuN86RVQb6 N3zGmRT4sV9as1eWrvNj6teA68iOuOpWkbQpl36YiFN82ODJv4loBCxi2fX8VA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YtrDr0fZQzfvV for ; Thu, 13 Feb 2025 09:56:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51D9uhf5095477 for ; Thu, 13 Feb 2025 09:56:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51D9uhAa095476 for virtualization@FreeBSD.org; Thu, 13 Feb 2025 09:56:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 262292] Seemingly not possible for IPv6 to function over tap devices on if_bridge Date: Thu, 13 Feb 2025 09:56:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: bhyve, ipv6 X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262292 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #6 from Andrey V. Elsukov --- I have similar configuration on FreeBSD-13 and it works well. Host system has if_bridge with configured fe80::1 as IPv6 LLA and some IPv6= GA, it uses two tap interfaces. Bhyve VMs use fe80::1%vtnet0 as default gateway= and IPv6 GA from the same prefix as GA from if_bridge. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Feb 13 10:17:29 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 4Ytrhn6yL6z5nHbV for ; Thu, 13 Feb 2025 10:17:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ytrhn55JKz3XFK for ; Thu, 13 Feb 2025 10:17:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739441849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ynOMhqGpohREOZCpKHfJ2dmCVIjCHV5mF3emHAHAlFo=; b=ocjFp2xvJ7YfrGCDHbaj3+lt4xA02rJz2kakHOFHZCtMqQKw0j8GaYTvSdAx1FvB9235EO BqT3F67A5vwHZ7bzq8tNwB82INi1eP8oedGJDD9V6OK5k8bKrS8xaEaRZFSZw6+W83p3Rq N3YNhxjSH+bJihqryxKpvN06dOmqq0+s6hS68ULFQRJpxFZD8Ctk7cnmtNkI/UxAzjVQ4l cH1w46CwW4CSeM6dCLc7vwRvq50InY9K6bzLLOW21b5n9QVcPJZy3OO/JVDIvFJ3JuCsSq deWmi3VlEniHOElyNigY1xOrP/YmNGUPeFGKx9kFH97cK2aadVBf+w1E+/2fkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739441849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ynOMhqGpohREOZCpKHfJ2dmCVIjCHV5mF3emHAHAlFo=; b=HlN/Pcq8C5Bluq4L8+YeKP/9NN+ENx0KBotgUY001Xzg7NVl9Z0rWmzRt7G2TVLHexkcJC tAE1NHatBMKX08fFUEQsTjcFkJmOtgLhl/ZuejK+K7OFbKH/FpdI/9ac1JRp5p41hY9y/7 Z5WxKtZwdEC4R/S5QfU1olwKQd3U/hwPhoJ3o6AHH1Hzz5HOeEtWiAGXBETAICOMXcxr5a WQbMZ05cgGHqM31k+YEalEpNMUEMMV/JxrFqZWridusC8/7n5VYOgU+vOzQuP6moShHxe9 I/gwlQImgGWz9nPcYCxeuyIdTYlN94Uc0WqLq6sw/Quj9sUlA5gN07KRUlLorg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739441849; a=rsa-sha256; cv=none; b=M+5ciI1EW0rgiVQTOaVauycaJVVZjEy8YESZEBDkyG1wHe/eLJlNng75IdqgU9YqhHn9TI 70Mb6xxElSSVvpGORghIkKJ9x6rSBUp9Ar0FvXahW4VaeikAEcGTeX+SjrLFzYPw3D+1eg 9o7gGIxTeoaxDEUk5L19sIqenOqUvM5QvrUFgamK1bo5SOtIyyJiJGTB41xVoKr5dr3mOF ezQYGlrS8Mu4lmxMra2F/9sr8iGZBatK2SaRs2Ya7z1cqRu0bsPw0fj0NpPVxlVPFqzDAi hwqFo0VaSgoO2qRYm6KgoBiONKUA1orDa7QIZRLmzboTDQmzxLbDwMV8DvZwGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ytrhn4hj2zgnL for ; Thu, 13 Feb 2025 10:17:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51DAHTYM042555 for ; Thu, 13 Feb 2025 10:17:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51DAHTkA042554 for virtualization@FreeBSD.org; Thu, 13 Feb 2025 10:17:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 262292] Seemingly not possible for IPv6 to function over tap devices on if_bridge Date: Thu, 13 Feb 2025 10:17:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: bhyve, ipv6 X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mops@punkt.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262292 punkt.de Hosting Team changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mops@punkt.de --- Comment #7 from punkt.de Hosting Team --- No problem whatsoever. If you place all layer 3 addresses on the bridge interfaces and not on any member. This is mandatory according to the handbo= ok section on bridging and has been discussed in half a dozen of other tickets. FreeBSD 13.3 and up available for testing, but used to "just work" in 11.x, 12.x, too. Kind regards, Patrick --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Feb 13 22:39:50 2025 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 4Yv99f6mC6z5nNWp for ; Thu, 13 Feb 2025 22:40:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yv99d0XPsz3Tst for ; Thu, 13 Feb 2025 22:40:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="raEbWy/j"; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739486402; bh=RaKExu6DExgJFjL4aQdYPeKCR9oQFmcHvbRcWdTkENs=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=raEbWy/jeVzwCcwylRbC6rKTmSHThXGNH5mJqOTIR8oFetkPkDmqIR0D6EKevHT2wfSnPyWMvcudIqL2JeGNxDInosFWKxyp/wAF3ecg56lLYYIoIyo0ov3IEBuSXNXlCKyWf555nJVMOIOZWGR62jCsupwcnR15tPHg7knFV7vKqthpSAOtE/0skllVaNVgywQbkREq+fobdHIbbqS+YZup/gmrFXDtjC9B9HGw69/Sq52iXuTKH/EJk7o+6eWvP8nIiApSQWcpdr4hXU+JHJWdFzIQP7SRaQ3OfXMlGSHDkVIumNN1GHHIX0oNGOWSSMu0PmpmVfL34LMAGj3dbQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739486402; bh=Eyhr4pxUmboNsdr1uhLJpP4qLpyDSpotYG6tR56QkXO=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=uYJuZ/7ohM1LDvqWXam9KL05KiGEhUk7jA6Rkv5yMKOf+bVgmMm9stwek7dg8wLwKDZEA003eO+FlAkABeSI27TmCLbXBfk1wLrrnJCX8XetiNBJ6uqmFTh2nsfMtERwxpGF/GWheAWaxidlX/fN4Ty3i3xUnMXwbaN9SSXVA10IzzN4xsEeOd7H61CWgq8o/mUEFhxja+KwIGX9U2ZzDQjWUdK3BuqbSfeU0JkCvue4KYS68ZkVuhcJKLCCGeSxQOAa+pmGIJ3b0Y3PfhkzNQgKpGDtKRp3MCgSyU7RxsviK+jzKknefTg/v0867m8+dQ4AUffygb09bE0acT6Bmg== X-YMail-OSG: 2Y4foDoVM1l.JSBp2c4k_LMqmy8.3OUE81DXZV72siwSZTJp1ZH7zd8BD_.x69c BXz0lAXBo2wNewfzWTKnQxgT4SNH3MCPlJ95nHdQQ2_QFZhi3nijmoQiT5hhLEhCtiNTO3HQ..1l G9LQ3zMUbHa0pgX1I6VAoNCg8.hJ_0M8SCh_fh4hOySMTuKS6TkPQuet4cTcpn2vZODDgH1jxBMz OiaFQuxe9n1iRnPxBNqxdg3_yPyc5UepWwczXRBXepw37VNHwPOHNCv0ZaJ499i.Ua8OllQRcdEB 03ZFOXcpbPSjt7rH6XV8FfqcsVVFmOD9J3j6rUhxaUQywKG1xZjpcsxLtM48cBEshgVi4eHH8oda 1ofgTszrP7zObkNmLu1RMy8NQbzbZKVLXdP3rGwL3Tqi1IY7nWN9NeYaeoGqvUZvvFzn56.Qd77E j7TyEvumquQPHHEAL3Btxoxb0LsH9QyU.HyeFCXFm4W1ECiGLMyIDQrpHYvjva8C7jIg8hYkrkZQ upe_gQctX_RmA9OeH.ajBttnBD.rDhyJZJ5LUZOXrOcUUMso4vyoWkgzO_3jdeaJdf.wmZABzOuW 6rXtlrnbCFlNobftKy07w9DSMx2jx37ux7HdOeH8KKAikysvnprmi38WZdImGYNrB54jGVHqwRrM 3ftlAG7znuO4syOIRoe1_HnJLF2BL038nblB7rDg1Z_HpSxd5j5vgvIYikHWr9ipV4DgVPPMHSbp A28g5j2Fl.K4HRx.pcYcauIUqpSCm8c8_UB.Ayl7ag8J.3A.BUNBFdw77JAy.NxeWWipaEKoh7MZ FZ1saUAAwThC7bN0h6t4C9NvQE7DV5uUWEmQw4Aloa0OwofKLn32Zt6dsNiQYYerfW30ZfF5rJqk ZKla3rE0Fo5nMi427LoiqhEmZjwM_qJdEF_BbeTchQA0Ig6.NropCeV1TvnZwisSWIv5kBmETUQP mgxOQfRvd2pVhxOOG_a6lOb.suft0iTTtIZS.8cLYVY2JDECEws06qXzxkNGoSKIymdqq.0N8WHO kx.ftMbaEBObPqX6cc0IZ2t4jEhyCG72ZP.AypjCdgVD.qWrbvwRI4eO_l.mxVHZ1GscDmY7zTgE dhKcZ2qfsvIF9oV1yg4.5_egz1vWxebRt6wqGq1UcgS7FoI6PfrReQPwRAp7NzWHg0J9lESl1Z6M YaheHpFXnxpfl9abkP69pl.Jjwj4foQh8hs1IcVsBFtEbw.Tt_01kT7w_7t5Ve.2Wbsx2aEgZ0GY d2NpOFD63StApddjZN15XIg8hx3e.NOJvW6wPoeJsK7Stt27f1bxrQhlZg9BJCTDxfAwcLdo0Oez jkrLHYqwuW8Pzmg.Lk08BonwypXIJk5t5BidjLxHmYqmUeKuT3hEFxdjSWt87tbnCNgVG1N6XXrs yN4kDDjo05GQiQJwdBXy_jhoMRVE0CWc4OqSIAeIV5M0fWORPJro.kg4sxn.eaSF4FpeqnG7PhyB Su4JqUHHGNvE7dxXZ1mCoVrlxoy8klLO71oppenNusnOk_7gipDm_xq44fNQghG_9HJbIb0WhmQ5 oHHE.QtoVTuFG.1Zy3enx5zt2OjT8Tt2C8QKL37XFpG.IJ3eqPtdNmTR0ke4miCfDCpQjKfevRnm GhaPaGGMLExOZmU1VjgYtTApDIiCL02JVBFWthD14UCJUNNvTtc9pr7IjSoBT1jQb0_SoXwxQpHt y4ij3G.6LsffkgdpbGv9o2rTow09gfrtXaT4CZNuggIvPk8JCfvateZLjvvP_eMN91MfqbDj0y4v YgAwnwbvOLFYV4AtWAiCEC8OS8L72mwZP8rVNWpQqLNQ7nkztS2imeflLxpNoaR1LbDjyusM_MLh 85KaeefHsrzEhBz4Ig8cWQvzYwWAF4YVSkx8TiR2WGGtQpv1wfuO27rRnp2sGtWXQW6EJEXNwvT0 _QYLgV0v99_GOUxL9SFTcfrTt9nm5B92v9p.040T3zkUegxg5fpPbxEH8La4IeIGOGmYXAdxfEDM yGgxrwJvPJ8Y4vnXyt2PKyBRqoBH_7sk7d_X5bNUguJpinbdkIyjrqbSkdMkAP6guZqfcm19zQ1M _hEPcDnfKmnwiVxTS7D_rkbc0iXGbh9dnkxf9UMVsNWZsqodVroUdnjYVmCYfHtN24rc7KONpaYR mwK024NbSvepsKxSPWrBGwLXG3A_1_oUp1Q7V579AcFI6WiBFVj7xzFZ9RY7zbQPbWU4l1YdfcCU JRbLLP4c51KGFeKioF1uHmOHWU9e38IH65MhSDtinp7V8I3QHIciI3RgOKWaHa7HPYxIlKSda5oY 2YgAodhCMw.SH X-Sonic-MF: X-Sonic-ID: 8b547bf4-7ec7-4b1a-a842-8db6f1153e78 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Thu, 13 Feb 2025 22:40:02 +0000 Received: by hermes--production-gq1-5dd4b47f46-bwg5p (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0c304f45c66477e3d9c67fece2949658; Thu, 13 Feb 2025 22:40:01 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: A way to have a console (aarch64) under macOS Parallels: build the kernel with nodevice virtio_gpu; any way with an official kernel build? Message-Id: Date: Thu, 13 Feb 2025 14:39:50 -0800 Cc: Warner Losh To: freebsd-virtualization@freebsd.org, freebsd-arm X-Mailer: Apple Mail (2.3826.400.131.1.6) References: X-Spamd-Result: default: False [-3.17 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[98.137.64.148:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.67)[-0.670]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.148:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.148:from] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4Yv99d0XPsz3Tst I've been testing using FreeBSD under Parallels on a MacBook Pro M4 MAX, although the issue below and its handling may not be specific to aarch64 contexts. After (from a demsg -a from a verbose boot): . . . 000.000078 [ 452] vtnet_netmap_attach vtnet attached txq=3D1, = txd=3D128 rxq=3D1, rxd=3D128 pci0: at device 9.0 (no driver attached) virtio_pci1: mem = 0x10000000-0x17ffffff,0x18008000-0x18008fff,0x18000000-0x18003fff at = device 10.0 on pci0 vtgpu0: on virtio_pci1 virtio_pci1: host features: 0x100000000 virtio_pci1: negotiated features: 0x100000000 virtio_pci1: attempting to allocate 1 MSI-X vectors (2 supported) virtio_pci1: attempting to allocate 2 MSI-X vectors (2 supported) pcib0: matched entry for 0.10.INTA pcib0: slot 10 INTA hardwired to IRQ 39 virtio_pci1: using legacy interrupt VT: Replacing driver "efifb" with new "virtio_gpu". I end have no console. I ended up in a state where it turned out booting went to stand-alone mode for a manual fsck. So: no ssh access or any other access. I ended up using the Windows Dev Kit 2023 with the boot device in order figure out what was going on and to the the needed fsck. Turns out that if I'm building, installing, and booting my own kernel, there is a way around that replacement of efifb by using: nodevice virtio_gpu in the kernel configuration, so that the boot ends up using efifb (no replacement). If course, this does not help with kernels from official FreeBSD builds. Is there a way to disable virtio_gpu for something that runs an official kernel build (where virtio_gpu is built into the kernel)? =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Fri Feb 14 00:50:03 2025 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 4YvD3y5s4Gz5nX22 for ; Fri, 14 Feb 2025 00:50:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvD3x3DDHz3jPc for ; Fri, 14 Feb 2025 00:50:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739494219; bh=vaevIU41A5vpkCDBJftQsD9u0fuzxGBBzHPWXVoxwcg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=HNOuEylWGB7+symOwPwMaDhjxCsrJG8B8WNJ9OmWlFnQlSIGMEn7MBVMrMmLuOVllJSrMftHYwQJ80jbmbk/n5gzsxCuwvBnVO1+BpTEFG77WWIyXV5dd6ZwIcRxi+ihxonu6N3ZTfpR/dgv+pO3R8mpnBTnV8ZDL3bxQoe/nkNQTf22gZ+4Xmf3aXfTU5+oFucP4zhCQivHq/op2mS7q5casjHdpzkl/ve4/2zGAEVkm3g6+qPr2J9gF5dhi8q19cOwOsG1Dg69TxZCXjLVjDLHPGOS2fYnLSB8Bo4jsm5ID//lKvZlyrrti+ZO9mGvdmFQuUS+/1GagfxvE647gQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739494219; bh=7NCwzyRgpIpcfve2M6e74SkC587oJ5G4/EO9axfdvsG=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=q+xmncyEMNO0y8Kpb/dmQ7Z3Ay6JDhWtHnbu3oVi+phgjfCKnn/axwlpg6us+BWktkTl9ctlo+rdnZ/YYUnlMAbz7LiHetOYDwrm28dzuLIazkRDSbwoUbueYFHyIbYgALcG4WQwffpb2ilgsfBLHStRUV+oL4xtvLj6EQZp7flrH+vhspVApF/8+T1JY7J9G0xKVIZsugIRuEG1Xz+a/ialoCGEz248k+vK38sZSe3hziBH3qF3VQwYsF9TR0XjsKrnX0Sk2owbeTSndm5DgeiO8VBUJABoy9SB33SLpO1V0n2t1noOCC2C5ejD4tukoYPp0lYq/q2gu18UxRnizg== X-YMail-OSG: 38bukO4VM1k9wZdkD8w_Ko7vvukFxY.IV9FFrLiTAn.CyO4CsNG2UFds6omMuK9 a.wRMdwmXahwZORAGIwDq_ij2WF7TIH3kIh0Q_aKyuPTCZTXTenaqnka_DhQKUzRL3b5rmAjvzfY FeHEdgfsXMF6Pf7iNph_da4qEQ6BXvISs117VPL465vrLrdTCwlnHL0NES4ja1cZSRqNONwbtEtr sBEzfoblFYXFFkHsheJRyEBalKyiVQiqjiEHH6p4pr0DGQo6uqT8Rhn.w31URImqpfacnbuWw77H 6kMWvZ7Vs6XzoVHeIqILei98Cl_99g_GsLyyyyGlqgUXbqaibr3V9O7uz0K98LVE3YNz2U8X8.KF U5n46zSBw5mNdlo39VpsylrDpLT7X.kWIUu6vI6TsDif9TvydERToGcTp640fYbAcKFmEJJ2Zgqe Y9aqaVW0ykDe7mgdTziR.r3MXMPVud7qMqr9eAELkSs0BSWFWqhSytrBmYI8wJJhQweqL6vQeLtW iBXbTQHJKTpiIrgXR.P2fo0zrZSWKiwykEATkwGxdAaMuyXtu4Cl7gKMrZA6Hzd3jYSasJPfw3Ql VG_fm8bCY57vKuDkNRy1zyH5_RMimQAIcH._Ri0nR3kAPqZzJq5fmSFA6HrRNlZmFffTD.ntZ0TV KGzVm5r3c09sbO8ofJ8A20ooNGzHWeUbQ8eubkIHCWHif2B28XvI16vmuvWku91HOIJID0zUz8k4 mNusLEj5E3ppfX0G.dUl.gGHgMQX6vKFBDkv8DTdan6zp5v4YsPb.vtZ2PKwQjBUq.255h0QhDqh sRk.qoxx8qW_uxZuW5bkKMHZdzeH56Ncey6xmCp3Ovv.bY_B1lzmvcu0aXC0IsQnioiwYyZc8x8P ijfLgXkGRQ3B_kWmbdmrr3p3DWs3jkYpaWW4MHKdG71pttqET3oRBK8.xhHxw_VDFMXPHxsz1Byy BrVHNUJ6HH64_fT0dGbJnxAzsBq3.Rgjog56Nh7s0w57nYI1QcN83X8aAeVvkem5LrdMh2LCp2w_ rZnc9wpl_rYtewty8wZjCd0s1MwHHDo9oZezW2wM0UZqxY3XLSLLE4j6Bi.hF6LbWjFyPgh8KL2c zwccHGx25.qb9U7HpL9SsEBo4OSQT1q1VSSoqW8Up6HOUtnS9i6_pVvwa8IxgNjZH0aG.XqPHwg_ UoBwY8YuVVP.v57tWnBZ6A2aBOHqi45InwmxZTp2K8BV3KHuTdkhQJl.T5zDTGehNx0ioC0.K.1F C2w3cFbT7I7zpQwMPVjPCTuCwq9kwjCe_qY35vTs6ewDFilneh8.VnrOZvR8o1xoq3zsWBKkxp6x vYHJY3Lg.k13cKpEgecg9JyyNTrBZpoxJUYtFAjefi0xD0zjYj72s9zYqqr5E7hJ960jf4Skb30I 7v3KG.QqWT4_Vufry1vcJEYk6TSof3Mg31nmk2qb_EX2LNpCYsmEzb4AuOji_XfS1Zvhbgl9MDEZ Cw68Ba0w96htGthiajKfkf0G9XOx3FSUTuN7fHCs3xNFzL6d2kwbltKU.quv2LNR.d0EJdlkR4.N 6lWbCcM9VZTq5rOAzrS4W7Qw8UCxl0EIzkAG8Q6TBjtpRY7dJ5x3GoRnaAzrfMw6xk8Oa7YvAH9I 3LcymhzqIzVpjhsqxx9J66WeEewcZvD1sH_11dLqIOMTFLDci_np.nCt.E3XvxAtgzUmUp.NPZ3C _DU.L1D9amvGq2YvAFz.iaHpw.ZCb6zAgwzcqshxXZAqIfXIpFZrhXtT3hq4fv20L3hBtG_KqKp. Y2OqnZ280vN8USMt.Q3RqygL_VccnQmfpJ0nKUqC2.nkt7Gl3Q6mOUGXI_kHIldkPzWMPxxyCHFU 2NlZ6F8Mj1sTkLstVnaW6mo9.aLLP3Lmn7pxnTNLMQnCedxvTPiUSHWjE1ThUI9BufWf5BMbw8HM 6qoU3wo.aio7eAPCNoZ3Vy8J3IrQOHzJW6zSA5fjZCmPm1dv_sIyppgXBnheLujruVWrEPIcN8K9 Rlm6jsHCBD6YDgwKo6kSli338Su1VSexyoPJVYMrWqJBSuTt2wm53Yup2IvtCcCQaBEM2F5GebXk TqOwXP0mXMzv8fKarc95KU5OypolhDnTpLQto1ti7jt21_G4MHFlfaXn.H2gA67kg4XaYsLMZjeI ig0S6_bg0vG7HnCEAzHsy1JkrLG4_OlI8uddUoRDJQBRiaTT9e582xfp2po6ZOfdLQ7NB2pl9m4c QRD6DKLys83dmHnePNeLvAZF_gQJBHgUGcO3JLu8W8CoL0O7QMGuhPr8LCTt81uW_nkQTIv8EUYo GUkE- X-Sonic-MF: X-Sonic-ID: 9ec3a2cc-af87-48b3-9e7b-e9f9738f8568 Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Fri, 14 Feb 2025 00:50:19 +0000 Received: by hermes--production-gq1-5dd4b47f46-k4d2j (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e27676c69176971bd36233367c1c12cf; Fri, 14 Feb 2025 00:50:14 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: Re: A way to have a console (aarch64) under macOS Parallels: build the kernel with nodevice virtio_gpu; any way with an official kernel build? From: Mark Millard In-Reply-To: Date: Thu, 13 Feb 2025 16:50:03 -0800 Cc: Virtualisation on FreeBSD , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Warner Losh X-Mailer: Apple Mail (2.3826.400.131.1.6) X-Rspamd-Queue-Id: 4YvD3x3DDHz3jPc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] > On Feb 13, 2025, at 14:55, Warner Losh wrote: >=20 >> On Thu, Feb 13, 2025, 3:40=E2=80=AFPM Mark Millard = wrote: >> I've been testing using FreeBSD under Parallels on a MacBook Pro M4 = MAX, >> although the issue below and its handling may not be specific to = aarch64 >> contexts. >>=20 >> After (from a demsg -a from a verbose boot): >>=20 >> . . . >> 000.000078 [ 452] vtnet_netmap_attach vtnet attached txq=3D1, = txd=3D128 rxq=3D1, rxd=3D128 >> pci0: at device 9.0 (no driver attached) >> virtio_pci1: mem = 0x10000000-0x17ffffff,0x18008000-0x18008fff,0x18000000-0x18003fff at = device 10.0 on pci0 >> vtgpu0: on virtio_pci1 >> virtio_pci1: host features: 0x100000000 >> virtio_pci1: negotiated features: 0x100000000 >> virtio_pci1: attempting to allocate 1 MSI-X vectors (2 supported) >> virtio_pci1: attempting to allocate 2 MSI-X vectors (2 supported) >> pcib0: matched entry for 0.10.INTA >> pcib0: slot 10 INTA hardwired to IRQ 39 >> virtio_pci1: using legacy interrupt >> VT: Replacing driver "efifb" with new "virtio_gpu". >>=20 >> I end have no console. I ended up in a state where it >> turned out booting went to stand-alone mode for a manual >> fsck. So: no ssh access or any other access. I ended up >> using the Windows Dev Kit 2023 with the boot device in >> order figure out what was going on and to the the needed >> fsck. >>=20 >> Turns out that if I'm building, installing, and booting >> my own kernel, there is a way around that replacement >> of efifb by using: >>=20 >> nodevice virtio_gpu >>=20 >> in the kernel configuration, so that the boot ends up >> using efifb (no replacement). >>=20 >> If course, this does not help with kernels from official >> FreeBSD builds. >>=20 >> Is there a way to disable virtio_gpu for something that >> runs an official kernel build (where virtio_gpu is >> built into the kernel)? >=20 >=20 > boot_serial=3Dno >=20 > In loader.conf? How would that lead to not doing: VT: Replacing driver "efifb" with new "virtio_gpu". ? Using the menu, all 4 combinations stopped in the same place and way until I built and used a kernel that did not have virtio_gpu at all, if I remember right. Both efifb and virtio_gpu seem to be for the video side of the alternatives. (It seems that something more is needed for virtio_gpu to end up providing a console, if it can. May be the Parallels Toolbox for an actual Linux provides what is missing for that kind of context? I'm not after X11 or such, just having an operational console for seeing information and dealing with problems when ssh can not be used.) I've no clue if the issue is specific to just Parallels or not: I've really only used Hyper-V (only getting it working for FreeBSD as a guest OS on amd64) and Parallels (aarch64 currently). So I do not know if it would be worth a tunable to, say, set the vd_priority offset from VD_PRIORITY_GENERIC, such that it could end up not replacing efifb. (I looked in the source code a little bit for this message.) =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Fri Feb 14 08:33:31 2025 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 4YvQLh0Z3Tz5p14h for ; Fri, 14 Feb 2025 08:33:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-8.consmr.mail.gq1.yahoo.com (sonic316-8.consmr.mail.gq1.yahoo.com [98.137.69.32]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvQLd2MRlz3JTk for ; Fri, 14 Feb 2025 08:33:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=nmF7l7m3; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739522023; bh=17E0Z/VAUavwopFPzaghsFMjGoRyIpUqBiVd3rEJXgM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=nmF7l7m3kdUfMEwHFBen2dQ7C+yW50UANZrpkLm7/qzeRfdQPBVnHz+8UF39sSXJAvZ+N0MeMQE7cLiQvkKSHuDykkkLJnwA1l+chlBrB1ZqRuZImasH7H3XxMP8VVjqY9pRfcfXYG1d9KD9zqv8qJ6egYboHh//XapNG7GsWkIr5IBlMSj0u9lf5GMxNYYiVnjxB07LyI3im2e3hoxnlgZju3oidzYKh+TE1BWLeNueLTPMoyhykOWpsyXgxtj6YHEIDLiEwdZrldDIigsrwCkoONz4WcWTcNtpGjrdCBG6NgX60YrIRaFFFTlN4/ue50qtRD7u3+xTJ2C+LnUKUA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739522023; bh=irVK3e8zsypTHK7efvxWvB4NG7K8NmcM5b3P/csfiJ2=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=ujFUHyDD1+FhiL3mF86ZjrpaHSHDqO/+2c9edNw/7iAyEv5M4ITgQb8pVhssALGLtqlINFR9G1VXHwicuOOmqKHQf5lOb+y+Tmf30Lr1Wujl8xPbwx9SixlBZuz4xKVf/mcqC8N+vCVqBn1vPRylov62aGlDMjU3jrPgE24kN4jF+yc+EWENV8rW9ohuv3W2Hn7X2qsaAkIvvG2Qna8Dv8V8f1oHqWNkAWKLABEE5YowOGcLofE7h2WyMo/QwLoWL51db+t/hax9UZBjpIXDHvAVPQ2UyeOa0jy2dXH4AIvdnHbJfPfixaBRPULCv/UkgvjRP4/EcleiEJNBo8cvyQ== X-YMail-OSG: BMlSp78VM1nwM85NXp3twn95XtRo2tESrIGk8TbAKfdRzYj4fjqsBNF1dKRHy5g uYAZGVxG6Iw.yTMxFga.TukcmfZbkH8VMkvfslDwym9kNHcMWRiytmGpKtg.GOiGmoXdl9hBfFrE WhTcdu6gpyU5gHqc1th8H0kQ9iudZCXLJi5z9c4vUtFKFtEkiLH6dXHCBJz_5X4yivOCrsRkEG62 IZcB46pmtxjcrBOWMZauGgaztY7UlixAoXfMY91dBVxYNoyCSTKxVuqRlgMCvvkEiOvTrDS7ekBj 3uLeRRWp7lzwneqrnzMkrdRayKTUiQXPUVNS3iqgysQpxTjKs5ENTDWvUji41MdI8dLyZrA1wQXG iIHw94S1U5ttkai445pxUa_cvX.s96zD4lm2JUxc7WI_KEHKsqOnLwcLaC89k1fuXEtY7Py.Xnoh rIYoUyITaC_vk3WKU6D8pJded3cOB_z9mD1hGiYxeaMvOnV_Ry_HreJqlxogWrQpLW5mzQ9ZQCjR RIs.xNxYvpcMeeHMX5bCQeO2fNtF9krCe4yKSZuo.AFUrjFwmrk9PRrZeGv208_FmX1Zw8Gd664l 9PXDRbu6H8BP3DfSyol_THAdNAtBlDJQ3uue9eh.IPVDRibuYMqB.xmTT.gUZE4wodiyVqPQDdp5 HRJrlWdRLNIazd7PniTMe0OayNevtK67o74iyXQjBrk0eD1Yyclivi7luiYoDny8arMpYsNa0ZP_ GzR_RnTsky_QGz1AVMU4Vb.PrI8OvtyaxkhW2_RCnXMujTit2JE3vxaaENj40x_i_TCQ0uumgLCW A2gFr1UxlTzNFMA17YJ0F80u_34T3eRmbGX5yYyb9UXrkc2HvWQzpw5F1mqxHzEO0sg46XoBMnBz 6Ivn4sRlCvNzJKR1lC4JtcXDA2NRXmhMd30zpzlrcT80gnOfMpSmp2ROvoOqv.fW9h3hSpoot7KU Mb0uxKMQQ7EoECjAjOg5kCzaOJ6kJfUe_k4tR1nviX00hAaL3QCWGUkaC2_AsjZ0nsynkC4V7Xxq LdaM5DUJbAHXj4gclYJZmZ_qaAsvEk7TkSlkUr3m0pVAjR9L_zAR2ZV1a..wDm0_xynflYBphF2D PRlNOmIU5_TdiwpPmyML3CVLE_6fuBAh36WFZfnikh_DDA7909KLQ2YBiY1V8WV8NigC9_bhU7Kq nEt9gt0aP_XocLcf_VJWT6BmLzoZF2emwKCIir.4rL1NhN8v1bfIWeaG.0HZiNIgd9dcublscQQb 8Wh3v_ZfhZrA9_jp4Nrk74l421K2cqzIlKYDTcTZBhUlVJ5JMqppyQuEDcNMrnDNUXMzRZI4SJwR 4ZnOOszQ9CrgziUMBkfExKeu.qPFaW7oWyWlIp7NLsjtwzNWvbtmVzI2daaYgZWzMAYM5ct.qccz C7hOwRKltG2YjKJzAurcvXSH6X3PIH4jk5p7FfKobu3FOfQrCUy0dS.GzX8bVw3UDNxr58p6xNy3 rYfhxY8.OnY96Fqm7zBI1P1M3oUKxneeBKTKtuBKKscQlsHuKtfZeJdnimOL_CiRcAhpaeBLc07X .nCxCrMmlMvl0YLWFDoVx.wojjUXVokQo_UsujJLAO8B1XSUjh4k14awO7rYTUmqFdGtkefS0Tz5 t8taVdCArFSMzGWUuzT1bOACVDXKo18IcaiofSZAewLl4deyQHDm1iAQj3f0Ijp_0W9.yuc0NcTW KUvKtpO1G829_fKhjagGqbCpb70WZqAXzf.OeVGAxOL2HqPZwfM7_iZuZYNJ1436sp9cEhcu7ERk 6odqllOOqFWf9SPzI5d_FhZtzUenE0MAPS0thjody4osLXxFQN4.GOOUFDYkGK5jlhqtaJd0DcpP AExoYpdUBUtLKQnQvy5sGqupMrC_1ho6myqs9ylQQ1ZGKR5Kt0MsUAPAp1Ea24ew5pvKD_g2HEuy ZYPaHdve2807xVuo8jdpn.GSP3s0L0ZpE.wU36Pb5ppkVV84Lp1SMpuvsz4t4X5hMNduRHGbck09 hnSGIGbMDNZlDpuLrVDRKq_dM0htYTdY.WfrnjEt8y._OqVUMVHCDhj2h6Pv30RnNQgP8N.c9YcD fOR2j4ELsTdvZprXrJgsfyFMlvH7hWLKjkhIugcck_lqG6NuluE3ADek3IA0E54XAJMVT5CIS4HP GHN8JZH3D2H3plabz.wDOctJxj47MgyjjKTaIInc3I_7ov12vUO3xfUi3YBIDSgi7fxezhp2tOmL AAHdkoTf_Zo.R2bd0QgjhNwNBJ8Dc_hxSnkNfGXBwxoUtT.FiIfSvEgvoloIg9S7u4Th5FXQjWUB T3g-- X-Sonic-MF: X-Sonic-ID: 9fb7d159-9563-4b71-970f-c4c285456406 Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Fri, 14 Feb 2025 08:33:43 +0000 Received: by hermes--production-gq1-5dd4b47f46-9j75b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 337b965d6f4f52c08d5eba7267d3690c; Fri, 14 Feb 2025 08:33:42 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: Re: A way to have a console (aarch64) under macOS Parallels: build the kernel with nodevice virtio_gpu; any way with an official kernel build? From: Mark Millard In-Reply-To: Date: Fri, 14 Feb 2025 00:33:31 -0800 Cc: Warner Losh , Virtualisation on FreeBSD , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: To: =?utf-8?Q?S=C3=B8ren_Schmidt?= X-Mailer: Apple Mail (2.3826.400.131.1.6) X-Spamd-Result: default: False [-1.78 / 15.00]; SUSPICIOUS_RECIPS(1.50)[]; RBL_SENDERSCORE_REPUT_9(-1.00)[98.137.69.32:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-0.78)[-0.778]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.32:from]; TAGGED_RCPT(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.32:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-Spamd-Bar: - X-Rspamd-Queue-Id: 4YvQLd2MRlz3JTk On Feb 14, 2025, at 00:05, S=C3=B8ren Schmidt = wrote: >=20 >> On 14 Feb 2025, at 01.50, Mark Millard wrote: >>=20 >> I've no clue if the issue is specific to just Parallels >> or not: I've really only used Hyper-V (only getting >> it working for FreeBSD as a guest OS on amd64) and >> Parallels (aarch64 currently). So I do not know if >> it would be worth a tunable to, say, set the >> vd_priority offset from VD_PRIORITY_GENERIC, such >> that it could end up not replacing efifb. (I looked >> in the source code a little bit for this message.) >=20 > I=E2=80=99m using UTM on my M4 Macs, and it works just fine (so does = VMware / Virtualbox in my experience)=20 > However in UTM you can choose your display device as to fx use a = simple ram buffer console, maybe there is something similar I parallels = ? >=20 I've not done anything with virtio_gpu before, so I may simply have not figured out some functionality (or even how to find the documentation). It may be something that works for a "real" Other Linux. When I tried the non-Linux plain Other, FreeBSD panicked while trying to support the virtio code. As stands, I'm booting my own kernel that omits virtio_gpu (so that it does not replace efifb). efifb seems to work just fine for my limited range of use. Parallels allows me to operate my normal boot media as the as the storage for a VM. It is the same media that I use on the Windows Dev Kit 2023 and that I sometimes use on a RPi5 as well. Software for Apple Store distribution was not allowed to do such last I knew: It involved privilege escalation. See: https://github.com/utmapp/UTM/issues/5346 That is one of the reasons that I'm using Parallels. (I already had a license as context as well.) =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Fri Feb 14 09:15:21 2025 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 4YvRGn0Gp9z5p3b0; Fri, 14 Feb 2025 09:15:29 +0000 (UTC) (envelope-from zlei@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 4YvRGm5wXCz3Tbp; Fri, 14 Feb 2025 09:15:28 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739524528; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cWTiBoLyt+IypfnQFzmghEk8CgvXXdpcXCoBZNwTfZY=; b=gYJERg/ewyo/r1mkXE2y8tuwUsggRJ/c4EoBLMf9YvNLG0QmX62Y4OFyAOj0QSWI4/wErN iI4dOcXGXO3GORwesKcSTy3jw0BwblUy7sJvl8PUMMAXnqn0fTSNfk1WKMwrgxrCj/ce0P luz9t4wkekVvSAYUENUNX1jEX50YcHAG3ig81Gko6QKFwWKeMtmoVKGnf9X7AqJiz1jv+p pAx+4IrHgoQ43zgjNmFzNnuVK2bOzQEaXNU31VQNvAtqfgEhns3BbyNMOA0ReX7Hm3aHqH jV0AjRPwKy+36GixMvRybKu4mJD7vzM6YPTq5kC0wBKr1Q6CoTbvw9mOvr33hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739524528; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cWTiBoLyt+IypfnQFzmghEk8CgvXXdpcXCoBZNwTfZY=; b=JzZ4HPR4PWHINUYOUalCf3zM/VuIXrgR02wf2+TOvfU85ZiVSCii2mSgrtNrlCgIQUK1Ly qGbFTtZHsz13h4swpiEM+vKlYWYZCE+Xnyr+kl/QtIZ+WW/mjG84EX6Kw411IOGeBfs89F NF1jGHCg0D9S/z+s8THN2MXe9BB6b8Jdu/SH01Jg2PZxxGywjMcsFD+dj2bO2Zytnd/PhE mToR0KEsoqZ7ywVdauGm1+dYzCHS+KjfJfEFQ9lTdv7QQcpC6wy2ELBb6tIHZLtHfPC63R IPNYTiiOXeEe+gVDicVdsIyXlrSDsTqFoUPaGgqjxt1j3lx81KPgvZZd93HIrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739524528; a=rsa-sha256; cv=none; b=fVZ/rl23LbMLjVgDBXS7s4aqgu3dMgZYOqIWuE4MW+gXo61gIqk+U3LLPBrsSgvwY7Ojtu o8QUm+WWQ1ILD6T51qTLdhIhBlfjGrTN4EOoVXaTsTV6dZMUxpYGML3RrXlrRa/TpHVYfr SaLvuiabsK8Lm1t+LkTPVbkstF22R8AEjz1rOYCdSVy0x0snvp64IhVNiW+ZYGP/00PXbo Y6uNTd3Vp2hTBK33i10yU7U92qASGV/lhejSGo8emYC+8f/jxvzARV4nYELm5ZCD3tn2Ns pYQUs7w8uB5qhpzG/e8Zbrex1yLoHThzJmkgJFWtAitlH8iAdRx7PJNU9glD7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YvRGl0lYGzJlq; Fri, 14 Feb 2025 09:15:26 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: A way to have a console (aarch64) under macOS Parallels: build the kernel with nodevice virtio_gpu; any way with an official kernel build? From: Zhenlei Huang In-Reply-To: Date: Fri, 14 Feb 2025 17:15:21 +0800 Cc: FreeBSD virtualization , freebsd-arm , Warner Losh , John Baldwin Content-Transfer-Encoding: quoted-printable Message-Id: <67D0FCFF-54FC-4121-91F6-EC48B437991A@FreeBSD.org> References: To: Mark Millard X-Mailer: Apple Mail (2.3696.120.41.1.10) > On Feb 14, 2025, at 6:39 AM, Mark Millard wrote: >=20 > I've been testing using FreeBSD under Parallels on a MacBook Pro M4 = MAX, > although the issue below and its handling may not be specific to = aarch64 > contexts. >=20 > After (from a demsg -a from a verbose boot): >=20 > . . . > 000.000078 [ 452] vtnet_netmap_attach vtnet attached txq=3D1, = txd=3D128 rxq=3D1, rxd=3D128 > pci0: at device 9.0 (no driver attached) > virtio_pci1: mem = 0x10000000-0x17ffffff,0x18008000-0x18008fff,0x18000000-0x18003fff at = device 10.0 on pci0 > vtgpu0: on virtio_pci1 > virtio_pci1: host features: 0x100000000 > virtio_pci1: negotiated features: 0x100000000 > virtio_pci1: attempting to allocate 1 MSI-X vectors (2 supported) > virtio_pci1: attempting to allocate 2 MSI-X vectors (2 supported) > pcib0: matched entry for 0.10.INTA > pcib0: slot 10 INTA hardwired to IRQ 39 > virtio_pci1: using legacy interrupt > VT: Replacing driver "efifb" with new "virtio_gpu". >=20 > I end have no console. I ended up in a state where it > turned out booting went to stand-alone mode for a manual > fsck. So: no ssh access or any other access. I ended up > using the Windows Dev Kit 2023 with the boot device in > order figure out what was going on and to the the needed > fsck. >=20 > Turns out that if I'm building, installing, and booting > my own kernel, there is a way around that replacement > of efifb by using: >=20 > nodevice virtio_gpu >=20 > in the kernel configuration, so that the boot ends up > using efifb (no replacement). >=20 > If course, this does not help with kernels from official > FreeBSD builds. >=20 > Is there a way to disable virtio_gpu for something that > runs an official kernel build (where virtio_gpu is > built into the kernel)? May you try with device.hints(5) ? It can mark a device disabled ( no driver loaded ) when probing, so you = can avoid `VT: Replacing driver "efifb" with new "virtio_gpu"` and should have the = same effect with `nodevice virtio_gpu`. Best regards, Zhenlei >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com >=20 >=20 From nobody Fri Feb 14 19:21:07 2025 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 4Yvhjs0Sb5z5nX3Z for ; Fri, 14 Feb 2025 19:21:21 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yvhjq6L0kz45Y1 for ; Fri, 14 Feb 2025 19:21:19 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ambient-md-com.20230601.gappssmtp.com header.s=20230601 header.b=1ak4cNed; spf=none (mx1.freebsd.org: domain of peter.garshtja@ambient-md.com has no SPF policy when checking 2607:f8b0:4864:20::833) smtp.mailfrom=peter.garshtja@ambient-md.com; dmarc=none Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-471b937f2feso25606931cf.3 for ; Fri, 14 Feb 2025 11:21:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambient-md-com.20230601.gappssmtp.com; s=20230601; t=1739560878; x=1740165678; darn=freebsd.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=qPJsgf6ehlActFgQnsev0ux4YFvPv0EQJ/DqIrPA5i4=; b=1ak4cNed4bM4lqv8zsjP0Apv7JmG25GnvIQG98ECg8cXmcBRS6Wbn+GyIxKHEdx7+c q7zoaIbmEah7myu4pFSkZqy0KHaO/jmYpYflQwBWAQqY1oL9P+HDjS3qIQMHg/GPXBx9 +M6ci/JvUqh6B2o3SG/vj/rK8CRAYlUdVqtwEsr4oCRJI1zjQQQOcGiQ4y0DMJLJ6Tw5 R9VHGKEOqEitBxtk2g4xaKnwvdBHc9V6voi41ajtBzzYhcDvV6R+Yejg4Jw5nkPb4H8U 3Gmxv6qOr6raHYHn6bp/7KcbeuVVe9AgoMrwYzbP0/KUyANCfUOQjwTQVpiidJxF2IYS Jf6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739560878; x=1740165678; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qPJsgf6ehlActFgQnsev0ux4YFvPv0EQJ/DqIrPA5i4=; b=GmY2w+04kraYRr8k/r9abfOU/D8eLgTV6AbyxKkuAEE6O/iHlbKg0hBt5HevoEaEhr DsOXsiskD6q2CXk4nmqHwkBvfpVKcvs5C4XJ9poyGZfwDyaA9JWaqrXZ23ZseJKzs1wi SY5IO0XhDJLNVfPLx0lkH/G641XfQ0cyMtJ6EVhctbD3I5igUmKG4yoQGpOfPEvCv/Br Aq0+tMhQQV4ovptUBn/jd6Ner6tqqxzSrgzfwd8SRWOjmhgrBqeR7JuLZ+gAolW9/FW6 6QQh2cNkLMqEkmHBura7iPHxNwk95eRUgff75cdy1LYI9LN9QqCDvNbwMvxzn4qQMCM9 5flw== X-Gm-Message-State: AOJu0YzFqhS3nxSsbarZc2/uxKQoX5Z2CDnnLOo9nDTnSLVCSQq3xsGn QDHmWpci8WUckfqqn4E9MRl/Vrp0V18TclB0fBmrUv1MmN5bWDvpudFWrOf5vGBASc8HjjjBgF3 j X-Gm-Gg: ASbGncsMT7UqSJ+JjBZgmbJ10TLRDbBRJNaRnwc1YoiE303B1ZkAXeO+JSd/MNSqWYS ETnoO+SoCefIM1rYDNxNg72C64MaxWkEKsaKOcEQHgN4x4wORhGhnkoHQzcJQl0qRtyjj7x+Oq8 LU9yMwxIeEEbnvjdyB7wX+AyleBqYX1Eud/ZbpZ2jUQNeQoT4uttg19aVsv3LPumv94bWuWVB9V J5HYkoXEx2NrpQSVE/hXMa+6SBKT801CC8tAw6RVvBb3eQ8AerJZBFvwXZcGlYVFxVVaQZae0ah pEVdnp4CZo96olo/J5If4paKCnw= X-Google-Smtp-Source: AGHT+IEmewXD7hDyV6cbNCwie+Lczj8iAReBW+G9dfy37xf8BM9kaSrkuAEvno4B55OLLMHBitzBZg== X-Received: by 2002:ac8:7c45:0:b0:471:8b81:e556 with SMTP id d75a77b69052e-471dbcc8927mr6841701cf.5.1739560877982; Fri, 14 Feb 2025 11:21:17 -0800 (PST) Received: from [10.0.0.83] ([209.226.127.177]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-471c2a12d47sm20646311cf.31.2025.02.14.11.21.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Feb 2025 11:21:17 -0800 (PST) Content-Type: multipart/alternative; boundary="------------FVAsM3FSCY9TQ1hjl0yAgAUO" Message-ID: <2a0e1b92-4d63-4061-bc37-c5e72b8ef0ed@ambient-md.com> Date: Fri, 14 Feb 2025 14:21:07 -0500 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 Content-Language: en-US To: freebsd-virtualization@freebsd.org From: Petru Garstea Subject: bhyve vm and virtio-console X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[ambient-md-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_NA(0.00)[no SPF record]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DMARC_NA(0.00)[ambient-md.com]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::833:from]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DKIM_TRACE(0.00)[ambient-md-com.20230601.gappssmtp.com:+] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4Yvhjq6L0kz45Y1 This is a multi-part message in MIME format. --------------FVAsM3FSCY9TQ1hjl0yAgAUO Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I am trying to configure bhyve vm with support of virtio-console, the following option is added to bhyve command line *-s 3,virtio-console,port1=/test/console.sock *However when trying to connect to socket with socat trere are no input/ouptut is observed. Has virtio-console ever worked ? Please advise. * * --------------FVAsM3FSCY9TQ1hjl0yAgAUO Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi,
I am trying to configure bhyve vm with support of virtio-console, the following option is added to bhyve command line

-s 3,virtio-console,port1=/test/console.sock

However when trying to connect to socket with socat trere are no input/ouptut is observed.

Has virtio-console ever worked ?

Please advise.




--------------FVAsM3FSCY9TQ1hjl0yAgAUO-- From nobody Fri Feb 14 19:57:52 2025 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 4YvjXh5RfWz5nZ4Z for ; Fri, 14 Feb 2025 19:58:28 +0000 (UTC) (envelope-from grembo@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvjXh4Pq8z3VVy; Fri, 14 Feb 2025 19:58:28 +0000 (UTC) (envelope-from grembo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739563108; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=On7PlSNMvWIMWZuFSnZ1OqhfhlvC61WDqA05fN/KYW0=; b=R3jMXv/0kLGa2iv/VFl4r1F34vuzaByA3MHEGUCo8uKkLLltjWZkDTl2mFeI5XXhbvXL5E 8eE8OcYXrQKEMepMnWEqC4yvkWfpEvM6meggNFHS5RiJngGh5DVq+qeSuHefPj7I02zBsP vXHUKAQcNb6mtOzP5t94EgLhyFMeOAAnSLKNk3pGESgqvBTkooO9/+J7QxR2WsxD6y69vo /DiwWT/XUheXjC2lbZAfzxml6HTJEoIjWcSp+3+CC57F69zLmadnXquzs7qINRLUGngyU8 ogzLBHQqbhT0SWJuH8QR+93UTyLonGwb9sfnfS+ze0S3JTYSX+J+AlgO5Wvf3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739563108; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=On7PlSNMvWIMWZuFSnZ1OqhfhlvC61WDqA05fN/KYW0=; b=qvrYcfYsMM/4p+HyTdh9ZQfw1wx5cnUwWkl9r3rDp2SaW1wtCHvoxIqLpAhqDWhD3qGePV Q2KtRhtrLRzZVYn52xI7ojKnF3b+cIdmOtYhy6xbe70vFSfYz9dnygtiYNJIeVn2TOAFwT EntuGzc7RGXfx1qTQ76O33F3AHXPl/mTYUxd9AqJJIJTqEuaB7Mixy2q6AG6EhkDKHoM6/ 6SFBfKyRrWxYRJNo5SchyRBqqz0Odc0WLd1nuL7p5UFpMFWkGdPtAXt84CKQP1asEDlmgb iw0QqWI5xAbCRBqqs+Onj0rTWZ+FONDEbnx0M3KwsJSxopsNJCmUImNCq4spIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739563108; a=rsa-sha256; cv=none; b=cKEna0IMyLDD0uSuXj2c6UP4PICONK3rnLatq7sULDX86ufgpk9P5qqNZdBZ7JQ0bjuO3o Clr3B8XGJKdXD084p6pB6qboIoWCblfR2rqCqnrMNSGk+lSJoFSi0LxY+iVBJvcww4/ut4 3rbW9uv7Z293EeOhxlD7nQbXgJfmo3Yen/86Iqg0XARrMOJRChIDSbmR9EOQJwP+bmO8PF PZSPIFh7/YlhtIVTjstyTQixdcyLzeHFoZ+yktarICtyCC+ZN1YuytF330DbNY5xqlE79G RVr4aLQ4Qw2JVn1b/yLQXSLNAVVwU/vAAowpBACIJvkObBWSJo5qjgGA6iyS4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: grembo/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YvjXh1C6szmjt; Fri, 14 Feb 2025 19:58:28 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id d4ee9899 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 14 Feb 2025 19:58:25 +0000 (UTC) Date: Fri, 14 Feb 2025 20:57:52 +0100 From: Michael Gmelin To: Petru Garstea Cc: freebsd-virtualization@freebsd.org Subject: Re: bhyve vm and virtio-console Message-ID: <20250214205752.6a12dbb4.grembo@freebsd.org> In-Reply-To: <2a0e1b92-4d63-4061-bc37-c5e72b8ef0ed@ambient-md.com> References: <2a0e1b92-4d63-4061-bc37-c5e72b8ef0ed@ambient-md.com> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 14 Feb 2025 14:21:07 -0500 Petru Garstea wrote: > Hi, > I am trying to configure bhyve vm with support of virtio-console, the > following option is added to bhyve command line > > *-s 3,virtio-console,port1=/test/console.sock > > *However when trying to connect to socket with socat trere are no > input/ouptut is observed. > > Has virtio-console ever worked ? > Yes it works, I just tried it using sysutils/vm-bhyve (just add virt_console0="Yes" to the configuration file). Based on the logs, these device settings are used by it: bhyve devices: -s 0,hostbridge \ -s 31,lpc \ -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ -s 5:0,virtio-net,tap0,mac=58:9c:fc:aa:aa:aa \ -s 6:0,virtio-console,0=/vms/freebsd14-test/vtcon.0 I could connect to /vms/freebsd14-test/vtcon.0 using socat: socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 Inside the vm it's /dev/vtcon/0. -m -- Michael Gmelin From nobody Fri Feb 14 21:55:23 2025 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 4Yvm7q3Gvpz5njpW for ; Fri, 14 Feb 2025 21:55:35 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yvm7q1Nc2z3lsk for ; Fri, 14 Feb 2025 21:55:35 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-6e45dd13b24so20417046d6.0 for ; Fri, 14 Feb 2025 13:55:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambient-md-com.20230601.gappssmtp.com; s=20230601; t=1739570134; x=1740174934; darn=freebsd.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=BhjMY1W2JZhtp/sdVaRpI2+TZMq2xP2wnT70mCpdn/s=; b=gHbKOtLwSAow0wfK1P2QEjUDsM57rEnH3mBCXnav2i2PLZorq1QRnEl9u9OLUFhq+7 ttPnPEARWM1M6e3nWf6vEEaNYmbQ+DH1LgkUpdGUTKtWad3s3k8S8Tuc3F05Gu8+UJ2d KlCkurdFFEOsRvAOl/jxzQ6VUh+2Eji0V9lMADL+tdUmOfEg3Jun8kwY0fZY65fYutut aWAF1mvcejYi/oLBxDXqxedxvbJAbfV793cHLRV5svptndBufDgX4Rlt9gdOXiLzP8Eq 1K+FLFaKvrEQVWkxV7QlA4SVI3UX+PQCXmeBlMCXPB7f9FTMR1qGw299jghP1AikPfm9 bdWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739570134; x=1740174934; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=BhjMY1W2JZhtp/sdVaRpI2+TZMq2xP2wnT70mCpdn/s=; b=ZdYpqa8noZTz6G1M9J+JNSpHJqACTdRTJACE716eIeQmj9j3MFUOCZuBRC6EFSbNc+ MvfNdm52Z6S9LYGqHSjc8NWPh9FZRSxRBNhTwXGWxGrDBiDn4aNvAA6v9rj5xH4JHd/R X9orhn2Iekn5VQKO8YKQ62rsV6z/cUX/ULA7Xqb+6ltnZrl3sbJAK5jfODNHDrdy2TmD /rIgz6UXEX7c6U2tUzM/TbaambkJ1jofGhNrQxxPxAflYsoRsr9DwRx1Htr2FYBw60Qm Z1iMe9SD/37UDRLa4XneC39la+GE+JYTXO6qpXyE/QZ5G6grOutB5yje+CekqGaaRcmL Mjkg== X-Gm-Message-State: AOJu0YwayKfyVyxq/j9h5jwPYTdY/rs30CEyOllqPM4ZLTeovejqrS92 NK+3MRzZyb2ipgp+/ecUEP88UztnQ9qIBnO9KxiPfWZ7TBHaFgAiFj81qaQGVvA9ZoLf3aGXxSY m X-Gm-Gg: ASbGncvm3pb4b6x3Tly7uxGpMjdZgPm5GsklLZtM1wFfBhX3Q1Z0pgq8pU9JmdenPnh RPqZy4iHUaNlRG4qIscd1VJoOLPwi0xvfRqdH4lqu5FB0EwXpLFG1En3M4LmNfHija8U1p4DHri 4NY8vbZ464yo9TgRKP+moQEC8u/Uqbco0P4G2Bi0uAiamDI6u+4caFdm0fZDeWwfTgIKxlE83NA Pnx0sFoluYnO0wRjp4dRqRngZXcZ5Utwuzm5X2r/NmajzJ53R9eXR0wMxsuirMjeMH5HsCwr+Sm 9FB2Z1Ih4ZcYUtpDciMurxQOSYQ= X-Google-Smtp-Source: AGHT+IHGlEDzg3TsDmQe31KZRqU4xXy9hqQApeaumER7MirESX8PzlSwEAfctye/QbTwB16tLMS5lQ== X-Received: by 2002:a05:6214:29cb:b0:6e1:700e:488a with SMTP id 6a1803df08f44-6e66ccc476bmr14484626d6.22.1739570134155; Fri, 14 Feb 2025 13:55:34 -0800 (PST) Received: from [10.0.0.83] ([209.226.127.177]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e65d7a40b2sm25466766d6.58.2025.02.14.13.55.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Feb 2025 13:55:33 -0800 (PST) Content-Type: multipart/alternative; boundary="------------x6vcrPSs0YHO7KlxFzDKehy3" Message-ID: <5e1c08ca-4175-4a85-bc07-3ca73406454a@ambient-md.com> Date: Fri, 14 Feb 2025 16:55:23 -0500 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: bhyve vm and virtio-console To: Michael Gmelin Cc: freebsd-virtualization@freebsd.org References: <2a0e1b92-4d63-4061-bc37-c5e72b8ef0ed@ambient-md.com> <20250214205752.6a12dbb4.grembo@freebsd.org> Content-Language: en-US From: Petru Garstea In-Reply-To: <20250214205752.6a12dbb4.grembo@freebsd.org> X-Rspamd-Queue-Id: 4Yvm7q1Nc2z3lsk X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] This is a multi-part message in MIME format. --------------x6vcrPSs0YHO7KlxFzDKehy3 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I tried with the following command, and got the same result. */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \ -s 0,hostbridge \ -s 6,virtio-console,0=/tmp/vtcon.0 \ -s 31,lpc \ -l bootrom,/tmp/BHYVE_UEFI.fd \ -s 1,virtio-blk,/tmp/fbsd.img \ -s 2,virtio-net,tap0 \ tmp* I also able to connect but the bidirectional connection is not happening *socat - UNIX-CONNECT:/tmp/vtcon.0 ls * PS: if I use null modem emulation instead virtio-console, then connecting with cu is not an issue. any ideas ? Thanks On 2/14/25 14:57, Michael Gmelin wrote: > > On Fri, 14 Feb 2025 14:21:07 -0500 > Petru Garstea wrote: > >> Hi, >> I am trying to configure bhyve vm with support of virtio-console, the >> following option is added to bhyve command line >> >> *-s 3,virtio-console,port1=/test/console.sock >> >> *However when trying to connect to socket with socat trere are no >> input/ouptut is observed. >> >> Has virtio-console ever worked ? >> > Yes it works, I just tried it using sysutils/vm-bhyve (just add > virt_console0="Yes" to the configuration file). > > Based on the logs, these device settings are used by it: > > bhyve devices: > -s 0,hostbridge \ > -s 31,lpc \ > -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ > -s 5:0,virtio-net,tap0,mac=58:9c:fc:aa:aa:aa \ > -s 6:0,virtio-console,0=/vms/freebsd14-test/vtcon.0 > > I could connect to /vms/freebsd14-test/vtcon.0 using socat: > > socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 > > Inside the vm it's /dev/vtcon/0. > > -m > --------------x6vcrPSs0YHO7KlxFzDKehy3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

I tried with the following command, and got the same result.

/usr/sbin/bhyve -H -P -A -c 1 -m 1500M \
-s 0,hostbridge \
-s 6,virtio-console,0=/tmp/vtcon.0 \
-s 31,lpc \
-l bootrom,/tmp/BHYVE_UEFI.fd \
-s 1,virtio-blk,/tmp/fbsd.img \
-s 2,virtio-net,tap0 \
tmp


I also able to connect but the bidirectional connection is not happening

socat - UNIX-CONNECT:/tmp/vtcon.0
ls

PS: if I use null modem emulation instead virtio-console, then connecting with cu is not an issue.

any ideas ?

Thanks

On 2/14/25 14:57, Michael Gmelin wrote:


On Fri, 14 Feb 2025 14:21:07 -0500
Petru Garstea <peter.garshtja@ambient-md.com> wrote:

Hi,
I am trying to configure bhyve vm with support of virtio-console, the 
following option is added to bhyve command line

*-s 3,virtio-console,port1=/test/console.sock

*However when trying to connect to socket with socat trere are no 
input/ouptut is observed.

Has virtio-console ever worked ?

Yes it works, I just tried it using sysutils/vm-bhyve (just add
virt_console0="Yes" to the configuration file).

Based on the logs, these device settings are used by it:

    bhyve devices:
      -s 0,hostbridge \
      -s 31,lpc \
      -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \
      -s 5:0,virtio-net,tap0,mac=58:9c:fc:aa:aa:aa \
      -s 6:0,virtio-console,0=/vms/freebsd14-test/vtcon.0

I could connect to /vms/freebsd14-test/vtcon.0 using socat:

    socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0

Inside the vm it's /dev/vtcon/0.

-m

--------------x6vcrPSs0YHO7KlxFzDKehy3-- From nobody Fri Feb 14 22:23:36 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 4YvmmQ0jpHz5nlVY; Fri, 14 Feb 2025 22:23:50 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from util.redbarn.org (util.redbarn.org [IPv6:2001:559:8000:cd::222]) (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 "*.redbarn.org", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvmmP3lw6z41xR; Fri, 14 Feb 2025 22:23:49 +0000 (UTC) (envelope-from paul@redbarn.org) Authentication-Results: mx1.freebsd.org; none Received: from family.redbarn.org (family.redbarn.org [IPv6:2001:559:8000:cd::5]) (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 "*.redbarn.org", Issuer "RapidSSL TLS RSA CA G1" (not verified)) by util.redbarn.org (Postfix) with ESMTPS id D7D36160C27; Fri, 14 Feb 2025 22:23:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=redbarn.org; s=util; t=1739571816; bh=wQxCySylL1sGTamayxBbhS272Ck+WZgMqBfkAICBVbI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ZBkTwOeL/iZAQIjNKqoornlqcwALyHCujTvrTUC4AjvkH9Q/f3un8CZ6UxCIwH+wy /cQ0+mAhzYGysgpL2caV92yq9byCsP5e2GJwfVWh03yWKgfwn0G23+aK/rsSalcUe5 abuFeaque5uuWJOYZSYTsUt/wnZDsxW6lL8b74lw= Received: from localhost.localnet (dhcp-168.access.rits.tisf.net [24.104.150.168]) (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 family.redbarn.org (Postfix) with ESMTPSA id B1345C3F22; Fri, 14 Feb 2025 22:23:36 +0000 (UTC) From: Paul Vixie To: Michael Gmelin , virtualization@freebsd.org Cc: freebsd-virtualization@freebsd.org, Petru Garstea Subject: Re: bhyve vm and virtio-console Date: Fri, 14 Feb 2025 22:23:36 +0000 Message-ID: <3802339.MHq7AAxBmi@localhost> Organization: FW In-Reply-To: <5e1c08ca-4175-4a85-bc07-3ca73406454a@ambient-md.com> References: <2a0e1b92-4d63-4061-bc37-c5e72b8ef0ed@ambient-md.com> <20250214205752.6a12dbb4.grembo@freebsd.org> <5e1c08ca-4175-4a85-bc07-3ca73406454a@ambient-md.com> 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4YvmmP3lw6z41xR X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:33651, ipnet:2001:559:8000::/48, country:US] if you want to use cu, you have to use -l to map guest com1 to some host nm= dm=20 device. if you want to use virtio-console, it will create unix domain socke= ts=20 not pseudo tty endpoints. from bhyve(8) we see: > Virtio console device backends: > =20 > =E2=80=A2 =20 > port1=3D/path/to/port1.sock[,portN=3D/path/to/port2.sock= ...] > =20 > A maximum of 16 ports per device can be created. Every > port > is named and corresponds to a Unix domain socket created= by > bhyve. bhyve accepts at most one connection per port at= a > time. > =20 > Limitations: > =20 > =E2=80=A2 Due to lack of destructors in bhyve, sockets= on the > filesystem must be cleaned up manually after bhyve > exits. > =20 > =E2=80=A2 There is no way to use the =E2=80=9Cconsole = port=E2=80=9D feature, nor > the console port resize at present. > =20 > =E2=80=A2 Emergency write is advertised, but no-op at = present. i know of no host-side client which will connect to these unix domain socke= ts=20 and offer a cu-like user interface. "unidirectional" may be the experience= =20 you'll get from "socat". if what you're trying to accomplish is a graphical console, virtio-console = is=20 not the way to do it. rather, you'll want "fbuf" to create a guest VGA/simi= lar=20 that gateways to a host VNC. re: On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrote: > I tried with the following command, and got the same result. >=20 > */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \ > -s 0,hostbridge \ > -s 6,virtio-console,0=3D/tmp/vtcon.0 \ > -s 31,lpc \ > -l bootrom,/tmp/BHYVE_UEFI.fd \ > -s 1,virtio-blk,/tmp/fbsd.img \ > -s 2,virtio-net,tap0 \ > tmp* >=20 >=20 > I also able to connect but the bidirectional connection is not happening >=20 > *socat - UNIX-CONNECT:/tmp/vtcon.0 > ls > * > PS: if I use null modem emulation instead virtio-console, then > connecting with cu is not an issue. >=20 > any ideas ? >=20 > Thanks >=20 > On 2/14/25 14:57, Michael Gmelin wrote: > > On Fri, 14 Feb 2025 14:21:07 -0500 > >=20 > > Petru Garstea wrote: > >> Hi, > >> I am trying to configure bhyve vm with support of virtio-console, the > >> following option is added to bhyve command line > >>=20 > >> *-s 3,virtio-console,port1=3D/test/console.sock > >>=20 > >> *However when trying to connect to socket with socat trere are no > >> input/ouptut is observed. > >>=20 > >> Has virtio-console ever worked ? > >=20 > > Yes it works, I just tried it using sysutils/vm-bhyve (just add > > virt_console0=3D"Yes" to the configuration file). > >=20 > > Based on the logs, these device settings are used by it: > > bhyve devices: > > -s 0,hostbridge \ > > -s 31,lpc \ > > -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ > > -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:aa:aa:aa \ > > -s 6:0,virtio-console,0=3D/vms/freebsd14-test/vtcon.0 > >=20 > > I could connect to /vms/freebsd14-test/vtcon.0 using socat: > > socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 > >=20 > > Inside the vm it's /dev/vtcon/0. > >=20 > > -m =2D-=20 Paul Vixie From nobody Fri Feb 14 22:23:36 2025 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 4YvmmQ0jpHz5nlVY; Fri, 14 Feb 2025 22:23:50 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from util.redbarn.org (util.redbarn.org [IPv6:2001:559:8000:cd::222]) (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 "*.redbarn.org", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvmmP3lw6z41xR; Fri, 14 Feb 2025 22:23:49 +0000 (UTC) (envelope-from paul@redbarn.org) Authentication-Results: mx1.freebsd.org; none Received: from family.redbarn.org (family.redbarn.org [IPv6:2001:559:8000:cd::5]) (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 "*.redbarn.org", Issuer "RapidSSL TLS RSA CA G1" (not verified)) by util.redbarn.org (Postfix) with ESMTPS id D7D36160C27; Fri, 14 Feb 2025 22:23:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=redbarn.org; s=util; t=1739571816; bh=wQxCySylL1sGTamayxBbhS272Ck+WZgMqBfkAICBVbI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ZBkTwOeL/iZAQIjNKqoornlqcwALyHCujTvrTUC4AjvkH9Q/f3un8CZ6UxCIwH+wy /cQ0+mAhzYGysgpL2caV92yq9byCsP5e2GJwfVWh03yWKgfwn0G23+aK/rsSalcUe5 abuFeaque5uuWJOYZSYTsUt/wnZDsxW6lL8b74lw= Received: from localhost.localnet (dhcp-168.access.rits.tisf.net [24.104.150.168]) (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 family.redbarn.org (Postfix) with ESMTPSA id B1345C3F22; Fri, 14 Feb 2025 22:23:36 +0000 (UTC) From: Paul Vixie To: Michael Gmelin , virtualization@freebsd.org Cc: freebsd-virtualization@freebsd.org, Petru Garstea Subject: Re: bhyve vm and virtio-console Date: Fri, 14 Feb 2025 22:23:36 +0000 Message-ID: <3802339.MHq7AAxBmi@localhost> Organization: FW In-Reply-To: <5e1c08ca-4175-4a85-bc07-3ca73406454a@ambient-md.com> References: <2a0e1b92-4d63-4061-bc37-c5e72b8ef0ed@ambient-md.com> <20250214205752.6a12dbb4.grembo@freebsd.org> <5e1c08ca-4175-4a85-bc07-3ca73406454a@ambient-md.com> 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4YvmmP3lw6z41xR X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:33651, ipnet:2001:559:8000::/48, country:US] if you want to use cu, you have to use -l to map guest com1 to some host nm= dm=20 device. if you want to use virtio-console, it will create unix domain socke= ts=20 not pseudo tty endpoints. from bhyve(8) we see: > Virtio console device backends: > =20 > =E2=80=A2 =20 > port1=3D/path/to/port1.sock[,portN=3D/path/to/port2.sock= ...] > =20 > A maximum of 16 ports per device can be created. Every > port > is named and corresponds to a Unix domain socket created= by > bhyve. bhyve accepts at most one connection per port at= a > time. > =20 > Limitations: > =20 > =E2=80=A2 Due to lack of destructors in bhyve, sockets= on the > filesystem must be cleaned up manually after bhyve > exits. > =20 > =E2=80=A2 There is no way to use the =E2=80=9Cconsole = port=E2=80=9D feature, nor > the console port resize at present. > =20 > =E2=80=A2 Emergency write is advertised, but no-op at = present. i know of no host-side client which will connect to these unix domain socke= ts=20 and offer a cu-like user interface. "unidirectional" may be the experience= =20 you'll get from "socat". if what you're trying to accomplish is a graphical console, virtio-console = is=20 not the way to do it. rather, you'll want "fbuf" to create a guest VGA/simi= lar=20 that gateways to a host VNC. re: On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrote: > I tried with the following command, and got the same result. >=20 > */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \ > -s 0,hostbridge \ > -s 6,virtio-console,0=3D/tmp/vtcon.0 \ > -s 31,lpc \ > -l bootrom,/tmp/BHYVE_UEFI.fd \ > -s 1,virtio-blk,/tmp/fbsd.img \ > -s 2,virtio-net,tap0 \ > tmp* >=20 >=20 > I also able to connect but the bidirectional connection is not happening >=20 > *socat - UNIX-CONNECT:/tmp/vtcon.0 > ls > * > PS: if I use null modem emulation instead virtio-console, then > connecting with cu is not an issue. >=20 > any ideas ? >=20 > Thanks >=20 > On 2/14/25 14:57, Michael Gmelin wrote: > > On Fri, 14 Feb 2025 14:21:07 -0500 > >=20 > > Petru Garstea wrote: > >> Hi, > >> I am trying to configure bhyve vm with support of virtio-console, the > >> following option is added to bhyve command line > >>=20 > >> *-s 3,virtio-console,port1=3D/test/console.sock > >>=20 > >> *However when trying to connect to socket with socat trere are no > >> input/ouptut is observed. > >>=20 > >> Has virtio-console ever worked ? > >=20 > > Yes it works, I just tried it using sysutils/vm-bhyve (just add > > virt_console0=3D"Yes" to the configuration file). > >=20 > > Based on the logs, these device settings are used by it: > > bhyve devices: > > -s 0,hostbridge \ > > -s 31,lpc \ > > -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ > > -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:aa:aa:aa \ > > -s 6:0,virtio-console,0=3D/vms/freebsd14-test/vtcon.0 > >=20 > > I could connect to /vms/freebsd14-test/vtcon.0 using socat: > > socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 > >=20 > > Inside the vm it's /dev/vtcon/0. > >=20 > > -m =2D-=20 Paul Vixie From nobody Fri Feb 14 22:46:04 2025 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 4YvnGK2MnWz5nmlF for ; Fri, 14 Feb 2025 22:46:17 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvnGJ3h0dz4HhV for ; Fri, 14 Feb 2025 22:46:16 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-6e66d4f3be2so2766636d6.3 for ; Fri, 14 Feb 2025 14:46:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambient-md-com.20230601.gappssmtp.com; s=20230601; t=1739573175; x=1740177975; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ebw7qOmuZKujV+hwEuY6x4N7RVoZ7PMzFK9eKkpHwMc=; b=MEapIH1sm3ePjrCCEY1Br8jacIus6SpGnMozTXWan1q2ci2d/7G2MD81pccIUJJNWS 2KH+LN5ASrqb3pb7aznQI/9Pt5f2rouOSzkOfrtD15BOPmYe0aHK60HOVrM+IxIUqPMZ X9flwSYDCbj0H9/KS1i2JKu4fnIL+JdkUP+g2aGUTX0vMYQUAHAFYcjFP23O/5UJul0T C7S/2i6z5aLyo9KH+E7Ux7xxtwjJ3RHGy1kfHwKU6BkGaYeOEDaVxfMGOFUAACpPeC/c cTvNoamJ3pEgIj76lXMhn1TUrQHmSB9oQfPBdpN2f76kyXgO7NPJkKdVgM4WZ3p1UhLk 1UDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739573175; x=1740177975; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ebw7qOmuZKujV+hwEuY6x4N7RVoZ7PMzFK9eKkpHwMc=; b=JPc0LUjESilHP62VispMOELmgHH4zAlKPO3x8wJNQO3IvHTjc4lzTcXSQoseEsOIYC 6k/DbZNNPrk0CtDnf4xSI/LSt+rNPjHd8Tzqo8SLtYWFo/rAK0VP07CDITzwNUOdupnf Hx+CEnb7fcamBW0UNCpW624JONoqNxzo85GG7wbHvvEkITF8VWtzR+xi7cPmCJPZ8DUX m0mlHLheMyW7Vj9kNDy8MMfNujEL0VtCQtHQ2OF2pzVapWvkRLeoyx63G8NqEIGWYIsC ZgaNQDVQukVEW5J+P8ztJqjP8LNLAoe51iINHQ8AkmYm1TAEryjiVo7QBjHPxACa5p+E MCJg== X-Gm-Message-State: AOJu0Yw4YLYFAKCnUses9Ley/tXd+3a08jG6892Ba2cn0iV+lC94Iz9j ffp61VJ7C42RG1843ka54qnQ5W+m8uFVioE9uVSJ1ga6+LTyFW/FVF8X50oajyxQVmHxbCNQZIq i X-Gm-Gg: ASbGncvHVmaC/bHF7HZeobMYKJeU59kx5/kRS3OJNlBU4u9EdpMGcnYLPlfzpTaECBB LVVZnL6x7h7hQTEWqbEyzqaIHTs3w0iwZcu9ZDfk8ARV9Q1YOtRKb56bYuH+siJHELisaCPGPc8 MAR5bAJqPpaTBD3vFgOMGaAV23H48Mnj721so1OUDkqn7FiWpq9KESYNBIey+p4NF94cIPa7Wmh XT5TA+eq0sn9Zv4BonpmKbCfRv6f7eVxRHUHPAsJt5BA2LOFkre661ZV3C9GQZIA8VccSotoKe4 8EEipdCFxqoP5l/3pSDqi4VxNyQ= X-Google-Smtp-Source: AGHT+IEpRaEYl2RU2gC9QD78KPCi8prpzpBAjjvYURCZgW8KneMtYiNWaYD/xtcR8D2ploOL5YtdRw== X-Received: by 2002:a05:6214:5085:b0:6e4:4484:f358 with SMTP id 6a1803df08f44-6e66cd0b70fmr17574366d6.33.1739573175413; Fri, 14 Feb 2025 14:46:15 -0800 (PST) Received: from [10.0.0.83] ([209.226.127.177]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e65d7a3faasm25820766d6.57.2025.02.14.14.46.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Feb 2025 14:46:15 -0800 (PST) Message-ID: <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> Date: Fri, 14 Feb 2025 17:46:04 -0500 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: bhyve vm and virtio-console To: Paul Vixie , Michael Gmelin , virtualization@freebsd.org Cc: freebsd-virtualization@freebsd.org References: <2a0e1b92-4d63-4061-bc37-c5e72b8ef0ed@ambient-md.com> <20250214205752.6a12dbb4.grembo@freebsd.org> <5e1c08ca-4175-4a85-bc07-3ca73406454a@ambient-md.com> <3802339.MHq7AAxBmi@localhost> Content-Language: en-US From: Petru Garstea In-Reply-To: <3802339.MHq7AAxBmi@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YvnGJ3h0dz4HhV X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Spinning up the vm with /dev/nmdm* and connecting with cu -l is not an issue on my end. I am trying to create a vm using freebsd cloud image and connect to guest OS terminal with virtio-console and socat(no X11). When spawning the vm the unix socket indeed is created, however when I connect to it with socat nothing is being shown(not actions on any terminal commands as well). Also, I noticed there is a kernel module(virtio_console.ko) and apparently I believe it has to be loaded it, not sure here. Please advise, On 2/14/25 17:23, Paul Vixie wrote: > if you want to use cu, you have to use -l to map guest com1 to some host nmdm > device. if you want to use virtio-console, it will create unix domain sockets > not pseudo tty endpoints. from bhyve(8) we see: > >> Virtio console device backends: >> >> • >> port1=/path/to/port1.sock[,portN=/path/to/port2.sock ...] >> >> A maximum of 16 ports per device can be created. Every >> port >> is named and corresponds to a Unix domain socket created by >> bhyve. bhyve accepts at most one connection per port at a >> time. >> >> Limitations: >> >> • Due to lack of destructors in bhyve, sockets on the >> filesystem must be cleaned up manually after bhyve >> exits. >> >> • There is no way to use the “console port” feature, nor >> the console port resize at present. >> >> • Emergency write is advertised, but no-op at present. > i know of no host-side client which will connect to these unix domain sockets > and offer a cu-like user interface. "unidirectional" may be the experience > you'll get from "socat". > > if what you're trying to accomplish is a graphical console, virtio-console is > not the way to do it. rather, you'll want "fbuf" to create a guest VGA/similar > that gateways to a host VNC. > > re: > > On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrote: >> I tried with the following command, and got the same result. >> >> */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \ >> -s 0,hostbridge \ >> -s 6,virtio-console,0=/tmp/vtcon.0 \ >> -s 31,lpc \ >> -l bootrom,/tmp/BHYVE_UEFI.fd \ >> -s 1,virtio-blk,/tmp/fbsd.img \ >> -s 2,virtio-net,tap0 \ >> tmp* >> >> >> I also able to connect but the bidirectional connection is not happening >> >> *socat - UNIX-CONNECT:/tmp/vtcon.0 >> ls >> * >> PS: if I use null modem emulation instead virtio-console, then >> connecting with cu is not an issue. >> >> any ideas ? >> >> Thanks >> >> On 2/14/25 14:57, Michael Gmelin wrote: >>> On Fri, 14 Feb 2025 14:21:07 -0500 >>> >>> Petru Garstea wrote: >>>> Hi, >>>> I am trying to configure bhyve vm with support of virtio-console, the >>>> following option is added to bhyve command line >>>> >>>> *-s 3,virtio-console,port1=/test/console.sock >>>> >>>> *However when trying to connect to socket with socat trere are no >>>> input/ouptut is observed. >>>> >>>> Has virtio-console ever worked ? >>> Yes it works, I just tried it using sysutils/vm-bhyve (just add >>> virt_console0="Yes" to the configuration file). >>> >>> Based on the logs, these device settings are used by it: >>> bhyve devices: >>> -s 0,hostbridge \ >>> -s 31,lpc \ >>> -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ >>> -s 5:0,virtio-net,tap0,mac=58:9c:fc:aa:aa:aa \ >>> -s 6:0,virtio-console,0=/vms/freebsd14-test/vtcon.0 >>> >>> I could connect to /vms/freebsd14-test/vtcon.0 using socat: >>> socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 >>> >>> Inside the vm it's /dev/vtcon/0. >>> >>> -m > From nobody Fri Feb 14 22:46:04 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 4YvnGP3FVRz5nmlH for ; Fri, 14 Feb 2025 22:46:21 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvnGP20Khz4HfY for ; Fri, 14 Feb 2025 22:46:21 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-6e65d6e1f12so30051046d6.0 for ; Fri, 14 Feb 2025 14:46:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambient-md-com.20230601.gappssmtp.com; s=20230601; t=1739573175; x=1740177975; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ebw7qOmuZKujV+hwEuY6x4N7RVoZ7PMzFK9eKkpHwMc=; b=MEapIH1sm3ePjrCCEY1Br8jacIus6SpGnMozTXWan1q2ci2d/7G2MD81pccIUJJNWS 2KH+LN5ASrqb3pb7aznQI/9Pt5f2rouOSzkOfrtD15BOPmYe0aHK60HOVrM+IxIUqPMZ X9flwSYDCbj0H9/KS1i2JKu4fnIL+JdkUP+g2aGUTX0vMYQUAHAFYcjFP23O/5UJul0T C7S/2i6z5aLyo9KH+E7Ux7xxtwjJ3RHGy1kfHwKU6BkGaYeOEDaVxfMGOFUAACpPeC/c cTvNoamJ3pEgIj76lXMhn1TUrQHmSB9oQfPBdpN2f76kyXgO7NPJkKdVgM4WZ3p1UhLk 1UDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739573175; x=1740177975; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ebw7qOmuZKujV+hwEuY6x4N7RVoZ7PMzFK9eKkpHwMc=; b=TuitRzDIvNyUapGXfbORT5LvA0z3nym5rYmx/hpJ52Msm5XkwVm0/7mQjw1y2W5YpS MtclWp+vCN3OwyYjsCLSr6Ln0ulFQUaPaaCjgJaQ5gLN07UzSXwLwybk/YIrQpyslVg+ P8EMP9wpNRV4fvsIgrAGHG/n0hZoxTx656QerBLMY2w3sQD3NFolrG/gp5zeq1oDMwwX ukIYef1qyDnXQzo08+8GSZjrwb1VIy7zRDJLR0RLrgg/YBqkKm6uMl7B2zOd1BanHsZM 3HBO4sWKKVllFrWo54mKumHQaw9zeFekSXZqPmuzjTIBTRR0QCHZTJNmp0hhb5wQ2JOQ +eAA== X-Forwarded-Encrypted: i=1; AJvYcCWOclsNlaB+uh8W0Ogq5XLK7H2inzj6zY4Zfz20GxOxZMIVuOLjf7WI2TkgKOjxoWa/qdyCyLuTR/swM19xEA==@freebsd.org X-Gm-Message-State: AOJu0YznuLPWWG414xN13ZiaBk8COSNeQ8lT1VoBXTFZXyCEPsG31crU sYBdXOnbMzFBiHvnRgwI4k3v/qyeE5ocxBW5wucCAHJ1wyJwLPU3dBTS+oLIdxk= X-Gm-Gg: ASbGncstvIKyQOP1SDfRO6VY6Kdxbcg0XFn2rlQpqMtLv/s5FQst/AxCTWSMBiKjGxw vzDCVLvn8bhdaujLcNzg7cKzDooSznGt1JeC06IT/+jcgppvhZOhuDWaBgMUzU8WJVctyBDdTP1 7xKCuBiBXpqfGUzhpfzdL+4EQQdC7HU5QTn3dd95ew9Nw/a3mYltV8ELwxvFTDTuhbcFA1mqBmS dtoFcp3JQx+sfkQ/wQ0aD8qqqA1+Ge9aYloT06jdY3hXCyrNDz/Up5BGjIrBvnmOFZfBpgNnZZ6 c0obdL/6rWBRqoYWVScMn3vO/r4= X-Google-Smtp-Source: AGHT+IEpRaEYl2RU2gC9QD78KPCi8prpzpBAjjvYURCZgW8KneMtYiNWaYD/xtcR8D2ploOL5YtdRw== X-Received: by 2002:a05:6214:5085:b0:6e4:4484:f358 with SMTP id 6a1803df08f44-6e66cd0b70fmr17574366d6.33.1739573175413; Fri, 14 Feb 2025 14:46:15 -0800 (PST) Received: from [10.0.0.83] ([209.226.127.177]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e65d7a3faasm25820766d6.57.2025.02.14.14.46.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Feb 2025 14:46:15 -0800 (PST) Message-ID: <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> Date: Fri, 14 Feb 2025 17:46:04 -0500 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: bhyve vm and virtio-console To: Paul Vixie , Michael Gmelin , virtualization@freebsd.org Cc: freebsd-virtualization@freebsd.org References: <2a0e1b92-4d63-4061-bc37-c5e72b8ef0ed@ambient-md.com> <20250214205752.6a12dbb4.grembo@freebsd.org> <5e1c08ca-4175-4a85-bc07-3ca73406454a@ambient-md.com> <3802339.MHq7AAxBmi@localhost> Content-Language: en-US From: Petru Garstea In-Reply-To: <3802339.MHq7AAxBmi@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4YvnGP20Khz4HfY X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Spinning up the vm with /dev/nmdm* and connecting with cu -l is not an issue on my end. I am trying to create a vm using freebsd cloud image and connect to guest OS terminal with virtio-console and socat(no X11). When spawning the vm the unix socket indeed is created, however when I connect to it with socat nothing is being shown(not actions on any terminal commands as well). Also, I noticed there is a kernel module(virtio_console.ko) and apparently I believe it has to be loaded it, not sure here. Please advise, On 2/14/25 17:23, Paul Vixie wrote: > if you want to use cu, you have to use -l to map guest com1 to some host nmdm > device. if you want to use virtio-console, it will create unix domain sockets > not pseudo tty endpoints. from bhyve(8) we see: > >> Virtio console device backends: >> >> • >> port1=/path/to/port1.sock[,portN=/path/to/port2.sock ...] >> >> A maximum of 16 ports per device can be created. Every >> port >> is named and corresponds to a Unix domain socket created by >> bhyve. bhyve accepts at most one connection per port at a >> time. >> >> Limitations: >> >> • Due to lack of destructors in bhyve, sockets on the >> filesystem must be cleaned up manually after bhyve >> exits. >> >> • There is no way to use the “console port” feature, nor >> the console port resize at present. >> >> • Emergency write is advertised, but no-op at present. > i know of no host-side client which will connect to these unix domain sockets > and offer a cu-like user interface. "unidirectional" may be the experience > you'll get from "socat". > > if what you're trying to accomplish is a graphical console, virtio-console is > not the way to do it. rather, you'll want "fbuf" to create a guest VGA/similar > that gateways to a host VNC. > > re: > > On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrote: >> I tried with the following command, and got the same result. >> >> */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \ >> -s 0,hostbridge \ >> -s 6,virtio-console,0=/tmp/vtcon.0 \ >> -s 31,lpc \ >> -l bootrom,/tmp/BHYVE_UEFI.fd \ >> -s 1,virtio-blk,/tmp/fbsd.img \ >> -s 2,virtio-net,tap0 \ >> tmp* >> >> >> I also able to connect but the bidirectional connection is not happening >> >> *socat - UNIX-CONNECT:/tmp/vtcon.0 >> ls >> * >> PS: if I use null modem emulation instead virtio-console, then >> connecting with cu is not an issue. >> >> any ideas ? >> >> Thanks >> >> On 2/14/25 14:57, Michael Gmelin wrote: >>> On Fri, 14 Feb 2025 14:21:07 -0500 >>> >>> Petru Garstea wrote: >>>> Hi, >>>> I am trying to configure bhyve vm with support of virtio-console, the >>>> following option is added to bhyve command line >>>> >>>> *-s 3,virtio-console,port1=/test/console.sock >>>> >>>> *However when trying to connect to socket with socat trere are no >>>> input/ouptut is observed. >>>> >>>> Has virtio-console ever worked ? >>> Yes it works, I just tried it using sysutils/vm-bhyve (just add >>> virt_console0="Yes" to the configuration file). >>> >>> Based on the logs, these device settings are used by it: >>> bhyve devices: >>> -s 0,hostbridge \ >>> -s 31,lpc \ >>> -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ >>> -s 5:0,virtio-net,tap0,mac=58:9c:fc:aa:aa:aa \ >>> -s 6:0,virtio-console,0=/vms/freebsd14-test/vtcon.0 >>> >>> I could connect to /vms/freebsd14-test/vtcon.0 using socat: >>> socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 >>> >>> Inside the vm it's /dev/vtcon/0. >>> >>> -m > From nobody Fri Feb 14 23:10:42 2025 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 4Yvnpg1P7Rz5nnvy; Fri, 14 Feb 2025 23:10:51 +0000 (UTC) (envelope-from grembo@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yvnpf6RD1z3HFF; Fri, 14 Feb 2025 23:10:50 +0000 (UTC) (envelope-from grembo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739574650; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3wbVJ7mt3DLG5Gsy5WNweVxacoFduJkjY0rH4huyfbA=; b=JFIxAsv44B8n9S/tmLpPHc+zA5BtV6RNhR+3Y6e1J1y3mRi4pKXLFVtJinfFTyAfPC7iJD KIXsXwkLZG52yAkdJpNBG2gliKOYNmTPGhaVE6dXTVcP0q94EI8J2+HbRizl3JkVdwMzMr RfaXSQRCAntD/XeW1P0UfsAPK4jYTLt/8ap/Em9sQTP60C9oTkcbXzh4uFPEREhAfHUVuk qAnFjM5DkVFLPhVvp1BsBlDyvES4butGSI/ibcdL7vp6dZyn+svDdK2YFRnW2NdmetCKIq OGywTrtR++WQZbesbrnUsNN8VhOgRx3nO65/bByOPxcxSPJaq/dcjxPVf+zt9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739574650; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3wbVJ7mt3DLG5Gsy5WNweVxacoFduJkjY0rH4huyfbA=; b=HGgmZ6lO1PiZ3wSp9tzZ6F1+eQV1WD4m7cWX8x9C4cowS6pqJ8hwXNBkdBTyOIQggKNLbj p3wBnivCeOFBBOgzXJkElJB97vtVvzGyqS9+rbf1v7M4HXd7xEVh85owNepELw6kW6Tqll NpjdwoG+eNJu6Fm2Svar7ObQBXq+8EbYjSIkXl0XRFz+BbPy7IDPKiDBnTqtWfS6Wv1dJk 5EXDyVYGhL4UCzKXvZWSZSocDyldImm001FsCFmGhPS5+cZRva+TE0AQSTEunLtEzlBB/d pocHQYYGvbGMUHpQ/bZ9HB1XQBlSf+HL2zc3MVujoSA9BS3HnYZC6DbDUGnmxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739574650; a=rsa-sha256; cv=none; b=AG0/s809ajINmEyAamrYkGWXoF9DnSVpcz11c0rsEztavwxLN5QQLM4C5xiaT20xvivlUg BxdKeK7HGkhIKPSxvOI3o1L2cB1POm2PRvRjedLagZ0/nvVSPGpjLAHiTBuq0hD1PftW9y 3Bbsk5jirh3lDiuHAwrR9q6ahniq/uxm6qDroi0bCjCGoTDi+lqcLaCCT9O45vN9htfgpD LwoQH5OV+5k+Zr7M1D+vuyx9i8p3PmXiuXQR9QHPJ/z3jlIJFBmOe8utWs0/2a0LnZJfo2 PW4c4IuRD+RqleL3aJjrcs2ad8JXBzu56A0CCZNhH/WbkCOWWKePIVH91wb3TQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: grembo/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yvnpf1N3Dzrnm; Fri, 14 Feb 2025 23:10:45 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 0137f700 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 14 Feb 2025 23:10:43 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (1.0) Subject: Re: bhyve vm and virtio-console From: Michael Gmelin In-Reply-To: <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> Date: Sat, 15 Feb 2025 00:10:42 +0100 Cc: Paul Vixie , virtualization@freebsd.org, freebsd-virtualization@freebsd.org Message-Id: <899331A6-1635-4546-ADE6-FE21B52138FF@freebsd.org> References: <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> To: Petru Garstea X-Mailer: iPhone Mail (20H350) > On 14. Feb 2025, at 23:46, Petru Garstea w= rote: >=20 > =EF=BB=BFSpinning up the vm with /dev/nmdm* and connecting with cu -l is n= ot an issue on my end. > I am trying to create a vm using freebsd cloud image and connect to guest O= S terminal with virtio-console and socat(no X11). > When spawning the vm the unix socket indeed is created, however when I con= nect to it with socat nothing is being shown(not actions on any terminal com= mands as well). > Also, I noticed there is a kernel module(virtio_console.ko) and apparently= I believe it has to be loaded it, not sure here. >=20 > Please advise, >=20 You can connect to the device inside the vm like I wrote and pass data to th= e socat connected socket on the outside (this is what I tested, please see m= y previous email). Are you trying to get some sort of shell over this connection? -m >> On 2/14/25 17:23, Paul Vixie wrote: >> if you want to use cu, you have to use -l to map guest com1 to some host n= mdm >> device. if you want to use virtio-console, it will create unix domain soc= kets >> not pseudo tty endpoints. from bhyve(8) we see: >>=20 >>> Virtio console device backends: >>> =E2=80=A2 >>> port1=3D/path/to/port1.sock[,portN=3D/path/to/port2.soc= k ...] >>> A maximum of 16 ports per device can b= e created. Every >>> port >>> is named and corresponds to a Unix domain socket create= d by >>> bhyve. bhyve accepts at most one connection per port a= t a >>> time. >>> Limitations: >>> =E2=80=A2 Due to lack of destructor= s in bhyve, sockets on the >>> filesystem must be cleaned up manually after bhyve >>> exits. >>> =E2=80=A2 There is no way to use th= e =E2=80=9Cconsole port=E2=80=9D feature, nor >>> the console port resize at present. >>> =E2=80=A2 Emergency write is advert= ised, but no-op at present. >> i know of no host-side client which will connect to these unix domain soc= kets >> and offer a cu-like user interface. "unidirectional" may be the experienc= e >> you'll get from "socat". >>=20 >> if what you're trying to accomplish is a graphical console, virtio-consol= e is >> not the way to do it. rather, you'll want "fbuf" to create a guest VGA/si= milar >> that gateways to a host VNC. >>=20 >> re: >>=20 >>> On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrote: >>> I tried with the following command, and got the same result. >>>=20 >>> */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \ >>> -s 0,hostbridge \ >>> -s 6,virtio-console,0=3D/tmp/vtcon.0 \ >>> -s 31,lpc \ >>> -l bootrom,/tmp/BHYVE_UEFI.fd \ >>> -s 1,virtio-blk,/tmp/fbsd.img \ >>> -s 2,virtio-net,tap0 \ >>> tmp* >>>=20 >>>=20 >>> I also able to connect but the bidirectional connection is not happening= >>>=20 >>> *socat - UNIX-CONNECT:/tmp/vtcon.0 >>> ls >>> * >>> PS: if I use null modem emulation instead virtio-console, then >>> connecting with cu is not an issue. >>>=20 >>> any ideas ? >>>=20 >>> Thanks >>>=20 >>> On 2/14/25 14:57, Michael Gmelin wrote: >>>> On Fri, 14 Feb 2025 14:21:07 -0500 >>>>=20 >>>> Petru Garstea wrote: >>>>> Hi, >>>>> I am trying to configure bhyve vm with support of virtio-console, the >>>>> following option is added to bhyve command line >>>>>=20 >>>>> *-s 3,virtio-console,port1=3D/test/console.sock >>>>>=20 >>>>> *However when trying to connect to socket with socat trere are no >>>>> input/ouptut is observed. >>>>>=20 >>>>> Has virtio-console ever worked ? >>>> Yes it works, I just tried it using sysutils/vm-bhyve (just add >>>> virt_console0=3D"Yes" to the configuration file). >>>>=20 >>>> Based on the logs, these device settings are used by it: >>>> bhyve devices: >>>> -s 0,hostbridge \ >>>> -s 31,lpc \ >>>> -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ >>>> -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:aa:aa:aa \ >>>> -s 6:0,virtio-console,0=3D/vms/freebsd14-test/vtcon.0 >>>>=20 >>>> I could connect to /vms/freebsd14-test/vtcon.0 using socat: >>>> socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 >>>>=20 >>>> Inside the vm it's /dev/vtcon/0. >>>>=20 >>>> -m >>=20 >=20 From nobody Fri Feb 14 23:16:25 2025 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 4YvnxK6fhWz5npTZ for ; Fri, 14 Feb 2025 23:16:37 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvnxK1nNwz3Lyp for ; Fri, 14 Feb 2025 23:16:37 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-2f833af7a09so3814947a91.2 for ; Fri, 14 Feb 2025 15:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambient-md-com.20230601.gappssmtp.com; s=20230601; t=1739574996; x=1740179796; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=byPSXc7mtc5vbwbzkjYX0mM3FLuBxtOVyxuKMxMECJ0=; b=Emh84iblXHMPQ8d4g36eb6Vy6c4qhZvBmZs023NFNZmEbZiENYi5rtgilqwzq9km2N ViD87VRJMR3g+McxJ1T6BhGJubhc2KuUe5gw1kWBDXvs9qoMnsT4HgpmWCgGQuvnwXne /Zkdpti2wf9XEdwbNT3B6th6cSZEgD3KKqn+Hk0rbDdsCAFTfkJASNt/5diODafOWB/C HkXL8YujBltKGcSJEPQQTA9JAzL9e9ck5Ng4SErdvl77bMHDJhOgE4FA+wDdNL8E0F0W xloT5Y/cfwhgbnA7NpcAPQYFUyz/oF+dWHgoxeHZggAdf59ZPUhL5WqJGuOi5xWXEhFX ixlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739574996; x=1740179796; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=byPSXc7mtc5vbwbzkjYX0mM3FLuBxtOVyxuKMxMECJ0=; b=NZUg1LGPPfGpM0fT/m/eGIOC5m4EysmtvzO99INeLu3qFYmW+wq9SixPMgXXfp1o+4 gRaiX1Fjg43xgYN2KUAI8948U6T+Og+L/5CYxqxrP9bxoyStJswqGjFGRnAYAGnCxxUP wgrNNSd7e73+KAqP7zF9BFzzCsBnTq+H1fANMMo8yysYRBhKRq2b9rFZFRN/K1NwEibb eScQ90BPAwG+HN4BKj7uZuGAtx35oSqCv56WnOtc/+t6B1uLfvsLIrh0a9KSl7F1z+nL 2Vrm/fG7t/C8lIksVnNhlWbNSP5Esxjh/GBT2/Q/wy2/l5m9HaLt1W+7MqSpw+GbSizD 7m5Q== X-Forwarded-Encrypted: i=1; AJvYcCWZYi7NT3NUGDF5PIwYhyJk5cKQST+3V+dvPEZ/d1rZFXQmvUOhcU205q2R101IlmST0iMZjOIK88XV++ck3tg6pi54Gc9w@freebsd.org X-Gm-Message-State: AOJu0YyBXCOtTI+o+KgcbGKnwEixd9ZSZjVWy5XrEfuutQsiC5UoN3It Q75kbD5B60k/rInAkcxRz3m76oiOyv+BcmqWaiHOskwMki2Np8ygnp7PQof9yKF8Kw91M/Eh80I wbLzGFm4eA+N8h/7DZnSm+RkjKI60lhKQ5z1uQsNc8g/pRQPp X-Gm-Gg: ASbGnctvlfc2ZTS6IW2Lct65miXSlbg6bRkrQRMzqbeLN8Rp1DBpj0Z3dC97a0ZsYLD x0QZgutUeXzb0g48cSflA44z745VhZ3/KH98bhNPo6fVAiyx4Nv50HlrFGjY/vVBQhuvVFyU= X-Google-Smtp-Source: AGHT+IGSjiM+4jXuf05S4bbe85FoxlZtcEZabj57lyrTBiI0daxZTTxHfT5NAM3tGShkGqyBAD9s7rZV9RolG7EqS7I= X-Received: by 2002:a17:90b:2d8d:b0:2ee:f076:20fb with SMTP id 98e67ed59e1d1-2fc40f22db2mr1560462a91.17.1739574995590; Fri, 14 Feb 2025 15:16:35 -0800 (PST) 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: <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> <899331A6-1635-4546-ADE6-FE21B52138FF@freebsd.org> In-Reply-To: <899331A6-1635-4546-ADE6-FE21B52138FF@freebsd.org> From: peter garshtja Date: Fri, 14 Feb 2025 18:16:25 -0500 X-Gm-Features: AWEUYZnh-A9d8Rpj7xuKyGvbP1JZ6gAfIdBcL4FQPgNGW41toKYvzl8nMMjbKPs Message-ID: Subject: Re: bhyve vm and virtio-console To: Michael Gmelin Cc: Paul Vixie , virtualization@freebsd.org, freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ac3c99062e225da4" X-Rspamd-Queue-Id: 4YvnxK1nNwz3Lyp X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --000000000000ac3c99062e225da4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Exactly, I expect to get the shell after I connect with socat, something similar to docker exec -it. On Fri, Feb 14, 2025, 18:10 Michael Gmelin wrote: > > > > On 14. Feb 2025, at 23:46, Petru Garstea > wrote: > > > > =EF=BB=BFSpinning up the vm with /dev/nmdm* and connecting with cu -l i= s not an > issue on my end. > > I am trying to create a vm using freebsd cloud image and connect to > guest OS terminal with virtio-console and socat(no X11). > > When spawning the vm the unix socket indeed is created, however when I > connect to it with socat nothing is being shown(not actions on any termin= al > commands as well). > > Also, I noticed there is a kernel module(virtio_console.ko) and > apparently I believe it has to be loaded it, not sure here. > > > > Please advise, > > > > You can connect to the device inside the vm like I wrote and pass data to > the socat connected socket on the outside (this is what I tested, please > see my previous email). > > Are you trying to get some sort of shell over this connection? > > -m > > > >> On 2/14/25 17:23, Paul Vixie wrote: > >> if you want to use cu, you have to use -l to map guest com1 to some > host nmdm > >> device. if you want to use virtio-console, it will create unix domain > sockets > >> not pseudo tty endpoints. from bhyve(8) we see: > >> > >>> Virtio console device backends: > >>> =E2=80=A2 > >>> port1=3D/path/to/port1.sock[,portN=3D/path/to/port2.= sock > ...] > >>> A maximum of 16 ports per device > can be created. Every > >>> port > >>> is named and corresponds to a Unix domain socket > created by > >>> bhyve. bhyve accepts at most one connection per por= t > at a > >>> time. > >>> Limitations: > >>> =E2=80=A2 Due to lack of destruc= tors in > bhyve, sockets on the > >>> filesystem must be cleaned up manually after bhy= ve > >>> exits. > >>> =E2=80=A2 There is no way to use= the > =E2=80=9Cconsole port=E2=80=9D feature, nor > >>> the console port resize at present. > >>> =E2=80=A2 Emergency write is adv= ertised, > but no-op at present. > >> i know of no host-side client which will connect to these unix domain > sockets > >> and offer a cu-like user interface. "unidirectional" may be the > experience > >> you'll get from "socat". > >> > >> if what you're trying to accomplish is a graphical console, > virtio-console is > >> not the way to do it. rather, you'll want "fbuf" to create a guest > VGA/similar > >> that gateways to a host VNC. > >> > >> re: > >> > >>> On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrote: > >>> I tried with the following command, and got the same result. > >>> > >>> */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \ > >>> -s 0,hostbridge \ > >>> -s 6,virtio-console,0=3D/tmp/vtcon.0 \ > >>> -s 31,lpc \ > >>> -l bootrom,/tmp/BHYVE_UEFI.fd \ > >>> -s 1,virtio-blk,/tmp/fbsd.img \ > >>> -s 2,virtio-net,tap0 \ > >>> tmp* > >>> > >>> > >>> I also able to connect but the bidirectional connection is not > happening > >>> > >>> *socat - UNIX-CONNECT:/tmp/vtcon.0 > >>> ls > >>> * > >>> PS: if I use null modem emulation instead virtio-console, then > >>> connecting with cu is not an issue. > >>> > >>> any ideas ? > >>> > >>> Thanks > >>> > >>> On 2/14/25 14:57, Michael Gmelin wrote: > >>>> On Fri, 14 Feb 2025 14:21:07 -0500 > >>>> > >>>> Petru Garstea wrote: > >>>>> Hi, > >>>>> I am trying to configure bhyve vm with support of virtio-console, t= he > >>>>> following option is added to bhyve command line > >>>>> > >>>>> *-s 3,virtio-console,port1=3D/test/console.sock > >>>>> > >>>>> *However when trying to connect to socket with socat trere are no > >>>>> input/ouptut is observed. > >>>>> > >>>>> Has virtio-console ever worked ? > >>>> Yes it works, I just tried it using sysutils/vm-bhyve (just add > >>>> virt_console0=3D"Yes" to the configuration file). > >>>> > >>>> Based on the logs, these device settings are used by it: > >>>> bhyve devices: > >>>> -s 0,hostbridge \ > >>>> -s 31,lpc \ > >>>> -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ > >>>> -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:aa:aa:aa \ > >>>> -s 6:0,virtio-console,0=3D/vms/freebsd14-test/vtcon.0 > >>>> > >>>> I could connect to /vms/freebsd14-test/vtcon.0 using socat: > >>>> socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 > >>>> > >>>> Inside the vm it's /dev/vtcon/0. > >>>> > >>>> -m > >> > > > > --000000000000ac3c99062e225da4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Exactly, I expect to get the shell after I connect with s= ocat, something similar to docker exec -it.=C2=A0

On F= ri, Feb 14, 2025, 18:10 Michael Gmelin <grembo@freebsd.org> wrote:


> On 14. Feb 2025, at 23:46, Petru Garstea <peter.garshtja= @ambient-md.com> wrote:
>
> =EF=BB=BFSpinning up the vm with /dev/nmdm* and connecting with cu -l = is not an issue on my end.
> I am trying to create a vm using freebsd cloud image and connect to gu= est OS terminal with virtio-console and socat(no X11).
> When spawning the vm the unix socket indeed is created, however when I= connect to it with socat nothing is being shown(not actions on any termina= l commands as well).
> Also, I noticed there is a kernel module(virtio_console.ko) and appare= ntly I believe it has to be loaded it, not sure here.
>
> Please advise,
>

You can connect to the device inside the vm like I wrote and pass data to t= he socat connected socket on the outside (this is what I tested, please see= my previous email).

Are you trying to get some sort of shell over this connection?

-m


>> On 2/14/25 17:23, Paul Vixie wrote:
>> if you want to use cu, you have to use -l to map guest com1 to som= e host nmdm
>> device. if you want to use virtio-console, it will create unix dom= ain sockets
>> not pseudo tty endpoints. from bhyve(8) we see:
>>
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = Virtio console device backends:
>>>=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 =E2=80=A2 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = port1=3D/path/to/port1.sock[,portN=3D/path/to/port2.sock ...]
>>>=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 A maximum of= 16 ports per device can be created.=C2=A0 Every
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = port
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = is named and corresponds to a Unix domain socket created by
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = bhyve.=C2=A0 bhyve accepts at most one connection per port at a
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = time.
>>>=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 Limitations:=
>>>=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 =E2=80=A2=C2= =A0 =C2=A0Due to lack of destructors in bhyve, sockets on the
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 filesystem must be cleaned up manually after bhyve
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 exits.
>>>=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 =E2=80=A2=C2= =A0 =C2=A0There is no way to use the =E2=80=9Cconsole port=E2=80=9D feature= , nor
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 the console port resize at present.
>>>=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 =E2=80=A2=C2= =A0 =C2=A0Emergency write is advertised, but no-op at present.
>> i know of no host-side client which will connect to these unix dom= ain sockets
>> and offer a cu-like user interface. "unidirectional" may= be the experience
>> you'll get from "socat".
>>
>> if what you're trying to accomplish is a graphical console, vi= rtio-console is
>> not the way to do it. rather, you'll want "fbuf" to = create a guest VGA/similar
>> that gateways to a host VNC.
>>
>> re:
>>
>>> On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrot= e:
>>> I tried with the following command, and got the same result. >>>
>>> */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \
>>> -s 0,hostbridge \
>>> -s 6,virtio-console,0=3D/tmp/vtcon.0 \
>>> -s 31,lpc \
>>> -l bootrom,/tmp/BHYVE_UEFI.fd \
>>> -s 1,virtio-blk,/tmp/fbsd.img \
>>> -s 2,virtio-net,tap0 \
>>> tmp*
>>>
>>>
>>> I also able to connect but the bidirectional connection is not= happening
>>>
>>> *socat - UNIX-CONNECT:/tmp/vtcon.0
>>> ls
>>> *
>>> PS: if I use null modem emulation instead virtio-console, then=
>>> connecting with cu is not an issue.
>>>
>>> any ideas ?
>>>
>>> Thanks
>>>
>>> On 2/14/25 14:57, Michael Gmelin wrote:
>>>> On Fri, 14 Feb 2025 14:21:07 -0500
>>>>
>>>> Petru Garstea<peter.garshtja@ambient-md.com<= /a>> wrote:
>>>>> Hi,
>>>>> I am trying to configure bhyve vm with support of virt= io-console, the
>>>>> following option is added to bhyve command line
>>>>>
>>>>> *-s 3,virtio-console,port1=3D/test/console.sock
>>>>>
>>>>> *However when trying to connect to socket with socat t= rere are no
>>>>> input/ouptut is observed.
>>>>>
>>>>> Has virtio-console ever worked ?
>>>> Yes it works, I just tried it using sysutils/vm-bhyve (jus= t add
>>>> virt_console0=3D"Yes" to the configuration file)= .
>>>>
>>>> Based on the logs, these device settings are used by it: >>>>=C2=A0 =C2=A0 =C2=A0 bhyve devices:
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 0,hostbridge \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 31,lpc \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 4:0,virtio-blk,/dev/zvol/zro= ot/vms/freebsd14-test/disk0 \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 5:0,virtio-net,tap0,mac=3D58= :9c:fc:aa:aa:aa \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 6:0,virtio-console,0=3D/vms/= freebsd14-test/vtcon.0
>>>>
>>>> I could connect to /vms/freebsd14-test/vtcon.0 using socat= :
>>>>=C2=A0 =C2=A0 =C2=A0 socat - UNIX-CONNECT:/vms/freebsd14-te= st/vtcon.0
>>>>
>>>> Inside the vm it's /dev/vtcon/0.
>>>>
>>>> -m
>>
>

--000000000000ac3c99062e225da4-- From nobody Fri Feb 14 23:16:25 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 4YvnxL3Thbz5np9J for ; Fri, 14 Feb 2025 23:16:38 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvnxK5C7jz3Ls7 for ; Fri, 14 Feb 2025 23:16:37 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2fc11834404so3481057a91.0 for ; Fri, 14 Feb 2025 15:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambient-md-com.20230601.gappssmtp.com; s=20230601; t=1739574996; x=1740179796; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=byPSXc7mtc5vbwbzkjYX0mM3FLuBxtOVyxuKMxMECJ0=; b=Emh84iblXHMPQ8d4g36eb6Vy6c4qhZvBmZs023NFNZmEbZiENYi5rtgilqwzq9km2N ViD87VRJMR3g+McxJ1T6BhGJubhc2KuUe5gw1kWBDXvs9qoMnsT4HgpmWCgGQuvnwXne /Zkdpti2wf9XEdwbNT3B6th6cSZEgD3KKqn+Hk0rbDdsCAFTfkJASNt/5diODafOWB/C HkXL8YujBltKGcSJEPQQTA9JAzL9e9ck5Ng4SErdvl77bMHDJhOgE4FA+wDdNL8E0F0W xloT5Y/cfwhgbnA7NpcAPQYFUyz/oF+dWHgoxeHZggAdf59ZPUhL5WqJGuOi5xWXEhFX ixlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739574996; x=1740179796; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=byPSXc7mtc5vbwbzkjYX0mM3FLuBxtOVyxuKMxMECJ0=; b=cthoKA5g7fyMbr1C0i+VcTDrwj3bsxr+g9uOWQeGi9LqETMATsmHRAKNh9GabM6IQK 869cTfOGzXzupDV/3YoO2eH7w4fYg1WWZ34YBwZQj27XWmqSmxL7k/ROZKIPt6okz3CY 28TBfYNT4ED5vIpC6sfwTXHMfqjzQsWOUCFEoMPEIkdSHhe9BoRY/qU5toUtmwHpqD9T G1kGT+HikMuInUabAmUahQ8Fv9/qRFgu3prGScIMyOWxaScqioVEb88RvLgT0G4fiZR8 lNi18MF9ZjIQLTpSYz3PryofwwZ0HKe9cfAeETiuL9GA5bXus8gPtdWhBKw9ajU1Xyfd a19Q== X-Forwarded-Encrypted: i=1; AJvYcCVY4EviXUxKmKiEH+MCxzvHTtJZ5mWbY+piLzhjvxeaMtds3eRvF4LEWbJlDLdDhoxhtawyLbg7fhFwm80DDQ==@freebsd.org X-Gm-Message-State: AOJu0YyPOXYHJGluB5cBVoMi0NV9GN04yt/nA1d2saGPpzUbuTOaLA3t TxldtRAvUu+Ny/xNW/zxzqZSFVIkIUtE5YSaQGcYFfSaVJIxwhhsravKDuVYQnjd8zxfL1yer8R jySl7fCY0OlwnXyTAsbotB097dhsWxy1Do47VEQ== X-Gm-Gg: ASbGncsmpVGSREeIPzV6d0zapIukaYqJYi6vbY9dnP9ZdJG/HZUpjOPjqwMkAUyLYVD OAoQqbaKsxJqlVGgmthIbwxAGWh/nXm4BE+NZbUt2Iwu8lI7buI1sWK/Tm3AQj/J8d4hJZUI= X-Google-Smtp-Source: AGHT+IGSjiM+4jXuf05S4bbe85FoxlZtcEZabj57lyrTBiI0daxZTTxHfT5NAM3tGShkGqyBAD9s7rZV9RolG7EqS7I= X-Received: by 2002:a17:90b:2d8d:b0:2ee:f076:20fb with SMTP id 98e67ed59e1d1-2fc40f22db2mr1560462a91.17.1739574995590; Fri, 14 Feb 2025 15:16:35 -0800 (PST) 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: <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> <899331A6-1635-4546-ADE6-FE21B52138FF@freebsd.org> In-Reply-To: <899331A6-1635-4546-ADE6-FE21B52138FF@freebsd.org> From: peter garshtja Date: Fri, 14 Feb 2025 18:16:25 -0500 X-Gm-Features: AWEUYZnh-A9d8Rpj7xuKyGvbP1JZ6gAfIdBcL4FQPgNGW41toKYvzl8nMMjbKPs Message-ID: Subject: Re: bhyve vm and virtio-console To: Michael Gmelin Cc: Paul Vixie , virtualization@freebsd.org, freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ac3c99062e225da4" X-Rspamd-Queue-Id: 4YvnxK5C7jz3Ls7 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] --000000000000ac3c99062e225da4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Exactly, I expect to get the shell after I connect with socat, something similar to docker exec -it. On Fri, Feb 14, 2025, 18:10 Michael Gmelin wrote: > > > > On 14. Feb 2025, at 23:46, Petru Garstea > wrote: > > > > =EF=BB=BFSpinning up the vm with /dev/nmdm* and connecting with cu -l i= s not an > issue on my end. > > I am trying to create a vm using freebsd cloud image and connect to > guest OS terminal with virtio-console and socat(no X11). > > When spawning the vm the unix socket indeed is created, however when I > connect to it with socat nothing is being shown(not actions on any termin= al > commands as well). > > Also, I noticed there is a kernel module(virtio_console.ko) and > apparently I believe it has to be loaded it, not sure here. > > > > Please advise, > > > > You can connect to the device inside the vm like I wrote and pass data to > the socat connected socket on the outside (this is what I tested, please > see my previous email). > > Are you trying to get some sort of shell over this connection? > > -m > > > >> On 2/14/25 17:23, Paul Vixie wrote: > >> if you want to use cu, you have to use -l to map guest com1 to some > host nmdm > >> device. if you want to use virtio-console, it will create unix domain > sockets > >> not pseudo tty endpoints. from bhyve(8) we see: > >> > >>> Virtio console device backends: > >>> =E2=80=A2 > >>> port1=3D/path/to/port1.sock[,portN=3D/path/to/port2.= sock > ...] > >>> A maximum of 16 ports per device > can be created. Every > >>> port > >>> is named and corresponds to a Unix domain socket > created by > >>> bhyve. bhyve accepts at most one connection per por= t > at a > >>> time. > >>> Limitations: > >>> =E2=80=A2 Due to lack of destruc= tors in > bhyve, sockets on the > >>> filesystem must be cleaned up manually after bhy= ve > >>> exits. > >>> =E2=80=A2 There is no way to use= the > =E2=80=9Cconsole port=E2=80=9D feature, nor > >>> the console port resize at present. > >>> =E2=80=A2 Emergency write is adv= ertised, > but no-op at present. > >> i know of no host-side client which will connect to these unix domain > sockets > >> and offer a cu-like user interface. "unidirectional" may be the > experience > >> you'll get from "socat". > >> > >> if what you're trying to accomplish is a graphical console, > virtio-console is > >> not the way to do it. rather, you'll want "fbuf" to create a guest > VGA/similar > >> that gateways to a host VNC. > >> > >> re: > >> > >>> On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrote: > >>> I tried with the following command, and got the same result. > >>> > >>> */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \ > >>> -s 0,hostbridge \ > >>> -s 6,virtio-console,0=3D/tmp/vtcon.0 \ > >>> -s 31,lpc \ > >>> -l bootrom,/tmp/BHYVE_UEFI.fd \ > >>> -s 1,virtio-blk,/tmp/fbsd.img \ > >>> -s 2,virtio-net,tap0 \ > >>> tmp* > >>> > >>> > >>> I also able to connect but the bidirectional connection is not > happening > >>> > >>> *socat - UNIX-CONNECT:/tmp/vtcon.0 > >>> ls > >>> * > >>> PS: if I use null modem emulation instead virtio-console, then > >>> connecting with cu is not an issue. > >>> > >>> any ideas ? > >>> > >>> Thanks > >>> > >>> On 2/14/25 14:57, Michael Gmelin wrote: > >>>> On Fri, 14 Feb 2025 14:21:07 -0500 > >>>> > >>>> Petru Garstea wrote: > >>>>> Hi, > >>>>> I am trying to configure bhyve vm with support of virtio-console, t= he > >>>>> following option is added to bhyve command line > >>>>> > >>>>> *-s 3,virtio-console,port1=3D/test/console.sock > >>>>> > >>>>> *However when trying to connect to socket with socat trere are no > >>>>> input/ouptut is observed. > >>>>> > >>>>> Has virtio-console ever worked ? > >>>> Yes it works, I just tried it using sysutils/vm-bhyve (just add > >>>> virt_console0=3D"Yes" to the configuration file). > >>>> > >>>> Based on the logs, these device settings are used by it: > >>>> bhyve devices: > >>>> -s 0,hostbridge \ > >>>> -s 31,lpc \ > >>>> -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ > >>>> -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:aa:aa:aa \ > >>>> -s 6:0,virtio-console,0=3D/vms/freebsd14-test/vtcon.0 > >>>> > >>>> I could connect to /vms/freebsd14-test/vtcon.0 using socat: > >>>> socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 > >>>> > >>>> Inside the vm it's /dev/vtcon/0. > >>>> > >>>> -m > >> > > > > --000000000000ac3c99062e225da4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Exactly, I expect to get the shell after I connect with s= ocat, something similar to docker exec -it.=C2=A0



> On 14. Feb 2025, at 23:46, Petru Garstea <peter.garshtja= @ambient-md.com> wrote:
>
> =EF=BB=BFSpinning up the vm with /dev/nmdm* and connecting with cu -l = is not an issue on my end.
> I am trying to create a vm using freebsd cloud image and connect to gu= est OS terminal with virtio-console and socat(no X11).
> When spawning the vm the unix socket indeed is created, however when I= connect to it with socat nothing is being shown(not actions on any termina= l commands as well).
> Also, I noticed there is a kernel module(virtio_console.ko) and appare= ntly I believe it has to be loaded it, not sure here.
>
> Please advise,
>

You can connect to the device inside the vm like I wrote and pass data to t= he socat connected socket on the outside (this is what I tested, please see= my previous email).

Are you trying to get some sort of shell over this connection?

-m


>> On 2/14/25 17:23, Paul Vixie wrote:
>> if you want to use cu, you have to use -l to map guest com1 to som= e host nmdm
>> device. if you want to use virtio-console, it will create unix dom= ain sockets
>> not pseudo tty endpoints. from bhyve(8) we see:
>>
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = Virtio console device backends:
>>>=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 =E2=80=A2 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = port1=3D/path/to/port1.sock[,portN=3D/path/to/port2.sock ...]
>>>=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 A maximum of= 16 ports per device can be created.=C2=A0 Every
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = port
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = is named and corresponds to a Unix domain socket created by
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = bhyve.=C2=A0 bhyve accepts at most one connection per port at a
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = time.
>>>=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 Limitations:=
>>>=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 =E2=80=A2=C2= =A0 =C2=A0Due to lack of destructors in bhyve, sockets on the
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 filesystem must be cleaned up manually after bhyve
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 exits.
>>>=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 =E2=80=A2=C2= =A0 =C2=A0There is no way to use the =E2=80=9Cconsole port=E2=80=9D feature= , nor
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 the console port resize at present.
>>>=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 =E2=80=A2=C2= =A0 =C2=A0Emergency write is advertised, but no-op at present.
>> i know of no host-side client which will connect to these unix dom= ain sockets
>> and offer a cu-like user interface. "unidirectional" may= be the experience
>> you'll get from "socat".
>>
>> if what you're trying to accomplish is a graphical console, vi= rtio-console is
>> not the way to do it. rather, you'll want "fbuf" to = create a guest VGA/similar
>> that gateways to a host VNC.
>>
>> re:
>>
>>> On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrot= e:
>>> I tried with the following command, and got the same result. >>>
>>> */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \
>>> -s 0,hostbridge \
>>> -s 6,virtio-console,0=3D/tmp/vtcon.0 \
>>> -s 31,lpc \
>>> -l bootrom,/tmp/BHYVE_UEFI.fd \
>>> -s 1,virtio-blk,/tmp/fbsd.img \
>>> -s 2,virtio-net,tap0 \
>>> tmp*
>>>
>>>
>>> I also able to connect but the bidirectional connection is not= happening
>>>
>>> *socat - UNIX-CONNECT:/tmp/vtcon.0
>>> ls
>>> *
>>> PS: if I use null modem emulation instead virtio-console, then=
>>> connecting with cu is not an issue.
>>>
>>> any ideas ?
>>>
>>> Thanks
>>>
>>> On 2/14/25 14:57, Michael Gmelin wrote:
>>>> On Fri, 14 Feb 2025 14:21:07 -0500
>>>>
>>>> Petru Garstea<peter.garshtja@ambient-md.com<= /a>> wrote:
>>>>> Hi,
>>>>> I am trying to configure bhyve vm with support of virt= io-console, the
>>>>> following option is added to bhyve command line
>>>>>
>>>>> *-s 3,virtio-console,port1=3D/test/console.sock
>>>>>
>>>>> *However when trying to connect to socket with socat t= rere are no
>>>>> input/ouptut is observed.
>>>>>
>>>>> Has virtio-console ever worked ?
>>>> Yes it works, I just tried it using sysutils/vm-bhyve (jus= t add
>>>> virt_console0=3D"Yes" to the configuration file)= .
>>>>
>>>> Based on the logs, these device settings are used by it: >>>>=C2=A0 =C2=A0 =C2=A0 bhyve devices:
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 0,hostbridge \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 31,lpc \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 4:0,virtio-blk,/dev/zvol/zro= ot/vms/freebsd14-test/disk0 \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 5:0,virtio-net,tap0,mac=3D58= :9c:fc:aa:aa:aa \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 6:0,virtio-console,0=3D/vms/= freebsd14-test/vtcon.0
>>>>
>>>> I could connect to /vms/freebsd14-test/vtcon.0 using socat= :
>>>>=C2=A0 =C2=A0 =C2=A0 socat - UNIX-CONNECT:/vms/freebsd14-te= st/vtcon.0
>>>>
>>>> Inside the vm it's /dev/vtcon/0.
>>>>
>>>> -m
>>
>

--000000000000ac3c99062e225da4-- From nobody Sat Feb 15 00:36:21 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 4YvqjZ5zRnz5ntxf for ; Sat, 15 Feb 2025 00:36:34 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YvqjY4gxfz46wF for ; Sat, 15 Feb 2025 00:36:33 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ambient-md-com.20230601.gappssmtp.com header.s=20230601 header.b=uI8W+QVa; spf=none (mx1.freebsd.org: domain of peter.garshtja@ambient-md.com has no SPF policy when checking 2607:f8b0:4864:20::102d) smtp.mailfrom=peter.garshtja@ambient-md.com; dmarc=none Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-2fc0d44a876so3873439a91.3 for ; Fri, 14 Feb 2025 16:36:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambient-md-com.20230601.gappssmtp.com; s=20230601; t=1739579791; x=1740184591; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=f3u+I6v5nFc7tqRe002V0lshaj0FqAzWZ/4VVj4L8b0=; b=uI8W+QVa7xepNKnqDfsPq0Di47wkqmsPe1f/DcWeZoqask87JduTo0TteI/st8VREB 4L88kF7RGMFBfNKwYjiyOTOB6I7VTd7Mj4ke4Lo/TDxGBBMdAW9FSFxzYv2Swcw5a1a4 raSJdgryf1Oo+OwlJ63EK4j00rScM9TpMDcHDMO+I2vviXtgsOvzdB8mP+Hup7FzLKzt B6Cp4jDBaxZJVdKlfzH26Iqt997saEqL2zaaWLl7TyItAkrGAhyNu2lkAvetgrXvHsud 9tpuyGQfi8AoXMrKbNlNILU3dk5NfRQ2b5mbJF2d1o+tXFXfzwjirG+P1bvLJeqRRFUV OSlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739579791; x=1740184591; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=f3u+I6v5nFc7tqRe002V0lshaj0FqAzWZ/4VVj4L8b0=; b=ZAVmZ9OCYli/XwCMqyJZ/exuxEZ2v+FxfBU09XaBKNnatprbAY8bixnawm4HMoP16z JMaYVzItXcvdvoLDq6TuhHg13H/h8J4znAzMAuBLiV3Od8kP3Jvdi4hzoGZfxGuKKTUC JImMkSEt4YMCcqH37mto9EzVPYFUtwYUs4oPUVmY96Tk9qD/XwDbekgDB+E3+ocaTwfP bEYVdgHjQX1bm881hLrlR8CHDHmHVHdEkAZLQGeIdK0tKpqL+Z8JG1Rpi9OhjjM6RCqh WBpS1aNFAt1p5GQtPm0Hkm9OE7RZgV12eBK9QBRJlM7I3j1DdCRTNFdtGtfQLlm956ex drHg== X-Forwarded-Encrypted: i=1; AJvYcCXVC/4sHZIZMhcIIjpc5v1ARlObqhVgZsLKqKAVML5mTKjKNowm2Y5MgnRr9JN3Cl6fiwrAxWU0CHDHbtpfcQ==@freebsd.org X-Gm-Message-State: AOJu0Yxe7HpYOOOZcivnhC3EhQXWsjVo8+1IKL5E7gg0b4GqumJp6/LG XFK7ftofFSSPXDmLfRXPtQIvdyg4KbEXhnDpPsqtEt6EtYeeY/vDVCsNdDHJ91CcFUaq0J6+rLT yWoG6KdOWt5yxIz5XUoQVccwegJa/Lb5RkM2W6A== X-Gm-Gg: ASbGncvudjdHFygG5KJ49TfCUeKEa19RLJD+wxTCCjeGo2/ELy9Om3saEBV2tBDJBOK QvWAjazIbXBIIpO8SKE6Gmx7jpEAM7Uvko8wgH6aiFtBALbmdemZ9p5zNhe4pKRz8m4lfU1A= X-Google-Smtp-Source: AGHT+IGnlLSCf3F6rJjk7dLgtFniL2q241a9a2zg/qAiUJRHrQw6Lw2a3mxg24YPhkPSH7NP+L9IPP28CIKGmD9pJK8= X-Received: by 2002:a17:90b:3c0e:b0:2ee:c2df:5d30 with SMTP id 98e67ed59e1d1-2fc41049570mr1472927a91.26.1739579791500; Fri, 14 Feb 2025 16:36:31 -0800 (PST) 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: <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> <899331A6-1635-4546-ADE6-FE21B52138FF@freebsd.org> In-Reply-To: From: peter garshtja Date: Fri, 14 Feb 2025 19:36:21 -0500 X-Gm-Features: AWEUYZk2mRHyIuc1VTQkzhK_SEVrUA-lfuugUdiGFwd7q5RjI4y-cr66FATnV0c Message-ID: Subject: Re: bhyve vm and virtio-console To: Michael Gmelin Cc: Paul Vixie , virtualization@freebsd.org, freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000880367062e237b49" X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[ambient-md-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102d:from]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; RCPT_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[ambient-md.com]; R_SPF_NA(0.00)[no SPF record]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[ambient-md-com.20230601.gappssmtp.com:+] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4YvqjY4gxfz46wF --000000000000880367062e237b49 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Alright, I was missing the point, in my case if I want to get shell access via virtio-console then I should have attached getty to that console inside the guest os, and eventually I expected to see the same behavior as I have experienced with null modem emulator. Thx On Fri, Feb 14, 2025, 18:16 peter garshtja wrote: > Exactly, I expect to get the shell after I connect with socat, something > similar to docker exec -it. > > On Fri, Feb 14, 2025, 18:10 Michael Gmelin wrote: > >> >> >> > On 14. Feb 2025, at 23:46, Petru Garstea >> wrote: >> > >> > =EF=BB=BFSpinning up the vm with /dev/nmdm* and connecting with cu -l = is not an >> issue on my end. >> > I am trying to create a vm using freebsd cloud image and connect to >> guest OS terminal with virtio-console and socat(no X11). >> > When spawning the vm the unix socket indeed is created, however when I >> connect to it with socat nothing is being shown(not actions on any termi= nal >> commands as well). >> > Also, I noticed there is a kernel module(virtio_console.ko) and >> apparently I believe it has to be loaded it, not sure here. >> > >> > Please advise, >> > >> >> You can connect to the device inside the vm like I wrote and pass data t= o >> the socat connected socket on the outside (this is what I tested, please >> see my previous email). >> >> Are you trying to get some sort of shell over this connection? >> >> -m >> >> >> >> On 2/14/25 17:23, Paul Vixie wrote: >> >> if you want to use cu, you have to use -l to map guest com1 to some >> host nmdm >> >> device. if you want to use virtio-console, it will create unix domain >> sockets >> >> not pseudo tty endpoints. from bhyve(8) we see: >> >> >> >>> Virtio console device backends: >> >>> =E2=80=A2 >> >>> port1=3D/path/to/port1.sock[,portN=3D/path/to/port2= .sock >> ...] >> >>> A maximum of 16 ports per device >> can be created. Every >> >>> port >> >>> is named and corresponds to a Unix domain socket >> created by >> >>> bhyve. bhyve accepts at most one connection per >> port at a >> >>> time. >> >>> Limitations: >> >>> =E2=80=A2 Due to lack of destru= ctors in >> bhyve, sockets on the >> >>> filesystem must be cleaned up manually after >> bhyve >> >>> exits. >> >>> =E2=80=A2 There is no way to us= e the >> =E2=80=9Cconsole port=E2=80=9D feature, nor >> >>> the console port resize at present. >> >>> =E2=80=A2 Emergency write is ad= vertised, >> but no-op at present. >> >> i know of no host-side client which will connect to these unix domain >> sockets >> >> and offer a cu-like user interface. "unidirectional" may be the >> experience >> >> you'll get from "socat". >> >> >> >> if what you're trying to accomplish is a graphical console, >> virtio-console is >> >> not the way to do it. rather, you'll want "fbuf" to create a guest >> VGA/similar >> >> that gateways to a host VNC. >> >> >> >> re: >> >> >> >>> On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrote: >> >>> I tried with the following command, and got the same result. >> >>> >> >>> */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \ >> >>> -s 0,hostbridge \ >> >>> -s 6,virtio-console,0=3D/tmp/vtcon.0 \ >> >>> -s 31,lpc \ >> >>> -l bootrom,/tmp/BHYVE_UEFI.fd \ >> >>> -s 1,virtio-blk,/tmp/fbsd.img \ >> >>> -s 2,virtio-net,tap0 \ >> >>> tmp* >> >>> >> >>> >> >>> I also able to connect but the bidirectional connection is not >> happening >> >>> >> >>> *socat - UNIX-CONNECT:/tmp/vtcon.0 >> >>> ls >> >>> * >> >>> PS: if I use null modem emulation instead virtio-console, then >> >>> connecting with cu is not an issue. >> >>> >> >>> any ideas ? >> >>> >> >>> Thanks >> >>> >> >>> On 2/14/25 14:57, Michael Gmelin wrote: >> >>>> On Fri, 14 Feb 2025 14:21:07 -0500 >> >>>> >> >>>> Petru Garstea wrote: >> >>>>> Hi, >> >>>>> I am trying to configure bhyve vm with support of virtio-console, >> the >> >>>>> following option is added to bhyve command line >> >>>>> >> >>>>> *-s 3,virtio-console,port1=3D/test/console.sock >> >>>>> >> >>>>> *However when trying to connect to socket with socat trere are no >> >>>>> input/ouptut is observed. >> >>>>> >> >>>>> Has virtio-console ever worked ? >> >>>> Yes it works, I just tried it using sysutils/vm-bhyve (just add >> >>>> virt_console0=3D"Yes" to the configuration file). >> >>>> >> >>>> Based on the logs, these device settings are used by it: >> >>>> bhyve devices: >> >>>> -s 0,hostbridge \ >> >>>> -s 31,lpc \ >> >>>> -s 4:0,virtio-blk,/dev/zvol/zroot/vms/freebsd14-test/disk0 \ >> >>>> -s 5:0,virtio-net,tap0,mac=3D58:9c:fc:aa:aa:aa \ >> >>>> -s 6:0,virtio-console,0=3D/vms/freebsd14-test/vtcon.0 >> >>>> >> >>>> I could connect to /vms/freebsd14-test/vtcon.0 using socat: >> >>>> socat - UNIX-CONNECT:/vms/freebsd14-test/vtcon.0 >> >>>> >> >>>> Inside the vm it's /dev/vtcon/0. >> >>>> >> >>>> -m >> >> >> > >> >> --000000000000880367062e237b49 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Alright, I was missing the point, in my case if I want to= get shell access via virtio-console then I should have attached getty to t= hat console inside the guest os, and eventually I expected to see the same = behavior as I have experienced with null modem emulator.
<= br>
Thx

Exactly, I expect to get the shell after I = connect with socat, something similar to docker exec -it.=C2=A0

On Fri, Feb = 14, 2025, 18:10 Michael Gmelin <grembo@freebsd.org> wrote:


> On 14. Feb 2025, at 23:46, Petru Garstea <pet= er.garshtja@ambient-md.com> wrote:
>
> =EF=BB=BFSpinning up the vm with /dev/nmdm* and connecting with cu -l = is not an issue on my end.
> I am trying to create a vm using freebsd cloud image and connect to gu= est OS terminal with virtio-console and socat(no X11).
> When spawning the vm the unix socket indeed is created, however when I= connect to it with socat nothing is being shown(not actions on any termina= l commands as well).
> Also, I noticed there is a kernel module(virtio_console.ko) and appare= ntly I believe it has to be loaded it, not sure here.
>
> Please advise,
>

You can connect to the device inside the vm like I wrote and pass data to t= he socat connected socket on the outside (this is what I tested, please see= my previous email).

Are you trying to get some sort of shell over this connection?

-m


>> On 2/14/25 17:23, Paul Vixie wrote:
>> if you want to use cu, you have to use -l to map guest com1 to som= e host nmdm
>> device. if you want to use virtio-console, it will create unix dom= ain sockets
>> not pseudo tty endpoints. from bhyve(8) we see:
>>
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = Virtio console device backends:
>>>=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 =E2=80=A2 >>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = port1=3D/path/to/port1.sock[,portN=3D/path/to/port2.sock ...]
>>>=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 A maximum of= 16 ports per device can be created.=C2=A0 Every
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = port
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = is named and corresponds to a Unix domain socket created by
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = bhyve.=C2=A0 bhyve accepts at most one connection per port at a
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = time.
>>>=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 Limitations:=
>>>=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 =E2=80=A2=C2= =A0 =C2=A0Due to lack of destructors in bhyve, sockets on the
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 filesystem must be cleaned up manually after bhyve
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 exits.
>>>=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 =E2=80=A2=C2= =A0 =C2=A0There is no way to use the =E2=80=9Cconsole port=E2=80=9D feature= , nor
>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 the console port resize at present.
>>>=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 =E2=80=A2=C2= =A0 =C2=A0Emergency write is advertised, but no-op at present.
>> i know of no host-side client which will connect to these unix dom= ain sockets
>> and offer a cu-like user interface. "unidirectional" may= be the experience
>> you'll get from "socat".
>>
>> if what you're trying to accomplish is a graphical console, vi= rtio-console is
>> not the way to do it. rather, you'll want "fbuf" to = create a guest VGA/similar
>> that gateways to a host VNC.
>>
>> re:
>>
>>> On Friday, February 14, 2025 9:55:23 PM UTC Petru Garstea wrot= e:
>>> I tried with the following command, and got the same result. >>>
>>> */usr/sbin/bhyve -H -P -A -c 1 -m 1500M \
>>> -s 0,hostbridge \
>>> -s 6,virtio-console,0=3D/tmp/vtcon.0 \
>>> -s 31,lpc \
>>> -l bootrom,/tmp/BHYVE_UEFI.fd \
>>> -s 1,virtio-blk,/tmp/fbsd.img \
>>> -s 2,virtio-net,tap0 \
>>> tmp*
>>>
>>>
>>> I also able to connect but the bidirectional connection is not= happening
>>>
>>> *socat - UNIX-CONNECT:/tmp/vtcon.0
>>> ls
>>> *
>>> PS: if I use null modem emulation instead virtio-console, then=
>>> connecting with cu is not an issue.
>>>
>>> any ideas ?
>>>
>>> Thanks
>>>
>>> On 2/14/25 14:57, Michael Gmelin wrote:
>>>> On Fri, 14 Feb 2025 14:21:07 -0500
>>>>
>>>> Petru Garstea<peter.garshtja@ambi= ent-md.com> wrote:
>>>>> Hi,
>>>>> I am trying to configure bhyve vm with support of virt= io-console, the
>>>>> following option is added to bhyve command line
>>>>>
>>>>> *-s 3,virtio-console,port1=3D/test/console.sock
>>>>>
>>>>> *However when trying to connect to socket with socat t= rere are no
>>>>> input/ouptut is observed.
>>>>>
>>>>> Has virtio-console ever worked ?
>>>> Yes it works, I just tried it using sysutils/vm-bhyve (jus= t add
>>>> virt_console0=3D"Yes" to the configuration file)= .
>>>>
>>>> Based on the logs, these device settings are used by it: >>>>=C2=A0 =C2=A0 =C2=A0 bhyve devices:
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 0,hostbridge \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 31,lpc \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 4:0,virtio-blk,/dev/zvol/zro= ot/vms/freebsd14-test/disk0 \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 5:0,virtio-net,tap0,mac=3D58= :9c:fc:aa:aa:aa \
>>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -s 6:0,virtio-console,0=3D/vms/= freebsd14-test/vtcon.0
>>>>
>>>> I could connect to /vms/freebsd14-test/vtcon.0 using socat= :
>>>>=C2=A0 =C2=A0 =C2=A0 socat - UNIX-CONNECT:/vms/freebsd14-te= st/vtcon.0
>>>>
>>>> Inside the vm it's /dev/vtcon/0.
>>>>
>>>> -m
>>
>

--000000000000880367062e237b49-- From nobody Sat Feb 15 06:35:57 2025 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 4Yvzhf2zBTz5n4HD for ; Sat, 15 Feb 2025 06:36:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-23.consmr.mail.gq1.yahoo.com (sonic304-23.consmr.mail.gq1.yahoo.com [98.137.68.204]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yvzhf0Fw2z4QW6 for ; Sat, 15 Feb 2025 06:36:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=NTF9B+7a; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.204 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739601371; bh=nsyutsC5dBCpbOCrpjCUdMgdInVfqoUJm1Vb/d4TtlI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=NTF9B+7aoiufmtkgiZHfNN0GmJrxQD0nuJgIel/nBPSkLG0Nw1tMAaDmzydpr5dVy9+vPzMprCpwcFp6T+s/Mgl1sPHadVJfGCED/szKbLoiy8fOptIoM9xp2krBVc47lC1ieANJMJ+v8JvQRd48vcvZ287NWDIiuiDB8ADBC8RNLXWNoUIEAtGK9wiOFMbhk+EeJVhKMa+YQBZbjcBVar5yd1Kum9BscZEdOwfHrSE3jggKbzAiR2GZ+wOY153pyQAZJTD7u3WR1oF4J+diu52wultWIkv/LXiSvddL6Jj8vNYEgE1PvNMzp35X2WpJct7zGINV56kjTnG1QrLiow== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739601371; bh=+gxfmjBs2vfKXztQFsDnp8QZ/ltucpbz1biOZD6dnqj=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=S56R7QLcHc0sfu61bBRhHZsighzRlEgSu7lg4JrW/AO1QQQGyku/YNalEHn40ugiNXKiGKkTO/ewlsj6M6oEN8UliK36pAzWqY2vEa3fD4ECZRFove+yfZqdf1lFa4j5VmV1jsCSdEqQHXBPkQEGz50mCI4xJnsKZ7rURU+02xOTASj1DYw3Brzq5vUZiE7+cnwKiuZNv7qffMSqNL6w9uMhXVuZRqEUsdnV/qKSQ5uUcqjzUqmcrR8YUWws/RCRN56tnet/JrjhPlQ6q31eMKvfvpt5R9nCz1uXAmqmBqaICI2iKkMLdPzLvYAGl+m6GsQP6trd0Djw2VBV+WuTtw== X-YMail-OSG: 7mgWabkVM1nbIEnpq6G6qQeeZXELqs0gLFgaJFMY.XcFZcTscijXQ6jI72WFkex yrpmI8lOVi01E0IhnngqCo4XRil7mysRygjoi2DUePnPl_h0zb6DdQI3.J_iRx06TDUMzDOCshKX 02QD8HCZy14JmdmY_Y51knhCO3YCp1jPHtJDmLodS558w.f0bK63cnd8WZ79j7FmHBf5ltXxGZOG r5bh_3c6eFTsKI820Qr3T4Qcde.ANCp4B9iJxBM6MjyhQLj.BHfJgVecuyJfxv_3BHhTcxhqqLM3 aq87rWFd8vVzScgMYQrytzkuQE2igDt5osKOJ7.8deahdKNblFs_lAItedJX1IZDdk3JIfT2kMZ8 0Uh4JEpkG47iLs2S0PvBKiw5nNggDbtE9wiTsYUBHiDb_URCxgoAgPY_kqV_T1GT7s2bwIe5w2gN 69r_RJ8EUyeGXH34rRJqmKYMwyeg.SisQCeRVKZd4xn_RdnlgUl1tgz5zJKpEITcVJuapCuDG_jG 3VhvmJ8H1IGJGdHnpTaNxkTXjo6k2sfH4eWp79TopfLPEDampI7tSTBPUabUyZbhXKUU5KVFbJky Lp6AJZrUKvZirKA2j.S8s0a_nrneD6ZnAq0gLWrnmzHZdICeneOmY2MKosU1SGn.NCRl3ag8Bu7T d3GpF7gJm4lPw0mWXaIIXvISeJ.lAdVqDPMNy6.keG0nABBcnEzGQi_Y_rIOerAwoE9HPxHzKM36 BriELKOCnUtxDIUDsggOTV1fF5mWLnJ8MJR2WUd8Tj5KXpY5azwm0kFHVNX4jrcej9ZktTKH30pC .DPkpuZfvtBnaRcXz6g.8Dur3Qb0N9ZSvdj5zZ7SaS9l6fBve01o8.bwyChaN9SQSHa4h1gcb70i STs.bydMOkBCFrIV1VVT4VzJFRUPAfQkbkih7jWJyVCOoZnHaPRdxCrHgrO1lrKgdE2_wfkOjhCg 3YR8OqCMd7iT52RiU5dKRDwBkjmWv6UW8wkWZjR5CRlYwYrmqr_UqINRoegQWvDq.n9n9SNtlsiL C8yqF2ESysm52RkcbaXdp.K2au68lCmXUiUIWnR1wEMFaRp1GytcDXtn7ZqL3f6Zt7Rq_pFKJmZj ngNbQu0O6.uYB8E0JHgmGKG.4NDXwxqerIh9MWj5PCsy6MzThXtwuclWutdG8PtijX.UvpeCPTMu ldWF1WkJQx9.S3rJt8rMlQiWHWzVbyGkkxsOekkod6MC6Xj7cViE2B.v1ul_Sv6jVDnwkUmdrrft WzHHrVWxqU1xyD4cSUEJ2xYDbWTh00po0puo_82hgmviTBJRQpRMhG8iByyQwUvI5mwbAOBFmoZl JEQ1_hIhXmYDXzSjzGupLCq06TPM.y8hyBgX2gcuQzEp58XH0X1O_zJvMBfdSPNUdmLgKgrB5W8f K87worH7d92yAUsjiY4jTgze7FamifRu5V.zn3UNW9o9H4Guq8kg5pY2HvT1P1SB1Ycmfb0tkfkA 5yg.a0Q5HhTKQ.Z1hJ6A89IgScijTWtl4qBeQ2c4ofP6.KQHz_gfINcrKPC0MdhvnmWeyhtclwSh qcxORx_LZgGeSO71DzoKkq_6qyGbQKbhn5JsFfUOSi5K9j46CHv.1JLVYL0nQ7BqzRIFLoKjMvN_ uH1_juR4pTAuxbJzFdPXm4d0k147G3uecImesRkdgZbJqDWTnE3BYy8H8eACWTdzqwlTPOWL0vjt eQEv4K3AI_We.2Z3G8wl97.LMdMmP1fTLFXaxoiONwlEKME5PXImAqKrhGL7dHSX2JPA_Rkk_LuK a_c0fNDZkKN3IgbVYGMwVy0bwgtLeHNwVYJu7gZvjSsLHXlr5uf3gEGgq1CNNLUmJBMq7iOth0SH hshGwQ.gvvx084w3F0L4q4Vxw_YTbAKy8LO7JD7EJX_.ZUz_S4qX2pTS35tctC.UQ9F6Ltwnp41J 1PxPhV2C2ZIgUceZxnyVoEs6No8LaErF8llCnpS2RHTgqeCrIqzI8wrGj1W_Vq5S4JuKze1_o7SN Hyq5NET8koB6pmFgbzI74CXX8gw.GpKRqHvUMdo13qEd5of55dGRT3kcdmH2v08vl6DXm1e2phB4 NqsmuQ2gQjRDRmDViUPJ15xsRBKK6mTMmhcpKW.H9DnzrqpZ93RIVIiP8Za4OlOUZewnR9yGPpy0 7FkIwILWQz6rnlD2LJkYmlSYybY7VaCkYjI7DMLgr7f6J3rEa5xCg3htfUJPJqivrRHiHMlT48kl 1Lo3x5KAmgm.7Ev6IHgBQHbs0eA1vCxIzmchfUkgaCfm_AzfeA81X1dCwti4kAWTzXx0fYHUIxBY - X-Sonic-MF: X-Sonic-ID: 32f3f914-0380-4790-a710-9bd31ae89bc3 Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Sat, 15 Feb 2025 06:36:11 +0000 Received: by hermes--production-gq1-5dd4b47f46-bwg5p (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b7aee5b8677385ac202b335fe376a452; Sat, 15 Feb 2025 06:36:08 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: Re: An inp_next() panic under arm64 Parallels [ during vtnet_attach() ]: how to avoid it? [1 way: treat FreeBSD as a Linux] From: Mark Millard In-Reply-To: <2BC05CE0-CD41-4F6C-8177-75BA1C107935@yahoo.com> Date: Fri, 14 Feb 2025 22:35:57 -0800 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <2BC05CE0-CD41-4F6C-8177-75BA1C107935@yahoo.com> To: freebsd-virtualization@freebsd.org X-Mailer: Apple Mail (2.3826.400.131.1.6) X-Spamd-Result: default: False [-4.16 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_SENDERSCORE_REPUT_9(-1.00)[98.137.68.204:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.66)[-0.663]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.204:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.204:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Yvzhf0Fw2z4QW6 [Hmm. This did not seem to have been sent at the time.] On Feb 11, 2025, at 00:01, Mark Millard wrote: > I took my existing media that I use to boot and > operate a Windows Dev Kit 2023 and a RPi5 (same > media moved between machines) and tried to have > Parallels on macOS boot the USB 3.2 Gen 2 capable > media plugged into MacBook Pro M4. The result was > as shown later below. (Warning: transcription involved.) >=20 > The below example is for booting an official PkgBase > kernel.NODEBUG build: >=20 > vpanic() at ypanic+0x1al > panic() at panic+0x48 > data_abort() at data_abort+0x334 > handle_el1h_sync() at handle_el1h_sync+0x18 > -- exception, est 0x96000004 > inp_next() at inp_next+0x4c > in_pcbpurgeif0() at in_pcbpurgeif0+0x3c > in_ifdetach() at in_ifdetach+0xa0 > if_detach_internal() at if_detach_internal+0x384 > if_detach() at if_detach+0xac > vtnet_attach() at vtnet_attach+0x172c > device_attach() at device_attach+0x468 > vtpci_legacy_probe_and_attach_child() at = vtpci_legacy_probe_and_attach_child+0x90 > vtpci_legacy_attach() at vtpci_legacy_attach+0x230 > device_attach() at device_attach+0x468 > bus_attach_children() at bus_attach_children+0x40 > pci_attach() at pci_attach+0xf8 > acpi_pci_attach() at acpi_pci_attach+0x1c > device_attach() at device_attach+0x468 > bus_attach_children() at bus_attach_children+0x40 > pci_host_generic_acpi_attach() at pci_host_generic_acpi_attach+0x38 > device_attach() at device_attach+0x468 > bus_generic_new_pass() at bus_generic_new_pass+0x10c > bus_generic_new_pass() at bus_generic_new_pass+0xb0 > bus_generic_new_pass() at bus_generic_new_pass+0xb0 > root_bus_configure() at root_bus_configure+0x44 > mi_startup() at mi_startup+0x1f0 > virtdone() at virtdone+0x6c > KDB: enter: panic > I thread pid 0 tid 100000 1 > Stopped at kdb_enter+0x48: str xzr, [x19, #1920] Later below I indicate a way to avoid the above. But it might be that panicking in this way is not really a good handling of the type of context that I started with. > For reference: >=20 > # uname -apKU > FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT = main-n275286-dd78d987cb38 GENERIC-NODEBUG arm64 aarch64 1500031 1500031 >=20 >=20 > The below example is for booting my personal kernel build, > a NODBG build as well: >=20 . . . (making the message shorter) . . . >=20 > # uname -apKU > FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT #5 = main-n275290-9ef38a01aea8-dirty: Wed Feb 5 19:45:09 PST 2025 = root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src= /arm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500031 1500031 >=20 > (So: very similar. Both are non-debug builds.) >=20 >=20 > Is there a known way of avoiding this? >=20 Well, one way of avoiding this is to tell Parallels that the OS to be used is a Linux of category Other: The vtnet_attach then works and the FreeBSD boots from the external USB 3.1 Gen 2 media connection. But the console display stops updating after: 'VT: Replacing driver "efifb" with new "virtio_gpu".' is reported. (Serial only leaves teh text, video clears the window content.) . . . pci0: unknown> at device 9.0 (no driver attached) virtio_pcil: < VirtlO PCI (modern) GPU adapter> mem = 0x10000000-0x13ffffff,0x14008000-0 x14008fff,0x14000000-0x14003fff at device 10.0 on pci0 vtgpu=C2=AE: = on virtio_pcil VT: Replacing driver "efifb" with new "virtio_gpu". Still, I can ssh in and use the FreeBSD instance. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Feb 15 08:12:35 2025 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 4Yw1qs5Slnz5nByB; Sat, 15 Feb 2025 08:12:41 +0000 (UTC) (envelope-from zlei@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yw1qs3WWLz3w5D; Sat, 15 Feb 2025 08:12:41 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739607161; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1yW4yHmDW7spOHHf+fbJLV5vDShK4PTF2IqRvQ41oq0=; b=Vj28yBR8EFouCYzYkzHZ7flq3w9XOm89YQIw8iCxTY/M3gW9Q/IGyFDIsfEYnRqbc3kCZ4 lkq6BZEyWNy28vAl+6I0jGOJDRLOFcCI4oMS48X5I6NRnv8Ids4IabH40l/ptcIHKEwpZn LRtb2ZdaQgtdM3fzFDO3KKrtegsga/W3A0Ji7FaDxi9mdsnwD3IJ0RVbiv9JyxsEiyI6gF l9KSTzZJHlPNmqqHXieQ7Lr5gDmUTalQv4COhQe/f1DeR7pJ2K37r6f6FI+gSYPJu74/ih m2BgHwxOZy7WbifIg0YW9C+Wok/+cSUh2klTeGGlGyXs7dKIV3Z0uI2/7x3UvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739607161; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1yW4yHmDW7spOHHf+fbJLV5vDShK4PTF2IqRvQ41oq0=; b=RXGLEjM/fDJSVyTgPi96GkF4yRikNl6Y65Qsn0Lv5ymlzaDvjAdCLJCfKc/ovL1gmLGAY2 1WaE7y5635+EJqycBlCHZiWX4Ld/GSMHhiLwhiHErlVPXFN9Q9fPHAxNctr3vvsYKzzm2p q3TZcDqLAidfnCX5s/EOzdy9lHyyzePhQ+PuoR0afX3Y+UJjNlRe8eFYSBJdPMdW/R9hiC qOeY6HkNQ1zHH7Eq2+4gn/UiNGbPzxKkBzxxyjxSCScWU6AoQNqT9vQHy9OsuloycUZ012 44Ze8vJmm/AybQ8TnvAkMswPdaf3aaYXrwo2A5UzQ16kFhgxZ9u41fAzyj0DNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739607161; a=rsa-sha256; cv=none; b=MUpzn77QHES+OPB5fs7gjtDS9x4fYpWEzk5xHXKRih8bjSURbLrlJ4vqZqJTQy+KFi2hFt VVLN+3R68hY1/eY4hW64NC/7e1qQvgJIJaoXf2N1dF+F1Jd7GqWSkffU4wBM4sMcU2l3fl 8dxlqbYQ5zCaQaT0/SN+95bLCpWYenJJTqzlbRP2Cug5M0vR0lZ+rjilJQcnBocT1D1O1g NOA7td4xPhXR2P9veKLIgnAv1vRSbTwy3gEN9I9thn2HaRK9FmLaCH5Bp1IXG/dKWjMsKV fCwynNxU4DD1rGZ+HGPwdlRSjVwfA6WOb2VjLQ3ZD8JaPfv0DTzQBT5+7MHDRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from smtpclient.apple (ns1.oxydns.net [45.32.91.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yw1qr2Zqcz14dl; Sat, 15 Feb 2025 08:12:40 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: An inp_next() panic under arm64 Parallels [ during vtnet_attach() ]: how to avoid it? From: Zhenlei Huang In-Reply-To: <2BC05CE0-CD41-4F6C-8177-75BA1C107935@yahoo.com> Date: Sat, 15 Feb 2025 16:12:35 +0800 Cc: freebsd-virtualization@freebsd.org, freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <2BC05CE0-CD41-4F6C-8177-75BA1C107935.ref@yahoo.com> <2BC05CE0-CD41-4F6C-8177-75BA1C107935@yahoo.com> To: Mark Millard X-Mailer: Apple Mail (2.3696.120.41.1.10) > On Feb 11, 2025, at 4:01 PM, Mark Millard wrote: >=20 > I took my existing media that I use to boot and > operate a Windows Dev Kit 2023 and a RPi5 (same > media moved between machines) and tried to have > Parallels on macOS boot the USB 3.2 Gen 2 capable > media plugged into MacBook Pro M4. The result was > as shown later below. (Warning: transcription involved.) >=20 > The below example is for booting an official PkgBase > kernel.NODEBUG build: >=20 > vpanic() at ypanic+0x1al > panic() at panic+0x48 > data_abort() at data_abort+0x334 > handle_el1h_sync() at handle_el1h_sync+0x18 > -- exception, est 0x96000004 > inp_next() at inp_next+0x4c > in_pcbpurgeif0() at in_pcbpurgeif0+0x3c > in_ifdetach() at in_ifdetach+0xa0 > if_detach_internal() at if_detach_internal+0x384 > if_detach() at if_detach+0xac It appears that vtnet (Virtio Net) interface fails to attach and the = detach routine `ether_ifdetach()` is invoked. Can you try to boot with the DEBUG kernel, for 15.0-CURRENT it is = GENERIC without NODEBUG , and share the panic and debug message ? Best regards, Zhenlei > vtnet_attach() at vtnet_attach+0x172c > device_attach() at device_attach+0x468 > vtpci_legacy_probe_and_attach_child() at = vtpci_legacy_probe_and_attach_child+0x90 > vtpci_legacy_attach() at vtpci_legacy_attach+0x230 > device_attach() at device_attach+0x468 > bus_attach_children() at bus_attach_children+0x40 > pci_attach() at pci_attach+0xf8 > acpi_pci_attach() at acpi_pci_attach+0x1c > device_attach() at device_attach+0x468 > bus_attach_children() at bus_attach_children+0x40 > pci_host_generic_acpi_attach() at pci_host_generic_acpi_attach+0x38 > device_attach() at device_attach+0x468 > bus_generic_new_pass() at bus_generic_new_pass+0x10c > bus_generic_new_pass() at bus_generic_new_pass+0xb0 > bus_generic_new_pass() at bus_generic_new_pass+0xb0 > root_bus_configure() at root_bus_configure+0x44 > mi_startup() at mi_startup+0x1f0 > virtdone() at virtdone+0x6c > KDB: enter: panic > I thread pid 0 tid 100000 1 > Stopped at kdb_enter+0x48: str xzr, [x19, #1920] >=20 > For reference: >=20 > # uname -apKU > FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT = main-n275286-dd78d987cb38 GENERIC-NODEBUG arm64 aarch64 1500031 1500031 >=20 >=20 > The below example is for booting my personal kernel build, > a NODBG build as well: >=20 > vpanic() at vpanic+0x1a8 > panic() at panic+0x48 > data_abort() at data_abort+0x330 > handle_el1h_sync() at handle_el1h_sync+0x18 > -- exception, esr 0x96000004 > inp_next() at inp_next+0x4c > in_pcbpurgeif0() at in_pcbpurgeif0+0x40 > in_ifdetach() at in_ifdetach+0x64 > if_detach_internal() at if_detach_internal+0x1a8 > if_detach() at if_detach+0x70 > vtnet_attach() at vtnet_attach+0x1744 > device_attach() at device_attach+0x468 > vtpci_legacy_probe_and_attach_child() at = vtpci_legacy_probe_and_attach_child+0x90 > vtpci_legacy_attach() at vtpci_legacy_attach+0x230 > device_attach() at device_attach+0x468 > bus_attach_children() at bus_attach_children+0x40 > pci_attach() at pci_attach+0xf8 > acpi_pci_attach() at acpi_pci_attach+0x1c > device_attach() at device_attach+0x468 > bus_attach_children() at bus_attach_children+0x40 > pci_host_generic_acpi_attach() at pci_host_generic_acpi_attach+0x38 > device_attach() at device_attach+0x468 > bus_generic_new_pass() at bus_generic_new_pass+0x114 > bus_generic_new_pass() at bus_generic_new_pass+0xb8 > bus_generic_new_pass() at bus_generic_new_pass+0xb8 > root_bus_configure() at root_bus_configure+0x48 > mi_startup() at mi_startup+0x1f0 > virtdone() at virtdone+0x6c > KDB: enter: panic > [ thread pid 0 tid 100000 ] > Stopped at kdb_enter+0x4c: str xzr, [x19, #2048] >=20 > # uname -apKU > FreeBSD aarch64-main-pbase 15.0-CURRENT FreeBSD 15.0-CURRENT #5 = main-n275290-9ef38a01aea8-dirty: Wed Feb 5 19:45:09 PST 2025 = root@aarch64-main-pbase:/usr/obj/BUILDs/main-CA76-nodbg-clang/usr/main-src= /arm64.aarch64/sys/GENERIC-NODBG-CA76 arm64 aarch64 1500031 1500031 >=20 > (So: very similar. Both are non-debug builds.) >=20 >=20 > Is there a known way of avoiding this? >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com >=20 >=20 From nobody Sat Feb 15 10:54:03 2025 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 4Yw5Qm5BZSz5nP5L; Sat, 15 Feb 2025 10:54:40 +0000 (UTC) (envelope-from grembo@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 4Yw5Qm4RHqz3W8p; Sat, 15 Feb 2025 10:54:40 +0000 (UTC) (envelope-from grembo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739616880; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=59nC0KQ9jLA+w1tOeN3WrZKMrCfLGDnEPT6AW2vf94M=; b=w8GuTPK2dpDePUnMUkI1Xv8KYPM6j8ZDjJnoR7T1KDiZEun7k3TrEL/NDVY2pHPjy5Z697 HPrOmldMr89qENYd6MMCqJzkpt0MbfsAcbNyH3kfvjG3MjlbhIxLum0wDnC0ppo7/xoQ6t MRs/FQppQvSEQZ8KeKYYx1+XhBTAOcfG1rSY3onjj6Iao9BOAfYZ3PxWP0TjyvdifAxOuk v3BBfN/0qGt1jSMxplTWGQ5mfcL+P1b72uXQznJSMRKRsC4CKK8nKHfuGRt2dSmQIRFD4w OyFcULbVQrWbk4DWICP2r0eUGZHlppFP8RaCELs8Y00XSjQ1qr5JvtVXZMWXNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739616880; a=rsa-sha256; cv=none; b=rLWpcG01wXeU1w4Y8YM/P2S1d55Aw4sNzA3DsOT3VfRWjvLtBQpPARkM7p9rTiGlH45cDt OuCKbOCKo0/crh+S3/LWuFEjmpFP4sf+VuH4tvX+MmfRfIRaV8sDkVcyHO/WhyCPDi66ut 94Ifi28/yYForG9Oc8LItTHcyL/I9pBDvK1AokVZA9Oo/MkC0U/9KcVsBVzXdWsgskE8bg /Ed65jemCqoyi639Yn0MEbiibLOPGlaYOeG+++D70OMw9GN+O/TPqN6mJ+C+sDRbVtJOcp KHv/uzyl7X1mclMCWNaVCvSdEF6H/D8CJMB1VhxTXkTd93jqVSF2y3fenaSfuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739616880; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=59nC0KQ9jLA+w1tOeN3WrZKMrCfLGDnEPT6AW2vf94M=; b=w2c1FeR1Bh5EvfQD2aKg4v/MzfMN18ZXS1wCxEUfT1H54bQ32x+gqVFlFU9adRLl/oK2tz iVW8JNBjA5s6zmH+R1p19GYOl/kdi3n0J4/Ck1+sh7MViAgR5uDRPu/QzvJIkQUXkLQka4 KuF5kqyuAuhfXO1Ku7ae4ljTcsf9RGW8i+JuxS5yGZ75k8Y5GGk5HrAH+O7VtLfoBLZKJL mCHJFk1Sl5tNE6PG5X7UujV7l4XNGgsseL/Ivj30hw75qD3S7IzZ17d3QUBTycrXqN8HwC hyA36w29iu0oLeK+lMimYa5rhdD4rP5mNCh9ATWbeq1zJz3B0AF4H99zbdcGmg== Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: grembo/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yw5Ql6dDBz17Ly; Sat, 15 Feb 2025 10:54:39 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 5e52d053 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 15 Feb 2025 10:54:38 +0000 (UTC) Date: Sat, 15 Feb 2025 11:54:03 +0100 From: Michael Gmelin To: peter garshtja Cc: Michael Gmelin , Paul Vixie , virtualization@freebsd.org, freebsd-virtualization@freebsd.org Subject: Re: bhyve vm and virtio-console Message-ID: <20250215115403.53e02a7f.grembo@freebsd.org> In-Reply-To: References: <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> <899331A6-1635-4546-ADE6-FE21B52138FF@freebsd.org> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 14 Feb 2025 19:36:21 -0500 peter garshtja wrote: > Alright, I was missing the point, in my case if I want to get shell > access via virtio-console then I should have attached getty to that > console inside the guest os, and eventually I expected to see the > same behavior as I have experienced with null modem emulator. > Yes, e.g., adding this in the vm's /etc/ttys will give you access to a console without login/password prompt: ttyV0.0 "/usr/libexec/getty autologin" xterm on secure -m p.s. To make the life of those reading threads later, and if your email client allows, please avoid top posting on the mailing lists: https://docs.freebsd.org/en/articles/mailing-list-faq/#_what_are_the_special_etiquette_consideration_when_replying_to_an_existing_posting_on_the_mailing_lists Thank you! -- Michael Gmelin From nobody Sat Feb 15 10:54:03 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 4Yw5Qm5BZSz5nP5L; Sat, 15 Feb 2025 10:54:40 +0000 (UTC) (envelope-from grembo@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 4Yw5Qm4RHqz3W8p; Sat, 15 Feb 2025 10:54:40 +0000 (UTC) (envelope-from grembo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739616880; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=59nC0KQ9jLA+w1tOeN3WrZKMrCfLGDnEPT6AW2vf94M=; b=w8GuTPK2dpDePUnMUkI1Xv8KYPM6j8ZDjJnoR7T1KDiZEun7k3TrEL/NDVY2pHPjy5Z697 HPrOmldMr89qENYd6MMCqJzkpt0MbfsAcbNyH3kfvjG3MjlbhIxLum0wDnC0ppo7/xoQ6t MRs/FQppQvSEQZ8KeKYYx1+XhBTAOcfG1rSY3onjj6Iao9BOAfYZ3PxWP0TjyvdifAxOuk v3BBfN/0qGt1jSMxplTWGQ5mfcL+P1b72uXQznJSMRKRsC4CKK8nKHfuGRt2dSmQIRFD4w OyFcULbVQrWbk4DWICP2r0eUGZHlppFP8RaCELs8Y00XSjQ1qr5JvtVXZMWXNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739616880; a=rsa-sha256; cv=none; b=rLWpcG01wXeU1w4Y8YM/P2S1d55Aw4sNzA3DsOT3VfRWjvLtBQpPARkM7p9rTiGlH45cDt OuCKbOCKo0/crh+S3/LWuFEjmpFP4sf+VuH4tvX+MmfRfIRaV8sDkVcyHO/WhyCPDi66ut 94Ifi28/yYForG9Oc8LItTHcyL/I9pBDvK1AokVZA9Oo/MkC0U/9KcVsBVzXdWsgskE8bg /Ed65jemCqoyi639Yn0MEbiibLOPGlaYOeG+++D70OMw9GN+O/TPqN6mJ+C+sDRbVtJOcp KHv/uzyl7X1mclMCWNaVCvSdEF6H/D8CJMB1VhxTXkTd93jqVSF2y3fenaSfuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739616880; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=59nC0KQ9jLA+w1tOeN3WrZKMrCfLGDnEPT6AW2vf94M=; b=w2c1FeR1Bh5EvfQD2aKg4v/MzfMN18ZXS1wCxEUfT1H54bQ32x+gqVFlFU9adRLl/oK2tz iVW8JNBjA5s6zmH+R1p19GYOl/kdi3n0J4/Ck1+sh7MViAgR5uDRPu/QzvJIkQUXkLQka4 KuF5kqyuAuhfXO1Ku7ae4ljTcsf9RGW8i+JuxS5yGZ75k8Y5GGk5HrAH+O7VtLfoBLZKJL mCHJFk1Sl5tNE6PG5X7UujV7l4XNGgsseL/Ivj30hw75qD3S7IzZ17d3QUBTycrXqN8HwC hyA36w29iu0oLeK+lMimYa5rhdD4rP5mNCh9ATWbeq1zJz3B0AF4H99zbdcGmg== Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: grembo/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yw5Ql6dDBz17Ly; Sat, 15 Feb 2025 10:54:39 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 5e52d053 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 15 Feb 2025 10:54:38 +0000 (UTC) Date: Sat, 15 Feb 2025 11:54:03 +0100 From: Michael Gmelin To: peter garshtja Cc: Michael Gmelin , Paul Vixie , virtualization@freebsd.org, freebsd-virtualization@freebsd.org Subject: Re: bhyve vm and virtio-console Message-ID: <20250215115403.53e02a7f.grembo@freebsd.org> In-Reply-To: References: <9865e8dd-7af9-4cc6-97c7-2e3197c62e62@ambient-md.com> <899331A6-1635-4546-ADE6-FE21B52138FF@freebsd.org> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 14 Feb 2025 19:36:21 -0500 peter garshtja wrote: > Alright, I was missing the point, in my case if I want to get shell > access via virtio-console then I should have attached getty to that > console inside the guest os, and eventually I expected to see the > same behavior as I have experienced with null modem emulator. > Yes, e.g., adding this in the vm's /etc/ttys will give you access to a console without login/password prompt: ttyV0.0 "/usr/libexec/getty autologin" xterm on secure -m p.s. To make the life of those reading threads later, and if your email client allows, please avoid top posting on the mailing lists: https://docs.freebsd.org/en/articles/mailing-list-faq/#_what_are_the_special_etiquette_consideration_when_replying_to_an_existing_posting_on_the_mailing_lists Thank you! -- Michael Gmelin From nobody Sat Feb 15 15:34:27 2025 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 4YwCdk5bQ5z5njBr for ; Sat, 15 Feb 2025 15:34:34 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YwCdj6q4Bz455S for ; Sat, 15 Feb 2025 15:34:33 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=SFQGPwV4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of freebsdlouisville@gmail.com designates 2607:f8b0:4864:20::d2d as permitted sender) smtp.mailfrom=freebsdlouisville@gmail.com Received: by mail-io1-xd2d.google.com with SMTP id ca18e2360f4ac-85517db52a2so61073439f.3 for ; Sat, 15 Feb 2025 07:34:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739633671; x=1740238471; darn=freebsd.org; h=content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=EMNtjYZbsFVPQjv79veqIStlpeq4717Int3mhKCpXUE=; b=SFQGPwV4xaxDtdQWM87Myu+ER16o4f4PG6mWhPSA6gQ7iKedymjNgtZqQmdjAIedwh bNrKKydSsqPhV/uFC67eOnljY2O9UFHCy/Fp6YPOQRbQWUE2q+mGB/UeTQ95pBBU9oiu jOKLzlUGvSKMxjkFiphdLrlTUoIocMYx+wqFWI0Bx6WSoCNu7u1zNjgGgYtL97jbCIc4 HSAlkFtJmi7G1EPxw1nFjbzdfB7Mh/RCdaNvLjq39L3qRmKD+FX7rebZoMFxIXY18w7b x260s/46ZGytLkyGgADJUhV58Yo5sbi6Ibb6DGnRCeipGpqp1m8hTtC2zUQg5NO0rQzn Xdbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739633671; x=1740238471; h=content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EMNtjYZbsFVPQjv79veqIStlpeq4717Int3mhKCpXUE=; b=fBjfd2yE7ldXYiY9wz+ZS8nOofQaAp+Zfhf9B23Y/kojMDzPGmx8aHEmex6uQEoPuX yh3OYfw4RR13UjADJ1doE3QGbhjW5odWn85oW3lriMF6yyE3oN6oTXJCwjlBFhaI6jtj 0hpaHChglqBAvJ2+yI2FJOQ+azA3t+BSeqkGeN+DjlJOHtIeGKWFDkWGtyOonm/FKWjT y2k41tVEzZAyoJiPKlhBpI0BgIjVPmf8MeXyc1m4VJ8J2YSg22c8wLO16BCh5sjdOaTE +JBa+Kzm7pujr9EmpwFUknDnmk59GUFUUwG2HwWHelZnxt51r2sfAWWlfna+Kds1RAQL Qe/A== X-Gm-Message-State: AOJu0YzlmJftw6amhBo5H0JL4DJayctXCb3R6WbCz21te3fIwSlC5EPI Ty+mUyqaY5EPHGxaY7VJP8gELdGVBfRzOpFNib0Alv+UvEATq4OmBvDIGjqR X-Gm-Gg: ASbGncvwDQ/IvKQI2DeoDLoKVpwN0QXeIdz0om8Xt/gGqsfbIo5iynB+qrQ1BZP5Kcv 7cI/VIVmSXomlZk92BpXUcUOhiXl4nimlqYSU2VwiH4D+O3fuIjz5XinLZNkUtzDC6A7A7BkPly Kl/gkmugCU3FWVSjHcKyRrbjXpfN3aeM5Uj/8mdzySf72G7AI4uLk4l93b+vkcwRjoKJfg0838Y VD2QW1eOzevYwHarfoYmP7p3Ae9v6RU4xWLj89n8lCm1kbQlKAQ93PZgOVRGVlKrEz3uet8i0uD 8lYSndSemrpWec1JczaeaVbw1HqIq1TVAMBZ9G1yN3RCOYdUgN3uAcbQfQrlM7Rj+vWqQtRFHA= = X-Google-Smtp-Source: AGHT+IFE/uqT5G1+3a0dWWwyJPDecyxhjJDkUO65t2Nua/toMv8QnRvy0kAlkOPd7+nSWmfomoZYEw== X-Received: by 2002:a05:6602:6d0b:b0:855:4b26:edd with SMTP id ca18e2360f4ac-8557a0c789cmr302259239f.1.1739633671257; Sat, 15 Feb 2025 07:34:31 -0800 (PST) Received: from ?IPV6:2600:1015:a030:7620:5a80:a579:2c9e:9ca? ([2600:1015:a030:7620:5a80:a579:2c9e:9ca]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ed282d74a4sm1292944173.109.2025.02.15.07.34.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Feb 2025 07:34:29 -0800 (PST) From: FreeBSD Louisville X-Google-Original-From: FreeBSD Louisville Message-ID: <978106d8-1ad0-4227-a387-aa4bece0b156@Gmail.com> Date: Sat, 15 Feb 2025 10:34:27 -0500 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 Content-Language: en-US To: freebsd-virtualization@freebsd.org Subject: Can I allocate some CPUs to the bhyve host? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-1.00 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(1.00)[0.996]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2d:from] X-Rspamd-Queue-Id: 4YwCdj6q4Bz455S X-Spamd-Bar: - It appears to me that a user could over-provision CPUs to guests, causing massive slowdown of the system.  Can I specify CPUs to be "locked" to the host?  If I have 16 processors available, could I start guests that want 32 CPUs? From nobody Sat Feb 15 15:40:57 2025 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 4YwCnC6KHBz5njNf for ; Sat, 15 Feb 2025 15:41:03 +0000 (UTC) (envelope-from antranigv@freebsd.am) Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) (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 4YwCnB64G4z48dZ for ; Sat, 15 Feb 2025 15:41:02 +0000 (UTC) (envelope-from antranigv@freebsd.am) Authentication-Results: mx1.freebsd.org; none Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id F191A254018A; Sat, 15 Feb 2025 10:41:01 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Sat, 15 Feb 2025 10:41:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.am; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1739634061; x=1739720461; bh=4eUOu9Ph7z Xyvyf+D+s4iM0V7p3vD5L2oIEiUJTX9nI=; b=o+gCquxg98SBqmokGA0b9CWc6W +4xWwLy9v1gkDqIPMSuXTgjlF3VnSF0tsh5zvnSzbI2gTM19E+shORihs+X/7hkB reQei0jg7R+1WdjCrGg02S74Z7CcwjVjt8vih1eZYXaVTMMOAKHta0tKOFf8yB1X EiWKjdy5rWsgNAel+dYF+FRusRi5/qcTQuVVe0cF/r/7qmHHB2lNCySSUxBTS3K+ VEwfmPMWtnEsC0hwAEL1g4reG5GfByztJkSoUqbH2CRKzypy8MhKYhKBhRvB4nqk hd9soML9xVsG0/s81y+HZTUSy9ErqF67D3LVBm98/snWhGwi6XecsWw72VYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1739634061; x=1739720461; bh=4eUOu9Ph7zXyvyf+D+s4iM0V7p3vD5L2oIE iUJTX9nI=; b=xDiL1SFu76CTzkRXAnbsbPL83UyDRQDfj2WmlUACTFRkZVV4smH X5dn6WIiZnqY0YX0H7MNvQ2pIMJsxAaCAWwQQ8AEybJs5pas3OdLjfVzprTQP8Di Ia5rDlxzQGVGrALpBTAeC5a2gkAIdv22lWFbHzHOcxaRcZmH87D3+bJJjCMlHm+R kR5aQiNobpFhx+hzA8VIBhqWC6POsO+1efKvh/kIXj6KnztlOyS8bmnoZv/Sb2tx jBLG+UP4UWMo4iuTg3MEkXZk8rer1Y9RCSP9xT8i2L0dOv4ze+Sm5LpfjmXTbRSn g8VcEyFQX2twCDy/I0w3msP1qd7xfMMVwYg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdehvdelfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevkfhfvffosehgtdhmrehhtdej necuhfhrohhmpeetnhhtrhgrnhhighcugggrrhhtrghnihgrnhcuoegrnhhtrhgrnhhigh hvsehfrhgvvggsshgurdgrmheqnecuggftrfgrthhtvghrnhepfefghfehkeduieffhffg hfegffffteffvefgtdehueevgeeliefhvdehudduieetnecuffhomhgrihhnpegrnhhtrh grnhhighhvrdgrmhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpegrnhhtrhgrnhhighhvsehfrhgvvggsshgurdgrmhdpnhgspghrtghpthhtoh epvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghsughlohhuihhs vhhilhhlvgesghhmrghilhdrtghomhdprhgtphhtthhopehfrhgvvggsshguqdhvihhrth hurghlihiirghtihhonhesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: ibc494664:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 15 Feb 2025 10:41:00 -0500 (EST) Content-Type: multipart/signed; boundary="Apple-Mail=_0410613E-24B4-4590-8186-CED5918654A6"; protocol="application/pgp-signature"; micalg=pgp-sha256 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 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: Can I allocate some CPUs to the bhyve host? From: Antranig Vartanian In-Reply-To: <978106d8-1ad0-4227-a387-aa4bece0b156@Gmail.com> Date: Sat, 15 Feb 2025 19:40:57 +0400 Cc: freebsd-virtualization@freebsd.org Message-Id: <13C5B773-5437-4087-9A88-AFD6C4A0F021@freebsd.am> References: <978106d8-1ad0-4227-a387-aa4bece0b156@Gmail.com> To: FreeBSD Louisville X-Mailer: Apple Mail (2.3776.700.51.11.1) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Queue-Id: 4YwCnB64G4z48dZ X-Spamd-Bar: ---- --Apple-Mail=_0410613E-24B4-4590-8186-CED5918654A6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I think you can. bhyve has an option named -p which maps the vcpu to the host cpu. In our=20= cluster we have the following in vm-bhyve=E2=80=99s config file: bhyve_options=3D"-p 0:28 -p 100:156 -p 1:29 -p 101:157 -p 2:30 -p = 102:158 -p 3:31=20 -p 103:159 -p 4:32 -p 104:160 -p 5:33 -p 105:161 -p 6:34 -p 106:162 = [=E2=80=A6] 197:253=20 -p 98:126 -p 198:254 -p 99:127 -p 199:255=E2=80=9D Now, to be fair I am matching a single vCPU to a host CPU (and then = using the=20 cpuset subsystem to =E2=80=9CDetach=E2=80=9D that cpu from the host), = but I don=E2=80=99t see a reason why=20 you would not be able to match multiple vCPUs to a single host CPU. = (someone=20 correct me if I'm wrong). Hope this helps. =E2=80=94 Antranig Vartanian https://antranigv.am/ PGP Key ID: 0x2D59F21C > On 15 Feb 2025, at 7:34=E2=80=AFPM, FreeBSD Louisville = wrote: >=20 > It appears to me that a user could over-provision CPUs to guests, = causing massive slowdown of the system. Can I specify CPUs to be = "locked" to the host? If I have 16 processors available, could I start = guests that want 32 CPUs? >=20 >=20 --Apple-Mail=_0410613E-24B4-4590-8186-CED5918654A6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElMZjj3yN+bx0tQ6G3jmYZi1Z8hwFAmewtYkACgkQ3jmYZi1Z 8hwq0g//QYFTeLKUw/55dEerGi3fQn6U85v1stL8hrDsTd6jVGL2W/j5j9mjyK6A LlZLyEM+JRUdF6Fu3mjIYiww7fTKIbVQ1ZF6UgW/mp9pzLn+eEDpqso/nw1X/j62 IAWhF75mtFsql2+Vj2b7/DxofJXZHP2O1/CMdxdsF5vBuG8QPD6YNNAQdlHlBBxI Z7Yjrra0uMmBvxKaEhdtfiF6W1U0GvxUwvN0zhNYu2xloq9T4mJ0ugdkiqjQS7Kk 4SKDYLAHYAs3Yd7uM071w7iLSuOoyOqiK8E0z9GXiBzen2cCo6AEdsfUiNCaiEhD M+rpXTtGiKqtAEdzCZbd3QNgblcdVY8XfS7JVIJRlMFs+O+16d7oUM5d8NbjXaHM YEAkxl2R/ggmVog/Gs94+tOtL82434N9fmWyVQwvwmrhlqZA7qQg60MCabYNsv7R rziOolp67/uVtfxKHSddPr/oZmGsD20UKtpKvmsEeR+NpMbpvgvi/DSJD4EamM3B O+Tr1nlz5fRgX+iOxPOXH32a2gGHkixNzdWC9O+A1/voRZDnauJS3dpRmKWhcKDm zQhJ7hUkaX/XTNGYjz39t6DuygeFfZbBCwc9Q+R3FOvaL3cDXIha4J+5hnKTONMn ow9P+XrDP5XQ7pgFM2veUIx5/nrZXVzcAyUEY6XRyamx3kwUW10= =izf9 -----END PGP SIGNATURE----- --Apple-Mail=_0410613E-24B4-4590-8186-CED5918654A6-- From nobody Sat Feb 15 16:19:25 2025 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 4YwDdZ002cz5nlWG for ; Sat, 15 Feb 2025 16:19:29 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YwDdY1WFSz3Y8Q for ; Sat, 15 Feb 2025 16:19:29 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=RxtrmGkX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of freebsdlouisville@gmail.com designates 2607:f8b0:4864:20::834 as permitted sender) smtp.mailfrom=freebsdlouisville@gmail.com Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-46fa7678ef3so32838701cf.1 for ; Sat, 15 Feb 2025 08:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739636368; x=1740241168; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:user-agent:mime-version:date:message-id:from:from:to:cc :subject:date:message-id:reply-to; bh=0NGrZ0haWmcmhg69JW2CcdOfETfgMIkqqiqo+F9TC2E=; b=RxtrmGkXgSTSN0QyJZoThhtnGHeuBG8/FYocUEFAHJS6z/ouhOeEbu6g/5gpF2bvbR +bKj7DTOnkvgl0jX+v1Uon3codzyWQmCKgTQpk44EqWBLpOUjqZzaCpWzDolVZeHQgPD diYqoOu2y72SyYg4astvCt6oxBS+DoiWDeNl7ItDeZnbGxaLW7+cbdH/MRBGR2Q9Qyiu D06t7gUcGSJq+BdFexMlMbkB7hxqtbqBgdHLA8PCU0I5C5uevGH7lMkD1zpKoJb0OUwz JlUkiaz/mQHL2HZgPuvFQLKQLyIGI68OUlGb+sTpklaRW5G+U7NGiY2MxSeE4oMGJm4N S4Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739636368; x=1740241168; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0NGrZ0haWmcmhg69JW2CcdOfETfgMIkqqiqo+F9TC2E=; b=HqpjyVeAiysQ5il8rw7ildKDWJjkx0I+dBvg/KaODd9N2WPswApKdy2aakuZIVdbzW A7svPywfdAK25TO167BPR3Ci91JNUE6ZET7tTWVsolhIFWKG8LuS2oOmKd/7pIc96f/2 AyK90egAPQrN8g8HTf5ujVkNIaTWvC3hFXMmsiIcdVb0p95fycib8xczf+7ABS1FZa/1 AvjfTqffWS3cXU/FiKiUghPy6ZFqOmhAWVCUAfId74KrNlj1NwoX/322GohHWskYEtx3 rSxqNC/d5INqQh1oW2bLQeYsd/ydJBMZVcVMkzq63SKOHmiC3BFpBwb+L1ZTX524G3BE fT+A== X-Forwarded-Encrypted: i=1; AJvYcCU50Px1xOpm2JLish88MhDUwoXskojPiXw3wsaneCTu9LdjiydYjZbR9Zaki73MGQS7oNvAGleB7dIc/+DYTMo+IPcQihlG@freebsd.org X-Gm-Message-State: AOJu0Yxa10Y0TkecwPzWCVjQesgw9lhGH3I5nEVXvLpOBVLgesE5r3ts OmL2XSglIdCp3ctWA577H2NQ91BZVhWe1oX/L0frPcbaL/QSn7q5jI1RpW7X X-Gm-Gg: ASbGncvwEIgYf93Ie7Dtz4KYFT99MjrM/aCxghyy8/YqCfkl5v4hJVbOEYCHK8nkOWE zJ92novysdtaZOkKFwYRkZSWhFdOIWMUUfMniHVMhtx6+B7uJzUNVbKt21+Rg3gR3vJqP5hIN24 VXD+Lsgd2eucPoah/UNbt4kx37InDhR+SXroP4qOI0c6a7D9cXOvhTxX+EZqJlT4P+8ThzMrdZy 0IZW8doow4ov0wqrxKjejzFoILkT6qWpGE+ZA+tUu1gw3lqIz2U7UZyNQT0LpZUp1ljgaVTdFES WJO8RrPEndqUD8GAgH9uKCcXlLIdBKCOEjVJErfc4IGrT8RiWsR/A+KDst5LXiFtClEGFBWNBw= = X-Google-Smtp-Source: AGHT+IFI05OatYjlC8M8hNw0WVOrZ8jF1sYVqJWJxCT43APVyZmwtolKSvQ+dE7zrSWRYw80Bu6Ljg== X-Received: by 2002:a05:622a:87:b0:471:9f06:aebf with SMTP id d75a77b69052e-471dbd73820mr40301241cf.30.1739636368172; Sat, 15 Feb 2025 08:19:28 -0800 (PST) Received: from ?IPV6:2600:1015:a030:7620:5a80:a579:2c9e:9ca? ([2600:1015:a030:7620:5a80:a579:2c9e:9ca]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-471c2b047d4sm28718691cf.69.2025.02.15.08.19.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Feb 2025 08:19:27 -0800 (PST) From: FreeBSD Louisville X-Google-Original-From: FreeBSD Louisville Message-ID: Date: Sat, 15 Feb 2025 11:19:25 -0500 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: Can I allocate some CPUs to the bhyve host? To: Paul Procacci , freebsd-virtualization@freebsd.org References: <978106d8-1ad0-4227-a387-aa4bece0b156@Gmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-1.01 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.99)[0.994]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::834:from] X-Rspamd-Queue-Id: 4YwDdY1WFSz3Y8Q X-Spamd-Bar: - Thanks for the quick response and your time. I may have confused the issue. I want to dedicate a certain number of CPUs to the host, thereby assuring CPUs are not over-provisioned to guests. On 2/15/25 10:54, Paul Procacci wrote: > On Sat, Feb 15, 2025 at 10:34 AM FreeBSD Louisville > wrote: >> It appears to me that a user could over-provision CPUs to guests, >> causing massive slowdown of the system. Can I specify CPUs to be >> "locked" to the host? If I have 16 processors available, could I start >> guests that want 32 CPUs? >> >> > The maximum number of vcpus is limited to the number of cpus. > You can "lock" cpus to a guest by way of cpuset -- which I don't > suggest doing unless you know what you are doing. > > ~Paul > From nobody Sat Feb 15 16:20:32 2025 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 4YwDfr17gvz5nlyw for ; Sat, 15 Feb 2025 16:20:36 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YwDfq6LNLz3Yxv for ; Sat, 15 Feb 2025 16:20:35 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-471d762a4b2so10997871cf.0 for ; Sat, 15 Feb 2025 08:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739636435; x=1740241235; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:user-agent:mime-version:date:message-id:from:from:to:cc :subject:date:message-id:reply-to; bh=vsWxkzvkAyhuDIwfVobVXWG1LvGUL8kbf0fKwWaMIQc=; b=lt7Nh5rMhcYHAych1mNJwDjyx3PtOODonj1/Fcp2QhN2Gf/Yrbn6Z/R3S4D2RmZoxZ N9wRNNtN4V8Wu02yvF8BTTgsxi3ifVTuVtgCnmYUquvbAk3KtwNS/RjB0GbzIZO2hkRJ JKGfns3AFsDqSTR9i4Q+ha1FHUVRVDGu3miL60m2PDD3nIKl/pkSDsTQ5QbJZL9tjxsY 6HlYY+LtxDbxYhRFriU1j6krSqRJfyDUiD/DDqMZmMa6jW1EpRF0H0NgPLrU0V2k00/v Q8A66OhA4DNwbaR/IhRTqzTjattYLU5Qk/EoHNVwRLgUk7EiFv098WmEYOpZqCmcysu+ gdkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739636435; x=1740241235; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vsWxkzvkAyhuDIwfVobVXWG1LvGUL8kbf0fKwWaMIQc=; b=k6McJVCPwh0kpqjV/AaOKZajywp8IjUFjTklekR1TP8xrlLoSrLl1cZcGacPEnBPRj l5BmJhtmTbSw+YRg3KdnR9+ZRP/xjGewyTpQyhNm/x67YfB925oQmxbJYbseVu9oeWeX vqv/fyuJ1m70nXjZzaBZqnvSX9PlF6OL//9ru97cfF9CX1m/Xo5PLfWLTiKd8trpr3wx o2p7hEK649tb1RWXK3joSK8SR8mA7JFbDwJXQIwbAcz21rCvbdRGaWZDJODLeKQt60uc rLKx+8pufuLTOaUAUOjqJ5BKA4StyBUvsdixOfLn3C5FJq2liYSyhcv66QCuPS5jUs/s 8WlQ== X-Forwarded-Encrypted: i=1; AJvYcCU4j+M5OrasNtiyY4JyEI2XdtJApaddmXxao9lBLXnhw0I+iXawfhbnHOt8xHiDm5Mhud62aKDjJuEsgv0F1lRqdLQeIH15@freebsd.org X-Gm-Message-State: AOJu0Yx9teUtEXMJ3bHsMMBJlbtjgVFVxuuUJNCqkzitAF2PcptBpJwM AguA5mcelAtwC52GlIV5PgnS9PrH1PKGB9YaxCCCxq0o8pEYdCIY X-Gm-Gg: ASbGncsrGMjJE0RliA+iLzMqP4qJYH08snfEsKk7UWaSMVnPaiDOf+EZXUJ+yS//7/J 2PBgxbwzOb+m/OfLBSB/3tJGYRKMjUnZ52D3CkytLY8AEExLpI+gF09kr9H1O72ziz1T00ua6Vu JHmgSVbw3plUurBliwtGt9pr6j5HrN+fa3a+7cx0bsk8fN+D8EPVmnUS99IiE2sf96+quVFhD8q 8k1wwBDbf8SNuy3AE+LSwwF1fSVLlOpFEmFnFBSpa3TAKde6xahFTiB0uEm8u79CnkwDG3RBQyX XO2QKaun5vjMNOh9XS3AAueOBJ+t5janKTYBGN2qZSbg7p5LrR1LOnKEPajvI2Tna0PIbcMAKw= = X-Google-Smtp-Source: AGHT+IHgmr/RYyexXLlHddjO3t6ipr/F3civBZmlswev43Oiqds3NuFThBG/C8XA9zlJY+ZXmGnljQ== X-Received: by 2002:ac8:5d0f:0:b0:471:bdb8:c4d with SMTP id d75a77b69052e-471dbd572eamr47778101cf.28.1739636435015; Sat, 15 Feb 2025 08:20:35 -0800 (PST) Received: from ?IPV6:2600:1015:a030:7620:5a80:a579:2c9e:9ca? ([2600:1015:a030:7620:5a80:a579:2c9e:9ca]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-471c2a30bb4sm29155841cf.43.2025.02.15.08.20.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Feb 2025 08:20:33 -0800 (PST) From: FreeBSD Louisville X-Google-Original-From: FreeBSD Louisville Message-ID: <44660ee3-938a-42ab-8c19-2d1c8d655780@Gmail.com> Date: Sat, 15 Feb 2025 11:20:32 -0500 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: Can I allocate some CPUs to the bhyve host? To: Antranig Vartanian , freebsd-virtualization@freebsd.org References: <978106d8-1ad0-4227-a387-aa4bece0b156@Gmail.com> <13C5B773-5437-4087-9A88-AFD6C4A0F021@freebsd.am> Content-Language: en-US In-Reply-To: <13C5B773-5437-4087-9A88-AFD6C4A0F021@freebsd.am> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4YwDfq6LNLz3Yxv X-Spamd-Bar: ---- Thanks for the quick response and your time. I may have confused the issue. I want to dedicate a certain number of CPUs to the host, thereby assuring CPUs are not over-provisioned to guests. On 2/15/25 10:40, Antranig Vartanian wrote: > I think you can. > > bhyve has an option named -p which maps the vcpu to the host cpu. In our > cluster we have the following in vm-bhyve’s config file: > > bhyve_options="-p 0:28 -p 100:156 -p 1:29 -p 101:157 -p 2:30 -p 102:158 -p 3:31 > -p 103:159 -p 4:32 -p 104:160 -p 5:33 -p 105:161 -p 6:34 -p 106:162 […] 197:253 > -p 98:126 -p 198:254 -p 99:127 -p 199:255” > > Now, to be fair I am matching a single vCPU to a host CPU (and then using the > cpuset subsystem to “Detach” that cpu from the host), but I don’t see a reason why > you would not be able to match multiple vCPUs to a single host CPU. (someone > correct me if I'm wrong). > > Hope this helps. > > — > Antranig Vartanian > https://antranigv.am/ > PGP Key ID: 0x2D59F21C > >> On 15 Feb 2025, at 7:34 PM, FreeBSD Louisville wrote: >> >> It appears to me that a user could over-provision CPUs to guests, causing massive slowdown of the system. Can I specify CPUs to be "locked" to the host? If I have 16 processors available, could I start guests that want 32 CPUs? >> >> From nobody Sat Feb 15 16:35:18 2025 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 4YwDzt0yKyz5nms9 for ; Sat, 15 Feb 2025 16:35:22 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YwDzs2JCqz3kL4 for ; Sat, 15 Feb 2025 16:35:21 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Gm9wVsIa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of freebsdlouisville@gmail.com designates 2607:f8b0:4864:20::f2c as permitted sender) smtp.mailfrom=freebsdlouisville@gmail.com Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-6dcd4f1aaccso55950396d6.2 for ; Sat, 15 Feb 2025 08:35:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739637320; x=1740242120; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from:from:to :cc:subject:date:message-id:reply-to; bh=imCSJfD/1tQjBcnQCOeo/cFtqYFdQVdk4LpAphZr5ao=; b=Gm9wVsIah6Y9AieeUA/WKyIeTV/0fGHsqMnKL84T9Ua+wsezZ370VR8SvIOOiIQzbT dOdLKtMiFa1VWdHwBz1OJzIdWkvN0HlKdakb7/mZVDThQnkGosD7xgoAi4H1OqSOvZkG qbWKTpD6xGDaTNpL+OmpAlXoqQNc09un7rLAqdO+n0KeEEs1XgAfWDarIzGnUUZWBg0T 5ie9EIsuJCJn6zmKbDZ5ZcsnuVfFe7b92VMn8MDqBfWgdsF4H9GjgKOBy+nTQ5xi9J19 rWcv8mf4d+a9pC2kv5sYMj4ARR1XVE5wFUHufa/enceW6JuKCvFU+zauXymRRXcU3JgD L3Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739637320; x=1740242120; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=imCSJfD/1tQjBcnQCOeo/cFtqYFdQVdk4LpAphZr5ao=; b=SEJiqadzUx2YNfjm3aCAd+EfdYOsElo4v4N2ywAlYdNkk1eLdE0HtexWx8eKwZkRVO LCC9dsYO2XI5FKkJ8HYSzQKpwVTHmaMtkjugtmoCoZ8bmvZtR1qUnuzGGj49GhL4PFKr AOfPHhjLDJqFndoIlYf6JpNbnTrqF70jvuVDTVV/WviA2ScQRJURXc8xLJ2H33nSWJn8 QliDxg3Rxz+ADTVtdDy8vH5xf2FMnE+a9xLmTz4M3PYpKJXZg4xIfNHmJnVA2x77rH2q B8FNmlf0OzRGH7YmRGxduMiNrX2q+AGp33xeM7Gm9Lq1Xqznkkez9azuAfNPxhxAU3sj nPjw== X-Gm-Message-State: AOJu0YynxXHvgAv62SS3LLeyiFen7DvFJB/tpaMQyflrz/qhYsimnsMe OVC9kF7e8eY5w+17ndocktD8+YkOjIo2ZNAWVXEjhMSPRjJlDUtm X-Gm-Gg: ASbGncteFL9gt8P9dnAT2Xbd9wswys5KtdfZ0537hUlwMFHtSRbwxzSJmCoQ/0Xx8jv FBIRWdEpWnbqsPI2EM9bip0FM6XFFNIIGZ59tm+e2ylflHXv+7JQ5ZLIRHZNKXse0HAJbwrpkeI TK+UZvlADpxJpQseOrOHi2kncWQMiQMlxMOXNBaqFp1AzI6p2Uit3ssJC/Y3rT7CzM11owioImY Tjr0c3JZHbvox/YA5TXVEAe3Wc+kFnygPrm9Tz/h69e2HrA31KRId/spqOSWmGRH8pdYgSOng1A /H44Tda6oH1/QzzSy8LFEDrVvn8wIaz2PXHWGLz3Q8zm9emHfY7RvWuQW9yLIxnOLZSFq+EOzg= = X-Google-Smtp-Source: AGHT+IGuTzxmrzNukiKre9FC23cHT6aj+annm0buKkfzAIUMzNac3u9L+P7OqKbM4zq5kSOaBDILGA== X-Received: by 2002:a05:6214:2465:b0:6e6:5865:fdfb with SMTP id 6a1803df08f44-6e66ce2a77bmr45997836d6.44.1739637320143; Sat, 15 Feb 2025 08:35:20 -0800 (PST) Received: from ?IPV6:2600:1015:a030:7620:5a80:a579:2c9e:9ca? ([2600:1015:a030:7620:5a80:a579:2c9e:9ca]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e65d9f36f5sm33117596d6.75.2025.02.15.08.35.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Feb 2025 08:35:19 -0800 (PST) From: FreeBSD Louisville X-Google-Original-From: FreeBSD Louisville Message-ID: <9271b131-c496-42c9-a990-754a5b01de2c@Gmail.com> Date: Sat, 15 Feb 2025 11:35:18 -0500 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: usb devices passthrough in bhyve To: Mario Marietto Cc: freebsd-virtualization@freebsd.org References: <7dabef84-a572-4ded-a676-c73011b37e3c@gmail.com> <5cd601ba-560d-4252-9f17-7c450cf5d66d@gmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.10 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.90)[0.895]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2c:from] X-Rspamd-Queue-Id: 4YwDzs2JCqz3kL4 X-Spamd-Bar: -- Thanks Mario, adding the line: -s 1,ahci-hd,/dev/da0 \ allowed me to mount the USB thumb drive in the guest. On 12/28/24 04:41, Mario Marietto wrote: > -s 1,ahci-hd,/dev/da5 \ From nobody Sat Feb 15 16:41:09 2025 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 4YwF7K41TKz5nn6t for ; Sat, 15 Feb 2025 16:41:49 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YwF7J08PXz3nk2 for ; Sat, 15 Feb 2025 16:41:48 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-2fa48404207so6233710a91.1 for ; Sat, 15 Feb 2025 08:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739637706; x=1740242506; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TOQ0UuHRpBN97jvBfVPKkl0BzJemMftovqB//xYKHiY=; b=SPiwAES4Cdwb97TEZS2U7G8iXNPuTX9Gd6bXMpClMpxfZLa1I6eDk5j12NDtOZJ9g6 co/iyYJWX1eeQTy7LqdVZ5UtWBP1kNZvL6YBxtuX9V8/mKQY2s4y6Xmde9axGN1HpA8W 05c/yIOp20pXwiaiO1tpw45754ruwgq4i4mMTGJWzPEh1UCa+5bhlXANwepknt8Gmbz+ W1tug97OwXvebLPMJrRzhcImH732wXT19phn6zATvVmpIF5mDCndWUbLKXqY5o1HzFk8 FzbAWA20ss2brQ+p/sGf7yN5JGxwQDFydKKKYEx1X3uc3CZ6BaD9Uq0k5iii2k/94HCR JPWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739637706; x=1740242506; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TOQ0UuHRpBN97jvBfVPKkl0BzJemMftovqB//xYKHiY=; b=stSJTU7rwF5GU7nGTDnjYv2KjY5xcwGK6utfwzCElff6almDgz6/jLB5M2sn3W7nTY wyS7mf7cS6UugD1KaXkvIIidLOteSuQqrIKWKM25yQxJ2uEanwMLkQMNNUs58Y5D6zwH mB8LRWtnFI9I6J0gfUGrLB0ydDB7q7lO+dSnQBEJN4cdrexzJZP/oRgiyGsfT7NcaI+p 41U+xRqP1QOYWzpCRVnsNnXTyPjzF6qG1hGA7sqmkKi3IuZ2sHD0VOHKeVshDX8FoXO3 OKPSZi8HoH7qe/X6Zpdz5A+WTu6Var1IX+e/2rdwy6aatPajd0kFgBkcNNHpmjMut5D8 0ZTw== X-Gm-Message-State: AOJu0Yz7ydGyLoW1VrZwQPtIcEVltddzWkbgiVEDsPfvsz1gW7JR1wl3 W9USYDllQmPVRuXxbQLZ54AmK1hggXjOOjaCOu947G7wiZgwLbA8dMtpvyfGyt/ZCT/8Uo77Zbh f25RbeRi+VG5Qr+gT4oWgFjm9Coo= X-Gm-Gg: ASbGncutdPKLUONPc3jLSZ0YCZLYASYj+dySZ9DiB4556dWrodYw4xz7JGNkcB8D56P kzFksY+UIJhsEvOOIXhLCJbx3Aosi31R4aKgj6gPL/io8nwFCPTsVBNnSrW3r0nPKCqwLsV8= X-Google-Smtp-Source: AGHT+IHIuYgM6PpGe+Xxs1JHmCZ0SKDeuOCoksUrCgmAupA80sByCBWC9P45luI3jzWbCQVGlG5xkwUC8Dv1lmQ2TH0= X-Received: by 2002:a17:90b:2fc3:b0:2ea:b564:4b31 with SMTP id 98e67ed59e1d1-2fc40f21c49mr5046900a91.19.1739637706052; Sat, 15 Feb 2025 08:41:46 -0800 (PST) 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: <7dabef84-a572-4ded-a676-c73011b37e3c@gmail.com> <5cd601ba-560d-4252-9f17-7c450cf5d66d@gmail.com> <9271b131-c496-42c9-a990-754a5b01de2c@Gmail.com> In-Reply-To: <9271b131-c496-42c9-a990-754a5b01de2c@Gmail.com> From: Mario Marietto Date: Sat, 15 Feb 2025 17:41:09 +0100 X-Gm-Features: AWEUYZmCadLOiNRagBVmMM4buyjXbd8L6ZxSI9hJl1UNC-eIbSsrqmMdZUVgN-Q Message-ID: Subject: Re: usb devices passthrough in bhyve To: FreeBSD Louisville Cc: freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="00000000000081db6a062e30f7d5" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4YwF7J08PXz3nk2 X-Spamd-Bar: ---- --00000000000081db6a062e30f7d5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You can also use "virtio-blk" instead of "ahci-hd"...; but the guest OS should have the virtio driver installed... On Sat, Feb 15, 2025 at 5:35=E2=80=AFPM FreeBSD Louisville < freebsdlouisville@gmail.com> wrote: > Thanks Mario, adding the line: > > -s 1,ahci-hd,/dev/da0 \ > > allowed me to mount the USB thumb drive in the guest. > > On 12/28/24 04:41, Mario Marietto wrote: > > -s 1,ahci-hd,/dev/da5 \ > --=20 Mario. --00000000000081db6a062e30f7d5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You can also use "virtio-blk" instead of &q= uot;ahci-hd"...; but the guest OS should have the virtio driver instal= led...

On Sat, Feb 15, 2025 at 5:35=E2=80=AFPM FreeBSD Louisville <= freebsdlou= isville@gmail.com> wrote:
Thanks Mario, adding the line:

-s 1,ahci-hd,/dev/da0 \

allowed me to mount the USB thumb drive in the guest.

On 12/28/24 04:41, Mario Marietto wrote:
> -s 1,ahci-hd,/dev/da5 \


--
Ma= rio.
--00000000000081db6a062e30f7d5--