From owner-cvs-all Wed Jun 20 9:53:24 2001 Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 9E37137B401; Wed, 20 Jun 2001 09:53:17 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.3/8.11.2) with ESMTP id f5KGr7I29060; Wed, 20 Jun 2001 09:53:07 -0700 (PDT) (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: Wed, 20 Jun 2001 09:53:41 -0700 (PDT) From: John Baldwin To: Matthew Jacob Subject: Re: cvs commit: src/sys/isa sio.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Ian Dowse Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 20-Jun-01 Matthew Jacob wrote: > > Was this tested on alpha? I will shortly. It might make my life a lot easier as I might finally get a chance to break into my livelocked SMP rawhide now. Doing stack traces and what not via memory dumps from SRM is much more painful compared to ddb. :) > On Wed, 20 Jun 2001, Ian Dowse wrote: > >> iedowse 2001/06/20 09:47:24 PDT >> >> Modified files: >> sys/isa sio.c >> Log: >> The serial console break-to-debugger support only functioned while >> the console device was open. At other times, the interrupts that >> are used to detect the break signal or ~^B sequence were disabled, >> so these events would not be noticed until the next open (e.g. the >> next kernel printf). This was mainly a problem while there was no >> getty running on the console, such as during bootup or shutdown. >> >> For serial consoles with break-to-debugger support, we now enable >> the generation of interrupts at attach time, and we leave them >> enabled while the device is closed. >> >> Reviewed by: bde (I've since made chages as per his suggestions) >> >> Revision Changes Path >> 1.336 +22 -2 src/sys/isa/sio.c >> > -- 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 cvs-all" in the body of the message