From nobody Wed Jun 22 03:28:20 2022 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 184CA8734F6 for ; Wed, 22 Jun 2022 03:28:21 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LSTP04QZNz4qfb for ; Wed, 22 Jun 2022 03:28:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 77F091E6C1 for ; Wed, 22 Jun 2022 03:28: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 25M3SKuo039397 for ; Wed, 22 Jun 2022 03:28:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25M3SKQa039396 for virtualization@FreeBSD.org; Wed, 22 Jun 2022 03:28: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 264267] UEFI Booting on Azure Generation 2 VMs crashes Date: Wed, 22 Jun 2022 03:28: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: CURRENT X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: weh@microsoft.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655868500; 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=M7PaBm/5sPP7fEzYB0gFlOKVnvBg2V1mjUnEw+5kVgA=; b=UHdw5829NCH1+zaMdIGuYHZCl5WmraMae0pyo3LbKS6RWo1g16kh9FJvqITqAhPFK2o/2J b8ffhnH9Ah7DltCVEszmcJje17WoSUJT3ujf0qCOmU9GjA32AXoB+u7RcFRJ1TSQq4R57D vTfsMY05SgLVzMYzf//Fnpx1uP7eZq5D3bULotRzzrbA+pnaLRjJRnjKziiNp0ap37DY5L yfvhyWR7PCcF8qr/hIHOWMb9sbDj8xYmFFq4Ke1hdaknphJ3sND0dmm9JASAKdbhhCXwwA Mu/54ovupZ685TmwDuPgQzS3iAeX4htH5m63sulMz+upGy+THhiPeydmTCK/Yw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655868500; a=rsa-sha256; cv=none; b=lzbcxushxSa/XRWznDTK0XuolO4RoH0kIfK5lz5OD3iTWfZ4e41U4zPtjQKcBjS5yqNvOq uYLm7foanAH+raVmEv3I4oTlvLpgicpWz0mQaiWfLsU0qk2Dex+dsTKbP3vdfFH0wL298L +0CiA4QrrSSkSNt4H/2gW4upQqGSgh61W4KeS+mWfrtS+mhCmybTJDtZFDzfu0aKLMhWVm slK4WyQZLvvDNzTHfaInfxlsIPTTuTPp7tEb6hOzLKJ9pJiZHzE+rqqIJanhumsUiTO0jo teBqinOZ2U5wNetTRBvKhHaTMdTHHyuejVjLukbSzxPqPrLzrWGv1KlD72B0ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264267 --- Comment #29 from Wei Hu --- We have narrowed down the problem area to serial console output in FreeBSD = and Azure COM emulator. Seems these two don't work very well at the early boot time. Maybe some synchronizing event was missing which causes the hang. The interesting part is, if the boot passes certain stage, the serial console w= orks 100% fine.=20 So, the temporary workaround is to suppress all printf's from the beginning= of boot up until: SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, cpu_startup, NULL); We are working on checking the state of COM emulator in Azure to understand= the cause. --=20 You are receiving this mail because: You are the assignee for the bug.=