Commit Graph

13744 Commits

Author SHA1 Message Date
Justin T. Gibbs
9591b63489 Bring back the AHC_TAGENABLE compile option and document it. You must
use this option to get tagged queuing.  Just like the old days.
1996-04-28 19:43:10 +00:00
Justin T. Gibbs
a515c85818 Fix the abort code in the BUS DEVICE RESET case. Needed to set cmdlen to 0.
Ensure that queued commands are not touched by the abort code by setting
the SCB status to indicate what queue it is in.

Fix deadlocks when using SCB paging by using SCBs from the assigned_scbs
queue or an SCB that completed during the same interrupt if needed.

Don't ever use insl to pull SCBs from any of the controllers.  You can
only do 8bit PIO reads.  This only affected SCB paging.

With this checkin, SCB paging works quite a bit better, but I still have
some problems with it that may be caused by a firmware problem in my
PD1800s.  It seems that using a tag number higher than the maximum number
of tags allowed by the device, confuses it.  For example, if I queue
two commands, tagged 3 and 36, it never reconnects for tag 36.
1996-04-28 19:21:20 +00:00
Joerg Wunsch
30d8ec0442 Add an entry for xterm with colors. The standard xterm now handles
ANSI colors.
1996-04-28 18:21:01 +00:00
Joerg Wunsch
f1420840d1 Fix a bogon that prevented easy-import from inserting the new module
name in alphabetical order (broken by my previous commit).

Pointed out by: asami
1996-04-28 12:32:43 +00:00
Poul-Henning Kamp
3e86a2edb8 Fix some bugs I introduced and some old ones as well.
Add BDE_DEBUGGER back.
Improve quality of comments.
Thanks Bruce!

Reviewed by:	phk
Submitted by:	bde
1996-04-28 07:14:05 +00:00
Jordan K. Hubbard
dc566e50e1 Update to new SNAP revision information. 1996-04-28 06:08:41 +00:00
Bill Paul
b2264be812 Performance enhancements (I hope) and new stuff:
yp_dblookup.c:

- Implement database handle caching. What this means is that instead
  of opening and closing map databases for each request, we open a
  database and save the handle (and, if requested, the key index)
  in an array. This saves a bit of overhead on things like repeated
  YPPROC_NEXT calls, such as you'd get from getpwent(). Normally,
  each YPPROC_NEXT would require open()ing the database, seeking
  to the location supplied by the caller (which is time consuming with
  hash databases as the R_CURSOR flag doesn't work), reading the
  data, close()ing the database and then shipping the data off to
  the caller. The system call overhead is prohibitive, especially
  with very large maps. By caching the handle to an open database,
  we elimitate at least the open()/close() system calls, as well
  as the associated DB setup and tear-down operations, for a large
  percentage of the time. This improves performance substantially at
  the cost of consuming a little more memory than before.

  Note that all the caching support is surrounded by #ifdef DB_CACHE
  so that this same source module can still be used by other programs
  that don't need it.

- Make yp_open_db() call yp_validdomain(). Doing it here saves cycles
  when caching is enabled since a hit on the map cache list by
  definition means that the domain being referenced is valid.

- Also make yp_open_db() check for exhaustion of file descriptors,
  just in case.

yp_server.c:

- Reorganize things a little to take advantage of the database
  handle caching. Add a call to yp_flush_all() in ypproc_clear_2_svc().

- Remove calls to yp_validdomain() from some of the service procedures.
  yp_validdomain() is called inside yp_open_db() now, so procedures that
  call into the database package don't need to use yp_validdomain()
  themselves.

- Fix a bogosity in ypproc_maplist_2_svc(): don't summarily initiallize
  the result.maps pointer to NULL. This causes yp_maplist_free()
  to fail and leaks memory.

- Make ypproc_master_2_svc() copy the string it gets from the database
  package into a private static buffer before trying to NUL terminate it.
  This is necessary with the DB handle caching: stuffing a NUL into the
  data returned by DB package will goof it up internally.

yp_main.c:

- Stuff for DB handle caching: call yp_init_dbs() to clear the
  handle array and add call to yp_flush_all() to the SIGHUP
  signal handler.

Makefile.yp:

- Reorganize to deal with database caching. yp_mkdb(8) can now be used
  to send a YPPROC_CLEAR signal to ypserv(8). Call it after each map
  is created to refresh ypserv's cache.

- Add support for mail.alias map.
  Contributed by Mike Murphy (mrm@sceard.com).

- Make default location for the netgroups source file be /var/yp/netgroup
  instead of /etc/netgroup.

mkaliases:

- New file: script to generate mail.alias map.
  Contributed by Mike Murphy (mrm@sceard.com).

Makefile:

- Install Makefile.yp as /var/yp/Makefile.dist and link it to
  /var/yp/Makefile only if /var/yp/Makefile doesn't already exist.
  Suggested by Peter Wemm.

- Install new mkaliases script in /usr/libexec along with mknetid.

- Use somewhat saner approach to generating rpcgen-dependent files
  as suggested by Garrett Wollman.
1996-04-28 04:38:52 +00:00
Bill Paul
6290107b02 Import the new yp_mkdb. This one does what the old one does, but is
hopefully less grotty. Differences include:

- An extra flag, -c, for sending a YPPROC_CLEAR to ypserv(8) (which
  will become useful once I merge in the DB handle caching mods I've
  been working on).
- Checks for and signals duplicate keys.
- Handles line continuations.

As of now, there is no more GNU YP code in the tree.
1996-04-28 04:16:06 +00:00
Bill Paul
01ca6f26be Toss the GNU yp_mkdb into the attic. 1996-04-28 04:08:22 +00:00
Bill Paul
7fe8512402 Remove yp_mkdb; it's going away.
Uhm, guys? This Makefile doesn't build anything anymore. The isdn
stuff under here isn't compiled. Is this normal?
1996-04-28 04:06:06 +00:00
Bill Paul
b95c787ed4 Small tweak to yp_put_record(): call the DB put routine with the
R_NOOVERWRITE flag and process return codes so that we can tell the
difference between a failure due to a duplicate database entry and
failure due to some other error.
1996-04-28 03:59:56 +00:00
Jordan K. Hubbard
89592e552b Fix an ancient index list bug.
Make FTP re-initializion work.
Fix fix fix.
1996-04-28 03:27:26 +00:00
Jordan K. Hubbard
d1efb9fdc2 Fix the OK/Cancel accellerator bogon I introduced a few days back. 1996-04-28 02:13:07 +00:00
Jordan K. Hubbard
3174386dd6 Move some of functions around in order to make this stuff easier
to work on.
1996-04-28 01:07:27 +00:00
Jordan K. Hubbard
ba67e870cb Bump snapshot release date - looks like I was off by a couple
of days!

More display fixes to sysinstall and assorted tweaking.
1996-04-28 00:37:38 +00:00
Jordan K. Hubbard
cce80494f9 Fix a minor grammatical error (reselled -> resold) I just noticed. 1996-04-27 18:36:02 +00:00
Andrey A. Chernov
75cfc95fe2 inet_ntoa buffer was evaluated twice in log_in_vain, fix it.
Thanx to: jdp
1996-04-27 18:19:12 +00:00
Joerg Wunsch
d5d7648201 Make install' depend on kernel'. Some idiot tried to install a
non-built kernel and complained in Usenet... :-)
1996-04-27 07:30:49 +00:00
Jordan K. Hubbard
40c2e7eb17 Add a missing helpfile for fixit. 1996-04-27 07:18:59 +00:00
Jordan K. Hubbard
1e702eb8a5 Fix what I just broke with DITEM_LEAVE_MENU 1996-04-27 07:09:41 +00:00
Jordan K. Hubbard
4db3e58bb2 More misc menu hackery. 1996-04-27 07:04:12 +00:00
Jordan K. Hubbard
0b2f94ecdc Fix a minor typo. 1996-04-27 04:57:43 +00:00
Jordan K. Hubbard
396df2aa3a Fix a bogon with ok/cancel callback usage. 1996-04-27 01:52:15 +00:00
Jordan K. Hubbard
c671b664f0 Update more docs to match -current reality. 1996-04-27 01:34:47 +00:00
Jordan K. Hubbard
55ec112da0 Make default /etc/motd (which I will include in the installation) a little
more helpful and explanatory to new users.  Experienced users always blow
away their default motd's on the first day anyway. :-)
1996-04-27 00:44:22 +00:00
Bruce Evans
f4c626074b Fixed a bug introoduced in the previous change. ISA device memory was
mapped to semi-random place(s) depending on the content(s) of physical
address 0xA0000.  This was fatal at least on my system with a some
memory-mapped devices.  Console syscons somehow wasn't affected.  It
bogusly hardcodes the address.  Sigh.
1996-04-26 22:26:45 +00:00
Joerg Wunsch
8905131422 Implement keyinfo(1) as a setuid Perl script, so /etc/skeykeys can
be made mode 0600.

Pointed out by: kieber@sax.de (Ulf Kieber)
Reviewed by:	pst
1996-04-26 21:35:11 +00:00
Joerg Wunsch
711e38f8ed /etc/skeykeys was basically suffering from the same vulnerability
as any non-shadowed /etc/passwd.  Ironically, all programs using S/Key
have already been setuid root except keyinfo(1).

This modification creates /etc/skeykeys with mode 0600 to prevent it
from being examined by ordinary users.
1996-04-26 21:33:18 +00:00
Mike Pritchard
68ba25409f Remove the comments that suggest people not turn
on accounting and quotas because they don't work.
They seem to work just fine, and the comments generate
too many questions.
1996-04-26 20:18:58 +00:00
Jordan K. Hubbard
d93b514f1a Remove libdisk from the old location. 1996-04-26 19:27:47 +00:00
Eric L. Hernes
8a8fb1236d changed a strchr to a strrchr so that modules with a `.' in the path
can be loaded (e.g. ./mymod.o)
1996-04-26 18:39:48 +00:00
Garrett Wollman
a2352fc148 Delete #ifdef notdef blocks containing old method of srtt calculation.
Requested by: davidg
1996-04-26 18:32:58 +00:00
Garrett Wollman
93902408b8 Delete #if 0 block containing remnants of pre-MTU discovery rmx_mtu
initialization.
1996-04-26 18:31:41 +00:00
Garrett Wollman
7c1c2d7ebd Delete #if 0 block containing unused definitions for ARPANET/DDN IMP
and HYPERchannel link layers.
1996-04-26 18:30:52 +00:00
Jordan K. Hubbard
35ee5f3e57 Fix display refresh bug in displayHelp()
Go back to Normal menus for Media and FTP menus rather than
radio menus - the difference in behavior is confusing and sort
of detracts from the added (small) advantage of seeing what you last
picked.
1996-04-26 18:19:38 +00:00
Poul-Henning Kamp
1a0e8e31c6 A significant debogofication of locore.s. I havn't found any actualy
bugs, but it is a lot easier to navigate this twisted code now.
1996-04-26 13:47:39 +00:00
Satoshi Asami
1844587c79 Add CFLAGS=${CFLAGS} to MAKE_ENV, otherwise gmake won't pick it up. 1996-04-26 10:09:06 +00:00
Søren Schmidt
03475c250b Removed options MAXCONS & HARDFONT, they are no longer in use
(and havn't been for long, sigh)
1996-04-26 06:45:41 +00:00
Jordan K. Hubbard
5da0cf3eec All hail Mike Pritchard - the new Docmaster!
Nominated by:	jfieber
Dragooned by:	jkh
Foolishly Accepted by:	mpp
1996-04-25 20:07:28 +00:00
Jordan K. Hubbard
6e45679280 Might as well update the release notes while I'm here! 1996-04-25 19:04:45 +00:00
Jordan K. Hubbard
689aa5ca2b These docs were in fair need of updating. 1996-04-25 18:40:02 +00:00
Andrey A. Chernov
9137242c2c Oops, restore missing piece of previous commit. 1996-04-25 18:14:11 +00:00
Jordan K. Hubbard
a0b037c2c7 Add a place-holder message for the CDROM fixit feature (which I'm not going
to add in time for the next SNAP).
1996-04-25 18:00:28 +00:00
Jordan K. Hubbard
18b1c03d52 Quite a few changes:
1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic
   points.
2. Clean up the distributions menus so that everybody (that's reasonable)
   has All and Clear options for setting/clearing things en-masse.
3. Various attempts at display optimization.
4. Change the wording of the `Don't use Write!' dialogs to make them more
   explicitly define when and when not to use the option.
1996-04-25 17:31:27 +00:00
Jordan K. Hubbard
7af0a5dbaf More custom hackery to deal with issues discovered in sysinstall. 1996-04-25 17:27:18 +00:00
Andrey A. Chernov
cc8c038449 Treat ^end<EOF> as valid terminator (like ^end\n), some encoders (f.e. Eudora)
produce such things.
1996-04-25 14:49:40 +00:00
Jordan K. Hubbard
ab112e9f34 Allow some post-fire actions to be combined in ways that weren't
possible before.
1996-04-25 13:34:37 +00:00
Poul-Henning Kamp
68832d3037 Fix cpu_fork for real.
Suggested by:	 bde
1996-04-25 06:20:19 +00:00
Satoshi Asami
f8176d838c Fix logic bug in pci bridge code. For a PCI-PCI bridge, secondary
should be <= than subordinate, not the other way around.

They are both true if the bridge is not cascaded (i.e., twin-channel
scsi/e-net adapters won't be affected by this bug), which is probably why
it was unnoticed until today.
1996-04-25 06:04:27 +00:00
David Greenman
2a8d579fc8 Regardless of whether or not the check for IPv4 is useful, we certainly
don't need to assign the "ip" pointer twice.
1996-04-25 02:34:37 +00:00