freebsd-dev/sys
Poul-Henning Kamp db9c7160f8 Reviewed by: phk
Submitted by:	 Thomas David Rivers <rivers%ponds@ncren.net>

WARNING: might hide some bug below!  I commit this to improve the stability
of 2.0.

Thomas wrote:
-------------
 I have been running a kernel with this change since October 4th; barring
unrelated network router troubles, the pitiful little machine has
completed several builds without any interaction from me, and continues
to chug along.

 I re-read wd.c, and added appropriate printfs() to look for references
to dk_badsect[].  My changes should have printed something when dk_badsect[]
was referenced.

 I got no output :-(

 Thus, I'm forced to concluded that something else is examining some
spurious memory... which happened to be in dk_badsect[] of the disk structure
in wd.c.  I can find no other explanation of why this unnecessary
initialization causes things to operate correctly.

 On the premise that such an initialization isn't going to hurt anything,
I'm going to suggest it go into 2.0.

 I'd like to thank everyone for there assistance, particularly David,
John and Bruce.
1994-10-07 21:17:41 +00:00
..
alpha/include Laptop Advanced Power Management support by HOSOKAWA Tatsumi. 1994-10-01 02:56:21 +00:00
amd64 #ifdef DISKLESS the copying of the nfs_diskless structure. Not the best 1994-10-07 05:45:27 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf USE_RTC_CENTURY added 1994-10-04 14:11:02 +00:00
ddb Avoid ddb getting a panic if the code-segment isn't the usual one... 1994-10-02 19:36:30 +00:00
dev Fix 'cursor-disappearce-after-switching-screen-from-X' bug 1994-10-03 01:22:46 +00:00
fs Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
gnu Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
i386 Reviewed by: phk 1994-10-07 21:17:41 +00:00
isa Add disable_rtc_set variable to block resettodr() call, needed for 1994-10-04 18:39:10 +00:00
isofs/cd9660 Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
kern Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
libkern Use new-style declarations for min/max functions so that 1994-09-18 23:04:25 +00:00
miscfs Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
modules Disable MFS as loadable until someone figures out how to make it work. 1994-09-28 22:16:27 +00:00
msdosfs Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
net Install line discipline the new way. 1994-10-05 21:22:45 +00:00
netccitt Made idempotent 1994-08-21 05:44:12 +00:00
netinet GCC cleanup. 1994-10-02 17:48:58 +00:00
netiso Made idempotent -- made some of them more consistent with rest of tree. 1994-08-21 06:14:33 +00:00
netns Made idempotent. 1994-08-21 06:22:12 +00:00
nfs Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
nfsclient Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
nfsserver Prototyping and general gcc-shutting up. Gcc has one warning now which looks 1994-10-02 17:27:07 +00:00
pci Add Matt Thomas's DC21040 PCI Ethernet driver. (This is turning out 1994-10-01 20:16:47 +00:00
powerpc/include Added $Id$ 1994-08-02 07:55:43 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
scsi In sd_get_params() the timeout for the MODE_SENSE command was too 1994-10-04 06:45:57 +00:00
sys Cosmetics. Added four prototypes. 1994-10-07 07:33:51 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
vm Cosmetics. Unused vars and other warnings. 1994-10-07 07:23:04 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00