I seem to be getting mixed messages from savecore(8)

David Wolfskill david at catwhisker.org
Sun Dec 8 22:47:17 UTC 2019


This is running a system based on head at r354689.  (I realize that it
claims r354207; there was an "issue" with respect to git notes &
refs....)

Evidence:
test_host# savecore -v -v -C /dev/nda0p5
checking for kernel dump on device /dev/nda0p5
mediasize = 17179869184 bytes
sectorsize = 512 bytes
First dump headers:
Dump header from device: /dev/nda0p5
  Architecture: amd64
  Architecture Version: 2
  Dump Length: 247502187
  Blocksize: 512
  Compression: gzip
  Dumptime: Sun Dec  8 22:05:20 2019
  Hostname: test_host.ix.nflxvideo.net
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 13.0-CURRENT #0 r354207+6722509e5333-c729675(release-2
019Q4.3.1): Wed Dec  4 11:43:57 PST 2019
    root at build_host:/mem/.obj/nano.nflx/mem/FreeBSD/amd64.amd64
/sys/RE
  Panic String: kdb_sysctl_panic
  Dump Parity: 3584057358
  Bounds: 0
  Dump Status: unknown

Last dump headers:
Dump header from device: /dev/nda0p5
  Architecture: amd64
  Architecture Version: 2
  Dump Length: 247502187
  Blocksize: 512
  Compression: gzip
  Dumptime: Sun Dec  8 22:05:20 2019
  Hostname: test_host.ix.nflxvideo.net
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 13.0-CURRENT #0 r354207+6722509e5333-c729675(release-2
019Q4.3.1): Wed Dec  4 11:43:57 PST 2019
    root at build_host:/mem/.obj/nano.nflx/mem/FreeBSD/amd64.amd64
/sys/RE
  Panic String: kdb_sysctl_panic
  Dump Parity: 3584057358
  Bounds: 0
  Dump Status: unknown

A dump exists on /dev/nda0p5
test_host# savecore -v -v -m3 --libxo json /var/log/coredumps /dev/nda0p5
unable to open bounds file, using 0
checking for kernel dump on device /dev/nda0p5
test_host# echo $?
0
test_host#

So: If I understand correctly, "savecore -C" detacts that a dump exists
on the cited device, but invoking savecore to actually ... save ... the
dump does not actually do that.

Any suggestions for expressing my request in a way that savecore is a
bit more likely to accept?

Thanks!

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
With respect to Trump's impeachment and his willful delaying of that process:
"Justice delayed is justice denied"

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20191208/932657d6/attachment.sig>


More information about the freebsd-hackers mailing list