unix-history/.git
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.

30 years ago>From David Greenman
Rod Grimes [Thu, 14 Oct 1993 18:15:35 +0000 (18:15 +0000)]
>From David Greenman

Bruce Evans had limited the kernel virtual address space to not include the
last 4MB since it was not being used.  Other changes are being made that will
reloate the Alternate Page Directory Table (APDT) into this area so the limit
is being fixed to be the last virtual address. (Infact with this patch you
can now do that relocation)

30 years agoPOSIX.2 sez that a `|' should be printed after the name of each fifo when
J.T. Conklin [Thu, 14 Oct 1993 17:26:38 +0000 (17:26 +0000)]
POSIX.2 sez that a `|' should be printed after the name of each fifo when
the -F option is used.

30 years agoRemove machdep.c from files.i386 and put machdep.o in the SYSTEM_OBJS
Rod Grimes [Thu, 14 Oct 1993 17:09:55 +0000 (17:09 +0000)]
Remove machdep.c from files.i386 and put machdep.o in the SYSTEM_OBJS
line of Makefile.i386.  Fixes the extra rule that gmake complains about
for machdep.o.  This fix is from Joans 0lsson.

Rework the depends and rules for assym.s and genassym so that we now use
the .depend rule for genassym.o such that if you change any header files
that are included by genassym.c the right things happen.  This is probably
what has caused more bad kernel builds than any other thing in the
Makefile.i386!

30 years agoFixed spelling of Holger Veit, and email address as pointed out by
Rod Grimes [Thu, 14 Oct 1993 16:42:17 +0000 (16:42 +0000)]
Fixed spelling of Holger Veit, and email address as pointed out by
Christoph Robitschko

30 years agoAdd Martin Birgmeier who did the drand48 code
Rod Grimes [Thu, 14 Oct 1993 16:40:23 +0000 (16:40 +0000)]
Add Martin Birgmeier who did the drand48 code

30 years agoAdd Gary Clark and Holger Viet to the additional FreeBSD contributors list.
Rod Grimes [Thu, 14 Oct 1993 16:02:08 +0000 (16:02 +0000)]
Add Gary Clark and Holger Viet to the additional FreeBSD contributors list.

Time to finalize this list.... any one imported any other code recently
that the person who contribited it is not on this list, please send the
info to me.

30 years agoMove the wt0 (archive/wangtek tape driver) so that it is with the
Rod Grimes [Thu, 14 Oct 1993 14:05:44 +0000 (14:05 +0000)]
Move the wt0 (archive/wangtek tape driver) so that it is with the
other bio type devices.

Add mcd0 (mitsumi cd rom driver), to bad that GENERICBT is to large,
otherwise I could add this driver to it too.
--- 72,77 ----

30 years agoMakefile to install sample files in /etc/uucp with correct ownership and
Rod Grimes [Thu, 14 Oct 1993 12:18:29 +0000 (12:18 +0000)]
Makefile to install sample files in /etc/uucp with correct ownership and
permissions

30 years agoAdd subdir samples so that the sample scripts can get installed in /etc/uucp.
Rod Grimes [Thu, 14 Oct 1993 12:17:58 +0000 (12:17 +0000)]
Add subdir samples so that the sample scripts can get installed in /etc/uucp.
Add group to Makefile.inc for use in installing sample files

30 years agoAdd /etc/uucp for uucp configuration files
Rod Grimes [Thu, 14 Oct 1993 12:08:04 +0000 (12:08 +0000)]
Add /etc/uucp for uucp configuration files

30 years agoRemove the -DNO_DRAND48 from the Makefile since we do have the drand48
Rod Grimes [Thu, 14 Oct 1993 11:18:55 +0000 (11:18 +0000)]
Remove the -DNO_DRAND48 from the Makefile since we do have the drand48
functions now.

From Chris Demetriou
we have rand48 now

30 years agoDisassociate DTR and RTS. They were coupled together and shouldn't have
David Greenman [Thu, 14 Oct 1993 09:13:54 +0000 (09:13 +0000)]
Disassociate DTR and RTS. They were coupled together and shouldn't have
been. This was necessary to work around problems with some equipment
that don't respond favorably to having these both dropped simultaneously.

30 years agoUpdated gzip from version 1.2.2 to 1.2.4 due to popular demand
Nate Willams [Thu, 14 Oct 1993 00:33:38 +0000 (00:33 +0000)]
Updated gzip from version 1.2.2 to 1.2.4 due to popular demand

30 years agoMake it a little more clear that the DTC3190 is supported in ``1542''
Rod Grimes [Thu, 14 Oct 1993 00:29:19 +0000 (00:29 +0000)]
Make it a little more clear that the DTC3190 is supported in ``1542''
emulation mode.

30 years agoSurround printf for uha_init board not responding printf with #ifdef UHADEBUG,
Rod Grimes [Thu, 14 Oct 1993 00:07:04 +0000 (00:07 +0000)]
Surround printf for uha_init board not responding printf with #ifdef UHADEBUG,
since the main line probe code now tells you it did not find one.

30 years agoIncrease the DELAY that supposedly makes the Bustek 545 work from
Rod Grimes [Wed, 13 Oct 1993 16:34:10 +0000 (16:34 +0000)]
Increase the DELAY that supposedly makes the Bustek 545 work from
1ms to 10ms.  I have my doubts, but oh well.

30 years agoChange uusnap to uustat -a, since we do not have a uusnap installed (some
Rod Grimes [Wed, 13 Oct 1993 16:26:03 +0000 (16:26 +0000)]
Change uusnap to uustat -a, since we do not have a uusnap installed (some
one did not finish porting uucp/contrib directory)

30 years ago>From: David Dawes <dawes@physics.su.OZ.AU>
Rod Grimes [Wed, 13 Oct 1993 16:06:56 +0000 (16:06 +0000)]
>From: David Dawes <dawes@physics.su.OZ.AU>
Subject: small bug in zoneinfo Makefile
Date: Thu, 14 Oct 93 0:25:43 EST

A trivial bug I found when changing from right_only to posix_right.

[Missing \ on the end of a continued command]

30 years agoALL:
Rod Grimes [Wed, 13 Oct 1993 15:59:30 +0000 (15:59 +0000)]
ALL:

Removed patch kit headers and rcsid strings, add $Id$.

isa.c:

Removed old #ifdef notyet isa_configure code, since it will never be
used, and I have done 90% of what it attempted to.

Add conflict checking code that searchs back through the devtab's looking
for any device that has already been found that may conflict with what
we are about to probe.  Checks are mode for I/O address, memory address,
IRQ, and DRQ.  This should stop the screwing up of any device that has
alread been found by other device probes.
Print out messages when we are not going to probe a device due to
a conflict so the user knows WHY something was not found.  For example:

aha0 not probed due to irq conflict with ahb0 at 11

Now print out a message when a device is not found so the user knows
that it was probed for, but could not be found.  For example:

ed1 not found at 0x320

For devices that have I/O address < 0x100 say that they are on the
motherboard, not on isa!  The 0x100 magic number is per ISA spec.  It
may seem funny that pc0 and sc0 report as being on the motherboard, but
this is due to the fact that the I/O address used is that of the keyboard
controller which IS on the motherboard.  We really need to split the
keyboard probe from the display probe.  It is completly legal to build
a pc with out one or the other, or even with out both!

npx.c:

Return -1 from the probe routine if we are using the Emulator so
that the i/o addresses are not printed, this is the same trick used
for 486's.

Do not print the ``Errors reported via Exception 16'', and
``Errors reported via IRQ 13'' messages any more, since these just lead
to more user confusion that anything.  It still prints the message
``Error reporting broken, using 387 emulator'' so that the person is
aware that there mother board is ill.

30 years agoChanged documentation for umount -a to reflect current state.
Christoph Robitschko [Wed, 13 Oct 1993 09:42:02 +0000 (09:42 +0000)]
Changed documentation for umount -a to reflect current state.

30 years agoThrew out the fstab-handling code, instead use dynamic information
Christoph Robitschko [Wed, 13 Oct 1993 09:38:29 +0000 (09:38 +0000)]
Threw out the fstab-handling code, instead use dynamic information
(getmntinfo) for umount -a .

30 years agoUpdated core man page to current coredump routine.
Christoph Robitschko [Wed, 13 Oct 1993 09:29:14 +0000 (09:29 +0000)]
Updated core man page to current coredump routine.

30 years agoAdded nocore mount option.
Christoph Robitschko [Wed, 13 Oct 1993 09:22:32 +0000 (09:22 +0000)]
Added nocore mount option.

30 years agoAdded mount option nocore,
Christoph Robitschko [Wed, 13 Oct 1993 09:20:46 +0000 (09:20 +0000)]
Added mount option nocore,
renamed core files from core.progname to progname.core,
changed coredump() to not overwrite existing files unless they
are coredumps of the same program.

30 years agoAdded MNT_NOCORE flag.
Christoph Robitschko [Wed, 13 Oct 1993 09:11:15 +0000 (09:11 +0000)]
Added MNT_NOCORE flag.

30 years agoEliminated chance that mntonname was not null terminated for names
Christoph Robitschko [Wed, 13 Oct 1993 08:11:11 +0000 (08:11 +0000)]
Eliminated chance that mntonname was not null terminated for names
longer than MNAMELEN characters.