*BSD News Article 74137


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!swrinde!elroy.jpl.nasa.gov!ames!tulane.edu!cpk-news-feed4.bbnplanet.com!scarolina.edu!usceast!usenet
From: Kevin Brown <kbrown@cs.sc.edu>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: core won't dump?
Date: Thu, 18 Jul 1996 17:46:23 -0400
Organization: University of South Carolina
Lines: 36
Message-ID: <31EEB0AF.167EB0E7@cs.sc.edu>
NNTP-Posting-Host: binky.cs.sc.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4 (X11; I; BSD/386 uname failed)

When my NetBSD 1.1 kernel crashes (due to my own faulty code), the core
does not dump succesfully.  I get the following messages:

syncing disks... done
dumping to dev 1, offset 8
dump32 wd0:wddump recal failed status 0 error 0
io error

then it reboots and savecore detects no core when it comes back up.

my fstab looks like
/dev/wd0a / ffs rw 1 1
/dev/wd0b none swap sw
/dev/wd0e /usr ffs rw 1 2
/dev/wd0f /dos msdos rw 1 2

and I have "swapon -a" in the /etc/rc file.

I'm concerned that my swap partition might be too small.  From the
disklabel, it's:
(512 B/sec)(4032 sec/cyl)(16 cyl) = 33,030,144 bytes
My memory is 32 MB.  Is this counted as:
32 * 10^6 = 32,000,000  or
32 * 2^20 = 33,554,432 ?

If space is really the problem, I'll repartition things, but I don't
want to do unless necessary.
My system has an 1.2 GB EIDE disk.

Thanks in advance for any advice.  A crashdump would really help me out.
Kevin
-- 
Kevin Brown
Department of Computer Science		email: kbrown@cs.sc.edu
University of South Carolina		http://www.cs.sc.edu/~kbrown
Columbia SC 29208			(803) 777-3774