From owner-freebsd-questions@FreeBSD.ORG Fri Apr 6 18:04:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E573106568A for ; Fri, 6 Apr 2012 18:04:58 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from nm22-vm1.bullet.mail.ne1.yahoo.com (nm22-vm1.bullet.mail.ne1.yahoo.com [98.138.90.252]) by mx1.freebsd.org (Postfix) with SMTP id 5A8D58FC08 for ; Fri, 6 Apr 2012 18:04:58 +0000 (UTC) Received: from [98.138.90.50] by nm22.bullet.mail.ne1.yahoo.com with NNFMP; 06 Apr 2012 18:04:52 -0000 Received: from [98.138.89.175] by tm3.bullet.mail.ne1.yahoo.com with NNFMP; 06 Apr 2012 18:04:52 -0000 Received: from [127.0.0.1] by omp1031.mail.ne1.yahoo.com with NNFMP; 06 Apr 2012 18:04:52 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 831344.45912.bm@omp1031.mail.ne1.yahoo.com Received: (qmail 44183 invoked by uid 60001); 6 Apr 2012 18:04:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1333735492; bh=QmYd5wllJE3/iwo1WwSJlcICAkNYc6zwizArEoGbARE=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZLJGAMELWzS/uqgeq/qxN1y5TLQyLaENTlrZCEyJ2yqCEb3I6F1dRsr75SzgRmHuVOGQNaqVxFk1DQ1M8Q/8wD3qiwX8pjpXSshWUlAqW5DJDD35TPQ9hJPEZfkqj2fuPH9MNaDwES/y41N/5lt4SYJ1QqJpcV/KmqJ7vH7v68U= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hKLIPHNoY8cTeoeXtTEKPspZtHhEKYotjWnfuexLXkFyLi75xtkXSwXCCxDA0Z52olWuvalbn5LVMdOHhALx3g9xI3JTL/40nVOBjeUD5ocqUGfQgRoSJoAm2WNp3UtuQFmh5/toD/z0meFU52/bJ/TBfePdOSJgi6/zo7MGLqc=; X-YMail-OSG: sMtSpxMVM1kBkdpvqr.QX0.wcpmHjO9L2fa1OdTfUbj7zz5 6z40W_FjqY0D93SeXoJyfAE1.Asweax7MnBo._FUAGrSxCx70S4Jwp0p_K0V rZh6L0cmShoYUzVnHj3MkLfpNI7Ey7Znv1Kx0xAUzSZDHi7LnaNZxBOLEMGO h5CKMbMQjPcFxDRsiJI5L.PoYg6d53yXwLGO2U4DP6vh6u.SJZ1dI2c9jmbe KOycGHsz1TNK961D_unSWiM54xv5UN_nQYdhHoWVFfKWxy0baiwFXKMKE.W2 B7MYW54RfUJbECWjeouDavYFzpND4usTIZeSDyxS8R9VDfwAPDazLFRq00Ac fyv0ZBpr578oPI7pFNk2MBrYcqaIFi1Xv44_3AwrggjnWpwQboRZIsh.NT8h vLLOStuV_AkR4RjWCHSuctEQlzCsC4pOVLZpqCLlA9fyLlUQvOKrCLxJOaX_ ofh3lIpap27dIHhAd Received: from [98.172.152.198] by web130205.mail.mud.yahoo.com via HTTP; Fri, 06 Apr 2012 11:04:52 PDT X-Mailer: YahooMailWebService/0.8.117.340979 Message-ID: <1333735492.43069.YahooMailNeo@web130205.mail.mud.yahoo.com> Date: Fri, 6 Apr 2012 11:04:52 -0700 (PDT) From: gahn To: freebsd general questions MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: learning freebsd kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gahn List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2012 18:04:58 -0000 hi gurus:=0A=0Ahow could i create the core dumps on freebsd kernel? i am tr= ying to create a kernel core dump on 8.1 but it didn't happen:=0A=0A# sysct= l -w debug.kdb.panic=3D1=0A=0Awell the system went panic, entered the mode = db>. i did "reboot' but there was no core/kernel dumps under /var/crash.=0A= =0Athe customized kernel has those information enabled:=0A=0A# Debugging fo= r use in -current=0Aoptions=A0=A0=A0=A0=A0=A0=A0=A0 KDB=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # Enable kernel debugger support= .=0Aoptions=A0=A0=A0=A0=A0=A0=A0=A0 DDB=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 # Support DDB.=0Aoptions=A0=A0=A0=A0=A0=A0=A0=A0 G= DB=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # Support re= mote GDB.=0A=0Auser@host:~:$ sysctl -a | grep debug.kdb=0Adebug.kdb.stop_cp= us: 1=0Adebug.kdb.trap_code: 0=0Adebug.kdb.trap: 0=0Adebug.kdb.panic: 0=0Ad= ebug.kdb.enter: 0=0Adebug.kdb.current: ddb=0Adebug.kdb.available: ddb =0A= =0A=0A=0Aby the way, where is my gdb? on one of my company's machisne, it l= ooks like this:=0A=0Adebug.kdb.available: ddb gdb=0A=0Athank you all=0A=0A/= gahn