microsoft / azserialconsole

Azure Serial Console
17 stars 11 forks source link

No echo back on commands #65

Closed lascp0 closed 5 years ago

lascp0 commented 5 years ago

When typing at the command line, the command is not echoed back on the screen.

Therefore, even though the command works, you can't see what you are typing before you have hit the enter key, to confirm command is correct.

Can this please be fixed?

asinn826 commented 5 years ago

@lascp0 - can you please provide some more details? Info such as Linux/Windows, Linux distro if Linux, and your subscription id/resource group name/vm name? We can look into things on our end.

lascp0 commented 5 years ago

Hi Alfred,

Fixed:

The issue is due to Plymouth.

From https://wiki.ubuntu.com/Plymouthhttps://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.ubuntu.com_Plymouth&d=DwMGaQ&c=t5orwco8fOQDtHiseQvoFbclxkpRnkTydeMH1C7v8Dw&r=yfsyvAgdM58YYv5386LOFEErejQJP5prmXsJu4-aPB45PrPbbLPseO_Q0bySI7k3&m=mL8d9t8KrbDsREjWUc75zkZ9fu7Zwjm_18fS45nm0BM&s=Ao4gctIcut-iwoZbKB8jjOCXuhh1bFf2SdE0Yim8sJ4&e=

Plymouth is the application which provides the graphical "splash" screen when booting and shutting down an Ubuntu system.

Note that on Ubuntu, Plymouth is considered to be the "owner" of the console device (/dev/console) so no application should attempt to modify terminal attributes for this device at boot or shutdown. That’s probably also true on SLES, which explains what you’re seeing.

We do not need to run Plymouth in Azure. You don’t need a splash screen, and Plymouth interferes with the platform ability to use the serial console.

WE checked the SLES-SAP vs. SLES-SAP-BYOS image, and it seems the difference is that the ‘plymouth’ package is only installed on the BYOS image. We already contacted with SUSE to fix this and they’ve already acknowledged the issue.

Currently workaround: Removing Plymouth with ‘sudo zypper remove plymouth’ or adding ‘plymouth.enable=0’ to the grub kernel command line

Pino Lascala Server Technical Engineer (Unix)

Mobile: 0402 687 927 pino.lascala@sapowernetworks.com.aumailto:pino.lascala@sapowernetworks.com.au

1 Richmond Rd, Keswick, 5035 www.sapowernetworks.com.auhttp://www.sapowernetworks.com.au/

[image001]

[image002]http://www.facebook.com/SAPowerNetworks[image003]https://twitter.com/SAPowerNetworks[image004]http://www.linkedin.com/company/sa-power-networks?trk=company_logo[image005]http://www.youtube.com/SAPowerNetworks

[cid:image006.png@01D4D8AF.8A2C9140]http://platform1.sapowernetworks.com.au/myit

From: Alfred Sin notifications@github.com Sent: Saturday, 8 June 2019 1:30 AM To: microsoft/azserialconsole azserialconsole@noreply.github.com Cc: Pino Lascala Pino.Lascala@sapowernetworks.com.au; Mention mention@noreply.github.com Subject: Re: [microsoft/azserialconsole] No echo back on commands (#65)

This message originated externally. Please ensure this email is legitimate before responding or clicking on any links or attachments.

@lascp0https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_lascp0&d=DwMCaQ&c=t5orwco8fOQDtHiseQvoFbclxkpRnkTydeMH1C7v8Dw&r=yfsyvAgdM58YYv5386LOFEErejQJP5prmXsJu4-aPB45PrPbbLPseO_Q0bySI7k3&m=uHaZOB_xZUIQ3Y-6RV4xvdmggAIhMeygU_-dM4TcVq4&s=K2kA8T1alSmpz1eu5Amf2deTYGVX5yUPvuqZltjmP4A&e= - can you please provide some more details? Info such as Linux/Windows, Linux distro if Linux, and your subscription id/resource group name/vm name? We can look into things on our end.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_microsoft_azserialconsole_issues_65-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAIZATENN6XZBD6WULHMARPDPZKAYBA5CNFSM4HRT5KQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXGIFGI-23issuecomment-2D499942041&d=DwMCaQ&c=t5orwco8fOQDtHiseQvoFbclxkpRnkTydeMH1C7v8Dw&r=yfsyvAgdM58YYv5386LOFEErejQJP5prmXsJu4-aPB45PrPbbLPseO_Q0bySI7k3&m=uHaZOB_xZUIQ3Y-6RV4xvdmggAIhMeygU_-dM4TcVq4&s=EDtNNUjSr7NT50Byllk7v_zolcEuKlQLmSthxTueG88&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIZATEPNSFX5BGQDU33XJO3PZKAYBANCNFSM4HRT5KQA&d=DwMCaQ&c=t5orwco8fOQDtHiseQvoFbclxkpRnkTydeMH1C7v8Dw&r=yfsyvAgdM58YYv5386LOFEErejQJP5prmXsJu4-aPB45PrPbbLPseO_Q0bySI7k3&m=uHaZOB_xZUIQ3Y-6RV4xvdmggAIhMeygU_-dM4TcVq4&s=qR35-tg9UtavOVdxMr3XLFyAUZ4BhrKN_cvmiYXYJMM&e=.


This email and any file attachments are highly confidential. If you have received this email in error please notify the sender and delete the email. You should note the contents of the email do not necessarily represent the views of SA Power Networks, nor can we guarantee that the email is free of any malicious code. If you have any doubts about the source or authenticity of the email, please contact us on 13 12 61.