unix-history/.git
30 years agoChange #include <sys/console.h> to <machine/console.h>, file will be moved
Rod Grimes [Thu, 30 Sep 1993 23:59:49 +0000 (23:59 +0000)]
Change #include <sys/console.h> to <machine/console.h>, file will be moved
shortly

30 years agoAnother russian keymap.
Jordan K. Hubbard [Thu, 30 Sep 1993 23:38:27 +0000 (23:38 +0000)]
Another russian keymap.

30 years agoA bunch of extra cyrillic folks for our russian comrades.
Jordan K. Hubbard [Thu, 30 Sep 1993 23:38:07 +0000 (23:38 +0000)]
A bunch of extra cyrillic folks for our russian comrades.

30 years agoAdded share/syscons/scrnmaps directory
Rod Grimes [Thu, 30 Sep 1993 23:31:37 +0000 (23:31 +0000)]
Added share/syscons/scrnmaps directory

30 years agoRussian screen map
Jordan K. Hubbard [Thu, 30 Sep 1993 23:28:54 +0000 (23:28 +0000)]
Russian screen map

30 years agoRussian keymap
Jordan K. Hubbard [Thu, 30 Sep 1993 23:28:44 +0000 (23:28 +0000)]
Russian keymap

30 years agoRussian font.
Jordan K. Hubbard [Thu, 30 Sep 1993 23:25:22 +0000 (23:25 +0000)]
Russian font.

30 years agoAdded scrnmaps dir.
Jordan K. Hubbard [Thu, 30 Sep 1993 23:24:48 +0000 (23:24 +0000)]
Added scrnmaps dir.

30 years agoThis is a fix for the 32K DMA buffer region that was not accounted for,
Rod Grimes [Thu, 30 Sep 1993 23:16:17 +0000 (23:16 +0000)]
This is a fix for the 32K DMA buffer region that was not accounted for,
it relocates it to be after the BIOS memory hole instead of right below
the 640K limit.
THANK YOU CHRIS!!!

From: <cgd@postgres.Berkeley.EDU>
Date: Wed, 29 Sep 93 18:49:58 -0700
basically, reserve a new 32k space right after firstaddr,
and put the buffer space there...

the diffs are below, and are in ~cgd/sys/i386/i386 (in machdep.c)
on freefall.  i obviously can't test them, so if some of you would
look the diffs over and try them out...

30 years agoDocs updated to reflect additional flags.
Jordan K. Hubbard [Thu, 30 Sep 1993 21:48:34 +0000 (21:48 +0000)]
Docs updated to reflect additional flags.

30 years agoRemove we0, since it is being removed from the system
Rod Grimes [Thu, 30 Sep 1993 20:45:37 +0000 (20:45 +0000)]
Remove we0, since it is being removed from the system

30 years agoOnly configure one cd unit now since the code is fully dynamic,
Rod Grimes [Thu, 30 Sep 1993 20:44:32 +0000 (20:44 +0000)]
Only configure one cd unit now since the code is fully dynamic,
add comment about this to the device cd0 line.

30 years agoThis is the enhanced version of mt(1) command, with
Rod Grimes [Thu, 30 Sep 1993 20:30:41 +0000 (20:30 +0000)]
This is the enhanced version of mt(1) command, with
interface to new streamer driver added.

There are two new (QIC-02) commands:

erase           - erase the tape
retension       - retension the tape

Command 'mt status' prints brief description of driver flags
and tape controller error register.

Serge Vakulenko, <vak@zebub.msk.su>

30 years agoSupport for new wt driver. Removed old references to as* disk types since
Rod Grimes [Thu, 30 Sep 1993 20:18:59 +0000 (20:18 +0000)]
Support for new wt driver.  Removed old references to as* disk types since
they are long gone.

30 years ago>From: vak@zebub.msk.su (Serge V.Vakulenko)
Rod Grimes [Thu, 30 Sep 1993 20:12:37 +0000 (20:12 +0000)]
>From: vak@zebub.msk.su (Serge V.Vakulenko)
Date: Thu, 30 Sep 1993 15:13:17 +0300

Description:
Old wt driver is too incomplete and buggy.
It does not support Archive controllers, BSD-like
tape ioctls, multiple tape controllers, different
tape density etc.
Fix:
This driver is a replacement of the old one.
It was not tested on different controllers, though.

This is the streamer tape driver for 386bsd and FreeBSD,
which supports Wangtek and Archive controllers.
It was developed as a replacement of the old Wangtek
tape driver from CMU.

In comparison with the CMU driver, this version has the following enhancements:
1) Support for Archive SC402 and SC499 tape controllers added.
2) Support for up to three tape controllers on the same machine.
3) Support for BSD-style ioctls MTIOCGET, MTIOCTOP.
   Mt command now works adequately with this driver.
4) Asynchronous REWIND and FSF operations, close() will not wait
   until they finish.  The next open() will wait for it instead.
5) Use of WTQICMD ioctl is limited to ERASE and RETENS operations.
   This prevents the user from locking the tape driver by strange
   tape operations.
6) Tape density switching added.
7) The status of the process, blocked on the tape operation,
   is displayed at the WCHAN column of the `ps' command as:

wtread    reading data from the tape
wtwrite   writing data to the tape
wtrfm     reading the tape marker
wtwfm     writing the tape marker
wtrew     rewinding the tape
wterase   doing WTQICMD ERASE operation
wtretens  doing WTQICMD RETENS operation
wtorew    doing MTIOCTOP REW/OFFL operation
wtorfm    doing MTIOCTOP FSF operation
wtowfm    doing MTIOCTOP WEOF operation

Block interface (writing blocks less than 2048 bytes) is not functioning
pwoperly.  Use raw interface instead.

30 years agoFrom: stark!gene@newsserv.cs.sunysb.edu (Gene Stark)
Rod Grimes [Thu, 30 Sep 1993 19:25:55 +0000 (19:25 +0000)]
From: stark!gene@newsserv.cs.sunysb.edu (Gene Stark)
Date: Wed, 29 Sep 1993 23:28:10 -0400
Subject: C Shell sometimes exhibits strange behavior processing loops
Index: /usr/src/bin/csh/dir.c FreeBSD-1.0

Description:
(Perhaps this should be forwarded to a general BSD bug list.
I don't have access to sources other than for FreeBSD, so I
don't know how/when this particular bug was introduced. - EWS)

The C shell sometimes barfs with crazy syntax error messages
when processing scripts containing "foreach" loops.

The problem is this:  function dinit() in file dir.c makes
the call

    cp = dcanon(str2short(tcp), STRNULL);

The function str2short() in file str.c returns the value
of its static variable "sdst", which is initialized to point
to a malloc()'ed memory area.  However, function dcanon()
in file dir.c calls xfree() to free its first argument.
This can result in the freed area being reallocated for
other purposes, while it is still retained in the static
variable "sdst", and used for subsequent strings.

I observed this bug when the seek code in function bgetc()
in file lex.c was exercised by processing of "foreach" loops.

Repeat-By:
This is difficult, because the bug is highly environment dependent
(i.e. on exact contents of .cshrc and .login, as well as the
script being run).  Basically, try a lot of scripts with complicated
"foreach" loops in them and you might observe the problem.

30 years ago * Revision 2.4 93/09/29 21:24:30 davidg
David Greenman [Thu, 30 Sep 1993 05:27:55 +0000 (05:27 +0000)]
 * Revision 2.4  93/09/29  21:24:30  davidg
 * Added software NIC reset in NE probe to work around a problem
 * with some NE boards where the 8390 doesn't reset properly on
 * power-up. Remove initialization of IMR/ISR in the NE probe
 * because this is inherent in the reset.

30 years ago * Revision 2.3 93/09/29 15:10:16 davidg
David Greenman [Wed, 29 Sep 1993 22:15:53 +0000 (22:15 +0000)]
 * Revision 2.3  93/09/29  15:10:16  davidg
 * credit Charles Hannum

30 years ago * Revision 2.2 93/09/29 13:23:25 davidg
David Greenman [Wed, 29 Sep 1993 20:30:26 +0000 (20:30 +0000)]
 * Revision 2.2  93/09/29  13:23:25  davidg
 * added no multi-buffer override for 3c503
 *
 * Revision 2.1  93/09/29  12:32:12  davidg
 * changed multi-buffer count for 16bit 3c503's from 5 to 2 after
 * noticing that the transmitter becomes idle because of so many
 * packets to load.
 *
 * Revision 2.0  93/09/29  00:00:19  davidg
 * many changes, rewrites, additions, etc. Now supports the
 * NE1000, NE2000, WD8003, WD8013, 3C503, 16bit 3C503, and
 * a variety of similar clones. 16bit 3c503 now does multi
 * transmit buffers. Nearly every part of the driver has
 * changed in some way since rev 1.30.

30 years agoAdd symbolic name for system page directory end, and change constant to
Rod Grimes [Wed, 29 Sep 1993 02:37:41 +0000 (02:37 +0000)]
Add symbolic name for system page directory end, and change constant to
a calculation for the system page directory tables.

30 years agoUpdated for new location of syscons fonts and keymap files
Rod Grimes [Wed, 29 Sep 1993 02:25:59 +0000 (02:25 +0000)]
Updated for new location of syscons fonts and keymap files

30 years agoFixed Makefiles to install into the new places (/usr/share/syscons/X)
Rod Grimes [Wed, 29 Sep 1993 02:25:30 +0000 (02:25 +0000)]
Fixed Makefiles to install into the new places (/usr/share/syscons/X)

30 years agoAdded a Makefile to decend into the 2 supdirectories
Rod Grimes [Wed, 29 Sep 1993 02:16:53 +0000 (02:16 +0000)]
Added a Makefile to decend into the 2 supdirectories

30 years agoChange syscons.* to just syscons. Remove patch kit header. Add $Id$
Rod Grimes [Wed, 29 Sep 1993 02:15:37 +0000 (02:15 +0000)]
Change syscons.* to just syscons.  Remove patch kit header.  Add $Id$

30 years agoWhoops, always forgetting my adds!
Jordan K. Hubbard [Wed, 29 Sep 1993 02:00:04 +0000 (02:00 +0000)]
Whoops, always forgetting my adds!

30 years agoBullied syscons into accepting new view of the universe (/usr/share/syscons/)
Jordan K. Hubbard [Wed, 29 Sep 1993 01:53:49 +0000 (01:53 +0000)]
Bullied syscons into accepting new view of the universe (/usr/share/syscons/)

30 years agoMoved keymaps from syscons.keymaps for a more asthetically pleasing universe
Jordan K. Hubbard [Wed, 29 Sep 1993 01:48:50 +0000 (01:48 +0000)]
Moved keymaps from syscons.keymaps for a more asthetically pleasing universe

30 years agoMoved fonts from syscons.fonts for a more asthetically pleasing universe
Jordan K. Hubbard [Wed, 29 Sep 1993 01:48:23 +0000 (01:48 +0000)]
Moved fonts from syscons.fonts for a more asthetically pleasing universe

30 years ago>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Rod Grimes [Wed, 29 Sep 1993 01:11:19 +0000 (01:11 +0000)]
>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Date: Wed, 29 Sep 1993 01:54:53 +0300

To bring this error try to make two swap partitons on one disk:
one of the partitions will be not recognized.
Fix is simple: set uninitialized val variable.

30 years agoFrom: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Jordan K. Hubbard [Wed, 29 Sep 1993 00:42:10 +0000 (00:42 +0000)]
From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
AltGr Lock code for zero repeat count ommited, so AltGr Lock
works only one time and never again :-)

30 years ago From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Jordan K. Hubbard [Wed, 29 Sep 1993 00:37:13 +0000 (00:37 +0000)]
 From:  "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
     Subject:  fix syscons.c (util) error with funkeys and add mapscr code
     This patch provide two goals:

     1) Functional key numbers are from 0 to 59 (see kbdtables.h),
     not from 1 to 12, like assumed in syscons utility, I fix this.

     2) Mapscr ability in syscons driver is *very* helpful
     (especially for russians), but interface for it ommited in syscons
     utility. I add it (choose '-S SCRNMAP' option for it
     and .scr extention).

30 years agoConvert another printf into an lprintf since this should only be output
Rod Grimes [Tue, 28 Sep 1993 21:50:59 +0000 (21:50 +0000)]
Convert another printf into an lprintf since this should only be output
for debugging.

Thanks Chris.

30 years agoChanges to go with syscons updates.
Jordan K. Hubbard [Tue, 28 Sep 1993 21:09:28 +0000 (21:09 +0000)]
Changes to go with syscons updates.

30 years agoVersion number support for XFree86
Jordan K. Hubbard [Tue, 28 Sep 1993 20:53:48 +0000 (20:53 +0000)]
Version number support for XFree86

30 years agoFrom: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Rod Grimes [Tue, 28 Sep 1993 18:10:15 +0000 (18:10 +0000)]
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Date: Tue, 28 Sep 93 18:32:45 +0100

Fix to only install /etc/localtime if it does not exist already

30 years ago>From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
Rod Grimes [Tue, 28 Sep 1993 17:02:34 +0000 (17:02 +0000)]
>From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
Date: Tue, 28 Sep 1993 09:03:13 +0100 (MET)
The only place I found with a printf("status %x") is in /sys/i386/isa/lpt.c,
and looks much like a left-over debugging printout...

And it was... I changed it to an lprintf (which is defined if debuggin is on)
Rod

30 years agoChange to sio for recognising the last serial port on a multiport
Jordan K. Hubbard [Tue, 28 Sep 1993 00:01:18 +0000 (00:01 +0000)]
Change to sio for recognising the last serial port on a multiport
card correctly.

Updated syscons to 0.2e, added features for upcoming XFree86 2.0,
fixed crashbug.

30 years agoAdd sysV shared memory stub routines, take from NetBSD, but other than the
Rod Grimes [Mon, 27 Sep 1993 00:58:01 +0000 (00:58 +0000)]
Add sysV shared memory stub routines, take from NetBSD, but other than the
rcs id addtions they were the same as posted to usenet.

30 years agoAdd declares for shared memory routines, needed by libc code.
Rod Grimes [Mon, 27 Sep 1993 00:38:59 +0000 (00:38 +0000)]
Add declares for shared memory routines, needed by libc code.

30 years agodefine SHMMAXPGS where it is suppose to be, you can over ride this with
Rod Grimes [Mon, 27 Sep 1993 00:36:57 +0000 (00:36 +0000)]
define SHMMAXPGS where it is suppose to be, you can over ride this with
a kernel config options "SHMAXPGS=xxx", default is currently 64 pages
due to limit kernel map space.

30 years agoAdded at 0xFE100000 to config line as this kernel HAS to load high, and
Rod Grimes [Sun, 26 Sep 1993 23:21:12 +0000 (23:21 +0000)]
Added at 0xFE100000 to config line as this kernel HAS to load high, and
it is the place people seem to look for samples.  Also since this kernel
has so so many symbols in it also added SYMTAB_SPACE=89000.

30 years agoRemoved patch kit headers. Updated manual page with information from
Rod Grimes [Sun, 26 Sep 1993 23:11:16 +0000 (23:11 +0000)]
Removed patch kit headers.  Updated manual page with information from
NetBSD, but changed it to use FreeBSD pathnames, also did not include
the -k option since this version of config does not have it.
Added the at address to the config line so you can specify what address
to link the kernel for:

config "386bsd" at 0xFE000000 root on wd0 swap on wd0 and sd0

30 years agoUpgrade a.out.h to NetBSD a.out.h revision 1.4, I did not go all the way
Rod Grimes [Sun, 26 Sep 1993 20:20:46 +0000 (20:20 +0000)]
Upgrade a.out.h to NetBSD a.out.h revision 1.4, I did not go all the way
due to the other changes being quite extensive and wide sweeping.
----------------------------
revision 1.4
date: 1993/04/17 20:07:05;  author: mycroft;  state: Exp;  lines: +5 -1
Add N_RELOFF().
----------------------------
revision 1.3
date: 1993/04/16 13:18:52;  author: mycroft;  state: Exp;  lines: +4 -3
Add QMAGIC support.
----------------------------
revision 1.2
date: 1993/04/16 12:09:18;  author: mycroft;  state: Exp;  lines: +9 -8
Add support for QMAGIC.
----------------------------

30 years agoThis Makefile is for FreeBSD, not 4.3 BSD-Reno. Moved $Id$.
Rod Grimes [Sun, 26 Sep 1993 19:44:33 +0000 (19:44 +0000)]
This Makefile is for FreeBSD, not 4.3 BSD-Reno.  Moved $Id$.
Added STRIP=, DBSYM=, and LOAD_ADDRESS?=
Now use LOAD_ADDRESS for linking kernel and for dbsym, added strip -x to
cut kernel size.

Added machde.o: dependency, this will be needed in the future, and for
now it does not hurt anyone.

Cleaned out conf.o: dependency, mkdep does the right things.  Same for
param.c:

This is really a Merge in of NetBSD's Makefile.i386, here is the relevant
rlog info:
----------------------------
revision 1.27
date: 1993/08/27 23:58:20;  author: brezak;  state: Exp;  lines: +2 -2
Need LOAD_ADDRESS for depend pass.
----------------------------
revision 1.25
date: 1993/07/19 16:52:16;  author: mycroft;  state: Exp;  lines: +3 -3
Add ${DEBUG} to CFLAGS and -f to dbsym.
----------------------------
revision 1.22
date: 1993/07/18 10:08:22;  author: mycroft;  state: Exp;  lines: +5 -6
Change to work with new config stuff for specifying load address.
----------------------------
revision 1.20
date: 1993/07/18 09:47:40;  author: mycroft;  state: Exp;  lines: +6 -5
Use new -T option to dbsym.
----------------------------
revision 1.17
date: 1993/07/11 08:42:22;  author: cgd;  state: Exp;  lines: +2 -2
don't ignore errors from dbsym...  it might say that, e.g. there's
not enough symbol space!
----------------------------
revision 1.14
date: 1993/06/06 23:29:03;  author: cgd;  state: Exp;  lines: +2 -2
make conf.o actually depend on conf.c...
----------------------------
revision 1.8
date: 1993/04/29 03:27:39;  author: cgd;  state: Exp;  lines: +5 -10
use ed instead of ex.  the script to use is identical, and we might
want to switch back to using ex when our ex supports -.
----------------------------
revision 1.5
date: 1993/03/24 18:48:57;  author: cgd;  state: Exp;  lines: +1 -1
now use absolute path for dbsym
----------------------------

30 years agoAdded $Id$ to Makefile, updated strip.1 and strip.c to lattest from NetBSD,
Rod Grimes [Sun, 26 Sep 1993 19:27:56 +0000 (19:27 +0000)]
Added $Id$ to Makefile, updated strip.1 and strip.c to lattest from NetBSD,
with special support for -x option.

These are the applicable excerpts from the NetBSD rlog:
----------------------------
revision 1.6
date: 1993/09/07 16:12:15;  author: brezak;  state: Exp;  lines: +2 -1
Remove filenames with -x flag, too.
----------------------------
revision 1.5
date: 1993/08/27 02:33:36;  author: brezak;  state: Exp;  lines: +14 -2
Add -x flag to remove stabs, compiler idents and local symbols.
----------------------------

30 years agoAdded QMAGIC define so that I can upgrade a.out.h to a new enough version
Rod Grimes [Sun, 26 Sep 1993 19:13:40 +0000 (19:13 +0000)]
Added QMAGIC define so that I can upgrade a.out.h to a new enough version
to support the new NetBSD split command that is needed to support the
new Makefile.i386. (strip -x)

30 years agoImport NetBSD version of dbsym (below is rlog of there version), and add
Rod Grimes [Sun, 26 Sep 1993 16:40:41 +0000 (16:40 +0000)]
Import NetBSD version of dbsym (below is rlog of there version), and add
$Id$ to Makefile.

----------------------------
revision 1.8
date: 1993/08/02 17:57:02;  author: mycroft;  state: Exp;  lines: +5 -0
Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
----------------------------
revision 1.7
date: 1993/07/19 16:50:10;  author: mycroft;  state: Exp;  lines: +43 -15
Kitchen sink version of dbsym.

-f      force; don't complain if db_symtab is missing
-g      debugging; include line number and function info
-x      remove local symbols
-T addr specify load address (necessary to determine file positions)
----------------------------
revision 1.6
date: 1993/07/18 10:34:52;  author: mycroft;  state: Exp;  lines: +1 -1
Hmmm.  I suppose text_Adr really should be an int...
----------------------------
revision 1.5
date: 1993/07/18 09:44:12;  author: mycroft;  state: Exp;  lines: +12 -6
Add -T option to specify load address of kernel (like ld); default to KERNBASE
for compatibility.
----------------------------
revision 1.4
date: 1993/07/12 18:01:51;  author: brezak;  state: Exp;  lines: +19 -2
Changes for GCC2 generated symbols.
----------------------------
revision 1.3
date: 1993/07/11 08:43:34;  author: cgd;  state: Exp;  lines: +2 -2
if no symbols present, don't complain, and exit with 0 exit status.
that way we can use dbsym from kernel makefiles and actually pay attention
to its errors...
----------------------------
revision 1.2
date: 1993/06/18 06:52:03;  author: cgd;  state: Exp;  lines: +3 -1
convert magic numbers to network byte order, and attendent changes
----------------------------
revision 1.1
date: 1993/03/21 09:59:19;  author: cgd;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 1993/03/21 09:59:20;  author: cgd;  state: Exp;  lines: +0 -0
initial import of 386bsd-0.1 sources

30 years agoBSDI init needs crypt, so if you have a libcrypt use it.
Rod Grimes [Sun, 26 Sep 1993 12:26:15 +0000 (12:26 +0000)]
BSDI init needs crypt, so if you have a libcrypt use it.

30 years agoFixed spelling errors
Jordan K. Hubbard [Sat, 25 Sep 1993 15:50:43 +0000 (15:50 +0000)]
Fixed spelling errors

30 years ago>From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
Rod Grimes [Sat, 25 Sep 1993 15:18:25 +0000 (15:18 +0000)]
>From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
Date: Sun, 12 Sep 1993 17:59:20 -0400
 This is the "newer" if_ne.c driver I alluded to in my mail to
freebsd-hackers.  This is the posting/mail I saved when it was
originally sent a *long* time ago; it has the proper attributions
in it.

 I haven't found a ne2000/ne1000 driver yet that can beat this one
for general performance - without it, the network is pretty unusable,
especially NFS.

>From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
Date: Fri, 24 Sep 1993 18:20:20 -0400
You should be aware the I didn't write this code;  it was posted
to comp.unx.bsd shortly after 0.1 was made available.
  friedl@informatik.uni-kl.de (Ralf Friedl)
was the original poster, but I believe the code comes from:
  shin@angora.nc.u-tokyo.ac.jp

30 years agoFixed MAN8 to be .8 file, people bringing stuff in from NetBSD pease be very
Rod Grimes [Sat, 25 Sep 1993 12:14:32 +0000 (12:14 +0000)]
Fixed MAN8 to be .8 file, people bringing stuff in from NetBSD pease be very
carefull about differences in the man page system!

30 years ago>From: "Jordan K. Hubbard" <jkh%whisker.lotus.ie@dec4ie.ieunet.ie>
Rod Grimes [Sat, 25 Sep 1993 11:41:28 +0000 (11:41 +0000)]
>From: "Jordan K. Hubbard" <jkh%whisker.lotus.ie@dec4ie.ieunet.ie>
Date: Sat, 25 Sep 1993 00:04:51 -0700

/usr/X386/bin and /usr/X386/man probably would be a nice touch too.

Rod:
Also cleaned out the #ifdef 0 /*before reorg*/ as this is just old cruft
from before 4.3.  Added /usr/local/src as a possible source directory,
added rest of missing /usr/src areas, reordered all of these to make
more since.
Updated binary paths to be more reasonable (removed things that are
very old like /usr/ucb, /usr/old)

30 years ago * Revision 1.30 93/09/24 18:43:31 davidg
David Greenman [Sat, 25 Sep 1993 01:50:15 +0000 (01:50 +0000)]
 * Revision 1.30  93/09/24  18:43:31  davidg
 * fix bug where Compex boards ident themselves as 8003E's and the
 * 16bit override wasn't working

30 years agoEnable SYSVSHM, and set SHMMAXPGS=64.
Rod Grimes [Fri, 24 Sep 1993 21:01:11 +0000 (21:01 +0000)]
Enable SYSVSHM, and set SHMMAXPGS=64.

30 years ago>From: rich@id.slip.bcm.tmc.edu.cdrom.com (Rich Murphey)
Rod Grimes [Fri, 24 Sep 1993 21:00:29 +0000 (21:00 +0000)]
>From: rich@id.slip.bcm.tmc.edu.cdrom.com (Rich Murphey)
Date: Sun, 12 Sep 1993 18:19:05 -0500
This will allow you to compile and run a freebsd kernel with shared
memory support.  I haven't tested the shm*() calls yet.

You run out of page table descriptors if you specify 4Mb of sharable
memory (SHMMAXPGS=1024).  I don't know what the limit is, but
SHMMAXPGS=64 works.   Rich

30 years ago>From: ljo@ljo-slip.DIALIN.CWRU.Edu (Jonas Olsson)
Rod Grimes [Fri, 24 Sep 1993 20:37:32 +0000 (20:37 +0000)]
>From: ljo@ljo-slip.DIALIN.CWRU.Edu (Jonas Olsson)
Date: Sat, 18 Sep 1993 09:10:48 -0400

Hi Serge,
 I managed to patch in your lpa patch with a little effort (space/tab
in the patches you sent me). The driver works fine and has never been
this fast before! Taking the tiger.lj file generated from tiger.ps in
ghostscript I can send it to the printer in 10-12 seconds, or 20-22
kbytes/s. This is with:

> time dd if=tiger.lj of=/dev/lp
426+1 records in
426+1 records out
218249 bytes transferred in 10 secs (21824 bytes/sec)
0.020u 4.800s 0:11.05 43.6% 0+0k 0+0io 0pf+0w

30 years ago>From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
Rod Grimes [Fri, 24 Sep 1993 20:13:16 +0000 (20:13 +0000)]
>From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
Date: Mon, 13 Sep 1993 08:37:46 +0100 (MES)

touch -t CCYYMMDDhhmm[.SS] doesn't work.

(Scale factor was 1000 for CC, should have been 100) [Rod]

30 years ago>From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>
Rod Grimes [Fri, 24 Sep 1993 17:51:10 +0000 (17:51 +0000)]
>From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>
Date: Fri, 24 Sep 1993 10:19:20 -0700

Fixed bug that was reported (with patch) on gnu.utils.bug.
Immediate operands of the pushw instruction were being output as 32
bits, rather than the 16 bits they were supposed to be.

30 years agoAdded libmalloc to top level Makefile
Rod Grimes [Fri, 24 Sep 1993 17:20:35 +0000 (17:20 +0000)]
Added libmalloc to top level Makefile

30 years ago>From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
Rod Grimes [Fri, 24 Sep 1993 17:13:12 +0000 (17:13 +0000)]
>From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
Date: Fri, 24 Sep 1993 10:08:59 +0200 (MET DST)

According to Christoph Kukulies:
> I got surprised about vi's behaviour when I inadvertently typed
> ?<cr> (wanted to search backwards for something)
> and got:
> Script started on Thu Sep 23 23:37:59 1993
> $ vi
> ~
> ?
> argv[0]="mail"
> argv[1]="-s"
> argv[2]="Graceland"
> argv[3]="kuku"
> Error stuffing name "" into temp file
> $
>
> This gives under 0.1 vi something like: Eror: No previous expression
Moved #endif to fix this

I (Rod) fixed a compiler warning in  curses.c by adding a type cast
to a call to signal.

30 years agoAdded /usr/gnu and /usr/local/bin as places to look for binaries,
Rod Grimes [Fri, 24 Sep 1993 16:07:58 +0000 (16:07 +0000)]
Added /usr/gnu and /usr/local/bin as places to look for binaries,
Corrected location of man pages for installed man pages (/usr/share vs
/usr/man), and added /usr/local/man/* so it can find local man pages too,
Added /usr/src/gnu as another place to look for sources.

30 years agoNow uses -lgnumalloc, also fixed missing DPADD for the build library gcc2
Rod Grimes [Fri, 24 Sep 1993 16:03:30 +0000 (16:03 +0000)]
Now uses -lgnumalloc, also fixed missing DPADD for the build library gcc2
that is used during the compiles.  Note to all Makefile writers, when you
put a LDADD line in a Makefile, please make sure to put in a DPADD that goes
with it.

30 years agoAdded libgnumalloc and libgnuregex so you can do proper DPADD's.
Rod Grimes [Fri, 24 Sep 1993 14:29:11 +0000 (14:29 +0000)]
Added libgnumalloc and libgnuregex so you can do proper DPADD's.

30 years agoAdd gnu/libmalloc to libraries: target so that it gets installed early.
Rod Grimes [Fri, 24 Sep 1993 14:13:25 +0000 (14:13 +0000)]
Add gnu/libmalloc to libraries: target so that it gets installed early.

30 years agoThis is gnu lib malloc from NetBSD verbatium, here is the version info
Rod Grimes [Fri, 24 Sep 1993 13:03:39 +0000 (13:03 +0000)]
This is gnu lib malloc from NetBSD verbatium, here is the version info
that Chris created:
this version of GNU malloc was obtained from prep.ai.mit.edu on
9/22/1993.  There was no version noted.

30 years agoAdded #if defined(__P)/#undef __P/#endif before declarations of __P
Rod Grimes [Fri, 24 Sep 1993 01:13:54 +0000 (01:13 +0000)]
Added #if defined(__P)/#undef __P/#endif before declarations of __P
so that all those warning messages from a build world are gone.  SInce
this is a major include file this is going to cause every thing to rebuild
on you, sorry, but it needed to be done.

30 years agoUpgraded to newer version with -list and -catalog options by Wendell Baker.
Paul Richards [Thu, 23 Sep 1993 19:08:30 +0000 (19:08 +0000)]
Upgraded to newer version with -list and -catalog options by Wendell Baker.

30 years agoAdded genclass to subdirs.
Paul Richards [Thu, 23 Sep 1993 18:50:01 +0000 (18:50 +0000)]
Added genclass to subdirs.

30 years agoMake sure we use rstat's protocol's values of FSCALE. We were picking up
J.T. Conklin [Thu, 23 Sep 1993 18:48:55 +0000 (18:48 +0000)]
Make sure we use rstat's protocol's values of FSCALE.  We were picking up
the FSCALE from sys/param.h which caused our load averages to be sent
incorrectly to remote machines.

30 years agoCreated an install target for genclass.
Paul Richards [Thu, 23 Sep 1993 18:48:34 +0000 (18:48 +0000)]
Created an install target for genclass.

30 years agoMake sure we use rstat's protocol's values of FSCALE. We were picking up
J.T. Conklin [Thu, 23 Sep 1993 18:45:57 +0000 (18:45 +0000)]
Make sure we use rstat's protocol's values of FSCALE.  We were picking up
the FSCALE from sys/param.h which caused all of the load averages from
remote machines to be incorrect.

30 years agoEntries so RPC servers are started.
J.T. Conklin [Thu, 23 Sep 1993 17:41:08 +0000 (17:41 +0000)]
Entries so RPC servers are started.

30 years agoRPC is not in C library here, have to explicitly link with -lrpc.
J.T. Conklin [Thu, 23 Sep 1993 17:33:35 +0000 (17:33 +0000)]
RPC is not in C library here, have to explicitly link with -lrpc.

30 years agoFrom NetBSD: support for starting RPC servers.
J.T. Conklin [Thu, 23 Sep 1993 17:31:40 +0000 (17:31 +0000)]
From NetBSD: support for starting RPC servers.

30 years agoFrom: bde@kralizec.zeta.org.au (Bruce Evans)
Rod Grimes [Thu, 23 Sep 1993 15:23:56 +0000 (15:23 +0000)]
From: bde@kralizec.zeta.org.au (Bruce Evans)
Date: Thu, 16 Sep 93 22:56:01 +1000
There was an old problem with writes to block fd devices.   Try this:

1. write protect floppy in fd0.
2. tar cf /dev/fd0a /dev/null.  Repeat a few times.  Later writes tend to
   terminate earlier.
   3. un-write protect floppy.
   4. repeat step 2.  The writes tend to return 0, 2048, 4096, ... and then
      succeed.

This was caused by a bug in vfs__bios.c.  (The bug is fixed in NetBSD's
vfs_bio.c.)  fd.c sets bp->b_resid to nonzero after an error.  vfs__bios.c
was not initializing bp->b_resid.  This causes some writes to terminate
early (e.g., writes to block devices; see spec_write()).

Related funnies:

1. Nothing tries to write the residual bytes.
2. The wd driver sets bp->b_resid to 0 after an error, so there's no
   way anything else could write the residual bytes.
3. I use the block fd device for tar because the raw device seemed to
   have more bugs long ago, and because it ought to be able to handle
   buffering more transparently (I don't want to have to know the
   device size).  But spec_write() always uses the size BLKDEV_IOSIZE
   == 2048 which is too small.  For disks it should use the size of
   one track (rounded down to meet the next track boundary or the i/o
   size).  Here it would help if the DIOCGPART ioctl worked.  But
   DIOCGPART is not implemented for floppies, and the disk size is
   ignored except for partitions of type FS_BSDFFS.

Bruce

30 years ago>From: bde@kralizec.zeta.org.au (Bruce Evans)
Rod Grimes [Thu, 23 Sep 1993 15:22:57 +0000 (15:22 +0000)]
>From: bde@kralizec.zeta.org.au (Bruce Evans)
Date: Thu, 16 Sep 93 01:35:10 +1000
Julian writes:

>In fact DEVIDLE and FINDWORK ended up being basically equivalent.
>the bit I wonder about, is the returning of 0.. What (other than
>another request from somewhere else in the kernel) is going to start
>work on the next item on the queue?

I think removing FINDWORK would make things clearer.

Nothing much is going to start work on the next item.  However, it is
pointless to continue processing the queue for the same unready drive.
Aborting all reads and trying harder to perform all writes would be
better.
Julian writes.

> no, actually it should be:
> fdt = fd_data[FDUNIT(minor(dev))].ft;

Fixed.
From: bde@kralizec.zeta.org.au (Bruce Evans)
Date: Thu, 16 Sep 93 22:56:01 +1000
The fd driver reported the wrong cylinder/head/sector numbers after an
error (ST3 is only valid after a sense-drive command), and didn't report
fs block numbers (diskerr was not used).

There was an old problem with writes to block fd devices.   Try this:

1. write protect floppy in fd0.
2. tar cf /dev/fd0a /dev/null.  Repeat a few times.  Later writes tend to
   terminate earlier.
   3. un-write protect floppy.
   4. repeat step 2.  The writes tend to return 0, 2048, 4096, ... and then
      succeed.

This was caused by a bug in vfs__bios.c.  (The bug is fixed in NetBSD's
vfs_bio.c.)  fd.c sets bp->b_resid to nonzero after an error.  vfs__bios.c
was not initializing bp->b_resid.  This causes some writes to terminate
early (e.g., writes to block devices; see spec_write()).

Related funnies:

1. Nothing tries to write the residual bytes.
2. The wd driver sets bp->b_resid to 0 after an error, so there's no
   way anything else could write the residual bytes.
3. I use the block fd device for tar because the raw device seemed to
   have more bugs long ago, and because it ought to be able to handle
   buffering more transparently (I don't want to have to know the
   device size).  But spec_write() always uses the size BLKDEV_IOSIZE
   == 2048 which is too small.  For disks it should use the size of
   one track (rounded down to meet the next track boundary or the i/o
   size).  Here it would help if the DIOCGPART ioctl worked.  But
   DIOCGPART is not implemented for floppies, and the disk size is
   ignored except for partitions of type FS_BSDFFS.

Bruce

30 years agoAdded Marc Frajola <marc@escargot.rain.com>
Rod Grimes [Thu, 23 Sep 1993 10:41:42 +0000 (10:41 +0000)]
Added Marc Frajola <marc@escargot.rain.com>

30 years agoModified the exit handler to close the line before invoking the exit_cmd,
Jordan K. Hubbard [Wed, 22 Sep 1993 23:39:19 +0000 (23:39 +0000)]
Modified the exit handler to close the line before invoking the exit_cmd,
if any, since the exit_cmd might actually want to open the line itself (like
to hang up a modem or something) and will fail otherwise.

30 years agorewrote interrupt code to be cleaner, fixed up some other parts
David Greenman [Wed, 22 Sep 1993 17:47:43 +0000 (17:47 +0000)]
rewrote interrupt code to be cleaner, fixed up some other parts
to make it easier to add future board types.

30 years agoIncreaed the fixed static buffer sizes and maximum hunk size that
Paul Richards [Wed, 22 Sep 1993 16:51:03 +0000 (16:51 +0000)]
Increaed the fixed static buffer sizes and maximum hunk size that
otherwise causes the XFree86 1.3 patch set to fail.

30 years agoadded to install_notes instructions for loading distribtuion
Andrew Moore [Wed, 22 Sep 1993 07:38:18 +0000 (07:38 +0000)]
added to install_notes instructions for loading distribtuion
files from a MS-DOS partition.
Minor cleanup:
fixed spelling error in inst1.install
capitalized sentences in kc.profile
reworded initial load_fd options

30 years agoThis is from Julians latest scsi changes, but since the st program did
Rod Grimes [Tue, 21 Sep 1993 21:28:22 +0000 (21:28 +0000)]
This is from Julians latest scsi changes, but since the st program did
not change, and this information applies to the current scsi tape code
as well I felt it best to commit this at this time.

Reworded explination of what happens at tape marks (EOF).

30 years agoBring README into sync with Julians latest README (1 line deleted which was
Rod Grimes [Tue, 21 Sep 1993 20:26:02 +0000 (20:26 +0000)]
Bring README into sync with Julians latest README (1 line deleted which was
a reference to README.AHA1742)

30 years agoExtended load_fd() to support reading from the first Primary DOS
Andrew Moore [Tue, 21 Sep 1993 10:24:42 +0000 (10:24 +0000)]
Extended load_fd() to support reading from the first Primary DOS
partition of the boot disk.  So we have yet another medium via
which to load the FreeBSD distribution files.  load_fd() has
options for listing and (if reading from the C:  drive) changing
directories.

load_fd's notation assumes that the first Primary partition on
disk is the DOS drive C: (since this and only this one is mounted
by install).  Otherwise, the notation may be a bit confusing.
We'll know the assumption is bad if people complain about
not finding files on their "C:" drive...

Added a device file existence check to kc.profile.

30 years agoAdded BSD.local.dist to MTREE files so that it gets installed in /etc/mtree
Rod Grimes [Tue, 21 Sep 1993 08:14:32 +0000 (08:14 +0000)]
Added BSD.local.dist to MTREE files so that it gets installed in /etc/mtree

30 years agoChange kern/fifi_vnops.c to be be a standard file, since it appears that the
Rod Grimes [Tue, 21 Sep 1993 06:26:49 +0000 (06:26 +0000)]
Change kern/fifi_vnops.c to be be a standard file, since it appears that the
fifo code was half converted to psuedo-device, but was not done correctly.
This puts it back to be fully controlled by option FIFO.

Add #ifdef FIFO, #endif /*FIFO*/ so that this stuff only gets compiled in
if option FIFO is in the kernel config file.

30 years agoChange kern/fifi_vnops.c to be be a standard file, since it appears that the
Rod Grimes [Tue, 21 Sep 1993 06:26:04 +0000 (06:26 +0000)]
Change kern/fifi_vnops.c to be be a standard file, since it appears that the
fifo code was half converted to psuedo-device, but was not done correctly.
This puts it back to be fully controlled by option FIFO.

30 years agoIncreased pseudo-device bpfilter from 1 unit to 4 units
Rod Grimes [Tue, 21 Sep 1993 06:16:07 +0000 (06:16 +0000)]
Increased pseudo-device bpfilter from 1 unit to 4 units

30 years agoIncrease the number of ptys to 12, puts the kernel sizes very close to
Rod Grimes [Tue, 21 Sep 1993 06:12:20 +0000 (06:12 +0000)]
Increase the number of ptys to 12, puts the kernel sizes very close to
the limit.

30 years ago>From julian@jules.DIALix.oz.au Fri Sep 10 22:58:30 1993
Rod Grimes [Tue, 21 Sep 1993 05:30:35 +0000 (05:30 +0000)]
>From julian@jules.DIALix.oz.au Fri Sep 10 22:58:30 1993
>Date: Sat, 11 Sep 93 12:59:39 +0800

1/ fix bug where cd0a was unusable because it was compared against
the number of 2k blocks not the number of 512byte blocks.. gave
an error for all reads past 1/4 way through the disk (cd0d was ok).

2/ fix open code so that it now notices if a disk has been changed
and updates the disklabel.

3/ use the new error handling code from st.c

4/ start adding stuff to get ready for using cd_scsi_cmd from
cd_start (like is done in st and sd)

5/ more general cleanups including making dmesg report
sector size of disk.. (believe it or not SUN drives use 512 byte)

30 years agoAdded and/or operator test to POSIX special case processing, so now:
Andrew Moore [Tue, 21 Sep 1993 01:57:43 +0000 (01:57 +0000)]
Added and/or operator test to POSIX special case processing, so now:
$ test ! "abc" -o "abc"
evaluates to true.

The correct fix is probably to yank the superfluous special case code, but
I don't have time to verify the correctness of the result.

30 years agoIncrease the timeout from 2000 counts to 6000 counts, reported by someone
Rod Grimes [Mon, 20 Sep 1993 06:28:13 +0000 (06:28 +0000)]
Increase the timeout from 2000 counts to 6000 counts, reported by someone
on the net (I lost the mail).  This should fix some units not showing up
during probes.

30 years agoThe dynamically allocated struct's where not getting properly initialized
Rod Grimes [Mon, 20 Sep 1993 06:27:06 +0000 (06:27 +0000)]
The dynamically allocated struct's where not getting properly initialized
as malloc memory is NOT zerod.  Added bzero's after the malloc calls
to make sure that things are initialized.

>From Julian Elischer

30 years ago1) Install now creates a DOS partition for the first (and only the
Andrew Moore [Sun, 19 Sep 1993 20:45:10 +0000 (20:45 +0000)]
1) Install now creates a DOS partition for the first (and only the
first) Primary (un-Extended) DOS partition, providing /dev/xx0h
is available.  It is mounted on /dos by default.  The /etc/fstab
entry omits the dump and fsck fields, i.e.:
/dev/xx0h /dos pcfs rw

The Secondary DOS partition is not used (System ID 0xF2), because I don't
know what that is.

2) Fixed default sizes so that if someone attempts to install BSD on a 24 Mb
partition by accepting defaults, they don't end up with a 1 Mb /usr
partition (up to USRMIN Mb's).  In this case, all space is split between
swap and root.

TODO:
1) Extend load_fd() to support loading distribution files directly from
the DOS partition of the hard disk.

2) Provide translated parameters to the install program (maybe
add an option to fdisk).  Currently, the true geometry is used as
default, which is inappropriate for coexistence with DOS.

3) Support installing on multiple or secondary disks.

30 years agoAdded /var/run to CPIO_DIRS
Andrew Moore [Sun, 19 Sep 1993 01:21:15 +0000 (01:21 +0000)]
Added /var/run to CPIO_DIRS

30 years agoAdded /etc/remote to CPIO files.
Andrew Moore [Sat, 18 Sep 1993 08:23:19 +0000 (08:23 +0000)]
Added /etc/remote to CPIO files.

30 years agoAdded /usr/distbin to PATH
Andrew Moore [Sat, 18 Sep 1993 08:20:32 +0000 (08:20 +0000)]
Added /usr/distbin to PATH

30 years agoInstll manpage
Jordan K. Hubbard [Sat, 18 Sep 1993 03:21:26 +0000 (03:21 +0000)]
Instll manpage

30 years ago>From: Drew Hess <dhess@CS.Stanford.EDU>
Rod Grimes [Sat, 18 Sep 1993 00:00:16 +0000 (00:00 +0000)]
>From: Drew Hess <dhess@CS.Stanford.EDU>
>Date: Thu, 16 Sep 1993 23:35:48 -0700 (PDT)
There is a typo in disktab in the NetBSD-0.9 distribution.  This may be
already fixed in NetBSD-current, but it's not in any of the source that I've
sup'ed.
line 9 reads:
#       sc      #sectors/cylinder, nc*nt default
should read:
#       sc      #sectors/cylinder, ns*nt default

30 years ago>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Rod Grimes [Fri, 17 Sep 1993 23:49:51 +0000 (23:49 +0000)]
>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
>Date: Fri, 17 Sep 1993 14:54:51 +0400

>Could you please send me a copy of your timezone file WITHOUT a copyright,
>I can not legally distribute that file without you either removing the line
>below, or putting a disclaimer in it, and since none of the other files
>are copyrighted the prefered solution would be to remove this line:

># Copyright (C) 1992-1993 by Andrew A. Chernov, Moscow, Russia

Oh, yea. I give you a permission to remove this line from my
previously posted zoneinfo file. It is more quick way, than
resend it again :-)