Robert Watson [Thu, 12 Oct 2000 17:58:14 +0000 (17:58 +0000)]
o Update BUGS entry to indicate in a more precise manner the implementation
status of capabilities (library is complete, kernel work is maintained
outside the tree).
Ruslan Ermilov [Thu, 12 Oct 2000 16:33:41 +0000 (16:33 +0000)]
Backout my wrong attempt to fix the compilation warning in ip_input.c
and instead reapply the revision 1.49 of mbuf.h, i.e.
Fixed regression of the type of the `header' member of struct pkthdr from
`void *' to caddr_t in rev.1.51. This mainly caused an annoying warning
for compiling ip_input.c.
When T308 times out while waiting for a RELEASE COMPLETE, clean up and
send a disconnect indication to the upper layers. This lets isdnd recover
from the situation instead of hanging in some intermediate state ...
Doug Rabson [Thu, 12 Oct 2000 14:36:39 +0000 (14:36 +0000)]
* Fix exception handling so that it actually works. We can now handle
exceptions from both kernel and user mode.
* Fix context switching so that we can switch back to a proc which we
switched away from (we were saving the state in the wrong place).
* Implement lazy switching of the high-fp state. This needs to be looked
at again for SMP to cope with the case of a process migrating from one
processor to another while it has the high-fp state.
* Make setregs() work properly. I still think this should be called
cpu_exec() or something.
* Various other minor fixes.
With this lot, we can execve() /sbin/init and we get all the way up to its
first syscall. At that point, we stop because syscall handling is not done
yet.
Justin T. Gibbs [Thu, 12 Oct 2000 14:36:27 +0000 (14:36 +0000)]
Bring back the ability to send cdbs of length 13->32 bytes. This was lost
during the qinfifo optimization. When swapping HSCBs, we were only copying
the first 32 bytes, the amount used in the common case of a cdb <= 12 bytes.
Larger cdbs are stored in the second 32 bytes of the cdb.
Doug Rabson [Thu, 12 Oct 2000 14:28:05 +0000 (14:28 +0000)]
* Allocate kernel stacks with contigmalloc() to make exception handling
safe - we can't afford to take a TLB trap when we are writing a
trapframe. Possibly revisit this later.
* Various fixes to pmap_enter() so that it actually works properly.
Bruce Evans [Thu, 12 Oct 2000 13:02:13 +0000 (13:02 +0000)]
Moved the declaration of astpending to the correct place.
This shouldn't affect the alpha or ia64, since they don't have a
variable named astpending. The alpha still has 2 declarations of
this nonexistent variable.
Ruslan Ermilov [Thu, 12 Oct 2000 07:18:20 +0000 (07:18 +0000)]
Removed broken PAM support from rshd(8) and rlogind(8). rshd does
not allocate a pty(4) so it is not suitable at all for interactive
PAM modules. rlogind calls login(1) which is already PAM enabled.
Bill Fumerola [Thu, 12 Oct 2000 06:10:12 +0000 (06:10 +0000)]
Remove 'device tx'. In wilko's testing it traps on bringing the interface
up. Even though this has recieved all the right MI treatment (newbus, miibus)
it stands for now a i386 only driver.
Mike Smith [Thu, 12 Oct 2000 01:43:40 +0000 (01:43 +0000)]
Reduce the number of outstanding commands we will send to the controller
to 50. This has been reported to avoid the problems that many users have
been experiencing with crashing the card firmware during rebuilds.
Do some cleanups of the HARP atm codes interface into the system:
Define the NETISR just like all the other NETISRs.
unifdef -Usun -D__FreeBSD__ we will probably never support sun4c
and if we do we can't use the solaris code anyway and I doubt
anybody will be running Fore ATM cards in then in the first place.
Justin T. Gibbs [Wed, 11 Oct 2000 23:46:34 +0000 (23:46 +0000)]
Store a pointer to our softc in the kernel's SCB structure. In the
past we stored this data in the CCB and attained the CCB via a pointer
in the SCB. In ahc_timeout(), however, the timedout SCB may have already
been completed (inherent race), meaning that the CCB could have been recycled,
and the ahc pointer reset.
Clean up the logic in ahc_search_qinfifo that deals with the busy device
table. For some reason it assumed that the only valid time to search
to see if additional lun entries should be checked was if lun 0 matched.
Now we properly itterate through the necessary luns. The busy device
table is used to detect invalid reselections, so a device would have had
to perform an unexpected reselection for this to cause problems. Further,
all luns are collapsed to a single entry unless we have external ram
with large SCBs (3940AU models) so the chance of this happening was
rather remote.
Clean up the logic for dealing with the untagged queues. We now set a
flag in the SCB that indicates that it is on the untagged queue instead
of inferring this from the type and setup of the CCB pased into us by
CAM.
In ahc_timeout(), don't print the path of the SCB until the controller
is paused and we are sure that it has not completed yet. This, in
conjunction with referencing the ahc pointer in the SCB rather than
the CCB in the SCB avoids panics in the case of a timedout scb completing
just before the timeout handler runs. This turns out to be guaranteed
if interrupt delivery is failing, as we run our interrupt handler to
flush any "just missed events" when a timeout occurs. Mention the
likelyhood of broken interrupts if a timedout SCB is completed by
our call to ahc_intr().
Mike Smith [Wed, 11 Oct 2000 23:03:11 +0000 (23:03 +0000)]
When testing for PCI bus overlap with another enumerator, make sure we
check for the right bus number. This is still not quite right, but
fixes things for multi-bus machines again.
Peter Wemm [Wed, 11 Oct 2000 12:19:42 +0000 (12:19 +0000)]
With apoligies to Greg Shapiro, fix the world. The previous commit
lost -lutil and -lwrap by replacing $LDADD and $DPADD rather than
appending to them with +=.
Andrew Gallatin [Wed, 11 Oct 2000 01:01:54 +0000 (01:01 +0000)]
kmem transfers were being double-counted due to a missing continue.
This silences the dreaded "swapinfo:cannot read blmeta_t" messages at boot.
I'm really suprised there were no PRs open about this...
- STARTTLS support in sendmail
- Use sendmail's version of vacation
- mail.local no longer installed set-user-id root
- Disable EXPN/VRFY SMTP commands by default
- Copy sendmail/cf config building tree into /usr/share/sendmail/cf/
Doug Rabson [Tue, 10 Oct 2000 14:57:10 +0000 (14:57 +0000)]
* Add rudimentary DDB support (no kgdb, no backtrace, no single step).
* Track recent changes to SWI code.
* Allocate RIDs for pmaps (untested).
* Implement assembler version of cpu_switch - its cleaner that way.
Atsushi Onoe [Tue, 10 Oct 2000 09:50:25 +0000 (09:50 +0000)]
awi needs to access memory with 8bit,
but pccardd apparently maps memory with MDF_16BITS flag.
So memory mapped access is disabled and use IO port instead for now.
This fixes the problem for config index 0x01 in the pccard.conf
with the message: "awi0: failed to complete selftest (timeout)"