From owner-freebsd-current Tue Aug 6 20:32:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9925437B495 for ; Tue, 6 Aug 2002 20:32:47 -0700 (PDT) Received: from hotmail.com (oe96.pav0.hotmail.com [64.4.33.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA1E843E77 for ; Tue, 6 Aug 2002 20:32:46 -0700 (PDT) (envelope-from oykai@msn.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 6 Aug 2002 20:32:46 -0700 X-Originating-IP: [210.74.136.33] From: "ouyang kai" To: Subject: how to debug the kernel Date: Wed, 7 Aug 2002 11:32:42 +0800 MIME-Version: 1.0 X-Mailer: MSN Explorer 6.10.0016.1624 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0000_01C23E06.24DDD980" Message-ID: X-OriginalArrivalTime: 07 Aug 2002 03:32:46.0497 (UTC) FILETIME=[18DED910:01C23DC3] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ------=_NextPart_001_0000_01C23E06.24DDD980 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hi, everybody, I want to debug my kernel based on FreeBSD Current DP-1. I do some steps as the site: http://www.onlamp.com/pub/ct/13 In the kernel conf: options DDB, DDB_UNATTENDED makeoptions DEBUG=3D-g In the /etc/rc.conf: dumpdev=3D"/dev/ad0s1b" =20 dumpdir=3D"/var/crash" =20 savecore_flags=3D"-z" =20 Then, I copy /sys/i386/compile/oyk/kernel.debug /var/crash, and reboot = my box. Now, I debug my kernel, and occur the panic problem. But, I didn't fin= d kernel.0 and vmcore.0 in the /var/crash. And I didn't howto debug the kernel. Thank you! Best Regards Ouyang KaiGet more from the Web. FREE MSN Explorer download : http://exp= lorer.msn.com ------=_NextPart_001_0000_01C23E06.24DDD980 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Hi, everybody,=
  I want to debug my kernel based on FreeBSD Current DP-= 1.
  I do some steps as the site: http://www.onlamp.com/pub/ct/13
 = ; In the kernel conf:
      options DDB, DDB_UNATTENDED
      makeoptions DEBUG=3D-g
  In the /etc/rc.conf:
      dumpdev=3D"/dev/ad0s1b"   = ;        
   &= nbsp;  dumpdir=3D"/var/crash"   
   = ;   savecore_flags=3D"-z"
 
&n= bsp; Then, I copy /sys/i386/compile/oyk/kernel.debug /var/crash, and rebo= ot my box.
   Now, I debug my kernel, and occur the = panic problem. But, I didn't find  kernel.0 and vmcore.0 i= n the /var/crash.
   And I didn't howto debu= g the kernel.

    Thank you!

Best R= egards
Ouyang Kai


Get more from= the Web. FREE MSN Explorer download : http://explorer.msn.com

------=_NextPart_001_0000_01C23E06.24DDD980-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message