Rodney W. Grimes
12a53a9e4d
Enabled call to sddump so that if you have options SCSIDUMP in your kernel
...
you'll get to the dump code. If you don't trust this on your disk also
add option NOT_TRUSTED, that disables the dump code, but prints out what
it WOULD do it it was going to scrible on your disk.
1993-08-20 12:51:53 +00:00
Rodney W. Grimes
e5cf9f6134
Update scsi code to the latest from Julian. This code is now identical
...
to the last copy from Julian. After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.
----
From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993
To: hd@world.std.com , julian@jules.DIALix.oz.au
Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs
Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..
the changes remove all the local timeout stuff and use (un)timeout(),
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu , briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c
1993-08-20 09:23:30 +00:00
Rodney W. Grimes
b6105e6d2a
Update scsi code to the latest from Julian. This code is now identical
...
to the last copy from Julian. After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.
----
>From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993
To: hd@world.std.com , julian@jules.DIALix.oz.au
Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi
----
>From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs
Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..
the changes remove all the local timeout stuff and use (un)timeout(),
----
>From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu , briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c
1993-08-20 09:21:40 +00:00
Rodney W. Grimes
3c4067ef4d
Update scsi code to the latest from Julian. This code is now identical
...
to the last copy from Julian. After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.
----
From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993
To: hd@world.std.com , julian@jules.DIALix.oz.au
Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs
Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..
the changes remove all the local timeout stuff and use (un)timeout(),
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu , briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c
1993-08-20 09:14:22 +00:00
Rodney W. Grimes
b648f67ad6
Moved /sys/scsi code files information to independed files file where it
...
should have always been.
1993-08-20 08:53:08 +00:00
Andrew Moore
5bb374bc76
patch 1of2 to prevent kill -1 syslogd from hanging the console
...
blindly applied patch provided by Christoph Robitschko:
*** cons.c.orig Sat Jun 12 07:57:53 1993
--- cons.c Thu Aug 19 22:34:53 1993
***************
*** 56,61 ****
--- 56,62 ----
#include "sys/tty.h"
#include "sys/file.h"
#include "sys/conf.h"
+ #include "sys/vnode.h"
#include "cons.h"
***************
*** 105,118 ****
--- 106,130 ----
(*cp->cn_init)(cp);
}
+ static struct vnode *cnopenvp = NULLVP;
+
+
cnopen(dev, flag, mode, p)
dev_t dev;
int flag, mode;
struct proc *p;
{
+ int error;
+
+
if (cn_tab == NULL)
return (0);
dev = cn_tab->cn_dev;
+ if (cnopenvp == NULLVP)
+ if ((error = getdevvp(dev, &cnopenvp, VCHR))) {
+ printf("cnopen: getdevvp returned %d !\n", error);
+ return(error);
+ }
return ((*cdevsw[major(dev)].d_open)(dev, flag, mode, p));
}
***************
*** 121,130 ****
int flag, mode;
struct proc *p;
{
if (cn_tab == NULL)
return (0);
dev = cn_tab->cn_dev;
! return ((*cdevsw[major(dev)].d_close)(dev, flag, mode, p));
}
cnread(dev, uio, flag)
--- 133,153 ----
int flag, mode;
struct proc *p;
{
+ int error;
+
+
if (cn_tab == NULL)
return (0);
dev = cn_tab->cn_dev;
! if (vcount(cnopenvp) <= 1)
! error = (*cdevsw[major(dev)].d_close)(dev, flag, mode, p);
! else
! error = 0;
! if (error == 0) {
! vrele(cnopenvp);
! cnopenvp = NULLVP;
! return(error);
! }
}
cnread(dev, uio, flag)
1993-08-20 05:46:09 +00:00
Rodney W. Grimes
79601a3464
chess is now in src/gnu, moved here from src/games
1993-08-20 03:23:17 +00:00
Rodney W. Grimes
e1f941aa67
Added libg++ since it is now in src/gnu
1993-08-20 03:06:18 +00:00
Rodney W. Grimes
382e228bdd
Removed gcc1 from top level make file, moving gcc1 to ports, gcc is becoming
...
the system default compiler. The move of gcc1 in the cvs repository will
be done specially to retain all history. You will only see a commit
message for it's removal, the addition of it to ports will be done, you
just won't see the commit.
1993-08-20 01:24:09 +00:00
Andrew Moore
7aed710168
added Bustek 545 support (patch from Christoph Robitschko):
...
*** aha1542.c~ Thu Aug 19 14:25:33 1993
--- aha1542.c Thu Aug 19 14:25:49 1993
***************
*** 954,959 ****
--- 954,960 ----
printf("aha%d:",unit);
#define PRNT(x) printf(x)
#endif __386BSD__
+ DELAY(1000); /* for Bustek 545 */
aha_cmd(unit,0, sizeof(conf), 0 ,&conf, AHA_CONF_GET);
switch(conf.chan)
{
1993-08-19 21:32:59 +00:00
Rodney W. Grimes
a6f63b5a84
Replaced empty manual page with one that has atleast some of the stuff
...
in it.
From: Andreas Schulz <ats@g386bsd.first.gmd.de>
I have uploaded the man page from gas 2.1.1 under ~ats/as.1 .
1993-08-17 20:16:19 +00:00
J.T. Conklin
55c497bf15
1003.2 requires that lexical comparisons be done in locale specific manner,
...
so we have to use strcoll() instead of strcmp().
1003.2 requires that a null string be returned if a string does not match
a \( \) subexpression.
Replaced fprintf/exit with calls to err and errx as appropriate.
1993-08-17 16:06:00 +00:00
J.T. Conklin
3e0ac24dc1
SRCS should contain *.c's, not *.o's.
1993-08-16 16:22:34 +00:00
Andrew Moore
9c5df0ae70
Nullify pattern after failed regcomp
1993-08-16 09:30:18 +00:00
Andrew Moore
8bb722a390
add more notes and examples
1993-08-15 07:11:52 +00:00
Nate Williams
d16a3ea75e
Removed Jordan's DO_LINKS from the Makefile, since this behavior is not
...
'normal' CVS behavior, and we've never used nor depended on it.
(And at times I've gotten bit by it)
1993-08-14 22:00:14 +00:00
Rodney W. Grimes
21ee46c794
Wrong path for uucp login, was /usr/lib instead of /usr/libexec. Fixed
1993-08-13 23:07:31 +00:00
Rodney W. Grimes
0690e31f5d
Fixed entry for t9600, baud rate was 19200, should be and now is 9600.
1993-08-13 23:05:49 +00:00
Rodney W. Grimes
4533a28bd6
Enable lastlog install commands.
1993-08-13 06:11:18 +00:00
Rodney W. Grimes
f5e6a77bff
Commented out installation of /var/log/lastlog:
...
The problem with having it enable is that lastlog grows big, none
of the current scripts deal with rotation of /var/log/lastlog,
so it shouldn't necessary be installed at first. This has traditionally
been something the sysadmin has had to touch after system installations.
Nate:
(Besides, you're forced to learn more about the system by reading the man
pages if it doesn't exist. :-)
1993-08-12 15:20:56 +00:00
Rodney W. Grimes
853f272a0a
/etc/termcap is now created as a symlink to /usr/share/misc/termcap,
...
fixed creation of link for /etc/localtime.
1993-08-12 14:51:09 +00:00
Rodney W. Grimes
3b3837db61
Fixed poor timeout code in out_fdc. The timeout counter was not being
...
reinitialized between while loops. Added comments about what was going
on in the out_fdc routine.
out_fdc now returns if the direction bit is not set in time instead of
trying to wait for MRQ to get cleared.
1993-08-12 09:21:20 +00:00
Rodney W. Grimes
70ce04ee23
Added 3 targets (kc-ah-floppy, inst1-floppy, inst2-floppy) which build
...
3 of the 4 needed floppies for FreeBSD.
Still need to do kc-bt-floppy for the Bustek/Ultrastore controllers.
Fixed installation of boot blocks in distribution:, now use a variable
(${MDEC}) instead of a find so that my zzz files don't end up in
the distribution!
1993-08-12 07:18:34 +00:00
Rodney W. Grimes
44a8c7b9da
Heavily modified from NetBSD sources to FreeBSD, many fixes and enhancements,
...
now users cpio instead of tar. All displayed references to NetBSD changed
to ${OPSYSTEM}, OPSYSTEM=FreeBSD.
1993-08-12 07:14:23 +00:00
Charlie Root
e36cdb2855
Due to broken pwd_mkdb always wanting to do it's work in /etc I have
...
had to add this file to src/etc, and do a special case install of it
to get things working right.
1993-08-11 13:23:23 +00:00
Charlie Root
9110d05d4a
Initial import of NetBSD install2 floppy .profile
1993-08-11 12:51:37 +00:00
Rodney W. Grimes
27f5b54817
Initial import of NetBSD install2 floppy /install script
1993-08-11 12:30:59 +00:00
Rodney W. Grimes
ac3c7d3cff
Changed printing messages to refer to ${OPSYSTEM} instead of NetBSD. Comments
...
left intact.
Simplified variables for drivename, drivetype, and sect_fwd.
Added rotdelay to newfs commands (defaults to newfs default except
for scsi disks where it defaults to 0).
Made the disk geometry questions more like what PC users are use to
reading (cylinders/heads/sectors).
Added minswap requirement of 8MB, recomendation of 2 x physical memory.
Added messages about what the blocking factor does.
Added message for mount point to NOT include the leading /
How to change disklabel to /sbin/disklabel due to bug in our /bin/sh,
I thought this has been fixed, but it has not!
Changed to use cpio instead of tar, since tar seems so brain dead.
Removed kernfs reference from /etc/fstab creation since FreeBSD does not
have the kernfs. Made /etc/fstab tabbed so it looks pretty :-).
Added default of floppy drive 0 after we boot from hard disk.
Fixed path in inst1.profile, removed /usr/local/bin, /usr/contrib/bin and .
1993-08-11 12:30:00 +00:00
Rodney W. Grimes
6ad76e8d8e
Import of NetBSD inst1.fs floppy /.profile and /install scripts
1993-08-11 02:06:14 +00:00
Rodney W. Grimes
42cee3fad0
Added support to build i386-kc_floppy:, kernel copy floppy for FreeBSD.
...
Added support to build and install GENERICISA kernel in the binary
distribution.
1993-08-10 14:22:34 +00:00
Rodney W. Grimes
de34766adc
Corrected kernel name from newbsd to 386bsd, it now works.
1993-08-10 14:16:33 +00:00
Rodney W. Grimes
1d63569dcb
Initial import of .profile from NetBSD Kernel Copy Floppy, to be used in
...
building FreeBSD Kernel Copy Floppy.
1993-08-10 12:20:12 +00:00
Rodney W. Grimes
ae253c20de
Disabled the scan for SCCS checked out files since it was broken and
...
caused error messages to be mailed, and FreeBSD does NOT have SCCS,
we use CVS!
1993-08-10 11:35:46 +00:00
Rodney W. Grimes
6ee39ff534
Miss spelled backups in BSD.var.dist, should have been backups, was backup.
1993-08-10 11:14:54 +00:00
Rodney W. Grimes
59a2f32435
Added ntp 123/udp # Network Time Protocol for xntp usage since this is a
...
well known service.
1993-08-10 11:03:56 +00:00
Rodney W. Grimes
0ef0620351
The fdisk man page doesn't show correctly the usage possibilities of
...
fdisk. It was missing the disk argument.
From: Andreas Schulz <ats@g386bsd.first.gmd.de>
1993-08-10 10:31:35 +00:00
Rodney W. Grimes
1acce5a995
Removed one more reverence to the old Adaptec 1542b as.c driver, one less
...
dependent for autoconf.c.
1993-08-10 10:18:33 +00:00
Andrew Moore
5a5100e3af
added (unsiged) cast to avoid int overflow
...
removed REGEX directive
1993-08-09 21:34:11 +00:00
Rodney W. Grimes
a08d4ed348
Finish removal of reminents of as.c Adaptec scsi driver.
1993-08-09 19:02:21 +00:00
Rodney W. Grimes
94f07b5b72
Moved make copies of src/includes to be after the top level make install
...
so that the binary distribution ends up with full blown include files.
1993-08-09 18:39:50 +00:00
Rodney W. Grimes
1ce6e34045
Moved _eintr{names,cnt} so that vmstat -i does not report all the debugging
...
stuff of the fast interrupt code.
1993-08-09 18:20:26 +00:00
Rodney W. Grimes
35a3a8d75c
Fixed install of ${FREEBSD}, forgot to do a install -c so it removed the
...
files from src on the install of them!
1993-08-09 17:29:20 +00:00
Rodney W. Grimes
f9b4e35433
Added installation of CONTRIB.386BSD CONTRIB.FreeBSD and COPYRIGHT to /
...
when building a distribution for the i386 case. This keeps us from violating
Berkeley's and Bill Jolitz's copyrights.
1993-08-09 17:02:17 +00:00
Rodney W. Grimes
cd41d9bac8
Due to the bug with the console drivers and kill syslogd I have disabled that
...
in the daily and weekly scripts so that we don't get bug reports about
something we already know. There are explanory comments in the files.
1993-08-09 15:18:02 +00:00
Rodney W. Grimes
fc1fd08682
Removal of support for old scsi as.c driver, removal off old unneeded
...
kernel config files since AH?TEST are now supported by GENERICISA,
and the others used the old as driver they are no longer valid.
1993-08-09 14:39:37 +00:00
Rodney W. Grimes
1a2659b6e6
Fixed spelling error in ifconfig line for ed0, from netwask to netmask
1993-08-09 09:14:47 +00:00
Rodney W. Grimes
78d172cab6
From guido@gvr.win.tue.nl Sat Aug 7 06:58:04 1993
...
I posted some patches on the 386bsd_patchkit list to prohibit io access.
Because of a noninitialised filed in the tss, this was possible.
It is included below as the patch to machdep.c
However, when you do this *necessary* fix (security), it will be
impossible form within user space to do io.
therefor, I included another fix: when you open /dev/io, you
get the access. Of course you can rewrite it to use another minor
and thus giving access to the iospace when /dev/mem is opened, e.g.
NOTE: The /dev/io entry has not been added to /dev/MAKEDEV yet.
The patch is in NetBSD.
1993-08-09 06:16:42 +00:00
Rodney W. Grimes
2e38124735
Removed man.conf since it is no longer used by the new manual page system
1993-08-08 09:27:53 +00:00
Rodney W. Grimes
0f5b6b9987
Fixed for DQFLQUIET flag from: Terry Lee <terry@uivlsisd.csl.uiuc.edu>
...
I submitted the part of patch00155 that fixes wd.c not reporting any
bad blocks. Unfortunately, the patch created a new problem that makes new
installations using that kernel impossible. I have included a patch below that
should fix both problems. The fix comes from Tom Ivar Helbekkmo's wd driver
(the Norway wd driver). I've also eliminated the use of the DKFL_QUIET flag
completely, since it is not used anymore.
Fixed wdgetctrl routines for so that it returns a meaniful string for
non IDE disk drives. It also nolonger returns success when a drive is
not really there.
1993-08-08 07:03:21 +00:00
Rodney W. Grimes
3db77f6ee9
Removed the asking for a root file system when booting from floppy as that
...
is now handled by the new boot blocks immediatly after the kernel is loaded.
1993-08-08 06:24:15 +00:00