Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 7 12:34:26 2023 UTC (8 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
HEAD
Changes since 1.10: +40 -1
lines
Diff to previous 1.10 (colored)
crashme(9): New crash methods with raised ipl or kpreempt disabled.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 22 14:39:24 2022 UTC (18 months ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base,
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
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
crashme(9): Clarify description of kernel_lock_spinout.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Sep 21 10:50:29 2022 UTC (18 months ago) by riastradh
Branch: MAIN
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
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) - annotate - [select for diffs], Wed Sep 21 10:50:11 2022 UTC (18 months ago) by riastradh
Branch: MAIN
Changes since 1.7: +29 -23
lines
Diff to previous 1.7 (colored)
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) - annotate - [select for diffs], Tue Aug 30 22:38:26 2022 UTC (18 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.6: +37 -1
lines
Diff to previous 1.6 (colored)
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) - annotate - [select for diffs], Tue Aug 16 10:24:17 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.5: +21 -1
lines
Diff to previous 1.5 (colored)
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) - annotate - [select for diffs], Sat Nov 27 14:11:14 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.4: +13 -1
lines
Diff to previous 1.4 (colored)
kern: Add debug.crashme.null_jump.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 7 11:00:13 2021 UTC (2 years, 6 months ago) by riastradh
Branch: MAIN
Changes since 1.3: +25 -1
lines
Diff to previous 1.3 (colored)
New crashme sysctl to enter ddb directly.
Revision 1.2.14.1 / (download) - annotate - [select for diffs], Sat Apr 25 11:24:05 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored) next main 1.3 (colored)
Sync with bouyer-xenpvh-base2 (HEAD)
Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 23 03:15:47 2020 UTC (3 years, 11 months ago) by rin
Branch: 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
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
Fix outdated comment. We've enabled crashme for non-DEBUG kernels.
Revision 1.2.6.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:03 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.2.6.1: +236 -0
lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)
Sync with HEAD
Revision 1.2.2.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:57 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.2.1: +236 -0
lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)
Synch with HEAD
Revision 1.2.6.1, Sun Jan 13 00:11:29 2019 UTC (5 years, 2 months ago) by christos
Branch: phil-wifi
Changes since 1.2: +0 -236
lines
FILE REMOVED
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, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +0 -236
lines
FILE REMOVED
file kern_crashme.c was added on branch pgoyette-compat on 2019-01-18 08:50:57 +0000
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 13 00:11:29 2019 UTC (5 years, 2 months ago) by tnn
Branch: 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-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
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
clang does not like to deref a null pointer unless it is qualified volatile
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 9 04:01:20 2019 UTC (5 years, 2 months ago) by mrg
Branch: 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.)