#
6fa9cf7e |
| 03-Apr-2020 |
maxv <maxv@NetBSD.org> |
Avoid overflows when reading strings.
|
#
91cecf62 |
| 06-Nov-2019 |
mrg <mrg@NetBSD.org> |
elide recently introduced warnings that trigger in normal cases, eg:
savecore: dump_exists:471: kvm_read newdumpmag: _kvm_kvatop(ffffffff8180030c)
|
#
926d7d66 |
| 27-Dec-2018 |
mrg <mrg@NetBSD.org> |
avoid infinite loop in kmem_check(). fixes bug introduced in previous.
|
#
d482d531 |
| 06-Nov-2018 |
mrg <mrg@NetBSD.org> |
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 you
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.
show more ...
|
#
c3e11c37 |
| 13-May-2013 |
christos <christos@NetBSD.org> |
- avoid using globals where it is simple. - simplify: only use stdio for output.
|
#
ca11e1e6 |
| 07-Apr-2012 |
christos <christos@NetBSD.org> |
factor out rawname() from dump, fsck, savecore.
|
#
42d1e416 |
| 13-Sep-2011 |
christos <christos@NetBSD.org> |
print the missing flag if missing argument...
|
#
7249eb3f |
| 12-Sep-2011 |
christos <christos@NetBSD.org> |
- 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
|
#
69365511 |
| 29-Aug-2011 |
joerg <joerg@NetBSD.org> |
static + __dead
|
#
9098338f |
| 18-Aug-2009 |
dogcow <dogcow@NetBSD.org> |
Instead of exiting with an obscure error message if -N /kernelname isn't specified, blithely assume the kernel will consume around 20 megs.
|
#
fb63fbd0 |
| 06-Apr-2009 |
lukem <lukem@NetBSD.org> |
fix sign-compare issues
|
#
ede5dc65 |
| 21-Mar-2009 |
tls <tls@NetBSD.org> |
Fix savecore so it uses /dev/ksyms when it can (doesn't override libkvm default). Fixes misc/38425.
|
#
118c87a6 |
| 28-Dec-2008 |
christos <christos@NetBSD.org> |
fix dev_t format.
|
#
2df6131a |
| 05-Dec-2008 |
ad <ad@NetBSD.org> |
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.
|
#
dc7ae076 |
| 20-Oct-2008 |
ad <ad@NetBSD.org> |
- 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 extract
- 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.
show more ...
|
#
281bbad3 |
| 09-Oct-2008 |
joerg <joerg@NetBSD.org> |
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.
|
#
6543a91f |
| 20-Jul-2008 |
lukem <lukem@NetBSD.org> |
Remove the \n and tabs from the __COPYRIGHT() strings. (Tweak some to use a consistent format.)
|
#
76f153e1 |
| 20-Apr-2008 |
ad <ad@NetBSD.org> |
sync() a couple of times to benefit diagnosis of sloppy kernel code that crashes during boot to multiuser.
|
#
73e694f4 |
| 15-Jan-2008 |
ad <ad@NetBSD.org> |
Don't use the block device to read crashdumps, if possible.
|
#
3384f1f2 |
| 12-Nov-2007 |
pooka <pooka@NetBSD.org> |
tyop: _time_seconf -> _time_second
|
#
8539ad5c |
| 18-Dec-2006 |
christos <christos@NetBSD.org> |
from Anon Ymous: remove (void)&var;
|
#
50b568b1 |
| 16-Oct-2006 |
christos <christos@NetBSD.org> |
c99 initializers
|
#
e386d700 |
| 09-Jul-2006 |
kardel <kardel@NetBSD.org> |
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)
|
#
75418af9 |
| 07-Jun-2006 |
kardel <kardel@NetBSD.org> |
support timecounters (struct time gone, use time_second then)
|
#
f500b89c |
| 17-Mar-2006 |
hubertf <hubertf@NetBSD.org> |
Free some allocated memory in the failure case when trying to fetch the panic string.
Fixes Coverity CID 1856.
|