CVS log for src/sys/kern/kern_crashme.c
Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jul 7 12:34:26 2023 UTC (17 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +40 -1
lines
crashme(9): New crash methods with raised ipl or kpreempt disabled.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Sep 22 14:39:24 2022 UTC (2 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: 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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
crashme(9): Clarify description of kernel_lock_spinout.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Sep 21 10:50:29 2022 UTC (2 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
crashme(9): Fix crashme_add return value to match comment.
XXX Why do this and crashme_remove return -1 instead of an error code
like essentially everything else in the kernel?
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Sep 21 10:50:11 2022 UTC (2 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +29 -23
lines
crashme(9): Use sysctl mib numbers, not node pointers.
The node pointers are not stable across insertions of siblings,
because they are pointers into arrays that may be reallocated and
moved elsewhere.
XXX Need to audit the tree for other bugs of this class, or change
sysctl(9) so it returns stable node pointers.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Aug 30 22:38:26 2022 UTC (2 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +37 -1
lines
crashme(9): New debug.crashme.mutex_recursion method.
Takes a lock twice. Set it to 1 for adaptive lock, 2 for spin lock.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 16 10:24:17 2022 UTC (2 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +21 -1
lines
crashme(9): New kernel_lock_spinout crasher.
This assumes that something will eventually try to take the kernel
lock and, after spinning for a while, spin out and crash -- so for
now it's only enabled under LOCKDEBUG, without which the kernel lock
spins forever.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Nov 27 14:11:14 2021 UTC (3 years ago) by riastradh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +13 -1
lines
kern: Add debug.crashme.null_jump.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Sep 7 11:00:13 2021 UTC (3 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +25 -1
lines
New crashme sysctl to enter ddb directly.
Revision 1.2.14.1: download - view: text, markup, annotated - select for diffs
Sat Apr 25 11:24:05 2020 UTC (4 years, 7 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +3 -3
lines
Sync with bouyer-xenpvh-base2 (HEAD)
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Apr 23 03:15:47 2020 UTC (4 years, 7 months ago) by rin
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Fix outdated comment. We've enabled crashme for non-DEBUG kernels.
Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:03 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +236 -0
lines
Sync with HEAD
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:57 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +236 -0
lines
Synch with HEAD
Revision 1.2.6.1
Sun Jan 13 00:11:29 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.2: +0 -236
lines
file kern_crashme.c was added on branch phil-wifi on 2019-06-10 22:09:03 +0000
Revision 1.2.2.1
Sun Jan 13 00:11:29 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.2: +0 -236
lines
file kern_crashme.c was added on branch pgoyette-compat on 2019-01-18 08:50:57 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 13 00:11:29 2019 UTC (5 years, 10 months ago) by tnn
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
netbsd-9-base,
netbsd-9-4-RELEASE,
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,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: phil-wifi,
pgoyette-compat,
bouyer-xenpvh
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
clang does not like to deref a null pointer unless it is qualified volatile
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 04:01:20 2019 UTC (5 years, 10 months ago) by mrg
Branches: MAIN
crashme: a framework to test kernel faults.
so far, only a basic panic() and null deref nodes are added.
with options DEBUG, one can now use:
# sysctl -w kern.crashme_enable=1
# sysctl -w kern.crashme.panic=1
# sysctl -w kern.crashme.null_deref=1
to trigger a crash. crashme_enable must be set to 1 before any
of the nodes will be writeable.
supports dynamic additional/removal of crashme nodes.
(obsoletes kern.panic_now, which will be removed later.)
CVSweb <webmaster@jp.NetBSD.org>