From nobody Wed Mar 18 16:37:00 2026 X-Original-To: bugs@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 4fbZH02CR1z6W2Ng for ; Wed, 18 Mar 2026 16:37:00 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fbZH01h7Kz41Hj for ; Wed, 18 Mar 2026 16:37:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773851820; 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; bh=mxgF+QjDnpuCfjS8a+xukXF8OxnJTdq+NRTtq89LBSw=; b=HaEnCEljNclCPaMrVi884mU+7naOdjI48demlIb0znaWrD39pdIfgGZLjjcOnMLjPwM1ly fibQWhWK6o70pZUE79YJQa57hkMEm8+EncK8UpRyIV0DAnOSgrynhYAnj0PdDpOuejBrlT D2T2kRhDvyqKPM5eMeKAK1FMCoVRK+D5c3d6ieJdGr4erZ4R0DTXN1lkcf/zJc/zA7LPxh AcRHtZmlRuCZiW44Rr+mfM/KQvKnw5rCIcyeR5Vjbbejt67+sr3H2UEYRuJP+UX/YjvrPm bQli3ssCmGejLkjtLRg0rLVKCi8ax6TfTLh3qWc0s9AursqWUQ7U6VLJa9Nn9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773851820; a=rsa-sha256; cv=none; b=bZ4npBDcPGtAPsICkd2bh3vPjtqJ37RYQJEyoMosffEf3pE4yO01KTbTxG/UIx5QAW1pe2 wkAM6P4P/U0mOnGlmXVmVmhTAFDSRa85A16LGULlbleWvv9F+6pY3UnC3o6NmHTLB8yQ37 fSRJfdXBHYyv6cAPeFkgHhEQLomMRxwGsqe+N58tI2rA5g+WbxqVcpdKBdnm0XX1554ndX ugmxedoe4zMtYqiPaKXNMAmvF2alC1oP6dcuUPzMDANB0Kn9n8Tn5ZMYY9k8yR5MggYNsW Mw9P66oCdahIiCohBdeIkT+JPDJmz46TIevykMFNifDjZd4qPocuzbFgUKdm/w== 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=1773851820; 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; bh=mxgF+QjDnpuCfjS8a+xukXF8OxnJTdq+NRTtq89LBSw=; b=D91bQQaEXAENHYNzlgQLs1wcthlzJmE8tCs+QEQocx+Sfl2lIceLvylwczSuGvSbNxZA7j Hk99/fqUv/7fcMiPwn5u3lwPrz7DZmZ8CgMge0dyAD63TZdYR6MmGovGQ8ERoa1sx8lBHu sm3Zynqy94qZSFE/T5rAZg9iDVtWQtM5z30jk+a2O6iuDpEf3wifAdvnNS8E10k01k9gbW W+T1eYxZG+ku3GjABLJstNg9SMbteYQW/ZYx1jv8iAUqcb0OIJcKEn3KSe7kxOJhd7Zxsz MibXVz5sq+oi/q0vbGLpO5OEJaerNwYEEHOLyFXB4UMIGUAFdwk2EbMRtllxZg== 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 4fbZH00qZbz28R for ; Wed, 18 Mar 2026 16:37:00 +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 62IGaxiC029362 for ; Wed, 18 Mar 2026 16:36:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62IGaxRB029361 for bugs@FreeBSD.org; Wed, 18 Mar 2026 16:36:59 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: bugs@FreeBSD.org Subject: [Bug 293907] guest kernel fails to init when vcpus > available cpus set by cpuset Date: Wed, 18 Mar 2026 16:37:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nvass@gmx.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293907 Bug ID: 293907 Summary: guest kernel fails to init when vcpus > available cpus set by cpuset Product: Base System Version: 16.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: nvass@gmx.com I have a system with 12 cpu cores and a virtual machine with 12 cpu cores. I wanted to temporarily limit the VM to six cpu cores so I created a cpuset w= ith 6 cpu cores. The guest kernel failed to init. It reached "Launching APs: 2 = 8 6 11 10 9 3 4 7 5 1" and stayed there spinning. Steps to reproduce: # cpuset -g -p $$ pid 74790 mask: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 pid 74790 domain policy: first-touch mask: 0 # grep cpu /aurora-storage/vms-danae/devel/devel.conf cpu=3D12 # cpuset -C -l 0-5 -p $$ # cpuset -g -p $$ pid 74790 mask: 0, 1, 2, 3, 4, 5 pid 74790 domain policy: first-touch mask: 0 # vm start devel console output: ---<>--- Copyright (c) 1992-2026 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 16.0-CURRENT main-n284539-1d13d938fe6c GENERIC amd64 FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. CPU: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz (2666.77-MHz K8-class = CPU) Origin=3D"GenuineIntel" Id=3D0x206c2 Family=3D0x6 Model=3D0x2c Steppi= ng=3D2 =20 Features=3D0x9f83fbff =20 Features2=3D0x829e6217 AMD Features=3D0x2c100800 AMD Features2=3D0x1 TSC: P-state invariant Hypervisor: Origin =3D "bhyve bhyve " real memory =3D 5372903424 (5124 MB) avail memory =3D 4109144064 (3918 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs FreeBSD/SMP: 12 package(s) x 1 core(s) random: unblocking device. ioapic0 irqs 0-31 Launching APs: 2 8 6 11 10 9 3 4 7 5 1 Not sure whether this is a host or guest kernel problem... --=20 You are receiving this mail because: You are the assignee for the bug.=