Doug Rabson [Sun, 2 May 1999 19:50:18 +0000 (19:50 +0000)]
* Merge gdb/doc/Makefile into binutils/doc/Makefile
* Update build for gdbserver and gdbreplay to work under binutils
* Fix gdbserver to use PT_GETREGS etc to access registers, removing the
dependancy on the u-area.
* Make gdbserver work on the alpha.
Jun Kuriyama [Sun, 2 May 1999 16:33:13 +0000 (16:33 +0000)]
New translation of pccardc.8.
Obtained from: PAO (written in Japanese)
Reviewed by: bsd-nomads@clave.gr.jp
freebsd-mobile@freebsd.org
Randy Bush <randy@psg.com>
Bill Trost <trost@grey.cloud.rain.com>
Bruce Campbell <bc@apnic.net>
FreeBSD-3.0 is a snapshot from -current, while 3.1 and 3.2
are from 3.x-stable which was branched quite some time after 3.0-release
(about Jan 15 if I recall correctly).
Dmitrij Tejblum [Sun, 2 May 1999 12:47:09 +0000 (12:47 +0000)]
Fight with false newlines in kernel message logs. Output a line into log only
after we read a newline, or we have nothing to read from /dev/klog. Read
/dev/klog in non-blocking mode.
Mark Murray [Sun, 2 May 1999 08:55:27 +0000 (08:55 +0000)]
This routine was "use"ing File::Basename. This commit removes that
"use" and replaces it with equivalent inline code. The reason is that
Perl has some very nasty circular dependancies, and I am trying to
get the System Perl upgraded by one maintenance level.
The basic rule, until I can find a way to solve this, is that
the build tools MAY NOT use any library code; it must all be inline.
Greg Lehey [Sun, 2 May 1999 08:02:03 +0000 (08:02 +0000)]
printconfig:
split into vinum_printconfig (interactive) and printconfig (called
from vinum_printconfig and from vinum_create when starting an
interactive update.
Greg Lehey [Sun, 2 May 1999 08:00:30 +0000 (08:00 +0000)]
Maintain a log file, by default /var/log/vinum.history, showing what
has been done. This name can be overridden by the value of the
VINUM_HISTORY environment variable.
Print dates in log file according to the variable VINUM_DATEFORMAT, by
default %e %b %Y %H:%M:%S.
Greg Lehey [Sun, 2 May 1999 07:51:20 +0000 (07:51 +0000)]
close_drive:
If a drive has gone down and has dirty buffers associated with it,
we'll get a panic when we try to vn_close it. Check for this
situation and discard any buffers; they're toast anyway.
Only complain about usage count if DEBUG_WARNINGS is set.
check_drive:
Change parameter name from drivename to devicename.
Get the check for a referenced drive right.
If the partition isn't a vinum drive, set the last error to ENODEV.
vinum_scandisk:
Change parameter name from drivename [] to devicename [].
Remove NOPERL. Seems to cause too many problems, as those that try don't
understand the implications and don't think to undo it when they get experience
trouble. (wonder about some of the people running -CURRENT sometimes)
Nick Hibma [Sat, 1 May 1999 23:30:09 +0000 (23:30 +0000)]
Move the disabling of interrupts right before the allocation of the
resource. Avoids useless interrupts occurring between the allocation
of the interrupt resource and the final initialisation of the
kernel. Cause of these interrupts is unknown (a resuming device?).
JMZ says:
Add an emply MAIN__() function. This avoid an unresolved reference error
during link phase when using fortran subroutines with non-fortran 'main()'.
Obtained from: src/lib/libF77/MAIN.c rev 1.1 by jmz
Kris Kennaway [Sat, 1 May 1999 14:54:21 +0000 (14:54 +0000)]
Fixes for -t option:
* Don't buffer "Digesting..." output - flush it immediately.
* Increase the number of repetitions by a factor of 100, and the block size by
a factor of 10 so as to give meaningful results on modern machines (108
seconds on my P120, and ~26 seconds on a P-II 350).
PR: bin/10604
Submitted by: Stanislav Shalunov <shalunov@lynxhub.lz.att.com>
David E. O'Brien [Fri, 30 Apr 1999 19:12:51 +0000 (19:12 +0000)]
Turn DEFAULT_VTABLE_THUNKS back on. It caused problems with undefined symbols
in libstdc++.
Until I have a chance to look at what that problem is and to carefully consider
the upgrade issues of turning it back on at a later date if we leave it turned
off for any extended peroid of time.
Tim Vanderhoek [Fri, 30 Apr 1999 18:19:46 +0000 (18:19 +0000)]
Change references from "passwordperiod" to "passwordtime", since
"passwordtime" is what passwd(1) has actually been using. I suspect
passwordperiod was the original intent. I can't figure-out which,
if either, BSDi uses. If anyone knows...
Bill Paul [Fri, 30 Apr 1999 16:44:17 +0000 (16:44 +0000)]
Close PR #10970: exit at the end of ypproc_all_2_svc() instead of returning.
This really fixes the condition where a child creates children of its own.
I'm leaving the previous sanity tests in though, since they shouldn't hurt,
and will give an indication if this ever happens again.
Bill Paul [Fri, 30 Apr 1999 16:15:43 +0000 (16:15 +0000)]
Bunch of updates:
- Try to unbreak what I broke by screwing with the tx queuing again.
I'm waiting for a few more people to test out this code and report back
before I move it into current. Hopefully it will be soon. Basically I
reverted to the old TX queuing strategy.
- Add experimental support for the 3c900B-FL (10mbps ST fiber). The card
should be detected properly and the 10baseFL mode supported, but again
I'm still waiting for word from a tester to see if this actually works.
It shouldn't affect the other cards though; all the differences are in
media selection.
- Set the TX start threshold register to get better performance.
- Increase the size of the RX and TX rings. UDP performance was pretty
bad because the TX ring was too small. Should be substantially better
now (I can saturate the link with either TCP or UDP now).
- Change some of the #defines to reflect proper 3Com ASIC names (boomerang,
cyclone, krakatoa, hurricane).
- Simplify and reorganize interrupt handler; ack all interrupts right
away and then process them. This avoids a potential race condition.
(Noted by Matt Dillon.)
- Reorganize the bridging code to eliminate using a goto to jump into
the middle of an if() {} clause. Sorry, that just made my brain itch.
- Use m_adj() in xl_rxeof().
- Make the payload alignment in xl_newbuf() the default (instead of
just conditionally defined for the alpha) to improve NFS performance
(avoids need for nfs_realign()).
Tcopy uses 32 bit unsigned to accumulate a count of bytes read/written.
That doesn't work well for tapes over 4G.
I use tcopy a lot to write images of a tape to tape as tape to tape
copying is terribly slow. Slower than it should be. Quickly found out
tcopy can not rewind a file when doing copy/verify.
PR: 11386
Submitted by: David Kelly dkelly@hiwaay.net
Reviewed by: phk
This patch also moves the bogus comment (the comment is still not quite
right) and (as a side effect) removes some verbose initialisations (we
depend on static initialisation to 0 for almost everything in proc0).
The alpha kernels are bootable again. The change won't affect i386's
until machdep.c is changed.
Bill Paul [Thu, 29 Apr 1999 20:24:00 +0000 (20:24 +0000)]
Add some extra checks to make sure that a child ypserv process doesn't
try to fork() a child of its own, which could result in several children
ypservs running at once. I'm still not sure exactly what leads to this
condition, but these fixes should stop it from causing trouble. A new
function, yp_fork() checks to see if the current process is already a
child of the parent ypserv, and returns failure (and logs an error message)
rather than spawning another child.
Alan Cox [Thu, 29 Apr 1999 18:15:25 +0000 (18:15 +0000)]
Address a performance problem in getnewbuf:
In heavy-writing situations, QUEUE_LRU can contain a large number
of DELWRI buffers at its head. These buffers must be moved
to the tail if they cannot be written async in order to reduce
the scanning time required to skip past these buffers in later
getnewbuf() calls.
Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
John Polstra [Thu, 29 Apr 1999 17:56:28 +0000 (17:56 +0000)]
pppd/Makefile:
Enable MS-CHAP support.
release/Makefile:
Build a separate NOCRYPT version of pppd, to keep This Great
Nation's top-secret cryptographic tools out of the filthy hands
of those evil furriners.