From owner-freebsd-arch Thu Apr 5 22:31:34 2001 Delivered-To: freebsd-arch@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 8768C37B422 for ; Thu, 5 Apr 2001 22:31:31 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 45BD86ACB8; Fri, 6 Apr 2001 15:01:29 +0930 (CST) Date: Fri, 6 Apr 2001 15:01:29 +0930 From: Greg Lehey To: FreeBSD-arch@FreeBSD.org Subject: Making ddb a kld Message-ID: <20010406150129.O66503@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A little over a year, I did some work for Sitara Networks. In the course of this work, I made ddb an lkm, in order to be able to load it on a production system if needed. I'm now in the process of merging Sitara's code, which is based on 3.2-RELEASE, into RELENG_4. Sitara have generously agreed that we can commit any fixes they have in their tree which are not vital to their commercial interests. The ddb mods would be one of them. Do we want to do this? The pros and cons I see are: Pro: 1. We often get people who say "my system crashes. Why". On checking, there's no practical way to determine why, because they don't have a debugger in the system. 2. Occasionally it's convenient to look at what's happening in a running system. Admittedly, you have to freeze the system to use ddb, but it can be of use. Con: 1. This will require moving all the ddb code, which is scattered around the system, into a separate file. I'm prepared to do the work, but it's possible that somebody would complain about the colour of the bikeshed. Here's your chance. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message