Re: kernel crash dump could not be obtained

2005-10-31 Thread Kris Kennaway
On Mon, Oct 31, 2005 at 02:58:50AM -0800, kamal kc wrote:

> but rebooting does not show any crash dump file 
> on /var/crash.

What is displayed when savecore is run at boot time?  Alternatively,
what happens when you run savecore yourself?  You may not have enough
space on /var to save the dump.

Kris

P.S. Don't cross-post questions@ and [EMAIL PROTECTED]

pgpTjN9IVzhfR.pgp
Description: PGP signature


kernel crash dump could not be obtained

2005-10-31 Thread kamal kc
dear all,

i have to make modifictions to the kernel and 
i have been encountering kernel crashes all the 
time.

the kernel panics with messages starting with
vm_fault: and then crashes and reboots.

i guess i have done incorrect memory operations and 
i want to know where i went wrong.

so i thought of obtaining the crash dump. i went
through the developers guide. 
and i added the following lines on the /etc/rc.conf

---
dumpdev="/dev/ad0s1b"
dumpdir="/var/crash"
savecore_flags=""
--

the /etc/fstab file is

Device  Mountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw  2   2
/dev/ad0s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0


swap partition is /dev/ad0s1b

swapinfo gives the output:--
Device  1K-blocks UsedAvail Capacity
/dev/ad0s1b4950480   495048 0%

My memory size according to dmesg is --
real memory  = 266600448 (254 MB)
avail memory = 251232256 (239 MB)
--

Now when the kernel crashes it prints the message 
writing dump 240MB

but rebooting does not show any crash dump file 
on /var/crash.

please help
kamal










__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"