From owner-freebsd-hackers Wed Mar 21 22:43: 1 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.prod.itd.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 63F9A37B71B for ; Wed, 21 Mar 2001 22:42:58 -0800 (PST) (envelope-from gvirdi@gvirdi.com) Received: from dhgfhcpps5nhe1 (ip89.schiller-park8.il.pub-ip.psi.net [38.31.125.89]) by snipe.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id WAA14847 for ; Wed, 21 Mar 2001 22:42:56 -0800 (PST) Message-ID: <000d01c0b29b$2196cd60$050101c0@dhgfhcpps5nhe1> From: "Gurpratap Virdi" To: Subject: Fw: Debugging kernel crashes Date: Thu, 22 Mar 2001 00:41:29 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I made some modifications to the FreeBSD kernel which causes it to crash. I was trying to determine the line number and file of the code that causes the crash using the instructions given at http://www.freebsd.org/handbook/kerneldebug.html I have the following questions related to the above instructions though. I understand we can use dumpon(8) to tell the kernel to dump the core file to a swap partition. If our system is only configured with one swap partition, can we still point the kernel to this partition? I mean would the core file get overwritten when the system reboots and uses the space as swap again. Now, supposedly the kernel is able to write the core file to the swap partition and the system reboots without overwriting the core file, how do we access the core file? Thanks in advance for your help!! Regards, Virdi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message