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

[-- Attachment #1 --]
OK . 
To make it more algorithmic ;-)
0) Hardware AS200 2 COM ports, and graphics card. 
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 
    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.  
    "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 
    ttyvs ;-))

 
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. 
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 ;-)) 

--
Vahe
--- 
    -----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
    
    
    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!
    
    Normand
    lecn1306@ele.etsmtl.ca
    
    Alexander Langer wrote:
    
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
    


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>OK . </FONT></DIV>
<DIV><FONT size=2>To make it more algorithmic ;-)</FONT></DIV>
<DIV><FONT size=2>0) Hardware AS200 2 COM ports, and graphics card. 
</FONT></DIV>
<DIV><FONT size=2>1) I Use WinNT as terminal , COM1 Baud rate 9600, Data bits 8, 
Parity None, Stop bits 1, Flow control RTS/CTS.</FONT></DIV>
<DIV><FONT size=2>2) I have managed to communicate with this settings between 
two COM ports on that NT box using a terminal emulation</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; program which supports serial 
communication.</FONT></DIV>
<DIV><FONT size=2>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 </FONT></DIV>
<DIV><FONT size=2></FONT><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; the SRM 
prompt on graphics console untill I press Enter key,&nbsp; and I didn't get the 
ttyv0 after FreeBSD boots.</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; I steel have other 
ttyvs.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT size=2>4) There is another problem 
which makes me CRAZY. Getty don't want to grab the serial port when I set it to 
&quot;on&quot;</FONT></DIV>
<DIV><FONT size=2></FONT><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; in 
/etc/ttys. below is the line from /etc/ttys.&nbsp; </FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; &quot;ttyd1&nbsp;&nbsp; 
&quot;/usr/libexec/getty std.9600&quot;&nbsp; vt100&nbsp;&nbsp; on&nbsp; 
secure&quot;</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; after kill -HUP 1 or even the 
system restart &quot;ps -U root |grep getty&quot; outputs nothing about ttyd1. 
But everything about&nbsp;</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; ttyvs ;-))</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&nbsp;</FONT></DIV>
<DIV><FONT color=#000000 size=2>My questions are</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT color=#000000 size=2>0) Why I get 
the garbage on terminal when powering up Alpha box (Stage till the SRM 
prompt)</FONT></DIV>
<DIV><FONT color=#000000 size=2>1) Why I didn't get anything on terminal after 
booting from SRM prompt (I mean the whole kernel output)</FONT></DIV>
<DIV><FONT color=#000000 size=2>2) Why the getty doesn't grab the com2 port 
?</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I'll be very thankfull If you'll answer. </FONT></DIV>
<DIV><FONT size=2>I'll be also thanfull if you'll not answer cause then I'll 
spend the time doing something esle instead of</FONT></DIV>
<DIV><FONT size=2>playing games with serial ports.</FONT></DIV>
<DIV><FONT size=2>But better to answer ;-)) </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>--</FONT></DIV>
<DIV><FONT size=2>Vahe</FONT></DIV>
<DIV><FONT size=2>---&nbsp;</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
    <DIV><FONT face=Arial size=2><B>-----Original Message-----</B><BR><B>From: 
    </B>tcn &lt;<A 
    href="mailto:nospam@videotron.ca">nospam@videotron.ca</A>&gt;<BR><B>To: 
    </B>Alexander Langer &lt;<A 
    href="mailto:alex@big.endian.de">alex@big.endian.de</A>&gt;<BR><B>Cc: 
    </B>Vahe Khachikyan &lt;<A 
    href="mailto:vahe@fh-konstanz.de">vahe@fh-konstanz.de</A>&gt;; <A 
    href="mailto:freebsd-alpha@FreeBSD.ORG">freebsd-alpha@FreeBSD.ORG</A> &lt;<A 
    href="mailto:freebsd-alpha@FreeBSD.ORG">freebsd-alpha@FreeBSD.ORG</A>&gt;<BR><B>Date: 
    </B>Wednesday, April 25, 2001 5:20 PM<BR><B>Subject: </B>Re: Serial 
    connection<BR><BR></DIV></FONT>I am having a very similar problem with my 
    164sx.&nbsp; I've had this for a while but didn't have time to check it 
    out.&nbsp; Serial output sill be fine if coming from kernel (kernel messages 
    like root logins or cdrom messages).&nbsp; Anything else gets 
    skrewed!<BR><BR>Normand<BR><A class=moz-txt-link-abbreviated 
    href="mailto:lecn1306@ele.etsmtl.ca">lecn1306@ele.etsmtl.ca</A><BR><BR>Alexander 
    Langer wrote:<BR>
    <BLOCKQUOTE cite = mid:20010425100833.A1109@fump.cichlids.com type = cite><PRE wrap = >Also sprach Vahe Khachikyan (<A class=moz-txt-link-abbreviated href="mailto:vahe@fh-konstanz.de">vahe@fh-konstanz.de</A>):<BR><BR></PRE>
        <BLOCKQUOTE type = cite><PRE wrap = >But on serial console I get some messup. What is wrong?<BR></PRE></BLOCKQUOTE><PRE wrap = ><!----><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=moz-txt-link-abbreviated href="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>

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