unix-history/.git
30 years agoFix parsing of ranges.
J.T. Conklin [Fri, 22 Oct 1993 22:59:12 +0000 (22:59 +0000)]
Fix parsing of ranges.

30 years agoFrom Bruce Evans:
David Greenman [Fri, 22 Oct 1993 11:03:50 +0000 (11:03 +0000)]
From Bruce Evans:
4. sleep(1) sometimes slept less than 1 sec.  usleep(10000) slept as
little as 1 usec + syscall time.

This was because of incorrect rounding in hzto().  It is necessary to
round up instead of down, and then add 1 tick to allow for the current
tick finishing very soon.

hzto() did too much at splhigh().  It assumed that tick / 1000 is
integral.  It was unecessarily inaccurate for large time differences.

Here is a fix for hzto().

30 years agoFrom Andrew Chernov:
David Greenman [Fri, 22 Oct 1993 02:49:34 +0000 (02:49 +0000)]
From Andrew Chernov:

(see changes to getty which this patch is part of)

Basically, a few of the tty flags were changed to work better with
'CRT's, and the flags are better documented (documentation from Bruce
Evans).

30 years ago>From: Scott Mace <smace@freefall.cdrom.com>
Rod Grimes [Thu, 21 Oct 1993 23:36:21 +0000 (23:36 +0000)]
>From: Scott Mace <smace@freefall.cdrom.com>
Date: Thu, 21 Oct 1993 16:03:45 -0700 (PDT)

The Makefile in /usr/src is wrong.  It says setenv NOPROFILED to not
build profiled libaries you have to setenv NOPROFILE for it to work.

30 years agoFix problem where exitcode is set to 1, causing some invoking programs to get
Jordan K. Hubbard [Thu, 21 Oct 1993 18:11:46 +0000 (18:11 +0000)]
Fix problem where exitcode is set to 1, causing some invoking programs to get
upset when a file is left unedited.

30 years agoChange space to tab in ruserd line per Guido van Rooij
Rod Grimes [Thu, 21 Oct 1993 17:34:32 +0000 (17:34 +0000)]
Change space to tab in ruserd line per Guido van Rooij

30 years agoMake whatisdb after the whole system is installed, since the one in
Rod Grimes [Thu, 21 Oct 1993 17:33:43 +0000 (17:33 +0000)]
Make whatisdb after the whole system is installed, since the one in
share/man will only create entries for manual pages that have been
installed up to that point.

30 years agomagic and ignorecase options are now recognized if compiled with
Andrew Moore [Thu, 21 Oct 1993 10:03:54 +0000 (10:03 +0000)]
magic and ignorecase options are now recognized if compiled with
the REGEXP directive - this was causing ctags to not find
functions returning pointers (e.g., char *hello())

30 years agoIndex: test FreeBSD-current
Rod Grimes [Wed, 20 Oct 1993 22:32:36 +0000 (22:32 +0000)]
Index: test FreeBSD-current
Reference: FreeBSD-current/test/4

Description:
The bugfiler was broken due to some one publishing the address
FreeBSD-bugs@freefall as a mailing list.  To correct that I
disabled the bugfiler and made this address a mailing list!

I have now set up FreeBSD-bugfiler@freefall.cdrom.com to be
the bugfiler mailing address and am about to commit the changes
to the bugfiler code to make it work with this address.

The code is in place and working on freefall now.  This message
should automatacally get forwarded to the FreeBSD-bugs address
after it has been filed so that the team is aware of all bugfiler
bug reports.

This is also a good sample of what a REAL bug report should look like.

Repeat-By:
Get the new sources to bug filer after I commit them and
start using it!

Fix:
Change the bugfiler code to use the new address, and fix the
set up in /etc/aliases on freefall to work with these new addresses.

30 years agoReplaced instructions with immediate operands with compatible alternatives
J.T. Conklin [Wed, 20 Oct 1993 17:37:41 +0000 (17:37 +0000)]
Replaced instructions with immediate operands with compatible alternatives
saving a few bytes while the cycle count remains the same.

30 years ago>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Rod Grimes [Wed, 20 Oct 1993 15:49:02 +0000 (15:49 +0000)]
>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Date: Wed, 20 Oct 1993 18:28:44 +0300

Editors Note:
Line ended with comma (``,'') instead of semicolon (``;''),
this should not have effected the code.
Submitter made no comments other than it was ``simple''.

30 years agoFrom Andrew Chernov (ache@astral.msk.su):
David Greenman [Wed, 20 Oct 1993 09:03:44 +0000 (09:03 +0000)]
From Andrew Chernov (ache@astral.msk.su):
(note that #1 was not committed -DLG)

Fixed bugs list:

1) TIOCFLUSH stuff not working in getty,
because modems is *too* slow, and
issue TIOCFLUSH in the middle of CONNECT string output.
Solution is simple: I add sleep(2) after open port to allow
modem write CONNECT string, then flush it completely.

2) getty is really trick login: all 'gettytab' stuff not working,
because of usage of set_ttydefaults(0) before login call.
I restore meaning of all 'gettytab' flags and remove completely
unneded ttydefaults.c.
Initial TIOCGETP needed to initialize kernel's termios stuff.
because getty use old BSD ioctls,

3) TIOCFLUSH arguments are incorrect: last argument are address,
not value.

4) "np" (No parity, 8-bit) flags present, but not working:
restored.

6) KILL character are printed when entered string are empty:
not printed now.

7) Many peoples prefer to use ^H/DEL, ^U, ^D while login in any case,
KILL/ERASE pre-setted defaults no matter at this place, fixed.

In <9307270711.AA02004@kralizec.zeta.org.au> Bruce Evans writes:

>Here are some additional fixes.

>1. PASS8 is an output parameter, sort of.  It controls whether the
>mode is cs7 parenb or cs8 -parenb.  So, in subr.c, check NP before
>returning, and in main.c, always do a TIOCLSET ioctl when doing a
>TIOCSETP ioctl.  Note that it is theoretically possible to have
>differerent parities for input and output.

>2. echoke and echoke were not being set for login (previously they
>were set in set_ttydefaults()).  Fixed in gettytab.  Other getty/
>gettytab defaults are OK.  Except :ap: should not be default :-).

>3. I documented what all combinations of gettytab parity flags do.

>4. The correctness of the setting setting of istrip took a long time
>to debug because codrv clears it on the first read.  Now this kludge
>in codrv is unnecessary (solution is using :np: instead of :ap:) in
>gettytab.

>Bruce

I additionally fix original Bruce's patch and here final result:

30 years agointegrate Yuval Yarom's advisory NFS locking patches. The lock is only
David Greenman [Wed, 20 Oct 1993 07:31:42 +0000 (07:31 +0000)]
integrate Yuval Yarom's advisory NFS locking patches. The lock is only
known to the local node, but this is better than nothing, and is
required for POSIX compliance.

30 years agoInstall mse man page, and create link for it
Rod Grimes [Tue, 19 Oct 1993 20:20:33 +0000 (20:20 +0000)]
Install mse man page, and create link for it

30 years agoMove the mse mouse man page to the man4.i386 directory
Rod Grimes [Tue, 19 Oct 1993 20:19:15 +0000 (20:19 +0000)]
Move the mse mouse man page to the man4.i386 directory

30 years agoAdded very small man page for mse.4 mouse that was distributed in the
Nate Willams [Tue, 19 Oct 1993 20:04:08 +0000 (20:04 +0000)]
Added very small man page for mse.4 mouse that was distributed in the
package.

30 years agoFixe a spelling error and added both the mse (logitech and ATI inport) and
Nate Willams [Tue, 19 Oct 1993 20:00:35 +0000 (20:00 +0000)]
Fixe a spelling error and added both the mse (logitech and ATI inport) and
the psm (PS/2 bus) mouse support

(The psm driver will have to come later)

30 years agoMake darn sure that fsck does not try to fsck dos file systems by setting
Rod Grimes [Tue, 19 Oct 1993 19:58:55 +0000 (19:58 +0000)]
Make darn sure that fsck does not try to fsck dos file systems by setting
the fsck pass to 0, same thing for dump field, in the fstab that is
created by this script.

30 years agoPull in ../Makefile.inc so that the whatis database ends up in the correct
Rod Grimes [Tue, 19 Oct 1993 19:57:35 +0000 (19:57 +0000)]
Pull in ../Makefile.inc so that the whatis database ends up in the correct
place.  Rich Murphy has a better fix for this, but I lost it!

30 years agoUpdated LINT to have the mse0 config line
Nate Willams [Tue, 19 Oct 1993 19:49:24 +0000 (19:49 +0000)]
Updated LINT to have the mse0 config line

30 years agoThis is my patched version of a busmouse driver originally by Rick Macklem
Nate Willams [Tue, 19 Oct 1993 19:46:49 +0000 (19:46 +0000)]
This is my patched version of a busmouse driver originally by Rick Macklem
(rick@snowhite.cis.uoguelph.ca).  I am currently using it with a Microsoft
InPort busmouse, under FreeBSD Epsilon.  I hadn't planned on supporting it,
but I have patched it a few times, and I guess this is now the de facto
reference version, so send me any problems or improvements.

                                                        - Gene Stark
                                                          stark@cs.sunysb.edu
                                                          October 9, 1993

30 years agoRemove warnings about sigsetjmp(), siglongjmp, and sigjmp_buf being
J.T. Conklin [Tue, 19 Oct 1993 19:19:27 +0000 (19:19 +0000)]
Remove warnings about sigsetjmp(), siglongjmp, and sigjmp_buf being
placeholders.  They are now real, at least for the i386.

30 years agoInstall sigsetjmp and siglongjmp as link to setjmp manpage, remove
J.T. Conklin [Tue, 19 Oct 1993 19:04:27 +0000 (19:04 +0000)]
Install sigsetjmp and siglongjmp as link to setjmp manpage, remove
longjmperr link (there is a longjmperror link, which is the proper
name of the function.)
Fix formatting errors in setjmp manpage.

30 years agoAdded sigsetjmp.
J.T. Conklin [Tue, 19 Oct 1993 18:52:02 +0000 (18:52 +0000)]
Added sigsetjmp.

30 years agoLamp's down, so FreeBSD gets this first.
J.T. Conklin [Tue, 19 Oct 1993 18:51:21 +0000 (18:51 +0000)]
Lamp's down, so FreeBSD gets this first.

30 years agomerge free.c realloc.c into malloc.c so that all three are linked in
Paul Richards [Tue, 19 Oct 1993 18:22:37 +0000 (18:22 +0000)]
merge free.c realloc.c into malloc.c so that all three are linked in
if any are referenced.

libc's malloc.o contains malloc(), free() and realloc().  And libc
refers to realloc which will cause the linker to pull in redundant
malloc() and free() definitions from malloc.o if it isn't already
linked in from GNU malloc.  Rich

30 years agoRemove reference to EPSILON release.
Rod Grimes [Tue, 19 Oct 1993 17:33:38 +0000 (17:33 +0000)]
Remove reference to EPSILON release.

30 years agofixed bug where large amounts of unidirectional UDP traffic would fill
David Greenman [Tue, 19 Oct 1993 09:14:15 +0000 (09:14 +0000)]
fixed bug where large amounts of unidirectional UDP traffic would fill
the interface output queue and further udp packets would be fragmented
and only partially sent - keeping the output queue full and jamming the
network, but not actually getting any real work done (because you can't
send just 'part' of a udp packet - if you fragment it, you must send
the whole thing). The fix involves adding a check to make sure that the
output queue has sufficient space for all of the fragments.

30 years agofix bugs in the accounting code that was just added. The Mach VM system
David Greenman [Tue, 19 Oct 1993 09:05:51 +0000 (09:05 +0000)]
fix bugs in the accounting code that was just added. The Mach VM system
keeps track of things as pages, not K bytes, and the rusage stats want
Kbytes.

30 years agofix syscall args to be outside of params to quiet gcc.
David Greenman [Tue, 19 Oct 1993 05:46:05 +0000 (05:46 +0000)]
fix syscall args to be outside of params to quiet gcc.

30 years agoAdd ie0 to standard kernels, this is the ATT starlan/ethernet driver
Rod Grimes [Tue, 19 Oct 1993 01:28:09 +0000 (01:28 +0000)]
Add ie0 to standard kernels, this is the ATT starlan/ethernet driver
from Garrett Wollman.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:07:21 +0000 (01:07 +0000)]
Accounting patch:
The brains of the entire thing.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:06:29 +0000 (01:06 +0000)]
Accounting patch:
This counts block I/O.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:05:36 +0000 (01:05 +0000)]
Accounting patch:
This enables the summation of virtual memory used.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:02:16 +0000 (01:02 +0000)]
Accounting patch:
This this is the hook that causes accounting to save information when a
process exits

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 01:01:20 +0000 (01:01 +0000)]
Accounting patch:
This is the hook that causes accounting to save information when a
process exits.

[ Note, I accidentally brought this change in from my tree a bit ago, so I
  edited the comment on the changed line so that the accounting patch
  could be brought in this time around ]

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 00:58:51 +0000 (00:58 +0000)]
Accounting patch:
This turns off the AFORK bit -- AFORK says a process forked but did not
exec, obviously, it did exec, and the bit needs to be turned off.

30 years agoAccounting patch:
Nate Willams [Tue, 19 Oct 1993 00:54:49 +0000 (00:54 +0000)]
Accounting patch:
This counts the number of swaps for use by getrusage().

30 years agoFor folks that still use /dev/vga as the console.
Nate Willams [Tue, 19 Oct 1993 00:53:07 +0000 (00:53 +0000)]
For folks that still use /dev/vga as the console.

Beginning of the accounting patches from Mark Tinguely.

30 years agoFrom: phk@data.fls.dk (Poul-Henning Kamp/P-HK)
Rod Grimes [Mon, 18 Oct 1993 23:03:20 +0000 (23:03 +0000)]
From: phk@data.fls.dk (Poul-Henning Kamp/P-HK)
Date: Mon, 18 Oct 93 20:15:47 MET
I have made a pass over the source to inetd, added a couple of missing
#include's and prototyped it all, also dumped all the register definitions,
since that's only for places which really deserves it, it only confuses gcc
in this context anyway.  Gcc -Wall now only complains about surplus /*'s
in some rpc header files:
    /usr/include/rpc/rpc.h:62: warning: `/*' within comment
    /usr/include/rpc/svc.h:158: warning: `/*' within comment

I added a option '-l' which will stick an entry in syslog each time an
accept(2) is done.

30 years agoFrom: Scott Bolte <scott@craycos.com>
Jordan K. Hubbard [Mon, 18 Oct 1993 22:57:03 +0000 (22:57 +0000)]
From: Scott Bolte <scott@craycos.com>
I made a mod to touch(3) that allows seconds since
the epoch to be used as the desired timestamp. The patch to the
source code and man page are included below for your
consideration.

Example:

    niss% touch -T 750873167 timestamp
    niss% ls -l timestamp
    -rw-rw-r--    1 root     wheel          0 Oct 17 09:52 timestamp

30 years agoFree malloc'ed memory when resetting card.
Paul Richards [Mon, 18 Oct 1993 22:48:48 +0000 (22:48 +0000)]
Free malloc'ed memory when resetting card.

30 years agoCorrect config line for ie0 per Garrett Wollman.
Rod Grimes [Mon, 18 Oct 1993 22:46:58 +0000 (22:46 +0000)]
Correct config line for ie0 per Garrett Wollman.

30 years agoFrom: sef@kithrup.com
Rod Grimes [Mon, 18 Oct 1993 22:31:55 +0000 (22:31 +0000)]
From: sef@kithrup.com
Date:     Mon, 18 Oct 93 14:44:11 PDT

Make w output - for non-idle processes.

30 years agoAdded some words about how to subscribe to lists, the purpose of
Jordan K. Hubbard [Mon, 18 Oct 1993 19:32:45 +0000 (19:32 +0000)]
Added some words about how to subscribe to lists, the purpose of
freebsd-hackers, etc.

30 years agoFixed so that if the process is idle for 0 time do not print the 0, just
Rod Grimes [Mon, 18 Oct 1993 19:20:08 +0000 (19:20 +0000)]
Fixed so that if the process is idle for 0 time do not print the 0, just
leave the field blank.  I don't know how it ever worked before, but this
fixes it!

30 years agoFix for version name in /etc/motd, now uses uname to get this information!
Rod Grimes [Mon, 18 Oct 1993 19:08:36 +0000 (19:08 +0000)]
Fix for version name in /etc/motd, now uses uname to get this information!

30 years ago>From: Julian Elischer <julian@jules.dialix.oz.au>
Rod Grimes [Mon, 18 Oct 1993 18:45:48 +0000 (18:45 +0000)]
>From: Julian Elischer <julian@jules.dialix.oz.au>
Date: Tue, 19 Oct 1993 02:22:41 -40962758 (WST)

As the subject line says:
I can;t believe this typo is still here.

Has NOBODY used the isa_dmastart() routine for 16bit DMA?

I know I just hit the dma regs directly for the AHA1542,
and it appears that either everybody else does as well, or
they only use 8bit DMA (e.g. floppy)

Editors Note:
The definition of DMA2_CHN was incorrectly using IO_DMA1!

30 years agoYank out Christoph Robitschko's hack for the hanging console problem as
David Greenman [Mon, 18 Oct 1993 14:22:16 +0000 (14:22 +0000)]
Yank out Christoph Robitschko's hack for the hanging console problem as
it didn't actually fix it, and because starting the getty on /dev/console
instead of /dev/vga is a good work-around.

30 years agoChange getty entry to start on /dev/console instead of /dev/vga, this fixes
Rod Grimes [Mon, 18 Oct 1993 14:11:53 +0000 (14:11 +0000)]
Change getty entry to start on /dev/console instead of /dev/vga, this fixes
the syslogd problem with consoles that do not respond after hupping syslogd.

30 years agososend was attempting to reserve space in an mbuf cluster for a datagram
David Greenman [Mon, 18 Oct 1993 05:40:30 +0000 (05:40 +0000)]
sosend was attempting to reserve space in an mbuf cluster for a datagram
header and because of bugs in the sosend's mbuf allocation algorithm,
sosend was calling uiomove twice as many times as was necessary. It turns
out that PREPEND does the right thing when a cluster is associated with
an mbuf header, so the datagram header allocation can be defered. This
also ends up additionally consuming one less mbuf for the TCP protocol
because TCP always allocates another header mbuf regardless if space is
available to prepend the protocol header. The net result of this fix is
that unix domain and pipe throughput is increased by a measured 10%.

30 years agoFrom John Dyson and David Greenman
David Greenman [Mon, 18 Oct 1993 03:47:24 +0000 (03:47 +0000)]
From John Dyson and David Greenman
Fix bug where malloc would never return 4k and 8k allocations
back to the system memory pool because MAXALLOCSAVE was set to
2*CLBYTES, and should really be CLBYTES-1. Defeated check for
MAXALLOCSAVE being a power of two because CLBYTES-1 is also
okay, and changed minimum for MAXALLOCSAVE to allow it to be
one less than CLBYTES. These fixes are important when using the
kernel mallocator for file system buffers (otherwise fragmentation
can become a real problem).

30 years agoPatch from stever@csuohio.edu (Steve Ratliff) to make FAT_CURSOR work
Jordan K. Hubbard [Mon, 18 Oct 1993 02:19:54 +0000 (02:19 +0000)]
Patch from stever@csuohio.edu (Steve Ratliff) to make FAT_CURSOR work
on HDA/CGA displays.

30 years agoModified memory allocation to use malloc rather than a static array.
Paul Richards [Sun, 17 Oct 1993 22:22:46 +0000 (22:22 +0000)]
Modified memory allocation to use malloc rather than a static array.

30 years agosccs removed, no longer usefull without the rest of the code
Rod Grimes [Sun, 17 Oct 1993 21:02:02 +0000 (21:02 +0000)]
sccs removed, no longer usefull without the rest of the code

30 years agoFrom: Gene Stark <stark!gene@newsserv.cs.sunysb.edu>
Jordan K. Hubbard [Sun, 17 Oct 1993 18:12:48 +0000 (18:12 +0000)]
From: Gene Stark <stark!gene@newsserv.cs.sunysb.edu>
Running "find / -ls" gives garbage where the file size ought
to be.

This fixes it.  Thanks Gene!

30 years agoFix reference no ni_rdir, new name is ni_rootdir, these where inside
Rod Grimes [Sun, 17 Oct 1993 01:48:37 +0000 (01:48 +0000)]
Fix reference no ni_rdir, new name is ni_rootdir, these where inside
#ifdef PARNOIA, so there have been overlooked for a long time!

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 21:33:31 +0000 (21:33 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 21:06:14 +0000 (21:06 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 19:55:12 +0000 (19:55 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 19:54:22 +0000 (19:54 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 19:47:02 +0000 (19:47 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 19:32:13 +0000 (19:32 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoUpdated to reflect the new vm system layout, the formerly unused 4 pde's
Rod Grimes [Sat, 16 Oct 1993 19:25:07 +0000 (19:25 +0000)]
Updated to reflect the new vm system layout, the formerly unused 4 pde's
are now used by the kernel.

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 18:49:39 +0000 (18:49 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

NOTE:  This stuff is really old, and should be removed, but it is left here
for reference only.  It does not even compile any more!

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 18:26:44 +0000 (18:26 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 18:18:05 +0000 (18:18 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 17:43:44 +0000 (17:43 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 17:21:10 +0000 (17:21 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 16:47:35 +0000 (16:47 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 16:31:57 +0000 (16:31 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 16:21:03 +0000 (16:21 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 15:25:29 +0000 (15:25 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 14:40:57 +0000 (14:40 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 14:15:10 +0000 (14:15 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
Rod Grimes [Sat, 16 Oct 1993 13:48:52 +0000 (13:48 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years ago>From: Gerd Truschinski <gt@g386bsd.first.gmd.de>
Rod Grimes [Sat, 16 Oct 1993 12:50:22 +0000 (12:50 +0000)]
>From: Gerd Truschinski <gt@g386bsd.first.gmd.de>
Date: Fri, 15 Oct 1993 19:01:24 +0100
Description:
Every time I press the CAPS LOCK key my keyboard goes
with other machines. This problem was in the first
version of 386BSD up to now in FreeBSD and NetBSD.

Repeat-By:
Simply press the CAPS LOCK key or the NUM LOCK key.

Fix:
add a delay between the only two 'kbd_cmd's one after
another. If I take 1000 as a counter it will fail also
on a 33MHz/386 machine. I may try other fixes if you want
it. Please mention Jan <pernik@varda.ics.muni.cz> because
he had send me the fix (it was an older version of pccons.c,
but it took only five minutes to find a way for the new pccons.c)

From: Rod Grimes
Try this one instead: (it is CPU speed independent.)
Change the for spin loop into a call to DELAY(10):

>From: Gerd Truschinski <gt@g386bsd.first.gmd.de>
Date: Sat, 16 Oct 1993 02:15:11 +0100 (MET)
I tried it - edit, compile, reboot, edit, compile, reboot, edit....

I need a DELAY(10000), a DELAY(5000) didn't work.
A DELAY(10) is definatly (where is my dictionary?) to short.
May be it is better to add a new flag.

Editors Note:
Removed patch kit headers, rccsid, added $Id$.

30 years agoChecked and corrected various bits of grammar, as requested.
Jordan K. Hubbard [Sat, 16 Oct 1993 12:41:36 +0000 (12:41 +0000)]
Checked and corrected various bits of grammar, as requested.

30 years agoAdd:
Rod Grimes [Sat, 16 Oct 1993 12:28:35 +0000 (12:28 +0000)]
Add:
device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr

30 years agoDisable the aha_set_speed code since it breaks more than it fixes.
Rod Grimes [Sat, 16 Oct 1993 12:27:20 +0000 (12:27 +0000)]
Disable the aha_set_speed code since it breaks more than it fixes.

30 years agoFix the document title to match the format of our other docs.
Rod Grimes [Sat, 16 Oct 1993 12:22:45 +0000 (12:22 +0000)]
Fix the document title to match the format of our other docs.

Clean up some stuff so that it reads a little better (some one please
review this for me!)

Adaptec controllers are 154x and 174x series.  Add Buslogic 545S.

30 years agoupdate date of last modification
David Greenman [Sat, 16 Oct 1993 12:20:47 +0000 (12:20 +0000)]
update date of last modification

30 years agoRemove the EPSILON from the release level
Rod Grimes [Sat, 16 Oct 1993 12:06:30 +0000 (12:06 +0000)]
Remove the EPSILON from the release level

30 years agoFix the title up on this, removed the date and format it to match
Rod Grimes [Sat, 16 Oct 1993 12:05:51 +0000 (12:05 +0000)]
Fix the title up on this, removed the date and format it to match
the RELEASE NOTES.

Adaptec controllers are now 154x and 174x series, no more reference
to specific models.  Revamp the CSI hard disk controller section in
general to be more user readable.

Add the fact that the Mitsumi CDROM controller and drive are now
supported.

Add a note that the Intel 82501 serial chip is NOT supported.

Floppy controller is fd0, not fdc0, same for wd disk controller.

30 years agoTitle this thing, it did not have a title!
Rod Grimes [Sat, 16 Oct 1993 12:02:43 +0000 (12:02 +0000)]
Title this thing, it did not have a title!

30 years agoChange version information to be 1.0, remove and/or clean up references
Rod Grimes [Sat, 16 Oct 1993 11:43:32 +0000 (11:43 +0000)]
Change version information to be 1.0, remove and/or clean up references
to 1.0 GAMMA and 1.0 EPSILON.

We now support the ``154x series'' controllers and the ``174x'' series
controllers, drop the references to specific models.

Clarify that the ISA bus master controllers can only work with 16MB
of memory.

We now have support for the Mitsumi CDROM, add it, and drop the statement
that the only way to connect a CDROM drive is via SCSI controllers.

Add more clarification on the DTC3290, ie we use it in 1542 mode and
you can only have 16MB or less of memory.

Add the NE1000 as being supported.

Add the list of mirror sites as it stands today.

Correct Walnut Creeks mail order address to be current, add comment
that Walnu Creek CDROM does NOT provide technical support for this thing,
and that the FreeBSD team should be contacted for that.

30 years agoAllow install floppy to be placed in the B: drive.
Christoph Robitschko [Sat, 16 Oct 1993 09:12:08 +0000 (09:12 +0000)]
Allow install floppy to be placed in the B: drive.

30 years agoReversed the order in which filesystems are unmounted for umount -a,
Christoph Robitschko [Fri, 15 Oct 1993 13:39:12 +0000 (13:39 +0000)]
Reversed the order in which filesystems are unmounted for umount -a,
recursive mounts work now.

30 years agoEnable mcd0 (Mistumi CDROM) since we now have load space for it
Rod Grimes [Fri, 15 Oct 1993 12:47:02 +0000 (12:47 +0000)]
Enable mcd0 (Mistumi CDROM) since we now have load space for it

30 years agoDont just mask the Megabyte, we need all the bits below too,
Rod Grimes [Fri, 15 Oct 1993 12:33:03 +0000 (12:33 +0000)]
Dont just mask the Megabyte, we need all the bits below too,
and ELIMITNATE THE 28K BOGOUSITY.

30 years agoadded 'ed' ethernet device release notes.
David Greenman [Fri, 15 Oct 1993 11:19:23 +0000 (11:19 +0000)]
added 'ed' ethernet device release notes.

30 years ago * Revision 2.8 1993/10/15 10:59:56 davidg
David Greenman [Fri, 15 Oct 1993 11:06:41 +0000 (11:06 +0000)]
 * Revision 2.8  1993/10/15  10:59:56  davidg
 * increase maximum time to wait for transmit DMA to complete to 120us.
 * call ed_reset() if the time limit is reached instead of trying
 * to abort the remote DMA.
 *
 * Revision 2.7  1993/10/15  10:49:10  davidg
 * minor change to way the mbuf pointer temp variable is assigned in
 * ed_start (slightly improves code readability)
 *
 * Revision 2.6  93/10/02  01:12:20  davidg
 * use ETHER_ADDR_LEN in NE probe rather than '6'.

30 years agogenassym.c:
Rod Grimes [Fri, 15 Oct 1993 10:34:29 +0000 (10:34 +0000)]
genassym.c:
Remove NKMEMCLUSTERS, it is no longer define or used.

locores.s:
Fix comment on PTDpde and APTDpde to be pde instead of pte
Add new equation for calculating location of Sysmap
Remove Bill's old #ifdef garbage for counting up memory,
that stuff will never be made to work and was just cluttering
up the file.

Add code that places the PTD, page table pages, and kernel
stack below the 640k ISA hole if there is room for it, otherwise
put this stuff all at 1MB.  This fixes the 28K bogusity in
the boot blocks, that can now go away!

Fix the caclulation of where first is to be dependent on
NKPDE so that we can skip over the above mentioned areas.
The 28K thing is now 44K in size due to the increase in
kernel virtual memory space, but since we no longer have
to worry about that this is no big deal.

Use if NNPX > 0 instead of ifdef NPX for floating point code.

machdep.c
Change the calculation of for the buffer cache to be
20% of all memory above 2MB and add back the upper limit
of 2/5's of the VM_KMEM_SIZE so that we do not eat ALL
of the kernel memory space on large memory machines, note
that this will not even come into effect unless you have
more than 32MB.  The current buffer cache limit is 6.7MB
due to this caclulation.

It seems that we where erroniously allocating bufpages pages
for buffer_map.  buffer_map is UNUSED in this implementation
of the buffer cache, but since the map is referenced in
several if statements a quick fix was to simply allocate
1 vm page (but no real memory) to it.

pmap.h
Remove rcsid, don't want them in the kernel files!

Removed some cruft inside an #ifdef DEBUGx that caused
compiler errors if you where compiling this for debug.

Use the #defines for PD_SHIFT and PG_SHIFT in place of
constants.

trap.c:
Remove patch kit header and rcsid, fix $Id$.
Now include "npx.h" and use NNPX for controlling the
floating point code.

Remove a now completly invalid check for a maximum virtual
address, the virtual address now ends at 0xFFFFFFFF so
there is no more MAX!!  (Thanks David, I completly missed
that one!)

vm_machdep.c
Remove patch kit header and rcsid, fix $Id$.
Now include "npx.h" and use NNPX for controlling the
floating point code.

Replace several 0xFE00000 constants with KERNBASE

30 years agoparam.h:
Rod Grimes [Fri, 15 Oct 1993 10:07:45 +0000 (10:07 +0000)]
param.h:

Mark the fact that PGSHIFT and PDRSHIFT are really the same as
PG_SHIFT and PD_SHIFT, these should be collapsed some day soon.

Document that KERNBASE should really be KPTDPTDI << PDRSHIFT, for
now leave it as the constant 0xFE000000 until I make a seperate
common header file for this stuff (vmaddresses.h?)

Remove NKMEMCLUSTERS define, it was only being used to define
VM_KMEM_SIZE, so why have all the indirection.  Besides who wants
to work in CLBYTE sizes chuncks.

pmap.h:

Fix $Id$ and some other minor format clean ups.

Remove the XXX comment about NKPDE, since it now has the correct value
of 7.

Remove unused LASTPTDI and move the APTD into the very end of memory to
free up 4MB of kernel virtual address space.
Remove unused RSVDPTDI and free up 12MB of kernel virtual address space.

vmparam.h

Fix $Id$.

Increase SHMMAXPGS to 512 (2MB) now that there is room for it to be
bigger.  The XXX comment stays until the kernel moves down in memory
to free up enough space to use the proper default of 4MB.

VM_KMEM_SIZE is now a direct constant stating the size of the kernel
malloc region.  Increased the value from 3MB to 16MB.

30 years agoAdd detection code for what model of AHA154X/Z we are running on,
Rod Grimes [Fri, 15 Oct 1993 09:43:51 +0000 (09:43 +0000)]
Add detection code for what model of AHA154X/Z we are running on,
then use that information to fix the enhancemode features of the
1542C/CF boards by turning them off.

When doing this I found that the Buslogic 545S does NOT properly
mimic the 1542 families AHA_INQUIRE command.  It only returns 1
byte of information, when the adaptec manual clearly states that 4
bytes are to be returned.  I added a printf that explains the error
when we see a 545S for now, I tried to come up with a better solution,
but it involved to much work for now.

30 years agoFinish the vm PTDI layout table, and the equations for calculating where
Rod Grimes [Fri, 15 Oct 1993 06:35:46 +0000 (06:35 +0000)]
Finish the vm PTDI layout table, and the equations for calculating where
stuff goes relative to each other.  VM memory layout will soon be much
more flexable.  The fixes are done and testing is running....

30 years agoAdd $Id$
Rod Grimes [Thu, 14 Oct 1993 23:15:22 +0000 (23:15 +0000)]
Add $Id$

30 years agoFix to use ${DESTDIR}${BINDIR} instead of hard coded path.
Rod Grimes [Thu, 14 Oct 1993 23:14:47 +0000 (23:14 +0000)]
Fix to use ${DESTDIR}${BINDIR} instead of hard coded path.

30 years agoMade some changes on the suggestion of Stefan Behrens <berry@max.IN-Berlin.de>:
Jordan K. Hubbard [Thu, 14 Oct 1993 23:06:05 +0000 (23:06 +0000)]
Made some changes on the suggestion of Stefan Behrens <berry@max.IN-Berlin.de>:
makewhatis.sed removed as it's now extraneous, Makefile now invokes proper
makewhatis procedure from new man.

30 years agoMoved wt0 (Wangtek/Archive tape driver) to be with the rest of the
Rod Grimes [Thu, 14 Oct 1993 21:59:50 +0000 (21:59 +0000)]
Moved wt0 (Wangtek/Archive tape driver) to be with the rest of the
bio (block I/O) devices.

Added mcd0 (Mitsumi CDROM driver) but commented it out since there is not
enough room in this kernel for it.