From owner-freebsd-current Sat Mar 3 15:25:40 2001 Delivered-To: freebsd-current@freebsd.org Received: from moby.geekhouse.net (moby.geekhouse.net [64.81.6.36]) by hub.freebsd.org (Postfix) with ESMTP id 9567737B718 for ; Sat, 3 Mar 2001 15:25:37 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@dhcp152.geekhouse.net [192.168.1.152]) by moby.geekhouse.net (8.11.0/8.9.3) with ESMTP id f23NQL166344; Sat, 3 Mar 2001 15:26:22 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sat, 03 Mar 2001 15:25:18 -0800 (PST) From: John Baldwin To: The Hermit Hacker Subject: RE: Problem with sio in -current ... possible cause of hangs? Cc: freebsd-current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message