From owner-freebsd-stable Mon Apr 15 4: 5: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 63F5737B404 for ; Mon, 15 Apr 2002 04:05:01 -0700 (PDT) Received: from rasputin by shikima.mine.nu with local (Exim 3.35 #1) id 16x4I6-0000rM-00; Mon, 15 Apr 2002 12:04:58 +0100 Date: Mon, 15 Apr 2002 12:04:58 +0100 From: Rasputin To: Nick Hibma Cc: stable@freebsd.org Subject: Re: Status, USB/Olympus E-10 Message-ID: <20020415120458.B3160@shikima.mine.nu> References: <200204141317.JAA5477193@shell.TheWorld.com> <20020415094031.O36693-100000@heather.van-laarhoven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020415094031.O36693-100000@heather.van-laarhoven.org>; from n_hibma@van-laarhoven.org on Mon, Apr 15, 2002 at 09:47:22AM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Nick Hibma [020415 08:48]: > Running with a debug kernel should be no problem and not much slower > than running with a production kernel. I thought the '-g' flag created two kernels, kernel and kernel.debug. I've always found I can run with kernel, then just pass kernel.debug to 'gdb -k' after a panic/reboot (see below). > The only problem is that the > machine no longer can be used in unattended mode as it drops into the > debugger on panic. options DDB_UNATTENDED # reboot after panics is fine for me (so long as savecore is enabled and you have enough swap). Mr Lucas (he of blackhelicopter fame) did a good howto at: http://www.onlamp.com/lpt/a//bsd/2002/04/04/Big_Scary_Daemons.html (that's part 2 - part 1 is linked from there) (Not for Nicks benefit, I just thought it explained stuff well in case anyone else on the list in unsure how to do this). -- Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message