Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 16:11:07 +0100
From:      "Vahe Khachikyan" <vahe@fh-konstanz.de>
To:        <freebsd-alpha@FreeBSD.ORG>
Cc:        "Alexander Langer" <alex@big.endian.de>
Subject:   Serial Conection II. Was( Serial connection)
Message-ID:  <002e01c0cd99$f42ec4d0$6e70258d@vvl10.fh-konstanz.de>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_002B_01C0CDA2.55CE8DD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

OK .=20
To make it more algorithmic ;-)
0) Hardware AS200 2 COM ports, and graphics card.=20
1) I Use WinNT as terminal , COM1 Baud rate 9600, Data bits 8, Parity =
None, Stop bits 1, Flow control RTS/CTS.
2) I have managed to communicate with this settings between two COM =
ports on that NT box using a terminal emulation
    program which supports serial communication.
3) I set the SRM variable 'console' to 'serial'. This affects the =
behavior of Alpha box at start up i.e I didn't get=20
    the SRM prompt on graphics console untill I press Enter key,  and I =
didn't get the ttyv0 after FreeBSD boots.
    I steel have other ttyvs.
4) There is another problem which makes me CRAZY. Getty don't want to =
grab the serial port when I set it to "on"
    in /etc/ttys. below is the line from /etc/ttys. =20
    "ttyd1   "/usr/libexec/getty std.9600"  vt100   on  secure"
    after kill -HUP 1 or even the system restart "ps -U root |grep =
getty" outputs nothing about ttyd1. But everything about=20
    ttyvs ;-))

=20
My questions are
0) Why I get the garbage on terminal when powering up Alpha box (Stage =
till the SRM prompt)
1) Why I didn't get anything on terminal after booting from SRM prompt =
(I mean the whole kernel output)
2) Why the getty doesn't grab the com2 port ?

I'll be very thankfull If you'll answer.=20
I'll be also thanfull if you'll not answer cause then I'll spend the =
time doing something esle instead of
playing games with serial ports.
But better to answer ;-))=20

--
Vahe
---=20
    -----Original Message-----
    From: tcn <nospam@videotron.ca>
    To: Alexander Langer <alex@big.endian.de>
    Cc: Vahe Khachikyan <vahe@fh-konstanz.de>; freebsd-alpha@FreeBSD.ORG =
<freebsd-alpha@FreeBSD.ORG>
    Date: Wednesday, April 25, 2001 5:20 PM
    Subject: Re: Serial connection
   =20
   =20
    I am having a very similar problem with my 164sx.  I've had this for =
a while but didn't have time to check it out.  Serial output sill be =
fine if coming from kernel (kernel messages like root logins or cdrom =
messages).  Anything else gets skrewed!
   =20
    Normand
    lecn1306@ele.etsmtl.ca
   =20
    Alexander Langer wrote:
   =20
Also sprach Vahe Khachikyan (vahe@fh-konstanz.de):
But on serial console I get some messup. What is wrong?
I think you are using a wrong baud-rate for the serial connection.I have =
to use 9600 at mine to get correct output.AlexTo Unsubscribe: send mail =
to majordomo@FreeBSD.orgwith "unsubscribe freebsd-alpha" in the body of =
the message
   =20


------=_NextPart_000_002B_01C0CDA2.55CE8DD0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>OK . </FONT></DIV>
<DIV><FONT size=3D2>To make it more algorithmic ;-)</FONT></DIV>
<DIV><FONT size=3D2>0) Hardware AS200 2 COM ports, and graphics card.=20
</FONT></DIV>
<DIV><FONT size=3D2>1) I Use WinNT as terminal , COM1 Baud rate 9600, =
Data bits 8,=20
Parity None, Stop bits 1, Flow control RTS/CTS.</FONT></DIV>
<DIV><FONT size=3D2>2) I have managed to communicate with this settings =
between=20
two COM ports on that NT box using a terminal emulation</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; program which supports serial=20
communication.</FONT></DIV>
<DIV><FONT size=3D2>3) I set the SRM variable 'console' to 'serial'. =
This affects=20
the behavior of Alpha box at start up i.e I didn't get </FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 =
size=3D2>&nbsp;&nbsp;&nbsp; the SRM=20
prompt on graphics console untill I press Enter key,&nbsp; and I didn't =
get the=20
ttyv0 after FreeBSD boots.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; I steel have =
other=20
ttyvs.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>4) There is =
another problem=20
which makes me CRAZY. Getty don't want to grab the serial port when I =
set it to=20
&quot;on&quot;</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 =
size=3D2>&nbsp;&nbsp;&nbsp; in=20
/etc/ttys. below is the line from /etc/ttys.&nbsp; </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; =
&quot;ttyd1&nbsp;&nbsp;=20
&quot;/usr/libexec/getty std.9600&quot;&nbsp; vt100&nbsp;&nbsp; on&nbsp; =

secure&quot;</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; after kill -HUP 1 =
or even the=20
system restart &quot;ps -U root |grep getty&quot; outputs nothing about =
ttyd1.=20
But everything about&nbsp;</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; ttyvs =
;-))</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>My questions are</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT color=3D#000000 =
size=3D2>0) Why I get=20
the garbage on terminal when powering up Alpha box (Stage till the SRM=20
prompt)</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>1) Why I didn't get anything on =
terminal after=20
booting from SRM prompt (I mean the whole kernel output)</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>2) Why the getty doesn't grab the =
com2 port=20
?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I'll be very thankfull If you'll answer. =
</FONT></DIV>
<DIV><FONT size=3D2>I'll be also thanfull if you'll not answer cause =
then I'll=20
spend the time doing something esle instead of</FONT></DIV>
<DIV><FONT size=3D2>playing games with serial ports.</FONT></DIV>
<DIV><FONT size=3D2>But better to answer ;-)) </FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>--</FONT></DIV>
<DIV><FONT size=3D2>Vahe</FONT></DIV>
<DIV><FONT size=3D2>---&nbsp;</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: =
5px">
    <DIV><FONT face=3DArial size=3D2><B>-----Original =
Message-----</B><BR><B>From:=20
    </B>tcn &lt;<A=20
    =
href=3D"mailto:nospam@videotron.ca">nospam@videotron.ca</A>&gt;<BR><B>To:=
=20
    </B>Alexander Langer &lt;<A=20
    =
href=3D"mailto:alex@big.endian.de">alex@big.endian.de</A>&gt;<BR><B>Cc:=20
    </B>Vahe Khachikyan &lt;<A=20
    href=3D"mailto:vahe@fh-konstanz.de">vahe@fh-konstanz.de</A>&gt;; <A=20
    =
href=3D"mailto:freebsd-alpha@FreeBSD.ORG">freebsd-alpha@FreeBSD.ORG</A> =
&lt;<A=20
    =
href=3D"mailto:freebsd-alpha@FreeBSD.ORG">freebsd-alpha@FreeBSD.ORG</A>&g=
t;<BR><B>Date:=20
    </B>Wednesday, April 25, 2001 5:20 PM<BR><B>Subject: </B>Re: Serial=20
    connection<BR><BR></DIV></FONT>I am having a very similar problem =
with my=20
    164sx.&nbsp; I've had this for a while but didn't have time to check =
it=20
    out.&nbsp; Serial output sill be fine if coming from kernel (kernel =
messages=20
    like root logins or cdrom messages).&nbsp; Anything else gets=20
    skrewed!<BR><BR>Normand<BR><A class=3Dmoz-txt-link-abbreviated=20
    =
href=3D"mailto:lecn1306@ele.etsmtl.ca">lecn1306@ele.etsmtl.ca</A><BR><BR>=
Alexander=20
    Langer wrote:<BR>
    <BLOCKQUOTE cite =3D mid:20010425100833.A1109@fump.cichlids.com type =
=3D cite><PRE wrap =3D >Also sprach Vahe Khachikyan (<A =
class=3Dmoz-txt-link-abbreviated =
href=3D"mailto:vahe@fh-konstanz.de">vahe@fh-konstanz.de</A>):<BR><BR></PR=
E>
        <BLOCKQUOTE type =3D cite><PRE wrap =3D >But on serial console I =
get some messup. What is wrong?<BR></PRE></BLOCKQUOTE><PRE wrap =3D =
><!----><BR>I think you are using a wrong baud-rate for the serial =
connection.<BR>I have to use 9600 at mine to get correct =
output.<BR><BR>Alex<BR><BR>To Unsubscribe: send mail to <A =
class=3Dmoz-txt-link-abbreviated =
href=3D"mailto:majordomo@FreeBSD.org">majordomo@FreeBSD.org</A><BR>with =
&quot;unsubscribe freebsd-alpha&quot; in the body of the =
message<BR></PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_002B_01C0CDA2.55CE8DD0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002e01c0cd99$f42ec4d0$6e70258d>