From owner-freebsd-alpha Wed Apr 25 8: 4:38 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from suntana.fh-konstanz.de (suntana.fh-konstanz.de [141.37.9.230]) by hub.freebsd.org (Postfix) with ESMTP id EDEEA37B424 for ; Wed, 25 Apr 2001 08:04:29 -0700 (PDT) (envelope-from vahe@fh-konstanz.de) Received: from vvl10 (vvl10.fh-konstanz.de [141.37.112.110]) by suntana.fh-konstanz.de (8.9.3+Sun/8.9.3) with SMTP id RAA07922; Wed, 25 Apr 2001 17:04:25 +0200 (MET DST) Message-ID: <002e01c0cd99$f42ec4d0$6e70258d@vvl10.fh-konstanz.de> From: "Vahe Khachikyan" To: Cc: "Alexander Langer" Subject: Serial Conection II. Was( Serial connection) Date: Wed, 25 Apr 2001 16:11:07 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002B_01C0CDA2.55CE8DD0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 To: Alexander Langer Cc: Vahe Khachikyan ; 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
OK .
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,=20 Parity None, Stop bits 1, Flow control RTS/CTS.
2) I have managed to communicate with this settings = between=20 two COM ports on that NT box using a terminal emulation
    program which supports serial=20 communication.
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
    the SRM=20 prompt on graphics console untill I press Enter key,  and I didn't = get the=20 ttyv0 after FreeBSD boots.
    I steel have = other=20 ttyvs.
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 "on"
    in=20 /etc/ttys. below is the line from /etc/ttys. 
    = "ttyd1  =20 "/usr/libexec/getty std.9600"  vt100   on  = secure"
    after kill -HUP 1 = or even the=20 system restart "ps -U root |grep getty" outputs nothing about = ttyd1.=20 But everything about 
    ttyvs = ;-))
 
 
My questions are
0) Why I get=20 the garbage on terminal when powering up Alpha box (Stage till the SRM=20 prompt)
1) Why I didn't get anything on = terminal after=20 booting from SRM prompt (I mean the whole kernel output)
2) Why the getty doesn't grab the = com2 port=20 ?
 
I'll be very thankfull If you'll answer. =
I'll be also thanfull if you'll not answer cause = then I'll=20 spend the time doing something esle instead of
playing games with serial ports.
But better to answer ;-))
 
--
Vahe
--- 
-----Original = Message-----
From:=20 tcn <nospam@videotron.ca>
To:= =20 Alexander Langer <alex@big.endian.de>
Cc:=20 Vahe Khachikyan <vahe@fh-konstanz.de>; freebsd-alpha@FreeBSD.ORG = <freebsd-alpha@FreeBSD.ORG&g= t;
Date:=20 Wednesday, April 25, 2001 5:20 PM
Subject: Re: Serial=20 connection

I am having a very similar problem = with my=20 164sx.  I've had this for a while but didn't have time to check = it=20 out.  Serial output sill be fine if coming from kernel (kernel = messages=20 like root logins or cdrom messages).  Anything else gets=20 skrewed!

Normand
lecn1306@ele.etsmtl.ca

= Alexander=20 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.

Alex

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

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