Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2001 15:07:53 +0100
From:      Gerhard Sittig <Gerhard.Sittig@gmx.net>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: serial console (was: Determining Crash cause?)
Message-ID:  <20011216150752.A1494@shell.gsinet.sittig.org>
In-Reply-To: <20011215204911.E22667@freeway.dcfinc.com>; from chad@DCFinc.com on Sat, Dec 15, 2001 at 08:49:11PM -0700
References:  <3C1B2681.2E507732@vortex.wa4phy.net> <20011215204911.E22667@freeway.dcfinc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 15, 2001 at 20:49 -0700, Chad R. Larson wrote:
> 
> On Sat, Dec 15, 2001 at 05:31:29AM -0500, Sam Drinkard wrote:
> > Is there any known method to determine the cause of a crash
> > when there is no panic, no log entries, or other evidence?
> > [ ... ]
> 
> Build a kernel with debugging, connect a terminal (or pc running
> Hyperterm or some other equivelant) to a serial port on the FreeBSD
> box, configure for console port, set the Hyperterm to log and then
> wait for the next crash.  See if anything useful is captured in the
> log.

I have a maybe dumb question:  Whenever I (sparadically) checked
the Handbook since I'm in this situation to keep boot logs of
systems without installing a system I only see explanations of
what to do to the "controlled" system.  Shouldn't there be at
least one mention of the "counterpart" in terms of which base
system program or port could be "the terminal"?  Doing a quick
"man -k serial", "man -k console", and "man -k terminal" doesn't
reveal anything appropriate, while the "SEE ALSO" section in
getty(8) -- which looks like the most promising place to look
at -- doesn't have a reference to the "other side" either.

Since I don't have any windows machine around Hyperterm is not
an option.  Others might have a similar problem. :)  And I'm not
sure if minicom is a good choice, I'm not very comfortable with
it (for this purpose of being a serial terminal).  So I consider
my previous actions to be a quick hack and take it that they
could be much improved.

What are the alternatives?  What are people using for "terminal
servers" or "port concentrators"?  And can a short list of
possible alternatives be included in the Handbook to not have
this question asked again too often?  (I volunteer to feedback
a summary to -doc from the responses I get here.  Feel free to
write PMs if you think it's OT for -stable.)


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
-- 
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011216150752.A1494>