From nobody Tue May 24 15:53:46 2022 X-Original-To: arm@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 CAB0D1AEB97C for ; Tue, 24 May 2022 15:53:57 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2109.outbound.protection.outlook.com [40.107.255.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L6zJh4p5vz4vZ3 for ; Tue, 24 May 2022 15:53:56 +0000 (UTC) (envelope-from schakrabarti@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kmar11yyicfxbhcsuU28PsnFZcrK1yt43IXjHtF3dTHatPUhZirXkVKBji3UIOBdkjT1YSz8PBzq6qFag5ao3vQRv/VA0Aae9bIPGUXHF5qvjSVqfe0oE+p1gNV5FoTy1mhkZ/v3KUZpq+z5Otw+S5kIRm0nIgJXZr44hqctWobSCGQDjdoZKKjJSdRDupQsIUKxmQX9zZfbrzVVTVCYpIsZVRGmJ6XZfXKkwvHzBdai6LCTUW5G5zX7hZQbbZdcDE9m6G9eIyedc1xo4sP4sBlTaEX2t7P0OrtwILltuulOT3YKAMMU50NkRGbroHLB4ZkvNteIFuSS/iu4J0kNfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CJBEZBtNgaxFpnhsc2nB7JNM1uQ2U2UCit6DdN1/HIs=; b=Z1tNK+xo5HhLMSm6J6uqCn8id5/COkUs6zpJoVcYwyFwNqrtKHE99rrxpB/MMcSxorfnrb3c9mAKqlfG5LrVURNAoRKRW86y8DUZUAQIvhuLPSopVI0sWnBMNoBi2Qpe2Hm44AkH+oDcCx9lx6TkysYCD9UBGH88SofiSDlJREVPP9VvftbhrFEPMKSCTdKIK4oM7t2FrxEIAqVGQra8Gsph218F8p2DlmDQfkuStm1eyvXbNmWyGoaGS5yjteNoQLlG3jOiHrvRcSNwnyxQTfmNHa8cKVXOk0c+kdBElFsJTk92rSmvHkXmqHfnkBucAs3b76P2wjMAoGqtn5F9hw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CJBEZBtNgaxFpnhsc2nB7JNM1uQ2U2UCit6DdN1/HIs=; b=T7NGrFGtIewTrGGv9rzkSFbt80iFzqXi4D04jDW+y4f3LUEcpZrV/LgqBXD19ehU5SoK8DlDqBws1CVlRGKNd7tGcXHwY4X123vb+93IEW+LH+eXZK1xHa7A4+tYXRW7HHt80sGqcpWe7lV0QDBPrqC7e+Z2ZwRRMZ4XHYQb1kU= Received: from PSAP153MB0536.APCP153.PROD.OUTLOOK.COM (2603:1096:301:75::14) by TYZP153MB0430.APCP153.PROD.OUTLOOK.COM (2603:1096:400:2f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.0; Tue, 24 May 2022 15:53:47 +0000 Received: from PSAP153MB0536.APCP153.PROD.OUTLOOK.COM ([fe80::6146:9fc6:62ef:9cfd]) by PSAP153MB0536.APCP153.PROD.OUTLOOK.COM ([fe80::6146:9fc6:62ef:9cfd%6]) with mapi id 15.20.5314.005; Tue, 24 May 2022 15:53:46 +0000 From: Souradeep Chakrabarti To: Warner Losh CC: "arm@freebsd.org" , Wei Hu Subject: RE: [EXTERNAL] Re: unable to get virtual serial console for EFI Thread-Topic: [EXTERNAL] Re: unable to get virtual serial console for EFI Thread-Index: AdhuioZ1RmwGFkAIQSSs+orr/q96BgA8156AAAHd6VA= Date: Tue, 24 May 2022 15:53:46 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=6164c3c0-7bee-454d-b0cf-81d1bbd1bad9;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2022-05-24T15:45:58Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ddd8011b-01d0-47b5-4e94-08da3d9d9652 x-ms-traffictypediagnostic: TYZP153MB0430:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ToMoEWNrPIaMkEZz2jLdBtP5MoRH5dc8r7SG7bOcE6ZEkHgcqFmCoYzkkQEZpr+SfCZXE/pv6T0eJBN4aSSltosMQtk91Nz1q1fBb1Ed5PvMHtmcirAvzmAq7Glbqf6eKx6iDYGnAd16YrO1uvIfIlUvf9fLvkmXGsEYxdEUqMpmjfg0oFigLYJRDFxEAOtJU2fciy7AWDGhoQk4JuR6xHSXwNpGa60MilZC4DLfF1kr58ekQMKIUGy+olv5kdjXtHJTnEEC45m5gPXfQvKBpbE45QrFnS78DRAXidS63vNTz+Hght3Aj14KhzhHSsfJjHhLBnjnbqPzSIvqjYU30gPLo8PEnLi7IleQEqHKk7N2Z1psPWDzOtlnUsuhSeLDJDNGXZzyg40LU+cgQxkQ0Ab9IHDt2BuCoC9HpZ9hmIs0adBMurNP0zHOiKgjFxE9dUY9cEK0IeJfLVs+jf/8MqAbnAjbMKCxzcAG/JN9hBCgQGPM5thFtIqC2qIIn6CvZgZSNoiBfjRE9N8lWvgUSUlrYp3kqlEYpe8TdyB3+YcIJgAe7AdtKyQ9r6NyO2gEtkU9yLsmyJODTYBZGO+Zxx0pJzqyZzMBMuKUUuijyOmHT9xG5o8ZEkeeZyxG1NIM2IlqfJU4LNHF8T0M+Wzr8YNU1nknprg7m5rUgmUBNlSXPX2Iy1pTfsPsifW6f9nCBoiGqymnTc1MhKHR0R1rlfefCryd9UkcoXBQJtMTftE23u3x/7YCd1HYBKAaeWwBjdUvbgEta8Kp8vfBlHNPe4et+9Ih00qlVzBxPWWvdUw= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PSAP153MB0536.APCP153.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(451199009)(66446008)(10290500003)(66946007)(33656002)(9326002)(52536014)(8936002)(107886003)(66476007)(76116006)(66556008)(4326008)(8676002)(64756008)(7696005)(26005)(53546011)(6506007)(55016003)(86362001)(9686003)(186003)(508600001)(5660300002)(83380400001)(38070700005)(122000001)(82950400001)(82960400001)(8990500004)(316002)(2906002)(71200400001)(54906003)(6916009)(38100700002)(166002)(460985005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?LNAMQz2UUGLeJ2OjuYo2rSvUXPaiL8vmOdwq413ph4eJOvitROW4Kt4OMHS5?= =?us-asc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whaqJhu5743CL7bL4?= =?us-ascii?Q?OP5+44I9pfUR5xFdpvZWNm2ncvfe6ySzWDdUKFf912Nrorx3IrsO9thh56ZV?= =?us-ascii?Q?D/BPcUDP41PgW22X4C74CSP0ICVes105Fh8+ozaTiCz/a7xisZs20YWVrbaQ?= =?us-ascii?Q?QK1J5TOuiP25kD0Vgf5BQJTPNwu2WZO41o/CTVKgcbd1s1JKUjk7JIMLJBol?= =?us-ascii?Q?V70eMfmf1EeJcJ94eL0gfukoRxjsK7FhxDK3ycyHgklnQmU9Mm1ObopgEvwS?= =?us-ascii?Q?YKM1ooaFEyIazjarkcfY07/bCxA4h6d4Sj4PmmJzojj3Sxnz/C1TPEYfxe5d?= =?us-ascii?Q?cXvSZnSIBeHieOuOI4i+pMafb/MaqGBzB+m82zEEhTb+4hdDw/lUDst04TgQ?= =?us-ascii?Q?jQxjHG6GZAQP3PHNT9A/DOQGVVR0JScfu0VNN0IQAotgQLxZhMX1iJ1s/HiI?= =?us-ascii?Q?YiDHOc19A6L3FjEDLgjc2kiewVNp0gshou93OqUknbHXorsJfCtxhkUmYkLR?= =?us-ascii?Q?KefsQ7yeD9qAGgvPe8ybIExYaXwasZWwLKhE4MR960s1LZmdTCGcKGnKN1Tg?= =?us-ascii?Q?OKpA8u8V4WzCaXt3Wo1UKvs94zOaiczACO1uNPzwkmmMkbQ0+OoF1nO6rlPU?= =?us-ascii?Q?7GUW+NU3bnXXxd64FRxcz8XLYtKPLALb6HpKizKc88tN5oNJEKEGaSlz23sW?= =?us-ascii?Q?nqCEBwvOS8PTCx6iw9KoY7fY+TcbNjNccsEk6Y0yuGYXnTXvaJkch2lGIFsE?= =?us-ascii?Q?mgDWk3PgcMSdqfZI2DzIW+OHmLA=3D?= Content-Type: multipart/alternative; boundary="_000_PSAP153MB05361BD405D44B0AE7CF39DACCD79PSAP153MB0536APCP_" List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PSAP153MB0536.APCP153.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: ddd8011b-01d0-47b5-4e94-08da3d9d9652 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 15:53:46.7002 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: v4IBsqxrgeyNJUtXB1+2sQ8LaWyYgzypmNn0IgKAwB7I5o9HL18DdvNo82ZWTSS9gwD8uN9Y7/ne8otj8KoeSqmsubN6Kb/l3KR5bL2kQb4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZP153MB0430 X-Rspamd-Queue-Id: 4L6zJh4p5vz4vZ3 X-Spamd-Bar: --------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=microsoft.com header.s=selector2 header.b=T7NGrFGt; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=reject) header.from=microsoft.com; spf=pass (mx1.freebsd.org: domain of schakrabarti@microsoft.com designates 40.107.255.109 as permitted sender) smtp.mailfrom=schakrabarti@microsoft.com X-Spamd-Result: default: False [-10.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[microsoft.com:s=selector2]; WHITELIST_SPF_DKIM(-3.00)[microsoft.com:d:+,microsoft.com:s:+]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_MED(-2.00)[microsoft.com:dkim]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[microsoft.com:+]; DMARC_POLICY_ALLOW(-0.50)[microsoft.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[40.107.255.109:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[arm]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.104.0.0/14, country:US]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.107.255.109:from] X-ThisMailContainsUnwantedMimeParts: N --_000_PSAP153MB05361BD405D44B0AE7CF39DACCD79PSAP153MB0536APCP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Warner, The ConOut is : global NV,BS,RS ConOut =3D AcpiEx(VMBus,,)/VenHw(9B17E5A2-0891-42DD-B653-80= B5C22809BA,02780ADA77E3AC4A8E770558EB1073F8C7E020566280CE4DAEB7520C7EF76171= ) Regards, Souradeep From: Warner Losh Sent: Tuesday, May 24, 2022 8:23 PM To: Souradeep Chakrabarti Cc: arm@freebsd.org; Wei Hu Subject: [EXTERNAL] Re: unable to get virtual serial console for EFI You don't often get email from imp@bsdimp.com. Learn= why this is important What does the ComOut variable say? Warner On Mon, May 23, 2022 at 3:57 AM Souradeep Chakrabarti > wrote: Hi, I am trying to get the virtual serial console to access via putty while boo= ting FreeBSD 13 arm64 bootonly on Hyper-V. Setting console=3D"efi" is not helping to have the virtual serial console a= ccess using putty for ARM64. It is before any kernel module loaded. I can get the loader output in vmconnect.exe but not in the putty. Though I can see VM is getting connected to Hyper-V virtual COM1 console. B= ut no output is coming to putty. I have following question : Any specific support from EFI firmware, is required for virtual serial to w= ork in EFI loader in this phase of loading? I can see FreeBSD EFI loader is able to read the ConInDev and ConOutDev var= iables. With set console=3D"efi" or set console=3D"comconsole,efi" or set console= =3D"efi" , nothing in getting redirected in putty in arm64. But in X86 that is not the problem. Without this debugging the bring up of FreeBSD on arm64 Hyper-V is quite di= fficult. Any help or pointers are really appreciated. Regards, Souradeep --_000_PSAP153MB05361BD405D44B0AE7CF39DACCD79PSAP153MB0536APCP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Warner= ,

&nbs= p;

The ConOu= t is :

&nbs= p;

global NV= ,BS,RS ConOut =3D AcpiEx(VMBus,,)/VenHw(9B17E5A2-0891-42DD-B653-80B5C22809B= A,02780ADA77E3AC4A8E770558EB1073F8C7E020566280CE4DAEB7520C7EF76171)

&nbs= p;

Regards,<= o:p>

Souradeep=

&nbs= p;

From: Warner Losh <imp@bsdimp.com>
Sent: Tuesday, May 24, 2022 8:23 PM
To: Souradeep Chakrabarti <schakrabarti@microsoft.com>
Cc: arm@freebsd.org; Wei Hu <weh@microsoft.com>
Subject: [EXTERNAL] Re: unable to get virtual serial console for EFI=

 

You don't often get email from imp@bsdimp.com. Learn why this is important

What does the ComOut variable say?

 

Warner

 

 

On Mon, May 23, 2022 at 3:57 AM Souradeep Chakrabart= i <schakrabarti@microsoft.= com> wrote:

Hi,

I am trying to get the virtual serial console to access via putty = while booting FreeBSD 13 arm64 bootonly on Hyper-V.

 

Setting console=3D&quo= t;efi" is not helping to have the virtual serial console access using = putty for ARM64. It is before any kernel module loaded.

I can get the loader o= utput in vmconnect.exe but not in the putty.

 

Though I can see VM is= getting connected to Hyper-V virtual COM1 console. But no output is coming= to putty.

 

I have following quest= ion :

Any specific support f= rom EFI firmware, is required for virtual serial to work in EFI loader in t= his phase of loading?

 

I can see FreeBSD EFI = loader is able to read the ConInDev and ConOutDev variables.

 

With set console=3D&qu= ot;efi" or set console=3D"comconsole,efi"  or set conso= le=3D"efi" , nothing in getting redirected in putty in arm64.

But in X86 that is not= the problem.

 

Without this debugging= the bring up of FreeBSD on arm64 Hyper-V is quite difficult. Any help or p= ointers are really appreciated.

 

Regards,

Souradeep

 

--_000_PSAP153MB05361BD405D44B0AE7CF39DACCD79PSAP153MB0536APCP_--