From owner-freebsd-hackers Fri Jan 11 17:25:44 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 A736137B41A; Fri, 11 Jan 2002 17:25:40 -0800 (PST) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.11.1/8.11.1) id g0C1PTL47392; Fri, 11 Jan 2002 20:25:29 -0500 (EST) (envelope-from bicknell) Date: Fri, 11 Jan 2002 20:25:29 -0500 From: Leo Bicknell To: Terry Lambert Cc: Lyndon Nerenberg , John Baldwin , freebsd-hackers@FreeBSD.ORG, Alfred Perlstein Subject: Re: serial console + boot blip Message-ID: <20020112012529.GA47286@ussenterprise.ufp.org> Mail-Followup-To: Terry Lambert , Lyndon Nerenberg , John Baldwin , freebsd-hackers@FreeBSD.ORG, Alfred Perlstein References: <20020111042439.GA24433@ussenterprise.ufp.org> <200201111648.g0BGmA2I047791@atg.aciworldwide.com> <20020111165416.GA36184@ussenterprise.ufp.org> <3C3F3E1D.F23F9BD7@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C3F3E1D.F23F9BD7@mindspring.com> 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 Fri, Jan 11, 2002 at 11:33:49AM -0800, Terry Lambert wrote: > I'm guessing that, even though you are not saying it, that the DTR > drop occurs *immediately* after the probe and attach, and not some > short time after the init scripts have fully rung, and the getty's > are started, initiating "first opens" (this is an educated guess > from looking at the code). No, this is wrong. The probe comes and goes, and I see a long list of probes after it. The drop is after the last kernel probe, and before the first non-kernel message (verified for both single user and multi-user now). Again the best way I know to describe this is that the drop occurs when the "boot sequence" switches from bold print to normal print on a CRT. Hooking up a crt to the same spot, and comparing messages with what I see on the serial port shows this is when it happens. What I have now realized is that this is long before getty runs, since it is not run on the console until the boot scripts complete. I now suspect the bios is leaving DTR high, and when init sets up stdout (for the rc scripts) and/or "opens the console" is when DTR is momentarily dropped. I'll be darned if I can see where that happens in init though. -- 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