The attached patch to /usr/src/sbin/dump/optr.c changes the comparison
so that dumps are treated by dump -w as having been done on midnight
of the day they were actually run. This makes dump -w behave as
expected for regularly scheduled daily dumps - if they all run the
same day. It makes dump -w behave strangely if you dump late in the
day and check again after midnight, but that is the lesser of two
evils.
Alan Cox [Sun, 21 Mar 1999 23:37:00 +0000 (23:37 +0000)]
Two changes:
Remove more (redundant) map timestamp increments from properly
synchronized routines. (Changed: vm_map_entry_link, vm_map_entry_unlink,
and vm_map_pageable.)
Micro-optimize vm_map_entry_link and vm_map_entry_unlink, eliminating
unnecessary dereferences. At the same time, converted them from macros
to inline functions.
Joerg Wunsch [Sun, 21 Mar 1999 12:34:06 +0000 (12:34 +0000)]
Finally remove the ancient `-exec rm -f {} ;' cruft that used to be
used to cleanup old files, and replace it by -delete which has been
present in our find(1) for ages now.
Warner Losh [Sun, 21 Mar 1999 03:45:58 +0000 (03:45 +0000)]
Don't be so selective about which errors cause us to continue and
which ones cause us to fail. Now all open errors on the databse file
will cause the next file in the list to be tried.
Submitted by: Arne Henrik Juul <arnej@math.ntnu.no>
PR: 4585
Bruce Evans [Fri, 19 Mar 1999 10:17:44 +0000 (10:17 +0000)]
Fixed a serious bug in rev.1.202. getnewbuf() sometimes didn't
initialise bp->b_data. This tended to cause panics for file
systems whose block size is smaller than one page.
Greg Lehey [Fri, 19 Mar 1999 07:21:27 +0000 (07:21 +0000)]
If we fail to open the super device, open the "wrong" device (that is,
the debug superdevice when we're compiled without debug, or the normal
superdevice when we're compiled with debug. If this succeeds, print
an informative comment and exit.
make_devices: Create both debug and normal superdevices.
Greg Lehey [Fri, 19 Mar 1999 07:19:52 +0000 (07:19 +0000)]
Define two superdevices for vinum(8), depending on whether they are
compiled with or without debugging support. This enables us to catch
(fatal) mismatches between the kernel and userland.
Coalesce flags VINUM_DISKCONFIG and VINUM_READING_CONFIG. They did
essentially the same thing.
Add VINUM_BIGDRIVE for pretending we have macho hardware.
Greg Lehey [Fri, 19 Mar 1999 07:08:40 +0000 (07:08 +0000)]
free_vinum: don't change loop bounds for deleting drives while in the loop.
This solved a problem where 'vinum resetconfig' only reset half
the drives.
Reported-by: Brad Knowles <blk@skynet.be>
Karl Pielorz <kpielorz@tdx.co.uk>
Change the super device. We now have three super devices:
1. The normal superdevice used by vinum(8).
2. The superdevice used by vinum(8) when compiled with debug support.
3. The superdevice used by the daemon.
This method allows vinum(8) to determine debug mismatches. Also check
correctly for the device type. The old code did not check all bits of
the minor number.
Reported-by: a cast of thousands, most recently by Brad Knowles
<blk@skynet.be>.
Alan Cox [Fri, 19 Mar 1999 05:21:03 +0000 (05:21 +0000)]
Construct the free queue(s) in descending order (by physical
address) so that the first 16MB of physical memory is allocated
last rather than first. On large-memory machines, this avoids
the exhaustion of low physical memory before isa_dmainit has run.
Brian Somers [Fri, 19 Mar 1999 00:05:32 +0000 (00:05 +0000)]
Don't forget to fully initialise the configured values
for MYADDR and HISADDR in ``set ifaddr'' so that unspecified
values don't end up retaining their `width'.
Julian Elischer [Thu, 18 Mar 1999 19:39:07 +0000 (19:39 +0000)]
Need to translate more .h to .ph then just /usr/include &
/usr/include/sys. Specifically we need /usr/include/machine
since "syslog.h" includes "machine/ansi.h". To be safe we
translate all of /usr/include/* and /usr/include/*/*.
sample error case:
echo "require 'syslog.ph';" | /usr/bin/perl
will fail when syslog.ph tries to include machine/ansi.ph
Peter Wemm [Thu, 18 Mar 1999 09:31:26 +0000 (09:31 +0000)]
Merge cvs-1.9.xx -> 1.10 changes onto mainline.
The merge turned up a long-standing bug in local additions. I'm not
quite sure it's right yet. (the code in question is dealing with
diffs relative to "HEAD" and dead revisions).
Jonathan Lemon [Thu, 18 Mar 1999 04:22:23 +0000 (04:22 +0000)]
Change btrl/btsl to cmpl/movl, since each cpu now has their own copy
of private_tss, and there's no need to use a bit array. Also fixes
the problem of using `je' after btrl, since cmpl sets ZF.
Chuck Robey [Wed, 17 Mar 1999 23:44:19 +0000 (23:44 +0000)]
This is a temporary README file, to help those trying to experiment
with the new boot loader configuration process. I got a lot of
help from Daniel Sobral, and both Dan and I got help from Mike
Smith. This really belongs in Warner's UPDATING, but he's not
been answering his email recently, so that will wait a little.
Robert Nordier also gave me a lot of help, but he hasn't seen the
last version, and can't be blamed for my errors.
Guy Helmer [Wed, 17 Mar 1999 20:17:32 +0000 (20:17 +0000)]
Document the flags and p parameters to VOP_LOCK and VOP_UNLOCK. Also,
at Doug Rabson's suggestion, add vn_lock(9) as an alternative name for
this manpage and note its calling convention.
Matt Jacob [Wed, 17 Mar 1999 05:07:18 +0000 (05:07 +0000)]
Prep for 1080/1240 support. Those fine h/w engineers at Qlogic
gave yet another internal register layout model for what is
*still* the same architecture. I hope they saved billyuns of gates
'coz otherwise this is *really* annoying.
Matt Jacob [Wed, 17 Mar 1999 05:04:39 +0000 (05:04 +0000)]
A wad of changes- prepping for 1080/1240 support (which caused a massive
thwank in register layout goop). A different mboxcmd approach. Some PDB change
infrastructure. Some better management of loopdown/loopup events (keep them
distinct from resource starvation for simq freeze/unfreeze actions).
Matt Jacob [Wed, 17 Mar 1999 01:48:34 +0000 (01:48 +0000)]
Add options to turn off support for Qlogic 1020/1040, Qlogic 1080/1240,
or Qlogic 2100 cards. This to save substantial f/w code space if you really
care.
Add in options to enable expanded lun or fabric f/w downloads for Qlogic 2100.
Luigi Rizzo [Tue, 16 Mar 1999 12:06:11 +0000 (12:06 +0000)]
Fix a dummynet bug caused by passing a bad next hop address (the
symptom was the msg "arp failure -- host is not on local network" that
some user have seen on multihomed machines.
Bug tracked down by Emmanuel Duros
Minor adjustments to make LINT compile again (thanks to phk for reminding me).
Because the Fritz!Card PCMCIA stuff is also affected, this includes the fix
from PR kern/10278 submitted by Udo Schweigert (udo.schweigert@mchp.siemens.de).
PR: kern/10278
Alan Cox [Tue, 16 Mar 1999 07:39:07 +0000 (07:39 +0000)]
Correct a problem in kmem_malloc: A kmem_malloc allowing "wait" may
block (VM_WAIT) holding the map lock. This is bad. For example, a subsequent
kmem_malloc by an interrupt handler on the same map may find the lock held
and panic in the lockmgr.