Date: Tue, 24 May 2022 15:53:46 +0000 From: Souradeep Chakrabarti <schakrabarti@microsoft.com> To: Warner Losh <imp@bsdimp.com> Cc: "arm@freebsd.org" <arm@freebsd.org>, Wei Hu <weh@microsoft.com> Subject: RE: [EXTERNAL] Re: unable to get virtual serial console for EFI Message-ID: <PSAP153MB05361BD405D44B0AE7CF39DACCD79@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM> In-Reply-To: <CANCZdfotM2CPtq43aSf_GRAO%2BnWFhXn_54A3H9EoNYQr=z6gsQ@mail.gmail.com> References: <PSAP153MB0536FC1FA3DA80BC228AEC6ECCD49@PSAP153MB0536.APCP153.PROD.OUTLOOK.COM> <CANCZdfotM2CPtq43aSf_GRAO%2BnWFhXn_54A3H9EoNYQr=z6gsQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--_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 <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<mailto:imp@bsdimp.com>. Learn= why this is important<https://aka.ms/LearnAboutSenderIdentification> What does the ComOut variable say? Warner On Mon, May 23, 2022 at 3:57 AM Souradeep Chakrabarti <schakrabarti@microso= ft.com<mailto:schakrabarti@microsoft.com>> 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 <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:"Segoe UI"; panose-1:2 11 5 2 4 2 4 2 2 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} p.gmail-m-1602174453955658924msoplaintext, li.gmail-m-1602174453955658924ms= oplaintext, div.gmail-m-1602174453955658924msoplaintext {mso-style-name:gmail-m_-1602174453955658924msoplaintext; mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-IN" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea= k-word"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Hi Warner= ,<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs= p;</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">The ConOu= t is :<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs= p;</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">global NV= ,BS,RS ConOut =3D AcpiEx(VMBus,,)/VenHw(9B17E5A2-0891-42DD-B653-80B5C22809B= A,02780ADA77E3AC4A8E770558EB1073F8C7E020566280CE4DAEB7520C7EF76171)<o:p></o= :p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs= p;</o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Regards,<= o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US">Souradeep= <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs= p;</o:p></span></p> <div> <div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang= =3D"EN-US"> Warner Losh <imp@bsdimp.com> <br> <b>Sent:</b> Tuesday, May 24, 2022 8:23 PM<br> <b>To:</b> Souradeep Chakrabarti <schakrabarti@microsoft.com><br> <b>Cc:</b> arm@freebsd.org; Wei Hu <weh@microsoft.com><br> <b>Subject:</b> [EXTERNAL] Re: unable to get virtual serial console for EFI= <o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding= =3D"0" align=3D"left" width=3D"100%" style=3D"width:100.0%"> <tbody> <tr> <td style=3D"background:#A6A6A6;padding:5.25pt 1.5pt 5.25pt 1.5pt"></td> <td width=3D"100%" style=3D"width:100.0%;background:#EAEAEA;padding:5.25pt = 3.75pt 5.25pt 11.25pt"> <div> <p class=3D"MsoNormal" style=3D"mso-element:frame;mso-element-frame-hspace:= 2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-el= ement-anchor-horizontal:column;mso-height-rule:exactly"> <span style=3D"font-size:9.0pt;font-family:"Segoe UI",sans-serif;= color:#212121">You don't often get email from <a href=3D"mailto:imp@bsdimp.com">imp@bsdimp.com</a>. <a href=3D"https://ak= a.ms/LearnAboutSenderIdentification"> Learn why this is important</a><o:p></o:p></span></p> </div> </td> <td width=3D"75" style=3D"width:56.25pt;background:#EAEAEA;padding:5.25pt 3= .75pt 5.25pt 3.75pt;align:left"> </td> </tr> </tbody> </table> <div> <div> <p class=3D"MsoNormal">What does the ComOut variable say? <o:p></o:p></p> <div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <div> <p class=3D"MsoNormal">Warner<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <div> <div> <p class=3D"MsoNormal">On Mon, May 23, 2022 at 3:57 AM Souradeep Chakrabart= i <<a href=3D"mailto:schakrabarti@microsoft.com">schakrabarti@microsoft.= com</a>> wrote:<o:p></o:p></p> </div> <blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c= m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"> <div> <div> <p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto">Hi,<o:p></o:p></p> <p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto">I am trying to get the virtual serial console to access via putty = while booting FreeBSD 13 arm64 bootonly on Hyper-V.<o:p></o:p></p> <p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto"> <o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">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. <o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">I can get the loader o= utput in vmconnect.exe but not in the putty. <o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext"> <o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">Though I can see VM is= getting connected to Hyper-V virtual COM1 console. But no output is coming= to putty.<o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext"> <o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">I have following quest= ion :<o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">Any specific support f= rom EFI firmware, is required for virtual serial to work in EFI loader in t= his phase of loading?<o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext"> <o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">I can see FreeBSD EFI = loader is able to read the ConInDev and ConOutDev variables.<o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext"> <o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">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.<o:p= ></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">But in X86 that is not= the problem.<o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext"> <o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">Without this debugging= the bring up of FreeBSD on arm64 Hyper-V is quite difficult. Any help or p= ointers are really appreciated.<o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext"> <o:p></o:p></p> <p class=3D"gmail-m-1602174453955658924msoplaintext">Regards,<o:p></o:p></p= > <p class=3D"gmail-m-1602174453955658924msoplaintext">Souradeep<o:p></o:p></= p> <p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto"> <o:p></o:p></p> </div> </div> </blockquote> </div> </div> </div> </body> </html> --_000_PSAP153MB05361BD405D44B0AE7CF39DACCD79PSAP153MB0536APCP_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAP153MB05361BD405D44B0AE7CF39DACCD79>