Commit Graph

33411 Commits

Author SHA1 Message Date
peter
04e86c01f3 Reenable /usr/bin/ibcs2 installing from here; it works now that the
guaranteed kernel stack overflow is fixed.
1998-11-11 05:18:22 +00:00
bde
14fcd1b8e5 Don't forget to remove opt_mfs.h.
Fixed style bugs (bitrotted FOOFS options and hard-coded ${.TARGET}).
1998-11-11 03:06:46 +00:00
jdp
aa33ef6cee Remove support for LOGIN_CAP_AUTH. It was never enabled, it was
not complete, and it hasn't been touched for 18 months.  All the
ifdefs obfuscate the code.  I discussed the LOGIN_CAP_AUTH support
with its author and he agreed that it is a dead end.  I am bringing
PAM into the tree within the next two weeks.  It is much more
flexible than LOGIN_CAP_AUTH, and will serve as a superior replacement
for it.
1998-11-11 02:16:01 +00:00
jdp
b3620313e2 Fix a const-related compiler warning. 1998-11-11 01:53:12 +00:00
msmith
7b17ca2047 Use an at_shutdown hook to drop back to the SRM in the case where the system
is being halted, rather than hanging waiting for a keypress.

Submitted by:	Andrew Gallatin <gallatin@freebsd.org>
1998-11-11 00:02:25 +00:00
dfr
6f259087fe Allow the use of NODEV in CDEV_MODULE and BDEV_MODULE to make the system
auto-allocate the major number.  Not terribly useful without DEVFS.
1998-11-10 21:45:18 +00:00
jkh
ced3294986 We need to install the linux shell script or the lkm version will
still be in place.
1998-11-10 19:39:58 +00:00
bde
31e40347ca Fixed disorder. 1998-11-10 12:29:04 +00:00
bde
f7451f60f2 Fixed disorder. 1998-11-10 12:19:26 +00:00
bde
4ac68c7cb6 Fixed disorder. 1998-11-10 11:54:29 +00:00
luigi
0e2ccef747 Add entry for AOpen AW37 1998-11-10 10:44:56 +00:00
peter
8d4f5047ac add #include <sys/kernel.h> where it's needed by MALLOC_DEFINE() 1998-11-10 09:16:29 +00:00
peter
fad53f6bbd Register and unregister vnodeops the new way rather than leaking on
unload.
1998-11-10 09:12:40 +00:00
peter
8ff62cf63a kzipboot uses kern/inflate.c outside the kernel by providing its own
minimal malloc/free implementation.  Stop passing M_GZIP to it.
1998-11-10 09:08:49 +00:00
peter
9d9ee5cdc8 Make the vnode opv vector construction fully dynamic. Previously we
leaked memory on each unload and were limited to items referenced in
the kernel copy of vnode_if.c.  Now a kernel module is free to create
it's own VOP_FOO() routines and the rest of the system will happily
deal with it, including passthrough layers like union/umap/etc.

Have VFS_SET() call a common vfs_modevent() handler rather than
inline duplicating the common code all over the place.

Have VNODEOP_SET() have the vnodeops removed at unload time (assuming a
module) so that the vop_t ** vector is reclaimed.

Slightly adjust the vop_t ** vectors so that calling slot 0 is a panic
rather than a page fault.  This could happen if VOP_something() was called
without *any* handlers being present anywhere (including in vfs_default.c).
slot 1 becomes the default vector for the vnodeop table.

TODO: reclaim zones on unload (eg: nfs code)
1998-11-10 09:04:09 +00:00
peter
1559a14d0a Arrange for unload-time linker set hooks to be called. While cut/pasting
some code, I changed the original to be consistant with the rest of the
file rather than duplicating the problems.
1998-11-10 08:49:28 +00:00
peter
e2f008042e Have MALLOC_DECLARE() initialize malloc types explicitly, and have them
removed at module unload (if in a module of course).
However; this introduces a new dependency on <sys/kernel.h> for things
that use MALLOC_DECLARE().  Bruce told me it is better to add sys/kernel.h
to the handful of files that need it rather than add an extra include to
sys/malloc.h for kernel compiles. Updates to follow in subsequent commits.
1998-11-10 08:46:24 +00:00
peter
6639fb73d5 New macro for building a linker set of things to do at module unload
time (eg: disconnect malloc types contained within a module), opposite
of SYSINIT().
1998-11-10 08:41:41 +00:00
dima
11207334ba Enable named-xfer and rbootd for alpha. 1998-11-10 06:50:35 +00:00
gibbs
18cff7f98b Noop Commit - Change was in last revision.
If the next available mailbox is not in the free state, print a warning
and handle the condition as a temporary resource shortage.  The condition
should never happen, but we shouldn't panic since recovery is possible.
1998-11-10 06:47:11 +00:00
gibbs
421e0442f1 Convert to change in ISA compatiblity port handling in the base bt driver. 1998-11-10 06:45:14 +00:00
gibbs
82e8381385 Fix probes when a port address is specified. 1998-11-10 06:44:54 +00:00
gibbs
aaacaecba2 Fix probes when a port address is specified.
Convert from BT'isms to AHA'isms

Don't fail the probe if the illegal command bit is set in the status
register.  If the BusLogic MultiMaster probe preceeded us, it may well
have determined that the card we are attaching to was not a true MultiMaster
by sending us a command that fails on the 154X.

Reset the adapter before doing the inquiry.  This provides extra sanity
and will also clear the illegal command status bit that my be left over
from the MultiMaster probe.
1998-11-10 06:44:42 +00:00
dima
626bfdf7c3 Enable IPXrouted for alpha. 1998-11-10 06:38:40 +00:00
dima
535b406273 Cleanup. Make it compile on alpha. 1998-11-10 06:35:24 +00:00
brian
85a8db6486 Don't forget to initialise dbuff when debugging. 1998-11-10 00:32:39 +00:00
dima
cb1f5d4a1a Clean it up a little bit. 1998-11-09 23:39:02 +00:00
nsouch
9ba2ddcb6e Release the ppbus when probe fails. 1998-11-09 22:22:01 +00:00
dima
26577533f2 Reenable adjkerntz for alpha. 1998-11-09 21:52:50 +00:00
truckman
24fe22505c If the session leader dies, s_leader is set to NULL and getsid() may
dereference a NULL pointer, causing a panic.  Instead of following
s_leader to find the session id, store it in the session structure.

Jukka found the following info:

	BTW - I just found what I have been looking for. Std 1003.1
	Part 1: SYSTEM API [C LANGUAGE] section 2.2.2.80 states quite
	explicitly...

	Session lifetime: The period between when a session is created
	and the end of lifetime of all the process groups that remain
	as members of the session.

	So, this quite clearly tells that while there is any single
	process in any process group which is a member of the session,
	the session remains as an independent entity.

Reviewed by:	peter
Submitted by:	"Jukka A. Ukkonen" <jau@jau.tmt.tele.fi>
1998-11-09 15:08:04 +00:00
dima
ee5e508394 Reenable fstat for alpha. 1998-11-09 11:08:48 +00:00
dima
2c16d6276e Reenable systat/vmstat for alpha. 1998-11-09 10:52:43 +00:00
dima
9350eb30ef Add some bogus stuff to make systat/vmstat happy.
Reviewed by:	dfr
1998-11-09 10:47:19 +00:00
peter
68c08cdb68 ifioctl takes a u_long rather than an int on 3.0 1998-11-09 09:34:00 +00:00
peter
efa47e68d1 Add #include to get a prototype for update_intr_masks(). 1998-11-09 09:30:55 +00:00
peter
0b04784d79 "fix" a warning that has been bugging me for ages. Eliminate a couple
of temporary variables since they are only used once and their types
were the cause of the warnings.
1998-11-09 09:21:25 +00:00
peter
1034ece765 s/%#p/%p/ to fix a warning. This looks like a leftover of once being
%#x, which causes a leading 0x to be prepended. %p has this by default
and the '#' is ignored by the kernel prinf code for %p.
1998-11-09 08:08:06 +00:00
peter
c541680191 Fix a warning (#include the apic_next_irq() prototype for APIC_IO) 1998-11-09 08:03:01 +00:00
peter
cfa66ece23 Delete stray extern declaration for non-existing variables. 1998-11-09 07:03:04 +00:00
peter
c227178f58 Remove [apparently] bogus casts to u_long for the vnode_pager_setsize()
second argument.  np_size is a 64 bit int, so is the second arg.  This
might have caused needless 2G/4G file size problems.

I believe it was Bruce who queried this.
1998-11-09 07:00:14 +00:00
jkoshy
6fb504f49b Fix a .Nm -> .Fn fix that was missed in the previous commit.
Pointed-out-by:	Bruce Evans
1998-11-09 06:52:46 +00:00
peter
49826d7340 Fix typo (if it's not a typo, then it doesn't make sense IMHO) 1998-11-09 05:40:22 +00:00
truckman
232677bd5d Fix some calculations that use sizeof to attempt to find the end of an
array that were doing sizeof on an unrelated variable.  This just happened
to work right on the i386, but would not on the alpha.

PR: bin/8427
1998-11-09 03:43:55 +00:00
steve
0e1e2dce28 Do a better job of determining if we were called as uptime(1).
PR:		8593
1998-11-09 01:19:30 +00:00
des
c67faadd9a main.c:
Fix usage string. Fix getopt() string. Fix ordering of compatibility options.
fetch.1:
 Fix synopsis. Fix ordering of T and t options. Fix minor grammar nit.
1998-11-08 23:18:48 +00:00
jkh
646f1b0ce5 Whoops, properly compress doc files again. 1998-11-08 20:47:57 +00:00
phk
f9fcff6b76 Allow for printing out integer arrays. 1998-11-08 19:27:43 +00:00
phk
3d402eedd3 Update interface to timecounter to last change to the generic code. 1998-11-08 19:26:23 +00:00
nsouch
fe59e67e6a Add semicolon to INTERFACE declaration. 1998-11-08 18:51:38 +00:00
dfr
50dd4b4d31 Port the ps/2 mouse driver to the alpha. 1998-11-08 18:43:03 +00:00