From owner-freebsd-current Thu Jun 10 0:34:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from blockhead.mincom.com (blockhead1.mincom.com [203.55.175.241]) by hub.freebsd.org (Postfix) with ESMTP id A69AE14ECA; Thu, 10 Jun 1999 00:34:38 -0700 (PDT) (envelope-from philh@mincom.com) Received: (from uucp@localhost) by blockhead.mincom.com (8.9.3/8.9.3) id RAA74838; Thu, 10 Jun 1999 17:34:36 +1000 (EST) (envelope-from philh@mincom.com) Received: from porthole.mincom.oz.au(172.17.100.2) via SMTP by blockhead.mincom.oz.au, id smtpdT74834; Thu Jun 10 17:34:32 1999 Received: (from philh@localhost) by porthole.mincom.oz.au (8.8.8/8.8.5) id RAA03648; Thu, 10 Jun 1999 17:34:32 +1000 (EST) Date: Thu, 10 Jun 1999 17:34:32 +1000 From: Phil Homewood To: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: ENABLE_SERIAL_BREAK_KEY...or something? Message-ID: <19990610173432.K29796@mincom.com> References: <19990610154124.F22693@mincom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: ; from Mike Nowlin on Thu, Jun 10, 1999 at 02:27:30AM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Nowlin wrote: > Agreed, but this may be quite a project... doing a "cd ~bob" would be > fun. :) You would pretty much have to implement some timing > requirements, but I imagine that it could bulk up that section of the > kernel pretty easily. Yep. I started to hack something like this into sio.c in the days of 2.1, then the need disappeared for a while and I never completed it. > One thing that might help (assuming you CAN > generate a break) is to watch DCD (or some other control line(s)). Yes. (DSR also jumps to mind.) > Generally, when a break is sent intentionally, the DCD line is active -- > when the kernel detects a break, wait until after it's finished, then > check DCD. If it's high, drop to debugger. If it's low, somebody either > turned the terminal off or dropped outta kermit. Excellent idea. > (I have the displeasure of maintaining an AIX box that does something > similar to this. Before the upgrade that fixed this problem, turning off > the serial console brought the whole machine down.) Suns tend to do it too. Great fun when patch-monkeys disturb the cable to the console... :-) -- Phil Homewood DNRC email: philh@mincom.com Postmaster and BOFH Mincom Pty Ltd phone: +61-7-3303-3524 Brisbane, QLD Australia fax: +61-7-3303-3269 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message