Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

savecore(8) doesn't find dump




To: current-users%netbsd.org@localhost

Subject: savecore(8) doesn't find dump

From: Jukka Salmi <j+nbsd%2008.salmi.ch@localhost>

Date: Thu, 3 Jan 2008 16:48:42 +0100


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 ~



Follow-Ups:

Re: savecore(8) doesn't find dump
From: Jukka Salmi

Re: savecore(8) doesn't find dump
From: Antti Kantee

Re: savecore(8) doesn't find dump
From: Steven M. Bellovin




Prev by Date: Re: crash from ohci detach

Next by Date: panic while mounting msdosfs

Previous by Thread: ACPI functionality loss for older i386 mainboards with -current acpi changes during 2007

Next by Thread: Re: savecore(8) doesn't find dump

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index