From owner-freebsd-hackers Thu Jan 10 16:42:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by hub.freebsd.org (Postfix) with ESMTP id A7C3437B417; Thu, 10 Jan 2002 16:42:24 -0800 (PST) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.11.1/8.11.1) id g0B0gIB19703; Thu, 10 Jan 2002 19:42:18 -0500 (EST) (envelope-from bicknell) Date: Thu, 10 Jan 2002 19:42:18 -0500 From: Leo Bicknell To: John Baldwin Cc: freebsd-hackers@FreeBSD.org, Alfred Perlstein Subject: Re: serial console + boot blip Message-ID: <20020111004218.GA19608@ussenterprise.ufp.org> Mail-Followup-To: John Baldwin , freebsd-hackers@FreeBSD.org, Alfred Perlstein References: <20020111001143.GA19003@ussenterprise.ufp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: United Federation of Planets Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In a message written on Thu, Jan 10, 2002 at 04:16:07PM -0800, John Baldwin wrote: > Yes, that's what most of us do. :) ~. in tip/cu isn't but so bad, and > ^E c . in conserver is fairly quick. No no no. We need to improve the system! :) I did some digging. init does nothing with the terminals, and although I didn't look I'm going to assume the kernel doesn't given when it's happening (would happen after the serial port probe, if the kernel was initializing wrong). So that leaves getty. I'm a bit confused here, but it appears getty (for the console) looks like this: initialize to getty defaults initialize to configured values (from gettytab) log in user I believe the problem is occuring with the initalize to defaults. I think that's causing the port to lower DTR, and hang up the session, then it gets the gettytab values and is good to go again. I'm not sure if the defaults are needed for some reason (there are a lot of oddball terminals out there), but I find it likely the right thing to do is a single init, that is: get default values merge in configured values (from gettytab) init with default+merged values getty is a bit, well, cryptic to someone who doesn't normally write terminal code, is there a getty expert in the house? -- Leo Bicknell - bicknell@ufp.org - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message