From owner-freebsd-current Sat Mar 3 16:29:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from mobile.hub.org (SHW39-29.accesscable.net [24.138.39.29]) by hub.freebsd.org (Postfix) with ESMTP id 26E6537B719; Sat, 3 Mar 2001 16:29:29 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by mobile.hub.org (8.11.1/8.11.1) with ESMTP id f240TRT13870; Sat, 3 Mar 2001 20:29:28 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: mobile.hub.org: scrappy owned process doing -bs Date: Sat, 3 Mar 2001 20:29:27 -0400 (AST) From: The Hermit Hacker To: John Baldwin Cc: Subject: RE: Problem with sio in -current ... possible cause of hangs? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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