Commit Graph

20245 Commits

Author SHA1 Message Date
phk
4b77d30747 Step down a level and issue format requests with a struct bio instead
of a struct buf.
2000-05-06 07:01:47 +00:00
phk
7ff358347c Remove devstat_end_transaction_buf() everybody uses
devstat_end_transaction_bio() now.
2000-05-06 06:59:08 +00:00
jlemon
8a3c72bb35 Implement TCP NewReno, as documented in RFC 2582. This allows
better recovery for multiple packet losses in a single window.
The algorithm can be toggled via the sysctl net.inet.tcp.newreno,
which defaults to "on".

Submitted by:  Jayanth Vijayaraghavan <jayanth@yahoo-inc.com>
2000-05-06 03:31:09 +00:00
obrien
4b8735f977 All the screen savers other than "apm" build on the Alpha. daemon.ko has
been tested to work.
2000-05-06 02:06:35 +00:00
green
3c204936cd Give the "streams" modulea version (1) and depend on it from the
"svr4elf" module.  This unbreaks the SVR4 KLD (which had an undefined
function because of thenewly-committed KLD enhancements).
2000-05-06 01:39:45 +00:00
peter
fdc55cbab2 Add a version tag for the rtc port to depend on. 2000-05-06 01:36:04 +00:00
archie
fc024e2d6f AUTHOR -> AUTHORS 2000-05-05 17:08:55 +00:00
n_hibma
098a35a51f Confusing comment. 2000-05-05 14:10:25 +00:00
jhb
86ec308f90 Switch to using the .code16 as(1) directive and using 16-bit assembly
code instead of using 32-bit code and having to just "know" that it's
really 16-bit instructions when things run.  This also allows the code
to use fewer macros and more actual assembly statements, which eases
maintenance.  Unfortunately, due to as(1) brokenness, we still use m4
macros for all 16-bit addresses, and all short jumps (i.e., 8-bit
relative addresses in the jump instruction) must be wrapped in .code32
directives to avoid useless bloat by as(1).  This also fixes a few
problems that were preventing boot0 from compiling with the latest
and greatest version of as(1).
2000-05-05 13:22:10 +00:00
wpaul
63dadfa7b3 Apply patch to rl_rxeof() to really enforce payload alignment in
the case where we receive a packet that wraps from the end of the
RX buffer back to the start. This fixes an unaligned access trap on
the alpha with NFS.
2000-05-05 12:47:47 +00:00
phk
4e18cad526 Oops, <sys/buf.h> still needed here for pc98 (and consequently sys/bio.h). 2000-05-05 12:02:30 +00:00
phk
36c3965ff9 Separate the struct bio related stuff out of <sys/buf.h> into
<sys/bio.h>.

<sys/bio.h> is now a prerequisite for <sys/buf.h> but it shall
not be made a nested include according to bdes teachings on the
subject of nested includes.

Diskdrivers and similar stuff below specfs::strategy() should no
longer need to include <sys/buf.> unless they need caching of data.

Still a few bogus uses of struct buf to track down.

Repocopy by:    peter
2000-05-05 09:59:14 +00:00
phk
5ea491d29e remove unneeded #include <sys/buf.h> 2000-05-05 09:24:00 +00:00
phk
ffbad65d92 Don't use struct buf for random small temporary buffers. 2000-05-05 09:05:39 +00:00
nyan
d32a54aa47 GENERIC98 -> GENERIC 2000-05-05 08:03:31 +00:00
phk
5a822df7a8 Don't use getebuf() unless you really need a struct buf. Malloc will
do fine in this case.
2000-05-05 07:50:53 +00:00
ps
3bb1877ba6 Remove the static heap. It is unknown why it was needed in the
beginning, but it no longer is required.  This has been tested with
many different revisions of the PXE rom from Intel.
2000-05-05 07:24:03 +00:00
obrien
6a08595014 Build modules in a subdir of the kernel build dir. Add a `cleandir'
target for those whose fingers try to use that to clean out the modules
build dir.
2000-05-05 06:00:08 +00:00
dcs
64e1aa5faa Lay the groundwork for on-demand dictionary expansion. 2000-05-05 02:06:38 +00:00
archie
e696412047 Document the new statistics control messages.
Add a note about the IP header asymmetry on the "lower" hook.
2000-05-05 01:20:28 +00:00
archie
67e7422842 Fix a couple of bugs:
- Properly handle 32 bit sequence numbers when they wrap around
- Don't drop GRE packets with stale ACK numbers, just ignore the ACK
- Close race between node being shutdown and timer going off
Also add support for lots of statistics, and control message ASCIIfication
2000-05-05 01:11:39 +00:00
wollman
9d3bcb7af1 Add a little do-nothing ``slopsucker'' device which gives a home
to PNP0c04 (legacy ISA coprocessor support).  Tourist info.
2000-05-04 23:57:32 +00:00
dcs
49a9f55ef2 Correct a bug whereby allocations to the dictionary would not be allowed
unless four times the space requested was available.
2000-05-04 23:23:13 +00:00
dcs
acae6b3858 Make documentation on recently added heap? command reflect reality. 2000-05-04 22:51:21 +00:00
dcs
42ac2ec21d Add "heap?" to loader's man page. 2000-05-04 21:26:26 +00:00
dcs
03d29e369d Further improve ordering. 2000-05-04 21:22:55 +00:00
dcs
01244aaf56 Sort entries in FreeBSD-specific FICL commands. 2000-05-04 21:18:26 +00:00
obrien
4d19687a3c Set MAKEOBJDIRPREFIX to modules/ in the current directory and build modules
there.
2000-05-04 21:12:28 +00:00
dcs
83f52e170f Add heap?, so we can tell how much free space we have left. 2000-05-04 20:41:30 +00:00
jlemon
a704c1a8cd Add PCI identification for another SmartArray 4200, which identifies
itself as a DEC card instead of Compaq.
2000-05-04 20:23:56 +00:00
jlemon
4dae89bb37 Fix one bug where the kn_head list could be manipulated without
spl() protection in the case of a copyout error.

Add missing spl calls around the intial activation call that is
done when when the kevent is added.

Add two KASSERT macros to help catch errors in the future.
2000-05-04 20:19:17 +00:00
jlemon
12ea9baa4e Change the definition of sdata from u_long --> intptr_t to correctly
match the data type in struct kevent.
2000-05-04 20:14:57 +00:00
cg
05c83e1b4b fix the 100% cpu in xmms issue 2000-05-04 19:06:34 +00:00
archie
44be3a44bd Move netgraph node type man pages from section 8 to section 4. 2000-05-04 17:54:37 +00:00
msmith
e306b417ff Don't assume that the PCI BIOS is going to clear the unused bits in %ecx
when it returns.
2000-05-04 17:44:55 +00:00
peter
1b38e19179 Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
2000-05-04 12:08:52 +00:00
grog
539756f482 Increase the initial size of a RAID-5 plex lock table to 256 entries,
which seems to correspond better with what a busy plex needs.  This
may also help us avoid race conditions when expanding the table which
may have been contributing to the random corruption, panics and hangs
we've been seeing in RAID-5 plexes, particularly with ata drives.

Eagerly-awaited-by: sos
2000-05-04 07:48:40 +00:00
grog
8ba6aa9a33 requeststatus: Correct check for striped plex.
Submitted-by:	Matthew Reimer <mreimer@vpop.net>
2000-05-04 07:46:45 +00:00
grog
bbbefd438c Don't hide bio structure behind macros like b_ioflags.
Get counting volume I/Os right.

launch_requests: Be macho, throw away the safety net and walk the
tightrope with no splbio().

Add some comments explaining the smoke and mirrors.

Remove some redundant braces.

sdio: Set the state of an accessed but down subdisk correctly.  This
appears to duplicate an earlier commit that I hadn't seen.
2000-05-04 07:44:23 +00:00
grog
701969bf4a expand_table: Avoid a race condition which may have been contributing
to the random corruption, panics and hangs we've been seeing in RAID-5
plexes, particularly with ata drives.

Eagerly-awaited-by: sos
2000-05-04 07:38:47 +00:00
grog
cf2c7a9d52 lockrange: Avoid a race condition which was causing random corruption,
panics and hangs in RAID-5 plexes, particularly with ata drives.

Original-code-by:   Bernd Walter <ticso@cicely.de>
Eagerly-awaited-by: sos
2000-05-04 07:37:11 +00:00
grog
2e5ef3db36 remove_drive: correctly obliterate the magic number.
Reported-by: 	phk
2000-05-04 07:35:03 +00:00
grog
d0290ff674 Don't hide bio structure behind macros like b_ioflags.
Get counting volume I/Os right.

Count buffer sizes correctly for architectures where ints are not 32 bits.

complete_rqe: Move decrementing active count until after call to
complete_raid5_write, thus possibly avoiding a race condition.

Suggested-by:	      dillon

Rename user bp to ubp to avoid confusion.

Tidy up comments.
2000-05-04 07:33:40 +00:00
grog
a18a701503 Only wake up one process when we're done configuring.
Suggested-by:	msmith
2000-05-04 07:29:55 +00:00
kato
3967924ce8 Rename GENERIC98 to GENERIC. 2000-05-04 04:58:30 +00:00
dwhite
9861a89ec2 I mentioned yesterday that I could use some work, and Kelly says, "Commit my
PRs!"  So here I go.

Add definitions for some of the AMD CPU feature bits.  Also add a comment on
where to find the rest of them. This is a purely cosmetic change.

PR:		i386/14438
Submitted by:	Kelly Yancey <kbyanc@egroups.net>
2000-05-03 18:07:30 +00:00
paul
8864544bcf If BUS_DEBUG is defined then create a sysctl, debug.bus_debug, that
is used to control whether the debug messages are output at runtime.
It defaults to on so that if you define BUS_DEBUG in your kernel
then you get all the debugging info when you boot.

It's very useful for disabling all the debugging info when you're
developing a loadable device driver and you're doing lots of loads
and unloads but don't always want to see all the debugging info.
2000-05-03 17:45:04 +00:00
phk
c7feb17572 Convert the vm_pager_strategy() interface to take a struct bio instead of
a struct buf.  Don't try to examine B_ASYNC, it is a layering violation
to do so.  The only current user of this interface is vn(4) which, since
it emulates a disk interface, operates on struct bio already.
2000-05-03 07:47:46 +00:00
phk
62efea1e92 Remove 42 unneeded #include <sys/ioccom.h>.
ioccom.h defines only implementation detail, and should therefore
only be included from the #include which defines the ioctl tags,
in other words: never include it from *.c
2000-05-03 07:31:38 +00:00
rwatson
51a3d7f35d Don't allow VOP_GETEXTATTR to set uio->uio_offset != 0, as we don't
provide locking over extended attribute operations, requiring that
individual operations be atomic.  Allowing non-zero starting offsets
permits applications/etc to put themselves at risk for inconsistent
behavior.  As VOP_SETEXTATTR already prohibited non-zero write offsets,
this makes sense.

Suggested by:	Andreas Gruenbacher <a.gruenbacher@bestbits.at>
2000-05-03 05:50:46 +00:00