Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2007 04:51:43 -0800
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Marian Hettwer <MH@kernel32.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 7.0 BETA4 no serial console
Message-ID:  <20071217125143.GA27007@eos.sc1.parodius.com>
In-Reply-To: <4766626F.8030606@kernel32.de>
References:  <6d41e00a0d0deb2e305b1a4f86b9c601@127.0.0.1> <20071213205053.GA10017@eos.sc1.parodius.com> <47665299.4050208@kernel32.de> <20071217112130.GA25140@eos.sc1.parodius.com> <4766626F.8030606@kernel32.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 17, 2007 at 12:50:07PM +0100, Marian Hettwer wrote:
> marian46-23# stty -a -f /dev/ttyd0
> speed 9600 baud; 0 rows; 0 columns;
> lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
>        -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
>        -extproc
> iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
>        brkint -inpck -ignpar -parmrk
> oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
> cflags: cread cs8 -parenb -parodd hupcl clocal -cstopb -crtscts -dsrflow
>        -dtrflow -mdmbuf
> cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
>        eol2 = <undef>; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
>        lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
>        status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
>
> hm...

Identical to ours...

Well, the reason you'd get boot messages and kernel output would be that
neither of those (AFIAK) bothers to check for things like DTR/DSR and
DCD.  getty, on the other hand, does.  That's what makes me think it
might be a cabling or adapter issue.  The 3wire.9600 test, I assume,
should've worked though...

> It's really really strange that I can see the whole boot process but don't 
> have a login prompt in the end. strange.

Has this box been "upgraded" from RELENG_6 or anything like that?  I
remember encountering a situation with one of our RELENG_6 boxes where
serial console would work fine up until the point of getting a login
prompt via getty, which never worked.  Rebuilding kernel + world fixed
the problem (time delta between kernel/world builds was over 100 days,
and during that time I'm sure there were serial console changes).

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |




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