Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2005 02:58:50 -0800 (PST)
From:      kamal kc <kamal_ckk@yahoo.com>
To:        freebsd-questions@freebsd.org
Cc:        freebsd <freebsd-hackers@freebsd.org>
Subject:   kernel crash dump could not be obtained
Message-ID:  <20051031105850.97235.qmail@web35705.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
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		Dump	Pass#
/dev/ad0s1b		none		swap	sw		0	0
/dev/ad0s1a		/		ufs	rw		1	1
/dev/ad0s1e		/tmp		ufs	rw		2	2
/dev/ad0s1f		/usr		ufs	rw		2	2
/dev/ad0s1d		/var		ufs	rw		2	2
/dev/acd0		/cdrom		cd9660	ro,noauto	0	0


swap partition is /dev/ad0s1b

swapinfo gives the output:--
Device          1K-blocks     Used    Avail Capacity
/dev/ad0s1b        495048        0   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051031105850.97235.qmail>