All of lore.kernel.org
 help / color / mirror / Atom feed
* Garbled serial console output
@ 2015-12-17  6:28 Harmandeep Kaur
  2015-12-17  9:06 ` Dario Faggioli
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Harmandeep Kaur @ 2015-12-17  6:28 UTC (permalink / raw)
  To: xen-devel; +Cc: Dario Faggioli

Hi,

I tried to setup xen serial console with this guide,
http://wiki.xen.org/wiki/Xen_Serial_Console

I am using RS232 -USB cable for this purpose.
I am on Ubuntu 15.10 (4.2.0-19-generic).

xl info http://paste2.org/F2UgY5yz

My output is garbled.
http://paste2.org/tZveaAGU

I will appreciate any help.

Regards,
Harman

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Garbled serial console output
  2015-12-17  6:28 Garbled serial console output Harmandeep Kaur
@ 2015-12-17  9:06 ` Dario Faggioli
  2015-12-17  9:23   ` Roger Pau Monné
  2015-12-17  9:28 ` Andrew Cooper
  2015-12-18  1:03 ` Doug Goldstein
  2 siblings, 1 reply; 5+ messages in thread
From: Dario Faggioli @ 2015-12-17  9:06 UTC (permalink / raw)
  To: Harmandeep Kaur, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1417 bytes --]

On Thu, 2015-12-17 at 11:58 +0530, Harmandeep Kaur wrote:
> Hi,
> 
Hello Harmandeep,

> I tried to setup xen serial console with this guide,
> http://wiki.xen.org/wiki/Xen_Serial_Console
> 
> I am using RS232 -USB cable for this purpose.
> I am on Ubuntu 15.10 (4.2.0-19-generic).
> 
> xl info http://paste2.org/F2UgY5yz
> 
> My output is garbled.
> http://paste2.org/tZveaAGU
> 
Ok. You also want to say what program, and with what
configuration/parameters, you are using to view the serial line output.

From what you said on IRC, I think that is this:

 sudo screen /dev/ttyUSB8 115200

is that correct?

I don't have many ideas about what could cause the issue, and how to
fix it. Every time I've seen something similar to that it was due to:
 - mismatch between the baud rate specified in screen command line and 
   the one configured for Xen's console
 - more than one screen session "attached" to the serial line

So, I'd first of all double check these.

You can also try something else than screen (I'm sure there are dozens
of terminal emulators on Ubuntu :-)), and see what happens.

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Garbled serial console output
  2015-12-17  9:06 ` Dario Faggioli
@ 2015-12-17  9:23   ` Roger Pau Monné
  0 siblings, 0 replies; 5+ messages in thread
From: Roger Pau Monné @ 2015-12-17  9:23 UTC (permalink / raw)
  To: Dario Faggioli, Harmandeep Kaur, xen-devel

El 17/12/15 a les 10.06, Dario Faggioli ha escrit:
> On Thu, 2015-12-17 at 11:58 +0530, Harmandeep Kaur wrote:
>> Hi,
>>
> Hello Harmandeep,
> 
>> I tried to setup xen serial console with this guide,
>> http://wiki.xen.org/wiki/Xen_Serial_Console
>>
>> I am using RS232 -USB cable for this purpose.
>> I am on Ubuntu 15.10 (4.2.0-19-generic).
>>
>> xl info http://paste2.org/F2UgY5yz
>>
>> My output is garbled.
>> http://paste2.org/tZveaAGU
>>
> Ok. You also want to say what program, and with what
> configuration/parameters, you are using to view the serial line output.
> 
> From what you said on IRC, I think that is this:
> 
>  sudo screen /dev/ttyUSB8 115200
> 
> is that correct?
> 
> I don't have many ideas about what could cause the issue, and how to
> fix it. Every time I've seen something similar to that it was due to:
>  - mismatch between the baud rate specified in screen command line and 
>    the one configured for Xen's console
>  - more than one screen session "attached" to the serial line
> 
> So, I'd first of all double check these.
> 
> You can also try something else than screen (I'm sure there are dozens
> of terminal emulators on Ubuntu :-)), and see what happens.

FWIW, I've used screen in the past to connect to serial consoles and I
think cu is better (it doesn't have an internal scrollback buffer, and
doesn't trap Ctrl+A).

cu -l /dev/ttyUSB8 -s 115200

Roger.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Garbled serial console output
  2015-12-17  6:28 Garbled serial console output Harmandeep Kaur
  2015-12-17  9:06 ` Dario Faggioli
@ 2015-12-17  9:28 ` Andrew Cooper
  2015-12-18  1:03 ` Doug Goldstein
  2 siblings, 0 replies; 5+ messages in thread
From: Andrew Cooper @ 2015-12-17  9:28 UTC (permalink / raw)
  To: Harmandeep Kaur, xen-devel; +Cc: Dario Faggioli

On 17/12/2015 06:28, Harmandeep Kaur wrote:
> Hi,
>
> I tried to setup xen serial console with this guide,
> http://wiki.xen.org/wiki/Xen_Serial_Console
>
> I am using RS232 -USB cable for this purpose.
> I am on Ubuntu 15.10 (4.2.0-19-generic).
>
> xl info http://paste2.org/F2UgY5yz
>
> My output is garbled.
> http://paste2.org/tZveaAGU

That looks very much like a misconfigured baud rate.  Given that you
were using 11520, give 9600 a go.

~Andrew

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Garbled serial console output
  2015-12-17  6:28 Garbled serial console output Harmandeep Kaur
  2015-12-17  9:06 ` Dario Faggioli
  2015-12-17  9:28 ` Andrew Cooper
@ 2015-12-18  1:03 ` Doug Goldstein
  2 siblings, 0 replies; 5+ messages in thread
From: Doug Goldstein @ 2015-12-18  1:03 UTC (permalink / raw)
  To: Harmandeep Kaur, xen-devel; +Cc: Dario Faggioli


[-- Attachment #1.1: Type: text/plain, Size: 641 bytes --]

On 12/17/15 12:28 AM, Harmandeep Kaur wrote:
> Hi,
> 
> I tried to setup xen serial console with this guide,
> http://wiki.xen.org/wiki/Xen_Serial_Console
> 
> I am using RS232 -USB cable for this purpose.
> I am on Ubuntu 15.10 (4.2.0-19-generic).
> 
> xl info http://paste2.org/F2UgY5yz
> 
> My output is garbled.
> http://paste2.org/tZveaAGU
> 
> I will appreciate any help.
> 
> Regards,
> Harman

I believe on Ubuntu I've had to stop modemmanager on every machine I've
done anything with the serial port. When it comes up in dom0 it'll
diddle with all the serial ports and cause problems.

-- 
Doug Goldstein


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 959 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-18  1:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-17  6:28 Garbled serial console output Harmandeep Kaur
2015-12-17  9:06 ` Dario Faggioli
2015-12-17  9:23   ` Roger Pau Monné
2015-12-17  9:28 ` Andrew Cooper
2015-12-18  1:03 ` Doug Goldstein

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.