Subject: savecore(8) doesn't find dump
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2008.salmi.ch>
List: current-users
Date: 01/03/2008 16:48:42
Hello,

on a 4.99.47 i386 system, savecore(8) is unable to save a dump even
though the dump seems to have been created successfully:

	$ shutdown -d now
	Shutdown NOW!
	[...]
	syncing disks... done
	unmounting file systems... done
	
	dumping to dev 0,1 offset 1141767
	dump 1014 1013 1012 [...] 3 2 1 succeeded
	
	
	rebooting...

...but during the next boot savecore(8) doesn't find any dump.

Hmm, the offset printed by the kernel before dumping differs from the
dump device's offset:

	$ swapctl -z
	dump device is wd0b
	$ disklabel wd0 | grep b:
	 b:   3219456  31719808       swap [...]

Is this ok, i.e. block != sector, or is this the source of my problem
(sector 1141767 is somewhere outside my NetBSD partition...)?


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~