From nobody Thu Mar 19 11:21:10 2026 X-Original-To: freebsd-current@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 4fc3DM5XWQz6WC30 for ; Thu, 19 Mar 2026 11:21:23 +0000 (UTC) (envelope-from SRS0=Tg61=BT=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4fc3DM3JMTz3q0X for ; Thu, 19 Mar 2026 11:21:23 +0000 (UTC) (envelope-from SRS0=Tg61=BT=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 3710ED789F; Thu, 19 Mar 2026 12:21:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1773919274; bh=3CZcxmNCymW4DIMHsVnqkv4irA3nwvLEQJaE+vHT7QY=; h=Date:Subject:To:References:From:In-Reply-To; b=MlP8LdhDCToZIRyJbTDqWku3IL/5UfNegTNYdtDgtco7vclDut8Fwt2+SBESbcLE0 CjdiM2xdZyc8JNNoWhdQXoXBBftl+t6ZdAjLvNOBIXzPREgnMzI246FeR63ZNC455v u9GfxyJdryUG44M99i6tvQYoXE3jLKYWWGk5FnK4= Received: from [192.168.145.49] (ip-78-102-30-65.bb.vodafone.cz [78.102.30.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id E1CE3D788C; Thu, 19 Mar 2026 12:21:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1773919273; bh=3CZcxmNCymW4DIMHsVnqkv4irA3nwvLEQJaE+vHT7QY=; h=Date:Subject:To:References:From:In-Reply-To; b=Zjq+0hDUM9Rzc22tu7XeOz0l5zpAVB+QLIYaN04qHpQ0/jz4KQKIGri85YLLPH8VP TfIfn6fydefaKPq3zOtWfHlWWoKkOGMQeSV3JSMuxGzUJSW5NI3i/heZvFZ1F+k1w+ zfOGZMzW6o9wPd/HqVuAwNnOCJHHgZ/mVelCT7UQ= Message-ID: <05fbcbb9-be80-4ea4-818c-1e343e1f9305@quip.cz> Date: Thu, 19 Mar 2026 12:21:10 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: guest kernel fails to start when cpuset is used To: Nikos Vassiliadis , freebsd-current@FreeBSD.org References: <882fe6bb-3870-4ce7-bd5a-7f50a9ae5774@gmx.com> Content-Language: cs-Cestina From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <882fe6bb-3870-4ce7-bd5a-7f50a9ae5774@gmx.com> 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:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4fc3DM3JMTz3q0X X-Spamd-Bar: ---- On 19/03/2026 11:39, Nikos Vassiliadis wrote: > Hi, > > I was trying to limit a 12-core VM with cpuset. So I limited it to 0-5 > cores and the kernel seems to fail to start. [..] > 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 > > And it stays there spinning. > > Any ideas? I don't think this is a good idea. Why not use -c a -p options for bhyve? -c -p vcpu:hostcpu Pin guest's virtual CPU vcpu to hostcpu Kind regards Miroslav Lachman