From owner-freebsd-hackers Sat Mar 27 18:15:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id D9F13150BD; Sat, 27 Mar 1999 18:14:34 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA17065; Sun, 28 Mar 1999 11:44:14 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA70046; Sun, 28 Mar 1999 11:44:11 +0930 (CST) Message-ID: <19990328114410.U53452@lemis.com> Date: Sun, 28 Mar 1999 11:44:10 +0930 From: Greg Lehey To: Andrzej Bialecki Cc: Jesse , "Daniel C. Sobral" , freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Debug kernel by default? (was: Taking panic dumps (was: 3.1-STABLE dies on 40+ connects (resolved))) References: <19990327174738.B425@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Andrzej Bialecki on Sat, Mar 27, 1999 at 09:18:06PM +0100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 27 March 1999 at 21:18:06 +0100, Andrzej Bialecki wrote: > On Sat, 27 Mar 1999, Greg Lehey wrote: > >> On Thursday, 25 March 1999 at 16:09:44 -0800, Jesse wrote: >>> >>>>> Thanks everybody for your help! FreeBSD is great and it's 80% about the >>>>> community. Not that I didn't always know it. =) >>>> >>>> Notice that a core dump + kernel with symbols would still be very >>>> useful to find *where* in our code is the bug. >>> >>> I asked in other messages if anyone still wanted me to do that. No one >>> replied. Anyway, I'll do this at an off hour and get a core dump. >> >> OK. I really should put this in the FAQ, since it's really important. > > I agree - it's really important, that's why it's in the handbook. :-) Well, there's a threshold difference between the handbook and the FAQ. In addition, the description in the handbook is rather confusing. I intend to overhaul it once the handbook comes out of its freeze (hopefully soon). In that connection, any comments about changing the default way of building a kernel to create a debug kernel and a stripped copy, and install the stripped copy? It would require about 10 MB more storage and a little more time to build the kernel, but since kgdb is useless without the debug symbols, and disk space is cheap, it seems to me that it would be worthwhile. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message