From nobody Tue Sep 06 06:45:26 2022 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 4MMG9M12fHz4cJFY for ; Tue, 6 Sep 2022 06:45:27 +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 4MMG9L645xz3WQK for ; Tue, 6 Sep 2022 06:45:26 +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 4MMG9L55NLz154n for ; Tue, 6 Sep 2022 06:45:26 +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 2866jQUo015062 for ; Tue, 6 Sep 2022 06:45:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2866jQN7015061 for bugs@FreeBSD.org; Tue, 6 Sep 2022 06:45:26 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 266248] efi comconsole does not work with ARM64 Hyper-V Date: Tue, 06 Sep 2022 06:45:26 +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: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: schakrabarti@microsoft.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-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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662446726; 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=Gm6U4p9P7Sc5wEvq/OxCmMDXVHmvX10uQ+d4RDyEKFM=; b=Z7fVOqzqeIfcnclovGONzgsaG+ANNZzU7KN1+yfnGIWUy3Ij+Xqf3BEoyPOR1RkS9KrhLY 3gLIp6HKRGCmwSphkJZ8UQWd+9m/G3GOqAIScVyQmqa/BbOy+k66332EaGJ2WFNgqCnTeQ FC0bioAV66Vu65J7MfONaF55SQCyErzq1izi10UjsBpAo02mR1HywWJlxifnqnJ6KSc9cS NV2fHRsvhWvS87GxskeVLc/0fz2FNGpY6XqpxN8NVfZlhgsPysOTVlQggkT3FDm0pqLnZc wqsjiDghoexE0eqraPa1GeDj/rZzN4qZDQH+1fGNz4TBTilmyfavCAf7Tgf58w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662446726; a=rsa-sha256; cv=none; b=lPGaI07vnlQ2AZI1FZW88sdCLIusdxqOGjV0vDsOzon276xVZ5naNEQAMJH1rr5VrWcjL5 al9RfXrVLWknFiUWSdsq0n+EVirKzokqPyvd1ZzquzZen0D8+YpvRk6CfTs+yPJ+JXfoEB kBHk+8a6ug8LFgbqJOYemRLLWtUh5kGvwha/x6X2GtMIbfug3XWP6tfRhYQ0LtFJrgqXmB N0vh+QUkZOvI97Oh5xzoy8v3MyJok0mn3zdYQvQ0BIDVgBOKxKsuxRkMFCMH8W3/nzViD6 rC5EMX8qgs5CyO3Yzyesnb0ia7lH0Ho0eIrqpW6tFOQpdOH1W36fFfZZZPXICQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266248 Bug ID: 266248 Summary: efi comconsole does not work with ARM64 Hyper-V Product: Base System Version: 13.1-STABLE Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: schakrabarti@microsoft.com The current implementation of efi comconsole does not work with ARM64 versi= on of Microsoft Hyper-V. During boot up process, if the virtual serial console= has been enabled, then the boot gets stuck in comc_probe().=20 In a Hyper-V VM on ARM64, "COM1" refers to a virtual PL011 UART that Hyper-V provides to the guest. Set-VMFirmware -VMName -console COM1 adds a ACPI table for SPCR. The steps to reproduce this problem: It is very easy to reproduce: 1) In Windows Hyper-V set a FreeBSD 13.0 VM 2) Use Powershell in Admin privileged mode and run following: Set-VMComPort -VMName -number 1 -path \\.\pipe\Testpipe 2) In another Powershell with Admin privilege run following: 3) start the VM and open putty to connect the \\.\pipe\Testpipe in serial m= ode. No output will be seen on putty. This problem is not there in FreeBSD 12.3 as there efi comconsole was not t= here in available consoles list. ConOut value efivar --device-path 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut : AcpiEx(VMBus,,)/VenHw(9b17e5a2-0891-42dd-b653-80b5c22809ba,02780ada77e3ac4a= 8e770558eb1073f8c7e020566280ce4daeb7520c7ef76171) --=20 You are receiving this mail because: You are the assignee for the bug.=