Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2001 20:29:27 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        <freebsd-current@FreeBSD.org>
Subject:   RE: Problem with sio in -current ... possible cause of hangs?
Message-ID:  <Pine.BSF.4.33.0103032022240.33622-100000@mobile.hub.org>
In-Reply-To: <XFMail.010303152518.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Woo hoo ... got the serial console working ... I had put -D into
/boot.config, vs -P ...

... neat ... I got all the boot info on my serial console, then the login
prompt went to the main screen, and no control on either one ...

is that supposed to happen?

On Sat, 3 Mar 2001, John Baldwin wrote:

>
> On 03-Mar-01 The Hermit Hacker wrote:
> >
> > Morning all ...
> >
> >       I'm trying to get my serial console to work on my desktop, and
> > appear to be failing miserably at even just getting it to accept a 'getty'
> > serial connection, let alone serial console ...
> >
> >       First, my X/mouse runs on /dev/ttyd1 ... if I startx, my mouse
> > does work, but X hangs *very* quickly.  Based on this, I know that
> > /dev/ttyd1 does work, at least for a short time.
> >
> >       Now, to confirm ... a NULL modem cable *is* pin 2->3, 3->2, right?
> > rx->tx, tx->rx?  I've tested the cable using a multi-meter, just to make
> > sure that it is doing what I expect ...
> >
> >       If I plug my cable from /dev/ttyd0 -> /dev/ttyd1 on the same
> > machine, run getty on /dev/ttyd1 and use kermit to connect to /dev/cuaa0,
> > I get no response back, which is why I'm wondering about sio ...
>
> Try turning clocal off on the host and port you are running kermit on.  Even
> then, I still have yet to get getty to work at all, it's always stuck in
> 'siodcd'.  I've noticed via debugging output that the DCD change bit does raise
> for a read, but that teh DCD status bit stays at zero the entire time.  The
> sio driver seems to ignore the change bit and only read the status bit, so it
> thinks DCD is never raised and hangs forever on open.  Note that I can get a
> getty fine on a serial console, just not on a /dev/ttydX that's not also the
> serial console. :(  I've had this problem since before PRE_SMPNG however.
>
> --
>
> John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
> PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
>

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0103032022240.33622-100000>