Bug 139721 - New port: sysutils/bsdcrashtar -- archive FreeBSD kernel crash files
Summary: New port: sysutils/bsdcrashtar -- archive FreeBSD kernel crash files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beat Gaetzi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-18 16:10 UTC by Mikolaj Golub
Modified: 2009-10-19 18:30 UTC (History)
0 users

See Also:


Attachments
file.shar (2.17 KB, text/plain)
2009-10-18 16:10 UTC, Mikolaj Golub
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikolaj Golub 2009-10-18 16:10:07 UTC
The bsdcrashtar utility creates tar a archive that contains all files needed for debugging FreeBSD kernel crash (vmcore, kernel, loaded modules, sources that appear in backtrace). This is useful for debugging a crash on another host, sending it to developers or if you are going to upgrade the kernel on crashed host but would like to keep crashdump in case the developers ask you to provide additional info.

Created tar archive contains also a script that when being run inside unpacked archive will give kgdb(1) session with crash core loaded in it. The script should be run with root privileges because it does chroot(8) before starting kgdb(1).

Fix: Patch attached with submission follows:
Comment 1 Beat Gaetzi freebsd_committer freebsd_triage 2009-10-18 22:27:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beat

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-10-19 18:22:45 UTC
beat        2009-10-19 17:22:30 UTC

  FreeBSD ports repository

  Modified files:
    sysutils             Makefile 
  Added files:
    sysutils/bsdcrashtar Makefile distinfo pkg-descr 
  Log:
  The bsdcrashtar utility creates tar a archive that contains all files needed
  for debugging FreeBSD kernel crash (vmcore, kernel, loaded modules, sources
  that appear in backtrace). This is useful for debugging a crash on another
  host, sending it to developers or if you are going to upgrade the kernel on
  crashed host but would like to keep crashdump in case the developers ask you to
  provide additional info.
  
  Created tar archive contains also a script that when being run inside unpacked
  archive will give kgdb(1) session with crash core loaded in it. The script
  should be run with root privileges because it does chroot(8) before starting
  kgdb(1).
  
  WWW: http://bsdcrashtar.googlecode.com/
  
  PR:             ports/139721
  Submitted by:   Mikolaj Golub <to.my.trociny AT gmail.com>
  
  Revision  Changes    Path
  1.1135    +1 -0      ports/sysutils/Makefile
  1.1       +20 -0     ports/sysutils/bsdcrashtar/Makefile (new)
  1.1       +3 -0      ports/sysutils/bsdcrashtar/distinfo (new)
  1.1       +13 -0     ports/sysutils/bsdcrashtar/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Beat Gaetzi freebsd_committer freebsd_triage 2009-10-19 18:23:33 UTC
State Changed
From-To: open->closed

New port added. Thanks!