From owner-freebsd-stable@FreeBSD.ORG Thu May 10 07:34:42 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A564D16A403 for ; Thu, 10 May 2007 07:34:42 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 443D313C457 for ; Thu, 10 May 2007 07:34:39 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id ECA0F43F4E for ; Thu, 10 May 2007 09:34:38 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id D9BE39B9B0; Thu, 10 May 2007 07:34:55 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id BE741405B; Thu, 10 May 2007 09:34:55 +0200 (CEST) Date: Thu, 10 May 2007 09:34:55 +0200 From: Jeremie Le Hen To: Jeremie Le Hen , freebsd-stable@FreeBSD.org Message-ID: <20070510073455.GD3986@obiwan.tataz.chchile.org> References: <20070509221927.GB3986@obiwan.tataz.chchile.org> <20070509230619.GA96092@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070509230619.GA96092@icarus.home.lan> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Re: "cu: Got hangup signal" on sio0 probe X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 07:34:42 -0000 Hi Jeremy, On Wed, May 09, 2007 at 04:06:19PM -0700, Jeremy Chadwick wrote: > On Thu, May 10, 2007 at 12:19:27AM +0200, Jeremie Le Hen wrote: > > % obiwan:root# cat /boot.config > > % -D > > % obiwan:root# grep ttyd0 /etc/ttys > > % ttyd0 "/usr/libexec/getty std.9600" dialup on secure > > > > This works correctly but on startup, when the kernel probes sio0, > > I get "Got hangup signal". Is it expected? > > I wonder if that's some sort of reference to carrier detect being > wired wrong on whatever device or adapter you have connected to > your serial port. > > However, I can't find this string referenced anywhere in the kernel > source code for RELENG_6. An (admittedly bad) egrep shows: > > $ egrep -r "Got .+ signal" /usr/src > /usr/src/contrib/amd/amd/nfs_start.c: /* Got a signal */ > /usr/src/usr.bin/make/job.c: * Got a signal. Set global variables and hope that someone will > /usr/src/usr.sbin/bluetooth/bthidd/bthidd.c: syslog(LOG_NOTICE, "Got signal %d, total number of signals %d", > /usr/src/usr.sbin/bluetooth/hcsecd/hcsecd.c: syslog(LOG_DEBUG, "Got signal %d, total number of signals %d", > /usr/src/usr.sbin/bluetooth/sdpd/main.c: log_notice("Got signal %d. Total number of signals received %d", > > What version of FreeBSD are you referring to? cu(1) was running on RELENG_4 :-). But I expected to problem to be on the remote side, a RELENG_6 box. > Consider using uart(4) as a possible alternative, but depending upon > the answer to the above question, this might not be applicable. > > I wrote some directions on how to get uart(4) to work, and one caveat I > found when attempting to use it. Those docs are here: > > http://jdc.parodius.com/freebsd_uart.txt Do you mean on the client or server side? Thank you. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >