Getting kernel dumps

Willem Jan Withagen wjw at withagen.nl
Tue Jun 8 12:30:55 GMT 2004


> > After fixing user core dumps > 2 Gb, I'm now in search of getting my
> kerneldumps
> > to work.....
> >
> > opteron# uname -a
> > FreeBSD opteron.digiware.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #17: Fri Jun  4
> 15:2
> > 9:43 CEST 2004
> wjw at opteron.digiware.nl:/usr/obj/home2/src/sys/OPTERON.amd64
> >  amd64
> >
> >
> > This is what I do:
> > ----------------
> >     ctrl-alt-esc
> >
> > db> call doadump
> > Dumping 2046 MB
> >
> > Dump failed. Partition too small.
> > 0x23
> > ----------------
> >
> > Which is sort of bogus since the swappartition is "only" 5GB and there's
only
> > 2 GB of memory in the box.
>
> Pilot error in this one.....
>
> dumpon /dev/ad0s2b was my friend
>
> I'll send a PR to take this as aspecific example so other do not get burnt as
> well.

I now have a dump, but it does not seem to be correct......
========
opteron# savecore -v
checking for kernel dump on device /dev/ad0s2b
mediasize = 5368709120
sectorsize = 512
savecore: parity error on last dump header on /dev/ad0s2b
savecore: unsaved dumps found but not saved
========

Is this because I 'call doadump' which is not appropriate???
Or are the headers really mangled...
And then why??

--WjW



More information about the freebsd-amd64 mailing list