freebsd-src/sys
Kirk McKusick 5819ab3f12 Add debugging option to always read/write cylinder groups as full
sized blocks. To enable this option, use: `sysctl -w debug.bigcgs=1'.
Add debugging option to disable background writes of cylinder
groups. To enable this option, use: `sysctl -w debug.dobkgrdwrite=0'.
These debugging options should be tried on systems that are panicing
with corrupted cylinder group maps to see if it makes the problem
go away. The set of panics in question are:

	ffs_clusteralloc: map mismatch
	ffs_nodealloccg: map corrupted
	ffs_nodealloccg: block not in map
	ffs_alloccg: map corrupted
	ffs_alloccg: block not in map
	ffs_alloccgblk: cyl groups corrupted
	ffs_alloccgblk: can't find blk in cyl
	ffs_checkblk: partially free fragment

The following panics are less likely to be related to this problem,
but might be helped by these debugging options:

	ffs_valloc: dup alloc
	ffs_blkfree: freeing free block
	ffs_blkfree: freeing free frag
	ffs_vfree: freeing free inode

If you try these options, please report whether they helped reduce your
bitmap corruption panics to Kirk McKusick at <mckusick@mckusick.com>
and to Matt Dillon <dillon@earth.backplane.com>.
2001-04-17 05:37:51 +00:00
..
alpha Blow away the panic mutex in favor of using a single atomic_cmpset() on a 2001-04-17 04:18:08 +00:00
amd64 Blow away the panic mutex in favor of using a single atomic_cmpset() on a 2001-04-17 04:18:08 +00:00
arm/include Correct disordering which is corresponding to bde's fix to 2001-02-17 14:51:11 +00:00
boot no longer needed now that we are able to build cdboot from sources again 2001-04-08 00:01:54 +00:00
cam Fix an off-by-2 error in periphdriver_register(). The read side of the 2001-04-16 15:53:54 +00:00
coda Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
compat Add linux_sched_get_priority_max() and linux_sched_get_priority_min(): The 2001-04-01 06:37:40 +00:00
compile
conf Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
contrib/dev Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
crypto Kernel crypto need binary key material, not symbolic ascii. 2001-03-10 13:02:58 +00:00
ddb Catch up to header include changes: 2001-03-28 09:17:56 +00:00
dev Add support the the Intel ICH2 mobile 2001-04-16 21:22:34 +00:00
fs Move VT_SMBFS definition to the proper place. Undefine VI_LOCK/VI_UNLOCK. 2001-04-13 11:26:54 +00:00
geom fix a number of printf format string warnings inside DEBUG ifdefs 2001-03-29 15:05:08 +00:00
gnu Fixes to track snapshot copy-on-write checking in the specinfo 2001-03-07 07:09:55 +00:00
i4b Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
i386 Blow away the panic mutex in favor of using a single atomic_cmpset() on a 2001-04-17 04:18:08 +00:00
ia64 Turn on kernel debugging support (DDB, INVARIANTS, INVARIANT_SUPPORT, WITNESS) 2001-04-15 19:37:28 +00:00
isa Catch up to header include changes: 2001-03-28 09:17:56 +00:00
isofs/cd9660 Add missed MODULE_VERSION() call, so loading of unicode conversion routine 2001-03-11 15:28:42 +00:00
kern Add debugging option to always read/write cylinder groups as full 2001-04-17 05:37:51 +00:00
libkern Add function prototypes and base module for kernel side iconv library. 2001-04-09 09:39:29 +00:00
miscfs - Various style fixes. 2001-03-29 18:10:46 +00:00
modules Add missing sound module. 2001-04-16 17:04:41 +00:00
msdosfs Grab the process lock while calling psignal and before calling psignal. 2001-03-07 03:37:06 +00:00
net Move the decision whether we want to request authentication from our 2001-04-08 20:29:09 +00:00
netatalk Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
netatm Silence some warnings 2001-03-20 10:42:49 +00:00
netgraph Don't reference a node after we dropped a reference to it 2001-04-11 22:04:47 +00:00
netinet fix security hole created by fragment cache 2001-04-06 15:52:28 +00:00
netinet6 - correct logic of per-address input packet counts for lo0 2001-04-05 19:45:02 +00:00
netipx Another round of the <sys/queue.h> FOREACH transmogriffer. 2001-02-04 16:08:18 +00:00
netkey fixed possibility of panic at key_acquire(). 2001-01-14 17:25:08 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay 2001-03-22 10:38:16 +00:00
netns * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netsmb This file also depends on sys/types.h and sys/ioccom.h. 2001-04-13 10:50:48 +00:00
nfs Create debug.hashstat.[raw]nchash and debug.hashstat.[raw]nfsnode to 2001-04-11 00:39:20 +00:00
nfsclient Create debug.hashstat.[raw]nchash and debug.hashstat.[raw]nfsnode to 2001-04-11 00:39:20 +00:00
nfsserver Use a generic implementation of the Fowler/Noll/Vo hash (FNV hash). 2001-03-17 09:31:06 +00:00
ntfs Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
nwfs Add dependancy on libmchain module. 2001-03-22 06:51:53 +00:00
pc98 Merged from sys/i386/isa/npx.c revision 1.95. 2001-04-16 09:15:40 +00:00
pccard Fix minor typo in comment. 112x -> 12xx 2001-04-11 22:49:00 +00:00
pci Fix minor typo in comment. 112x -> 12xx 2001-04-11 22:49:00 +00:00
posix4 Lock need_resched with sched_lock. 2001-02-22 13:46:09 +00:00
powerpc Blow away the panic mutex in favor of using a single atomic_cmpset() on a 2001-04-17 04:18:08 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
svr4 This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
sys In my first reading of POSIX.1e, I misinterpreted handling of the 2001-04-17 04:33:34 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
ufs Add debugging option to always read/write cylinder groups as full 2001-04-17 05:37:51 +00:00
vm use TAILQ_FOREACH, fix a comment's location 2001-04-15 10:22:04 +00:00
Makefile