Article View: muc.lists.freebsd.bugs
Article #581[Bug 300921] x86/xen: PVH guest started by firmware (OVMF) hangs in i8254_delay() when starting APs with more than one vCPU
From: bugzilla-noreply
Date: Fri, 20 Nov 2026 02:38
Date: Fri, 20 Nov 2026 02:38
35 lines
3510 bytes
3510 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300921 --- Comment #5 from Scott Blomenkamp <sablomenkamp@gmail.com> --- Thanks Roger. I tested attachment 277474 in place of my patch, on FreeBSD 15.1-RELEASE GENERIC plus local fixes for PR 300888-300891 (sys/x86/xen/hvm.c otherwise unchanged). It fixes the issue for me. Plain Xen 4.20.5 (Debian dom0): - PVH started by OvmfXen (edk2-stable202608, OvmfPkg/OvmfXen.dsc, unpatched), loader.efi from the guest disk, 2 and 4 vCPUs: boots to login, all APs started. With 2+ vCPUs this hung in i8254_delay before. - PVH, kernel loaded directly by the toolstack, 2 vCPUs: unchanged, boots. - HVM (BIOS), 2 and 4 vCPUs: boots normally, attimer0 and atrtc0 still attach, all APs started. Qubes OS 4.3.1 (Xen 4.19.5): - PVH via the same OvmfXen build, 2 and 4 vCPUs: boots, all APs started, the Xen devices (evtchn, gntdev, privcmd, xenstore) work. - HVM with a device-model stubdomain, 2 vCPUs: boots, attimer0 and atrtc0 attach, AP started. Short runs only; I didn't measure early DELAY() accuracy beyond a normal boot. My attached patch (277470) can be dropped. As with the original reports, this testing was done with the help of an AI assistant. -- You are receiving this mail because: You are the assignee for the bug. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-300921-227-r7euImQ3yO@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<bug-300921-227@https.bugs.freebsd.org/bugzilla/>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.bugs Subject: [Bug 300921] x86/xen: PVH guest started by firmware (OVMF) hangs in i8254_delay() when starting APs with more than one vCPU Date: Fri, 20 Nov 2026 02:38:42 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300921-227-r7euImQ3yO@https.bugs.freebsd.org/bugzilla/> References: <bug-300921-227@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="95897"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795142322; 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=aqSdLsopo+Eu9jq+38ISmSFlxlHUPn/YY3wIFFLx2tM=; b=IO4neuymq1mhTudI5p3LIoRUmXgsVKQKTfKhfFXSsy6gq6QmSNre/9roCUZ2kS9SP+4uqG NzDH8Q3YZhPRGzKH72phawYvqdVXDCTG0Xsiln9hrW5LRqWEVne52XBpFNAfkycxZvzZ/6 LfA5enCIB2yI7dwiCDmHyOToh20DvBCe3wH1shFnk2S585cnob1sIlX81+7YLNaJWZH+s5 bOSblpzBsoVuZOdbpaGQapzB93c3+cHrUrNDXIgFz9tY+lY6l0nagcp+m0YfFzSAUpfy9y H1pWtjUbqGj25mYfYAAjGZ6hFmryJwTFBezHWTUkK1OUHi/DXFEd60w5piOP5g== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f In-Reply-To: <bug-300921-227@https.bugs.freebsd.org/bugzilla/> Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes