Commit Graph

13945 Commits

Author SHA1 Message Date
joerg
6c18050917 Oops, forgot to `cvs add' this one first... 1996-05-02 21:47:45 +00:00
joerg
0684b1c944 Add a man page. 1996-05-02 21:42:18 +00:00
joerg
48edb94942 Replace the dependency of install' from kernel' by a test for the
existance fo `kernel'.

Submitted by:	peter
1996-05-02 21:40:50 +00:00
mpp
1fb004d85e Xref chat(8) and ppp(8).
Pointed-out-by: Someone in the mailing lists
1996-05-02 19:21:40 +00:00
mpp
f0128769a1 Xref chat(8) and pppd(8). Also change .It references to .Pa for file
name references in the file section.
1996-05-02 19:18:47 +00:00
wpaul
4df2d36a62 NIS client-side performance tweak:
Each of the ypclnt functions does a _yp_dobind() when it starts and then
a _yp_unbind() when it finishes. This is not strictly necessary and it
wastes cycles: it means we do a new clnt_create() and clnt_destroy()
for each yp_whatever() call. In fact, you can do multiple clnt_call()s
using a single RPC client handle returned by clnt_create(). Ideally we only
have to create a handle to ypserv once (the first time we call a ypclnt
function) and then destroy it and rebind only if a call to ypserv fails.

- Modify _yp_dobind() so that it only creates a new RPC client handle
  when establishing a new binding or when one of the ypclnt calls
  invalidates an existing binding and calls _yp_dobind() to establish
  a new one.

- Modify the various ypclnt functions to only call _yp_unbind() if a
  call to ypserv fails.
1996-05-02 15:44:53 +00:00
phk
e6bd7df55c Removed $Log$ 1996-05-02 14:58:15 +00:00
phk
596105b399 This can go now. 1996-05-02 14:21:57 +00:00
phk
5a6fb3a7da removed:
CLBYTES PD_SHIFT PGSHIFT NBPG PGOFSET CLSIZELOG2 CLSIZE pdei()
        ptei() kvtopte() ptetov() ispt() ptetoav() &c &c
new:
        NPDEPG

Major macro cleanup.
1996-05-02 14:21:14 +00:00
phk
189514aa41 PD_SHIFT -> PDRSHIFT
PGOFSET -> PAGE_MASK
1996-05-02 13:08:51 +00:00
phk
7c53a1f932 CLSIZE -> getpagesize() 1996-05-02 13:06:21 +00:00
peter
df35ab2846 Fix a nasty bug that causes random crashes and lockups particularly on
very busy servers (eg: news, web).  This is an interaction between
embryonic processes that have not yet finished forking, and happen to
cause the kernel VM space to grow, hitting the uninitialised variable.

It was possible for this to strike at any time, depending on the size of
your kernel and load patterns.  One machine had paniced occasionally
when cron launches a job since before the 2.1 release.

If you had "options DIAGNOSTIC", you may have seen references to bogus
addresses like 0xdeadc142 and the like.

This is a minimal change to fix the problem, it will probably be done
better by reordering p_vmspace to be in the startzero section, but it
becomes harder to validate then.

It's been vulnerable since pmap.c rev 1.40 (Jan 9, 1995), so it's been a
cause of problems since well before 2.0.5.  This was when the merged
VM/buffer cache and the dynamic growing kernel VM space were first
committed.  This probably fixes a few of PR's.
1996-05-02 11:38:05 +00:00
phk
779840c457 First pass at cleaning up macros relating to pages, clusters and all that. 1996-05-02 10:43:17 +00:00
phk
2476b0058a Rename the very bogus indeed option "LINUX" to "COMPAT_LINUX".
I can only presume that the brain behind this have never seen code
that says "#ifdef LINUX" :-(
1996-05-02 10:41:18 +00:00
jkh
6d3c284e17 Clear the TCP/IP device configuration screen away after we invoke it. 1996-05-02 10:09:45 +00:00
phk
231d0e7bcf NBPG -> PAGE_SIZE
Avoid using the struct pte stuff.
1996-05-02 09:42:45 +00:00
phk
7bfc0101cb KGDB is dead. It may come back one day if somebody does it. 1996-05-02 09:34:51 +00:00
phk
e4ee69bc24 NBPG -> PAGE_SIZE 1996-05-02 09:23:36 +00:00
jkh
d202e9c6fc Add wcd0 to `all' target. The fate of the IDE CDROM support in 2.2
is becoming clearer.. :-)
1996-05-02 09:15:57 +00:00
phk
31f8db110d NBPG -> PAGE_SIZE 1996-05-02 09:10:21 +00:00
phk
8b3eb1da82 NBPG -> getpagesize() 1996-05-02 09:09:04 +00:00
phk
640ce8297e Use PAGE_SIZE instead of NBPG 1996-05-02 08:43:37 +00:00
phk
37811d9fc0 Cache the result of getpagesize() so we only make one syscall.
Use getpagesize instead of CLBYTES.
1996-05-02 08:43:05 +00:00
phk
4622dbc30b Replace NBPG with getpagesize() 1996-05-02 08:37:16 +00:00
jkh
cc47383b6b Yow! /dev/wcd0c got omitted from the boot.flp somehow. Guess that explains
why ATAPI CDROMs were broken in the last (and this!) SNAPSHOT.. :-(
Oh well, next SNAP I guess.
1996-05-02 08:18:28 +00:00
fenner
1284248a56 Back out my stupid braino; I was thinking strlen and not sizeof. 1996-05-02 05:54:14 +00:00
fenner
2163f66f9a Size temp var correctly; buf[4*sizeof "123"] is not long enough
to store "192.252.119.189\0".
1996-05-02 05:31:13 +00:00
mpp
94cc53e73d Convert the time2posix man page to mdoc format. This still
needs some other cleanup, but it is good enough for now.
1996-05-01 23:17:27 +00:00
mpp
e7fdb04c6f Fix a typo. 1996-05-01 22:49:36 +00:00
mpp
9c1ce5a32e Remove a redundant description of the EMFILE error, and fix a typo.
Submitted by:	James Raynard <jraynard@dial.pipex.com>
1996-05-01 22:20:40 +00:00
phk
1f74c80056 Add section with pgp keys (feel free to give it a better layout)
Add me back as patch-kit contributor.
1996-05-01 20:11:01 +00:00
markm
d390be530b Provide a rudimentary man page for this, based mostly on the README.PATCH. 1996-05-01 17:16:23 +00:00
markm
c8063bf291 Rewrite this a bit. The patch has already been applied, and users
do not need to followmost of the upgrading instructions.
1996-05-01 17:15:30 +00:00
jkh
52413d48f1 Bump SNAP date to 960501 since that's what it is now. Next SNAP, these
WON'T be hardcoded in here! :-)
1996-05-01 09:42:17 +00:00
jkh
0b4caaecfb Might as well be factual. Sigh! 1996-05-01 09:35:34 +00:00
jkh
04740820fe Fix the last known bogon with the packages menu. It's SNAP time! 1996-05-01 09:31:50 +00:00
jkh
765166292c Make the call to fortune here conditional as well. 1996-05-01 09:23:30 +00:00
jkh
28ab7c1538 If we've selected X, select the compat21 distribution as well. 1996-05-01 08:50:00 +00:00
jkh
e4e2255ceb Add the compat21 dist. 1996-05-01 08:42:40 +00:00
bde
ca8106a4ee Added calibration the i8254 and the i586 clocks agains the RTC at boot
time.  The results are currently ignored unless certain temporary options
are used.

Added sysctls to support reading and writing the clock frequency variables
(not the frequencies themselves).  Writing is supposed to atomically
adjust all related variables.

machdep.c:
Fixed spelling of a function name in a comment so that I can log this
message which should have been with the previous commit.

Initialize `cpu_class' earlier so that it can be used in startrtclock()
instead of in calibrate_cyclecounter() (which no longer exists).

Removed range checking of `cpu'.  It is always initialized to CPU_XXX
so it is less likely to be out of bounds than most variables.

clock.h:
Removed I586_CYCLECTR().  Use rdtsc() instead.

clock.c:
TIMER_FREQ is now a variable timer_freq that defaults to the old value of
TIMER_FREQ.  #define'ing TIMER_FREQ should still work and may be the best
way of setting the frequency.

Calibration involves counting cycles while watching the RTC for one second.
This gives values correct to within (a few ppm) + (the innaccuracy of the
RTC) on my systems.
1996-05-01 08:39:02 +00:00
bde
00b2015fb5 i386/machdep.c
include/clock.h
isa/clock.c
1996-05-01 08:31:21 +00:00
jkh
aa76d4da80 Include <sys/buf.h> so that this does't blow up with B_WRITE undefined.
I fully updated my src tree and did a `make includes' in /usr/src before
trying this fix, so I can only presume that Bruce missed something.
1996-05-01 06:31:18 +00:00
bde
13cbb1411c Oops, restored existent option LINUX. It is used at config-time. 1996-05-01 05:04:38 +00:00
bde
b3256ea959 Made this self-sufficent (except for <sys/types.h>) when compiled in
user mode.

Improved formatting and comments (mostly punctuation in comments).
1996-05-01 04:18:20 +00:00
bde
3f15f680f2 Fixed a race that caused panics in kernel printfs when the screen timeout
routine changed the screen pointers while output was in progress.
1996-05-01 03:58:21 +00:00
bde
789804f746 Don't return unused values in cpu_switch() or savectx().
Don't preserve unused registers in the NPX case in savectx().
1996-05-01 03:47:04 +00:00
bde
8ff8e22ec9 Removed unused #include. 1996-05-01 03:32:46 +00:00
jkh
943934a187 Micro tweak for getting the Holographic shell message to stay on the
screen longer.
1996-05-01 03:31:08 +00:00
bde
aa97fefae9 Removed nonexistent option "LINUX" (what's that :-). 1996-05-01 03:30:04 +00:00
bde
4fd408f6ef Only disable sio3 by default. 1996-05-01 03:26:58 +00:00