From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 27 10:57:12 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD47B16A4E2 for ; Thu, 27 Jul 2006 10:57:12 +0000 (UTC) (envelope-from mag@intron.ac) Received: from smtp.263.net (263.net.cn [211.150.96.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5447A43D49 for ; Thu, 27 Jul 2006 10:57:12 +0000 (GMT) (envelope-from mag@intron.ac) Received: from origin.intron.ac (unknown [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id 1081FF1D8C for ; Thu, 27 Jul 2006 18:57:17 +0800 (CST) X-KSVirus-check: 0 From: "Intron" To: freebsd-hackers@freebsd.org Date: Thu, 27 Jul 2006 18:56:05 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-Id: <1153997829.12770@origin.intron.ac> Subject: How to Use ddb(4)? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2006 10:57:12 -0000 I have add relevant options into my kernel (7.0-CURRENT) configuration file: makeoptions DEBUG=-g options KDB options DDB options GDB options INVARIANTS options INVARIANT_SUPPORT options WITNESS options WITNESS_SKIPSPIN When kernel panics, the prompt "db>" will appear. But at this time I cannot control my computer with keyboard any longer. What's wrong with me? In my mind, both 7.0-CURRENT and 6.x-STABLE halt a year ago are all right in ddb(4). By the way, the loader(8) option "-a" (to let user decide which file system is taken as root file system) is also unusable. ------------------------------------------------------------------------ From Beijing, China