The NetBSD Project

CVS log for src/sbin/savecore/savecore.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / savecore

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.86.28.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:23 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.86.28.2: +10 -4 lines
Diff to previous 1.86.28.2 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored) to selected 1.52 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.86.28.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:20 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.86.28.1: +18 -6 lines
Diff to previous 1.86.28.1 (colored) to branchpoint 1.86 (colored) to selected 1.52 (colored)

Merge changes from current as of 20200406

Revision 1.90 / (download) - annotate - [select for diffs], Fri Apr 3 19:09:43 2020 UTC (4 years ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.89: +18 -6 lines
Diff to previous 1.89 (colored) to selected 1.52 (colored)

Avoid overflows when reading strings.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Nov 6 07:29:08 2019 UTC (4 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.88: +12 -6 lines
Diff to previous 1.88 (colored) to selected 1.52 (colored)

elide recently introduced warnings that trigger in normal cases, eg:

savecore: dump_exists:471: kvm_read newdumpmag: _kvm_kvatop(ffffffff8180030c)

Revision 1.86.28.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:36 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.86: +45 -63 lines
Diff to previous 1.86 (colored) to selected 1.52 (colored)

Sync with HEAD

Revision 1.86.26.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:12 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.86.26.1: +3 -3 lines
Diff to previous 1.86.26.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored) to selected 1.52 (colored)

Synch with HEAD

Revision 1.88 / (download) - annotate - [select for diffs], Thu Dec 27 21:25:46 2018 UTC (5 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored) to selected 1.52 (colored)

avoid infinite loop in kmem_check().  fixes bug introduced in previous.

Revision 1.86.26.1 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:14 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.86: +45 -63 lines
Diff to previous 1.86 (colored) to selected 1.52 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.87 / (download) - annotate - [select for diffs], Tue Nov 6 04:07:22 2018 UTC (5 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.86: +45 -63 lines
Diff to previous 1.86 (colored) to selected 1.52 (colored)

put a bunch of the kvm_read + warn on failure code into a macro that
describes more about what failed.  now errors tell you which actual
variable was being requested instead of simply saying "not yours".

tested on amd64 as working.  written for arm64 testing.

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:37:31 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.84.2.1: +33 -43 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored) to selected 1.52 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:52 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.85: +33 -43 lines
Diff to previous 1.85 (colored) next main 1.86 (colored) to selected 1.52 (colored)

resync from head

Revision 1.86 / (download) - annotate - [select for diffs], Mon May 13 18:44:11 2013 UTC (10 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.85: +33 -43 lines
Diff to previous 1.85 (colored) to selected 1.52 (colored)

- avoid using globals where it is simple.
- simplify: only use stdio for output.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:43 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.84: +10 -25 lines
Diff to previous 1.84 (colored) to selected 1.52 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Sat Apr 7 16:44:10 2012 UTC (12 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.84: +10 -25 lines
Diff to previous 1.84 (colored) to selected 1.52 (colored)

factor out rawname() from dump, fsck, savecore.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Sep 13 19:55:28 2011 UTC (12 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored) to selected 1.52 (colored)

print the missing flag if missing argument...

Revision 1.83 / (download) - annotate - [select for diffs], Mon Sep 12 21:22:07 2011 UTC (12 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.82: +45 -62 lines
Diff to previous 1.82 (colored) to selected 1.52 (colored)

- always print corrupted dump messages instead of silently failing
- don't require /var/crash to be specified, default to it
- determine and print the kernel name
- print all messages to syslog

Revision 1.82 / (download) - annotate - [select for diffs], Mon Aug 29 14:30:38 2011 UTC (12 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.81: +50 -63 lines
Diff to previous 1.81 (colored) to selected 1.52 (colored)

static + __dead

Revision 1.76.2.1.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:26:35 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.76.2.1: +5 -7 lines
Diff to previous 1.76.2.1 (colored) next main 1.76.2.2 (colored) to selected 1.52 (colored)

sync to netbsd-5

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Sat Nov 28 16:02:17 2009 UTC (14 years, 4 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.76.2.1: +5 -7 lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored) to selected 1.52 (colored)

Pull up following revision(s) (requested by dogcow in ticket #1157):
	sbin/savecore/savecore.c: revision 1.81
Instead of exiting with an obscure error message if -N /kernelname isn't
specified, blithely assume the kernel will consume around 20 megs.

Revision 1.81 / (download) - annotate - [select for diffs], Tue Aug 18 04:02:39 2009 UTC (14 years, 8 months ago) by dogcow
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.80: +5 -7 lines
Diff to previous 1.80 (colored) to selected 1.52 (colored)

Instead of exiting with an obscure error message if -N /kernelname isn't
specified, blithely assume the kernel will consume around 20 megs.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:06 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.78: +6 -10 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.52 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.80 / (download) - annotate - [select for diffs], Mon Apr 6 12:32:30 2009 UTC (15 years ago) by lukem
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.79: +6 -6 lines
Diff to previous 1.79 (colored) to selected 1.52 (colored)

fix sign-compare issues

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Tue Mar 24 20:46:43 2009 UTC (15 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.76: +2 -6 lines
Diff to previous 1.76 (colored) to selected 1.52 (colored)

Pull up following revision(s) (requested by tls in ticket #598):
	sbin/savecore/savecore.c: revision 1.79
Fix savecore so it uses /dev/ksyms when it can (doesn't override libkvm
default).  Fixes misc/38425.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Mar 21 19:32:44 2009 UTC (15 years ago) by tls
Branch: MAIN
Changes since 1.78: +2 -6 lines
Diff to previous 1.78 (colored) to selected 1.52 (colored)

Fix savecore so it uses /dev/ksyms when it can (doesn't override libkvm
default).  Fixes misc/38425.

Revision 1.72.4.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:48:53 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.72.4.2: +185 -28 lines
Diff to previous 1.72.4.2 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored) to selected 1.52 (colored)

Sync with HEAD.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Dec 28 20:17:11 2008 UTC (15 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.77: +4 -3 lines
Diff to previous 1.77 (colored) to selected 1.52 (colored)

fix dev_t format.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Dec 5 21:41:10 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored) to selected 1.52 (colored)

Enable the faked ELF kernel by default, now that ksyms output works with
gdb. Makes it possible to do post-mortem debugging on a modular kernel.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Oct 20 10:34:54 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2
Branch point for: netbsd-5
Changes since 1.75: +178 -29 lines
Diff to previous 1.75 (colored) to selected 1.52 (colored)

- Add code to produce a fake ELF kernel containing only symbol info. Done
  by extracting ksyms state from the dump, so we have symbols for modules
  loaded at the time of the crash. If ksyms extraction fails, this falls
  back to the current behaviour of copying /netbsd.

- Leave it disabled for the moment: (1) we are about to branch (2) most
  tools understand the artificial kernel but gdb has trouble with it for
  some reason.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Oct 9 13:59:50 2008 UTC (15 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.74: +9 -2 lines
Diff to previous 1.74 (colored) to selected 1.52 (colored)

Explicitly check that the dump device is not the console, a tty or pty.
While the list is adhoc, the problems reported are always with
/dev/console. Adresses PR 38425 and similiar issues with Xen.

Revision 1.72.4.2 / (download) - annotate - [select for diffs], Sun Sep 28 11:17:15 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.72.4.1: +2 -2 lines
Diff to previous 1.72.4.1 (colored) to branchpoint 1.72 (colored) to selected 1.52 (colored)

Sync with HEAD.

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:28:30 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored) next main 1.74 (colored) to selected 1.52 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Jul 20 01:20:23 2008 UTC (15 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored) to selected 1.52 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)

Revision 1.72.4.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:23 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.72: +11 -2 lines
Diff to previous 1.72 (colored) to selected 1.52 (colored)

Sync with HEAD.

Revision 1.72.6.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:54 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.72: +11 -2 lines
Diff to previous 1.72 (colored) next main 1.73 (colored) to selected 1.52 (colored)

sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Apr 20 23:40:31 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.72: +11 -2 lines
Diff to previous 1.72 (colored) to selected 1.52 (colored)

sync() a couple of times to benefit diagnosis of sloppy kernel code that
crashes during boot to multiuser.

Revision 1.70.4.2 / (download) - annotate - [select for diffs], Sun Mar 23 00:44:24 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.70.4.1: +45 -18 lines
Diff to previous 1.70.4.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored) to selected 1.52 (colored)

sync with HEAD

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:17 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.71: +45 -18 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.52 (colored)

Sync with HEAD.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jan 15 14:26:42 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.71: +45 -18 lines
Diff to previous 1.71 (colored) to selected 1.52 (colored)

Don't use the block device to read crashdumps, if possible.

Revision 1.70.4.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:38:17 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored) to selected 1.52 (colored)

sync with HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Mon Nov 12 16:04:55 2007 UTC (16 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: matt-armv6-base, cube-autoconf-base, cube-autoconf
Branch point for: mjf-devfs
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored) to selected 1.52 (colored)

tyop: _time_seconf -> _time_second

Revision 1.70 / (download) - annotate - [select for diffs], Mon Dec 18 20:08:48 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.69: +2 -6 lines
Diff to previous 1.69 (colored) to selected 1.52 (colored)

from Anon Ymous: remove (void)&var;

Revision 1.69 / (download) - annotate - [select for diffs], Mon Oct 16 02:56:56 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.68: +26 -26 lines
Diff to previous 1.68 (colored) to selected 1.52 (colored)

c99 initializers

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jul 9 06:45:09 2006 UTC (17 years, 9 months ago) by kardel
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.67: +25 -34 lines
Diff to previous 1.67 (colored) to selected 1.52 (colored)

accept either "time_second" or "time" as kernel timevariable in
order to support common userland in enviroments where
timecounter kernels and non timecounter kernel co-exist
(e.g. xen & i386)

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jun 7 20:56:19 2006 UTC (17 years, 10 months ago) by kardel
Branch: MAIN
Changes since 1.66: +27 -8 lines
Diff to previous 1.66 (colored) to selected 1.52 (colored)

support timecounters (struct time gone, use time_second then)

Revision 1.65.6.2 / (download) - annotate - [select for diffs], Sat Apr 22 02:57:18 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.65.6.1: +4 -2 lines
Diff to previous 1.65.6.1 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored) to selected 1.52 (colored)

Sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Mar 17 01:45:51 2006 UTC (18 years, 1 month ago) by hubertf
Branch: MAIN
CVS Tags: simonb-timecounters-base
Changes since 1.65: +4 -2 lines
Diff to previous 1.65 (colored) to selected 1.52 (colored)

Free some allocated memory in the failure case when trying to
fetch the panic string.

Fixes Coverity CID 1856.

Revision 1.65.6.1 / (download) - annotate - [select for diffs], Sat Feb 4 15:52:36 2006 UTC (18 years, 2 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.65: +27 -8 lines
Diff to previous 1.65 (colored) to selected 1.52 (colored)

If we have timecounters, read time_second from the kernel for the
dump time instead of time.tv.sec.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Oct 16 03:48:15 2004 UTC (19 years, 6 months ago) by dsainty
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Branch point for: simonb-timecounters
Changes since 1.64: +15 -7 lines
Diff to previous 1.64 (colored) to selected 1.52 (colored)

Added -n option, which tests for a present core but doesn't write it
to disk or clear it (does 'nothing').

http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Fri Jul 23 15:03:58 2004 UTC (19 years, 8 months ago) by tron
Branch: netbsd-1-6
Changes since 1.57: +2 -3 lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.52 (colored)

Apply patch (requested by dbj in ticket 1724):
Fix problems when building the netbsd-1-6 branch with GCC 3.3.3.

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Wed Jul 14 11:38:02 2004 UTC (19 years, 9 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.61.2.2: +9 -8 lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.52 (colored)

Pull up revision 1.64 (requested by tls in ticket #650):
Fix an integer overflow that prevented saving cores from machines with
more than 2GB of RAM.
"dumpsize" in the on-disk core header is in pages, but, unfortunately,
c.size in our kcore format is an unsigned 32-bit int, gross.
We sleaze it, using a 64-bit int internally here and handing it to
libkvm as a *signed* 32-bit int.  Won't always work, but shouldn't be
broken any worse than it is now, and sometimes work better.
We must fix the kcore format and libkvm.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jul 14 07:26:12 2004 UTC (19 years, 9 months ago) by tls
Branch: MAIN
Changes since 1.63: +9 -8 lines
Diff to previous 1.63 (colored) to selected 1.52 (colored)

Fix an integer overflow that prevented saving cores from machines with
more than 2GB of RAM.

"dumpsize" in the on-disk core header is in pages, but, unfortunately,
c.size in our kcore format is an unsigned 32-bit int, gross.

We sleaze it, using a 64-bit int internally here and handing it to
libkvm as a *signed* 32-bit int.  Won't always work, but shouldn't be
broken any worse than it is now, and sometimes work better.

We must fix the kcore format and libkvm.

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Wed Jul 14 07:17:22 2004 UTC (19 years, 9 months ago) by tls
Branch: netbsd-2-0
Changes since 1.61.2.1: +6 -7 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) to selected 1.52 (colored)

revert accidental commit to branch

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Wed Jul 14 07:14:50 2004 UTC (19 years, 9 months ago) by tls
Branch: netbsd-2-0
Changes since 1.61: +9 -8 lines
Diff to previous 1.61 (colored) to selected 1.52 (colored)

Fix an integer overflow that prevented saving cores from machines with
more than 2GB of RAM.

"dumpsize" in the on-disk core header is in pages, but, unfortunately,
c.size in our kcore format is an unsigned 32-bit int, gross.

We sleaze it, using a 64-bit int internally here and handing it to
libkvm as a *signed* 32-bit int.  Won't always work, but shouldn't be
broken any worse than it is now, and sometimes work better.

We must fix the kcore format and libkvm.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:34 2004 UTC (20 years ago) by christos
Branch: MAIN
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored) to selected 1.52 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Mar 30 19:52:02 2004 UTC (20 years ago) by christos
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored) to selected 1.52 (colored)

Give a 60 day leeway instead of a week when judging if the dumptime is valid.
7 days is too short when you are debugging time problems.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:39 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.60: +3 -7 lines
Diff to previous 1.60 (colored) to selected 1.52 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.

Revision 1.60 / (download) - annotate - [select for diffs], Sun May 18 02:11:13 2003 UTC (20 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.59: +8 -5 lines
Diff to previous 1.59 (colored) to selected 1.52 (colored)

simplify by strlcpy

Revision 1.59 / (download) - annotate - [select for diffs], Fri Dec 6 02:20:00 2002 UTC (21 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.58: +2 -3 lines
Diff to previous 1.58 (colored) to selected 1.52 (colored)

Remove prototype for non-existent function log().

Revision 1.58 / (download) - annotate - [select for diffs], Fri Sep 27 18:38:53 2002 UTC (21 years, 6 months ago) by drochner
Branch: MAIN
Changes since 1.57: +5 -3 lines
Diff to previous 1.57 (colored) to selected 1.52 (colored)

use humanize_number(3) for progress printout

Revision 1.57 / (download) - annotate - [select for diffs], Tue Mar 19 18:55:03 2002 UTC (22 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Changes since 1.56: +20 -15 lines
Diff to previous 1.56 (colored) to selected 1.52 (colored)

PR/15502: Wolfgang Rupprecht: savecore fails for > 2GB files.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Mar 6 13:13:08 2002 UTC (22 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored) to selected 1.52 (colored)

Change type of dumpmag and newdumpmag from int to u_int32_t
since they hold 32bit unsigned magic numbers. (sync with kernels)

Revision 1.55 / (download) - annotate - [select for diffs], Thu Nov 1 07:39:38 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.54: +8 -8 lines
Diff to previous 1.54 (colored) to selected 1.52 (colored)

fix a couple of -Wshadow warnings

Revision 1.54 / (download) - annotate - [select for diffs], Wed Sep 12 03:14:08 2001 UTC (22 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.53: +4 -3 lines
Diff to previous 1.53 (colored) to selected 1.52 (colored)

explicitly set the default compression level to 1 (from the implicit 6),
because it's significantly faster and doesn't use that much more disk space.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Sep 12 02:58:29 2001 UTC (22 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.52: +20 -7 lines
Diff to previous 1.52 (colored)

Add "-Z level" to control the compression level that -z uses (which
defaults to -Z 6).  Depending on the relative speed of the CPU
versus disk, "-zZ1" might be faster than no compression at all.

Revision 1.52 / (download) - annotate - [selected], Wed Jun 13 23:16:27 2001 UTC (22 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.51: +10 -9 lines
Diff to previous 1.51 (colored)

Use getbootfile(3) instead of _PATH_UNIX by default.
Sprinkle some const.

Revision 1.51 / (download) - annotate - [select for diffs], Sun May 6 13:36:51 2001 UTC (22 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.50: +83 -14 lines
Diff to previous 1.50 (colored) to selected 1.52 (colored)

If the position of the formatted panic string can be found in the
message buffer, use that instead of the raw panic string.

Suggested by Jason Thorpe eons ago.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jan 11 20:27:12 2001 UTC (23 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored) to selected 1.52 (colored)

Make option flag variables static. This avoids a conflict between
'int compress' in savecore.c and the function 'compress' in libz.
Gnu ld 2.10 (with BFD 2.10) used on sparc64 warns this conflict
(symbol "compress" changed size).

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jan 2 21:39:37 2001 UTC (23 years, 3 months ago) by joda
Branch: MAIN
Changes since 1.48: +7 -7 lines
Diff to previous 1.48 (colored) to selected 1.52 (colored)

use gzip instead of compress

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jan 2 00:29:37 2001 UTC (23 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.52 (colored)

Bump the field width of `K to go' from 6 to 8; some systems have more
than 999999 KB of RAM... (this will suffice until it's common to have
~ 100 GB of RAM :)

Revision 1.47 / (download) - annotate - [select for diffs], Mon Dec 11 14:33:51 2000 UTC (23 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.46: +2 -27 lines
Diff to previous 1.46 (colored) to selected 1.52 (colored)

Back out sysctl part for now, awaiting the result of further discussion,
on request of Andrew Doran.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Dec 8 22:03:23 2000 UTC (23 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.45: +6 -2 lines
Diff to previous 1.45 (colored) to selected 1.52 (colored)

Output proper warning if dumplo == -1 (as it can happen on macppc without
swap partition), instead of "kvm_dump_mkheader: Pread: Invalid argument".

Revision 1.45 / (download) - annotate - [select for diffs], Thu Dec 7 03:55:44 2000 UTC (23 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.44: +66 -81 lines
Diff to previous 1.44 (colored) to selected 1.52 (colored)

de-__P(), and generally try to be more conforming to the new NetBSD style.
Use %m in syslog strings where appropriate.
Reduce warnings with WARNS=2.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 7 03:17:17 2000 UTC (23 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.43: +46 -18 lines
Diff to previous 1.43 (colored) to selected 1.52 (colored)

Fix argument handling, which was pretty broken.
If sysctl supports it, try to get the kernel name with CPU_BOOTED_KERNEL.
Get current kernels version string in all cases.
Adapt some error messages to the correct kernel name.
Reviewed by Simon Burge.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Oct 8 07:04:28 2000 UTC (23 years, 6 months ago) by darrenr
Branch: MAIN
Changes since 1.42: +11 -16 lines
Diff to previous 1.42 (colored) to selected 1.52 (colored)

initialize kernel to _PATH_UNIX and remove local variables in functions
which are essentially copies of kernel.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Oct 1 02:27:06 2000 UTC (23 years, 6 months ago) by darrenr
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) to selected 1.52 (colored)

savecore was looking up dumpdev, etc, from the wrong kernel

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Mon Aug 7 01:11:19 2000 UTC (23 years, 8 months ago) by mrg
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.40: +5 -3 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.52 (colored)

pull up 1.41 (approved by jhawk):
>time is a `struct timeval' not a `time_t', so read it in properly.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Aug 1 16:46:27 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.40: +5 -3 lines
Diff to previous 1.40 (colored) to selected 1.52 (colored)

time is a `struct timeval' not a `time_t', so read it in properly.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 2 00:33:01 1999 UTC (24 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) to selected 1.52 (colored)

s/on device/in [dirname]/, to be a bit clearer...

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Fri Jul 2 18:13:41 1999 UTC (24 years, 9 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Changes since 1.38: +2 -3 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.52 (colored)

pullup 1.38->1.39 (cgd)

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jul 1 08:53:35 1999 UTC (24 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.38: +2 -3 lines
Diff to previous 1.38 (colored) to selected 1.52 (colored)

Remove an extraneous fclose() call which would cause savecore to crash
if the bounds file was unwritable (e.g. because /var was read-only).
Fix supplied by Ronald Khoo in PR#7887.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Feb 27 20:40:30 1999 UTC (25 years, 1 month ago) by sommerfe
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE
Branch point for: netbsd-1-4
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored) to selected 1.52 (colored)

Crash dumps should *not* be world readable.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 23 19:05:59 1998 UTC (25 years, 9 months ago) by sommerfe
Branch: MAIN
Changes since 1.36: +5 -3 lines
Diff to previous 1.36 (colored) to selected 1.52 (colored)

Avoid truncating partition size in freespace calculation

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 1 15:15:58 1998 UTC (26 years ago) by kleink
Branch: MAIN
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored) to selected 1.52 (colored)

Need <time.h> for time() and ctime() prototypes.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 18 01:24:08 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +6 -2 lines
Diff to previous 1.34 (colored) to selected 1.52 (colored)

Avoid

Revision 1.34 / (download) - annotate - [select for diffs], Tue Sep 16 14:19:03 1997 UTC (26 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.52 (colored)

resolve conflicts from lite-2 merge

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Tue Sep 16 12:43:35 1997 UTC (26 years, 7 months ago) by lukem
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +4 -4 lines
Diff to previous 1.1.1.2 (colored) to selected 1.52 (colored)

imported from lite-2

Revision 1.33 / (download) - annotate - [select for diffs], Tue Sep 16 08:37:18 1997 UTC (26 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.32: +4 -3 lines
Diff to previous 1.32 (colored) to selected 1.52 (colored)

make these compile on the alpha after WARNS=1.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Sep 15 11:08:45 1997 UTC (26 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.31: +22 -18 lines
Diff to previous 1.31 (colored) to selected 1.52 (colored)

* cleanup for WARNS=1
* fix .Nm usage
* deprecate register

Revision 1.31 / (download) - annotate - [select for diffs], Mon Aug 25 19:31:53 1997 UTC (26 years, 7 months ago) by kleink
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) to selected 1.52 (colored)

Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 19 16:28:03 1997 UTC (26 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.29: +45 -11 lines
Diff to previous 1.29 (colored) to selected 1.52 (colored)

More error checking.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 21 12:50:43 1997 UTC (27 years ago) by mrg
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored) to selected 1.52 (colored)

set umask for savecore.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Oct 1 18:21:48 1996 UTC (27 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) to selected 1.52 (colored)

make datas item copied out from kernel (panicstr) and/or used as kvm pointers
(panicloc) be 'long's, not 'int's.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jun 23 20:30:39 1996 UTC (27 years, 9 months ago) by leo
Branch: MAIN
Changes since 1.26: +11 -2 lines
Diff to previous 1.26 (colored) to selected 1.52 (colored)

If kvm_dump_mkheader() returns 0, simply state 'no core dump' instead
of logging and error.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 18 21:16:05 1996 UTC (28 years, 1 month ago) by leo
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) to selected 1.52 (colored)

Omit kd_live argument to kvm_dump_mkheader().

Revision 1.25 / (download) - annotate - [select for diffs], Sat Mar 16 10:29:46 1996 UTC (28 years, 1 month ago) by leo
Branch: MAIN
Changes since 1.24: +95 -92 lines
Diff to previous 1.24 (colored) to selected 1.52 (colored)

New libkvm/savecore implementation. With the following differences:
     1) savecore will not access the dump or live-kernel directly. It
        will always use the kvm-functions. Allowing it to work on kernels
        that don't have a 1-1 PA-VA mapping.
     2) the kvm-lib has some additional functions to accomplish 1
          - kvm_dump_mkheader()
          - kvm_dump_wrtheader()
          - kvm_dump_inval()
     3) the file formats of the dump generated by the kernel and the dump
        generated by savecore have been changed. The file format now looks
        like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 8 08:52:12 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.52 (colored)

Put the compression suffix *last*.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 24 20:35:02 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.22: +13 -7 lines
Diff to previous 1.22 (colored) to selected 1.52 (colored)

set dumpsize in dump_exists(), not save_core(), so that minfree check
works again.  solves pr 1257, but sets dumpsize earlier than suggested
in that pr, so that dumpsize is set if a core doesn't appear to be
present (because dumpsize would be used if the '-f' flag is given).

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 25 06:28:13 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.21: +4 -5 lines
Diff to previous 1.21 (colored) to selected 1.52 (colored)

fix verbose printf of dumplo, clean up printfs slightly

Revision 1.21 / (download) - annotate - [select for diffs], Sat Mar 18 15:01:02 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.20: +7 -2 lines
Diff to previous 1.20 (colored) to selected 1.52 (colored)

convert to new RCS Id conventions; reduce my headache

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 4 05:30:07 1995 UTC (29 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.52 (colored)

Fix getopt string and test on return value.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Oct 31 04:47:26 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.18: +1 -3 lines
Diff to previous 1.18 (colored) to selected 1.52 (colored)

 oops; get rid of previous (iffy) zopen declaration

Revision 1.18 / (download) - annotate - [select for diffs], Mon Oct 31 04:37:32 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored) to selected 1.52 (colored)

make a proto for zopen (yech)

Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 23 14:28:15 1994 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.52 (colored)

Eliminate uses of some obsolete functions.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 18 03:40:44 1994 UTC (29 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored) to selected 1.52 (colored)

prototype zopen()
NBPG --> getpagesize()

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 17 00:23:00 1994 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +20 -20 lines
Diff to previous 1.14 (colored) to selected 1.52 (colored)

vmunix --> kernel (for variable names), and make the core file naming
convention match that of other executables.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Jun 13 23:54:46 1994 UTC (29 years, 10 months ago) by mycroft
Branch: WFJ-920714, CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +400 -345 lines
Diff to previous 1.1.1.1 (colored) to selected 1.52 (colored)

Import 4.4-Lite version.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 11 08:01:17 1994 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored) to selected 1.52 (colored)

Fix up RCS ids.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 10 13:35:25 1994 UTC (29 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.12: +393 -336 lines
Diff to previous 1.12 (colored) to selected 1.52 (colored)

Update to 4.4-lite, local changes to man page.

Revision 1.12 / (download) - annotate - [select for diffs], Tue May 31 09:38:12 1994 UTC (29 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.52 (colored)

Initialize return value from save_core() in case dumpsize == 0.

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 27 08:40:49 1994 UTC (29 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.10: +8 -4 lines
Diff to previous 1.10 (colored) to selected 1.52 (colored)

Don't clear dump if writing it to the filesystem fails (eg. file system full)

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 21 07:59:08 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.52 (colored)

queue/struct changes

Revision 1.9 / (download) - annotate - [select for diffs], Wed Apr 6 06:40:28 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.52 (colored)

kill two casts

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 6 01:41:32 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.52 (colored)

serious perversion:
most of the 'off' arguments to Lseek() (the internal lseek() wrapper)
are unsigned longs.  we need them to be sign extended, though, so change
Lseek() to take a 'long' rather than an 'off_t', and let the compiler
do the dirty work via implicit casts.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 4 22:45:08 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.6: +25 -26 lines
Diff to previous 1.6 (colored) to selected 1.52 (colored)

lseek stuff, and clean up.  this is perverse.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 14 19:32:21 1994 UTC (30 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.5: +2 -14 lines
Diff to previous 1.5 (colored) to selected 1.52 (colored)

correct ok() calculation for all architectures.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 8 16:43:16 1993 UTC (30 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored) to selected 1.52 (colored)

Check for dumpdev being NODEV. If so, exit silently, unless verbose is on.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 1 18:24:08 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.52 (colored)

Add RCS identifiers.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 23 00:31:06 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored) to selected 1.52 (colored)

changed "Id" to "Header" for rcsids

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 08:04:00 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored) to selected 1.52 (colored)

added rcs ids to all files

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.52 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Diff to selected 1.52 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>