From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 12 21:26:58 2005 Return-Path: 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 79FDA16A4CE for ; Sat, 12 Feb 2005 21:26:58 +0000 (GMT) Received: from smtp.ucla.edu (smtp.ucla.edu [169.232.46.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E2B443D41 for ; Sat, 12 Feb 2005 21:26:58 +0000 (GMT) (envelope-from ashcs@ucla.edu) Received: from mail.ucla.edu (mail.ucla.edu [169.232.48.135]) by smtp.ucla.edu (8.13.1/8.13.1) with ESMTP id j1CLQvNT027863; Sat, 12 Feb 2005 13:26:57 -0800 Received: from ash (s226-88.resnet.ucla.edu [164.67.226.88]) (authenticated bits=0) by mail.ucla.edu (8.13.3/8.13.3) with ESMTP id j1CLQvck032572 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Sat, 12 Feb 2005 13:26:57 -0800 Message-ID: <001001c51149$95f085a0$58e243a4@ash> From: "Ashwin Chandra" To: "Ryan Sommers" References: <001901c510e1$aecc7c90$58e243a4@ash> <200502122218.42458.doconnor@gsoft.com.au> <003201c5113e$c56321e0$58e243a4@ash> <2777.24.107.98.253.1108241734.squirrel@24.107.98.253> Date: Sat, 12 Feb 2005 13:26:59 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Probable-Spam: no X-Spam-Hits: 0 X-Scanned-By: smtp.ucla.edu cc: freebsd-hackers@freebsd.org Subject: Re: VMCORE NOT FOUND X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 21:26:58 -0000 ryan, i think i was a bit vague in my email. I am correctly usnig the swap device and dump directory. Before the system reboots the core should be saved from the swap device (before it mounts) and into the path that i specified. dumpdev="/dev/ad0s1b", our 2gb swap device and dumpdir="/usr/crash" So I am doing all this correctly, yet still no dump comes up and I am not sure why! =( Ash ----- Original Message ----- From: "Ryan Sommers" To: "Ashwin Chandra" Cc: Sent: Saturday, February 12, 2005 12:55 PM Subject: Re: VMCORE NOT FOUND > Ashwin Chandra said: >> I actually changed dumpdir to /usr/crash since /var did not have enough >> space to accomodate 512 MB. But /usr has 60gigs. When the kernel panics >> it >> just crashes, I never get a message saying "dumping...". Savecore upon > > You dump to a device, not a path. Because the kernel is crashing > file-system consistency can't be assumed. Therefore you can't dump to a > file-system. Instead you dump to a device, typically the swap device. Then > after you reboot and ensure ensure file-system integrity you can save the > dump onto the file-system for analysis. > > I believe you are getting a little mixed up in all the terms: > > dump device: the device the kernel will save a dump to. (This is a device, > not a file-system path) > > dump dir: the file-system path a core from the dump device will be saved > to by savecore. > > The kernel does not dump to the dump dir. The kernel dumps to the dump > device, the savecore utility retrieves a previous dump from the dump > device and saves it in the dump dir. > > Like most things, this is outlined very well in the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN > > -- > Ryan Sommers > ryans@gamersimpact.com > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"