diff options
author | beat <beat@FreeBSD.org> | 2009-10-20 01:22:30 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2009-10-20 01:22:30 +0800 |
commit | 9d452fa84d6c656f7dd44dc19138c3877044bbe5 (patch) | |
tree | 926bf8ce17d8ecf370077fb56deb6867fbbe8c93 /sysutils | |
parent | 7f58651b7111e80580978ebbac91d1ed438bed9b (diff) | |
download | freebsd-ports-gnome-9d452fa84d6c656f7dd44dc19138c3877044bbe5.tar.gz freebsd-ports-gnome-9d452fa84d6c656f7dd44dc19138c3877044bbe5.tar.zst freebsd-ports-gnome-9d452fa84d6c656f7dd44dc19138c3877044bbe5.zip |
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>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/bsdcrashtar/Makefile | 20 | ||||
-rw-r--r-- | sysutils/bsdcrashtar/distinfo | 3 | ||||
-rw-r--r-- | sysutils/bsdcrashtar/pkg-descr | 13 |
4 files changed, 37 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 29065056ec21..79e893de9d93 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -69,6 +69,7 @@ SUBDIR += brasero SUBDIR += bsd-splash-changer SUBDIR += bsdadminscripts + SUBDIR += bsdcrashtar SUBDIR += bsdhwmon SUBDIR += bsdsar SUBDIR += bsdstats diff --git a/sysutils/bsdcrashtar/Makefile b/sysutils/bsdcrashtar/Makefile new file mode 100644 index 000000000000..fe620c63d97b --- /dev/null +++ b/sysutils/bsdcrashtar/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: bsdcrashtar +# Date created: 18 October 2009 +# Whom: Mikolaj Golub <to.my.trociny@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= bsdcrashtar +PORTVERSION= 0.1.0 +CATEGORIES= sysutils +MASTER_SITES= GOOGLE_CODE + +MAINTAINER= to.my.trociny@gmail.com +COMMENT= Archive FreeBSD kernel crash files + +PLIST_FILES= sbin/bsdcrashtar +MAN8= bsdcrashtar.8 +MANCOMPRESSED= yes + +.include <bsd.port.mk> diff --git a/sysutils/bsdcrashtar/distinfo b/sysutils/bsdcrashtar/distinfo new file mode 100644 index 000000000000..9d536e961029 --- /dev/null +++ b/sysutils/bsdcrashtar/distinfo @@ -0,0 +1,3 @@ +MD5 (bsdcrashtar-0.1.0.tar.gz) = bc6b3f73f1dbb76a0f714612364ceef8 +SHA256 (bsdcrashtar-0.1.0.tar.gz) = ad8edb2bb8db626f841fdde6472ee61a2a6da2f4cd517b6b09be49d625f96fad +SIZE (bsdcrashtar-0.1.0.tar.gz) = 5238 diff --git a/sysutils/bsdcrashtar/pkg-descr b/sysutils/bsdcrashtar/pkg-descr new file mode 100644 index 000000000000..8f06b6ed0449 --- /dev/null +++ b/sysutils/bsdcrashtar/pkg-descr @@ -0,0 +1,13 @@ +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/ |