peter [Thu, 4 May 2000 12:08:52 +0000 (12:08 +0000)]
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.
imp [Thu, 4 May 2000 08:02:11 +0000 (08:02 +0000)]
o Make note of brandelf change (obrien)
o Make the ata warning less dire based on more experience. It seems that marginal
disks cause more problems than that chipset singled out. (sos)
grog [Thu, 4 May 2000 07:48:40 +0000 (07:48 +0000)]
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.
grog [Thu, 4 May 2000 07:38:47 +0000 (07:38 +0000)]
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.
jasone [Thu, 4 May 2000 04:36:26 +0000 (04:36 +0000)]
Use assembler directives rather than ALTENTRY() so that longjmp() and
siglongjmp() are weak symbols. This is necessary to allow static linking
with the linuxthreads library port.
paul [Wed, 3 May 2000 17:45:04 +0000 (17:45 +0000)]
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.
phk [Wed, 3 May 2000 07:47:46 +0000 (07:47 +0000)]
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.
phk [Wed, 3 May 2000 07:31:38 +0000 (07:31 +0000)]
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
rwatson [Wed, 3 May 2000 05:50:46 +0000 (05:50 +0000)]
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>
paul [Tue, 2 May 2000 23:53:46 +0000 (23:53 +0000)]
Force the address of the socket to be INADDR_ANY immediately before
calling in_pcbbind so that in_pcbbind sees a valid address if no
address was specified (since divert sockets ignore them).
joe [Tue, 2 May 2000 14:16:19 +0000 (14:16 +0000)]
Disconnect libm from the build tree. It's broken, not being
maintained, and has been replaced by msun. The libm sources
shouldn't be removed just yet as there are parts that should be
merged into msun first.
chuckr [Tue, 2 May 2000 02:26:04 +0000 (02:26 +0000)]
Cause modules to build with the kernel build. Modules are removed
from the sys Makefile's SUBDIRs. This is conditioned in make.conf by the
NO_MODULES variable and the existence of the modules directory. The
actual location of the modules is not modified. Changes in Makefiles
only, this does not affect Peter's recent changes.
Reviewed by: Peter Wemm, who warned me I would get some flack, and
he had the good idea for the NO_MODULES variable.
n_hibma [Mon, 1 May 2000 22:48:23 +0000 (22:48 +0000)]
The USB double bulk pipe driver (Host to host cables). Currently there
are two supported chips, the NetChip 1080 (only prototypes available)
and the EzLink cable. Any other cable should be supported however as they
are all very much alike (there is a difference between them wrt
performance).
It uses Netgraph.
This driver was mostly written by Doug Ambrisko and Julian Elischer and
I would like to thank Whistle for yet another contribution. And my
aplogies to them for me sitting on the driver for so long (2 months).
Also, many thanks to Reid Augustin from NetChip for providing me with a
prototype of their 1080 chip.
Be aware of the fact that this driver is very immature and has only been
tested very lightly. If someone feels like learning about Netgraph however
this is an excellent driver to start playing with.
peter [Mon, 1 May 2000 18:08:50 +0000 (18:08 +0000)]
Forced commit: Rev 1.80 also changes the gensetdefs point of execution
so that it gets run after the .kld file generation. If it's run before,
the linker sets are closed off and bound inside the .kld file which makes
it useless for binding into a static kernel as the linker_set's will not
be connected...
peter [Mon, 1 May 2000 18:06:49 +0000 (18:06 +0000)]
Remove KMODDEPS support. All our existing dependencies are specified
via the MODULE_VERSION() and MODULE_DEPEND() macros that both the loader
and kld system know how to deal with. The old DT_NEEDED tag is still
supported by the loader (and will remain supported for a while) - but the
kernel side presently doesn't know how to deal with DT_NEEDED.
Wrap the failure warnings around PXE_DEBUG in the cleanup routine.
It does not matter if they fail, so dont print anything about it
unless we are debugging.
Update loader logic to distinguish modules vs. files.
Add support for module metadata. The old way of dependancy
handling will be supported for a while.
phantom [Mon, 1 May 2000 14:42:09 +0000 (14:42 +0000)]
. remove some unneeded comments
. replace .Os value with empty value since this library is not KAME only
anymore
. add a note about IPv6 and IPsec integration to the FreeBSD