From owner-freebsd-stable@FreeBSD.ORG Sat Jun 6 13:20:58 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8409106566C for ; Sat, 6 Jun 2009 13:20:58 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211]) by mx1.freebsd.org (Postfix) with ESMTP id 422E98FC15 for ; Sat, 6 Jun 2009 13:20:57 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz7 with SMTP id 7so8003bwz.43 for ; Sat, 06 Jun 2009 06:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=IpYyjpkw1DPJRQ48QDB9kwfAPE0L9EXtjn7cACFd7ns=; b=glvGr2Dmfj9VWupEjU3DMMVeYKyf36pRT+WP1yyuVorMN1/9o+RYAkC1izxq7YvCAA xBHma1GRdjb+QC1UjXOMPopkKT9cEpDYG1hENLwfQ35IAxb6nFH8YUqyrzrxIsX15SuZ ziTdq+OB+H/zXvhENjWEmCSH4ESpLe/WvPlAk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Mb2dDaCbAPTC+NcgzY3KcECopwyWGfFDpjg3zIb5MOjoVk2DedaQF0rJ3pJd4xnFuR YHscr11hVApEnnQti63oXJomGbL1gO/CqNcm0H4++TMv+k/DrH0BiadnIIIvm2VV0uod QfzT7ZE+9tH0OXT1TpeVNIpEKY5v2YKxOQZQg= MIME-Version: 1.0 Received: by 10.204.53.10 with SMTP id k10mr4280129bkg.169.1244294457072; Sat, 06 Jun 2009 06:20:57 -0700 (PDT) In-Reply-To: <4ad871310906060616u7f162f26h8a3149fbe7e4c273@mail.gmail.com> References: <4ad871310906060616u7f162f26h8a3149fbe7e4c273@mail.gmail.com> Date: Sat, 6 Jun 2009 09:20:57 -0400 Message-ID: <4ad871310906060620l4ac34881g1ff4946a9bea569@mail.gmail.com> From: Glen Barber To: stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Kernel Debugging Options X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2009 13:20:59 -0000 On Sat, Jun 6, 2009 at 9:16 AM, Glen Barber wrote: > Hello everyone > > I have a two-part question: > > I have a minimally customized GENERIC kernel, with the only changes being= : > options =A0 =A0 =A0 =A0 KDB > options =A0 =A0 =A0 =A0 KDB_UNATTENDED > options =A0 =A0 =A0 =A0 DDB > > and 'sysctl debug.debugger_on_panic' shows: > debug.debugger_on_panic: 0 > > However, after a panic loading the vboxdrv.ko module, the machine did > not reboot automatically after reboot. I meant "automatically after panic". It's early, and I am apparently unable to type a coherent thought... > > Here are my questions: > 1) =A0Would enabling DDB in the kernel prevent an automatic reboot after = a panic? > > 2) =A0Does the debugger wait for XX seconds of console inactivity before > rebooting? =A0I was under the impression from the handbook that the > machine would instantly reboot and after dumping the crash to vmcore0. > =A0Is this assumption incorrect? > > Thanks in advance for any input. > Also, if this is helpful, the userland / kernel are from two days ago, r193= 481: FreeBSD orion 7.2-STABLE FreeBSD 7.2-STABLE #0 r193481: Fri Jun 5 01:55:06 EDT 2009 root@orion:/usr/obj/usr/src/sys/ORION i386 --=20 Glen Barber http://www.dev-urandom.com http://www.linkedin.com/in/glenjbarber