Bruce Evans [Sat, 13 Feb 1999 17:45:15 +0000 (17:45 +0000)]
Don't pass PSL_NT to vm86 signal handlers. Some vm86/real mode
programs, including msdos, set PSL_NT in probes for old cpu types,
although PSL_NT doesn't do anything useful in vm86 or real mode.
PSL_NT is even less useful in the signal handlers. It just causes
T_TSSFLT faults on return from syscalls made by the handlers.
These faults are fixed up lazily so that Xsyscall() doesn't have
to be slowed down to prevent them. The fault handler recently
started complaining about these faults occurring "with interrupts
disabled". It should not have, but the complaints pointed to this
bug.
Matthew Dillon [Sat, 13 Feb 1999 09:47:30 +0000 (09:47 +0000)]
General additional cleanup of VOP API for NFS ops - mainly NFS ignoring
the API for freeing up cnp's. This cleanup should not effect nominal
operation one way or the other since NFS VOPs just happen to be called
with flags that match what it actually does to the NAMEI components it
gets. Still, if an NFS error occured, there was probably some memory
leakage of NAMEI components with certain NFS VOP ops.
Brian Somers [Sat, 13 Feb 1999 00:59:19 +0000 (00:59 +0000)]
Add some examples of how to throw a window up on your display when
the peer demands authentication, and add some more detail to the
example configurations.
This is the first time I've written any TCL, so I'd appreciate it
if someone eyeballed the *-auth stuff and fixed any glaring problems.
Matthew Dillon [Fri, 12 Feb 1999 20:51:38 +0000 (20:51 +0000)]
jkh accidently removed rc.diskless1 & 2, then put rc.diskless back when
he moved rc.conf. Then he deleted rc.diskless when it ( of course ) didn't
work. Now I'm putting the originally accidently removed rc.diskless{1,2}
back in.
Julian Elischer [Fri, 12 Feb 1999 17:56:23 +0000 (17:56 +0000)]
Improved reporting of autodetected speed and duplex.
Now should be able to report speed for cards using NatSemi PHY.
(if you have one please let me know if it works as I
only have the Intel version)
Matthew Dillon [Fri, 12 Feb 1999 09:51:43 +0000 (09:51 +0000)]
Fix non-fatal bug in vm_map_insert() which improperly cleared
OBJ_ONEMAPPING in the case where an object is extended by an
additional vm_map_entry must be allocated.
In vm_object_madvise(), remove calll to vm_page_cache() in MADV_FREE
case in order to avoid a page fault on page reuse. However, we still
mark the page as clean and destroy any swap backing store.
Bill Paul [Thu, 11 Feb 1999 23:59:29 +0000 (23:59 +0000)]
Do not issue RX and TX reset commands in xl_stop() and xl_init(). On the
3c905B, the RX and TX reset commands also reset the cyclone chip's internal
PHY, which causes it to restart its autonegotiation session. This takes a
second or two to complete, which makes the interface seem to stop responding
for a few seconds every time you do something that reinitializes it.
Issuing the RX and TX resets on the older 3c905 boomerang adapters doesn't
cause any delay because the boomerang chip requires an external PHY.
This should fix the problem where people doing network installs via 3c905B
cards experience a delay after the interface is first initialized, among
other things.
This tries to install rc.diskless, but there is no such file.
I don't know which of the two to install in its place so just
remove it for now and get the release build working again.
Roger Hardiman [Thu, 11 Feb 1999 10:22:30 +0000 (10:22 +0000)]
Added ioctl REMOTE_GETKEY for Hauppauge Infra-Red Remote Control.
Submitted by Roger Hardiman.
Added ioctl TVTUNER_GETCHANSET to discover which regions the bktr driver
supports. Submitted by Vsevolod Lobko <seva@alex-ua.com>
Added BT848_GPIO_SET_EN,BT848_GPIO_SET_DATA (and GETs) to allow user land
control of the GPIO pins. This allows a Radio module on the GPIO port
to be controlled. Submitted by Vsevolod Lobko <seva@alex-ua.com>
The kernel option BKTR_GPIO_ACCESS must be used to enable the GPIO ioctls.
Submitted by: Roger Hardiman and Vsevolod Lobko <seva@alex-ua.com>
Brian Somers [Thu, 11 Feb 1999 10:14:08 +0000 (10:14 +0000)]
When resending chap challenges, resend the same challenge
each time rather than making up a new one.
Increase the authname/authkey max sizes to 100 characters.
Allow ``authkey'' specifications beginning with ``!''.
When a challenge is received, the text following the
``!'' is executed as a program (expanding stuff in the same
way that ``sh'' and ``!bg'' do). The program is passed the
peer name, peer challenge and local ``authname'' on standard
input and is expected to output the name/key combination that
should be used to build the CHAP response.
This provides support for Secure ID cards (guess what I was
given at work recently!) using CHAP.
Mike Smith [Thu, 11 Feb 1999 07:53:28 +0000 (07:53 +0000)]
Zero p->retval[1] when starting a process. This value ends up in %edx
when the process starts, and having it nonzero causes statically-linked
Linux binaries to fail.
Justin T. Gibbs [Thu, 11 Feb 1999 07:10:20 +0000 (07:10 +0000)]
Ensure that the ACK from the last information transfer phase has been
de-asserted by the initiator before changing phase or releasing the bus.
Corrects a SCSI specification violation in target mode.
Greg Lehey [Thu, 11 Feb 1999 06:42:39 +0000 (06:42 +0000)]
In some cases, it's possible that I/O errors will cause the daemon to
time out on an operation. Under these circumstances, vinum(8) will
automatically start another daemon. Add a pid for the daemon, so that
an overtaken daemon will discover that it's no longer in favour, and
will crawl into a corner and die.
Greg Lehey [Thu, 11 Feb 1999 06:14:49 +0000 (06:14 +0000)]
Modify example configuration file to show more optimum stripe size of
256 kB instead of 16 kB.
Pointed-out-by: Steve Taylor <staylor@cybernet.com>
Modify description of start command to include 'start' with no
parameters, which reads the config from all drives found on the
system.
Greg Lehey [Thu, 11 Feb 1999 06:13:44 +0000 (06:13 +0000)]
Check for both kinds of Vinum module (with and without RAID-5). Using
the wrong module can cause confusion, including loading both versions
(which conflict with each other) and incorrect ioctls, which cause
unintelligible error messages.
Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.
Bill Paul [Wed, 10 Feb 1999 20:04:22 +0000 (20:04 +0000)]
The ypbind_setdom_2 procedure returns NULL in the success case. This is
incorrect; returning NULL here means that the dispatcher won't send any
response back to the caller, which means the caller will sit there waiting
until it times out. I don't know how this ever worked before. The effect
is that using 'ypset foo' to get the local ypbind to change servers would
work, but would sit there hanging for a long time for no reason.
Bill Paul [Wed, 10 Feb 1999 16:16:14 +0000 (16:16 +0000)]
Add some tweaks to hopefully fix a problem I've started to notice recently.
Under certain conditions (possibly associated with heavy load), ypserv will
fork() child processes that don't exit like they're supposed to. I think
this is because of some suspect logic in the ypproc_all procedure. I updated
it to use what I hope is a more bulletproof approach.
Also tweaked yp_svc_run() a little so that the 'are we a child?' test happens
at every pass through the for(;;) loop, not just immediately after returning
from svc_getreqset2().