Date: Sat, 12 Feb 2005 13:26:59 -0800 From: "Ashwin Chandra" <ashcs@ucla.edu> To: "Ryan Sommers" <ryans@gamersimpact.com> Cc: freebsd-hackers@freebsd.org Subject: Re: VMCORE NOT FOUND Message-ID: <001001c51149$95f085a0$58e243a4@ash> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <ryans@gamersimpact.com> To: "Ashwin Chandra" <ashcs@ucla.edu> Cc: <freebsd-hackers@freebsd.org> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001c51149$95f085a0$58e243a4>