Commit Graph

7680 Commits

Author SHA1 Message Date
phk
a38dfc6ec2 "jl" and "jb" doesn't quite do the same thing...
Reviewed by:	phk
Submitted by:	"DI. Christian Gusenbauer" <cg@scotty.edvz.uni-linz.ac.at>
1995-04-14 23:01:33 +00:00
phk
9b693dac1e I commit this for Bruce, who has serious connectivity problmes pt.
This should NOT go into 2.0.5  /phk

Support disk slices.  This involves mainly replacing inline code with
function calls.  Support for ST506 drives is temporarily broken since
the `setgeom' arg to dsopen() is not implemented completely enough to
use.  The `setgeom' arg will go away and ST506 drives will be supported
in another way.  A large amount of dead code is left in wdopen() as a
reminder of the problems here.

Close the device in wdsize().  Open tracking was broken on all drives
with a swap device.

Remove support for soft write protection.  There are no ioctls to set
it.  It was used to disable writing to unlabelled disks, but we want
to support writing to foreign partitions on unlabeled disks.

Use generic dkbad routines to do about 2/3 of the work for supporting
bad144.

Improve disk statistics: estimate 4MB/sec instead of 8MB/sec for
the transfer rate (ISA max is 4MB/sec, old IDE max is 3.3MB/sec);
fix dk_xfer[] (it counted sectors, not transfers); keep the estimate
dk_seek[] = dk_xfer[] (was sectors, is now transfers); only count
words actually transferred (the count is still too high after a
failed write and after retries).  Remove wdxfer[].

Fix indentation in wdattach().  Fix resulting botched printing of the
disk size for ST506 drives.  Print the disk geometry less cryptically.
1995-04-14 22:31:58 +00:00
ache
24768cde77 Fix MAILTO hole by passing -t to sendmail
Submitted by: Mike Pritchard <pritc003@maroon.tc.umn.edu>
1995-04-14 21:54:18 +00:00
joerg
546565b16c Boot block cleanup.
o Fix the keyboard probe to properly wait for the ready bit before
sending a command to the keyboard controller.  This should avoid the
problems some people are experiencing where the boot blocks hang the
system during keyboard probe.  (It does solve it for me.)

o Fix a bug that effectively prevented the boot blocks from ever
passing control to the serial console.  [while(--retries) instead of
while(retries--)]

o Gratuitously reduced the keyboard probe timeout from 500 to 5
seconds. :)

o Introduced a new option ``FORCE_COMCONSOLE'' as a commented-out
example in the Makefile, to force the usage of a serial console
regardless of a keyboard being connected or not.

o Moved all external declarations to boot.h, declared all functions
there, and ANSIfied all function declarations/definitions.
(printf() remains bogus, however -- i'm too lazy to fix this.)
We're in the ninetees, dunno why we should still support compilers
from the 70's.
1995-04-14 21:26:53 +00:00
wollman
8c3b6094b7 Add `-s' flag to permit selection of devices in accordance with their
state (after all, who wants to be offered a menu of devices which
weren't found?).
1995-04-14 18:33:44 +00:00
ache
71eb5ef265 Add missing -lmytinfo, hits when compiled -static
Add DPADD
1995-04-14 16:13:28 +00:00
ache
3b816e0fef Add separate entry for screen(1), slightly different from vt220 1995-04-14 15:57:49 +00:00
ache
b18eba476e Move digits before letters 1995-04-14 15:56:32 +00:00
ache
7169415760 vt220: fix k1-k4 to be more compatible with xterm
and other emulators.
Simplify se/ue for emulators
1995-04-14 15:38:46 +00:00
nate
d6e1d3c790 Added back 'examples' to the subdirs which was bogusly removed. 1995-04-14 15:15:27 +00:00
dufault
435cec8d72 Add scsi target 1995-04-14 15:14:33 +00:00
dufault
75d3c04bb2 Add scsi target support. 1995-04-14 15:13:46 +00:00
dufault
25c11fda17 Add scsi target. Add "after config" call to autoconf so that scsi
targets will be configured after all scsi busses have been configured.
1995-04-14 15:13:26 +00:00
dufault
6d55b4f4ce Add "sctarg" and document new SCSI_REPORT_GEOMETRY option for ache 1995-04-14 15:12:24 +00:00
dufault
cdd7abf61a Added "scsi target" device that can act as a target for scsi transfers
from an initiator
Added Julian's support for residuals.
Added Julian's fixes to the tape driver
Made compile cleanly with -Wall
Reduce boot up output
1995-04-14 15:10:44 +00:00
wpaul
71bcdfd83a Better conformance to SunOS behavior: if we can't match a user to one
of the plus or minus lists at all, reject him. This lets you create
a +@netgroup list of users that you want to admit and reject everybody
else. If you end your +@netgroup list with the wildcard line
(+:::::::::) then you'll have a +@netgroup list that remaps the
specified people but leaves people not in any netgroup unaffected.
1995-04-14 14:56:28 +00:00
wpaul
d6f056e3cc Hopefully I won't get flamed for this: insert a few more #if defined(I486_CPU)
and #if defined (I586_CPU) thingies into identifycpu() so that we only
compile in what's actually needed for a given CPU. So far as I can tell,
none of my 386 machines generate a cpu_vendor code, so I made the extra vendor
and feature line conditional on I486_CPU and I586_CPU. (Otherwise we
print out a blank line which looks silly.)
1995-04-14 02:06:00 +00:00
wpaul
77a1da4908 According to a Usenet posting forward to me by Jordan, there's
at least one user out there who's system won't autoboot from the
serial console because of what sounds like 'phantom keystrokes'
making the timeout timer trip. I've tried to solve this by
adding an extra call to init_serial() right before the 'Boot:'
prompt is printed (done only if RB_SERIAL is set) to hopefully
make sure that the input buffer is clear. Unfortunately, the fellow
is in Germany and I haven't heard back from him yet. I haven't
been able to duplicate this problem on my hardware, so this is
a stab in the dark. At the very least, it shouldn't hurt anything.
1995-04-14 01:35:59 +00:00
rgrimes
70e2e64af2 A better solution for the noisy ibcs2 startup, just echo a space and then
call ibcs2.
Submitted by:	jkh, slight modification by me.
1995-04-13 21:23:17 +00:00
wollman
d70b960678 Add devmenu(1). 1995-04-13 21:11:53 +00:00
wollman
529b71834e Another sample devconf application. This one's a menu of devices; read the
man page.
1995-04-13 21:11:01 +00:00
ache
c434e1e3f3 Really fix MAILTO hole by parsing spaces.
Remove local bitstring copy
1995-04-13 20:58:13 +00:00
jkh
5446bf17e3 Get the matcd manpage linked into the parent directory like the others. 1995-04-13 20:44:51 +00:00
wollman
1d33b70a7e Make class names easier to type 1995-04-13 20:37:51 +00:00
joerg
dc77f31bda Include pcvt into the list of subdirs, so its utilities will be
included into fututre distributions.
1995-04-13 20:27:11 +00:00
jkh
1522dc8934 Remove fixit floppy from things to build until Poul makes it work again. 1995-04-13 20:21:06 +00:00
dg
c8c22da580 Backed out previous change - it reduces performance. (oops). 1995-04-13 18:24:33 +00:00
wollman
e89d31a9aa Add err_set_file() and err_set_exit() functions to make it possible for
programs which use err(3) to work nicely in a wider range of environments
(e.g., dialog).
1995-04-13 18:04:11 +00:00
wollman
e5364c6474 Actually copy the class field over from the kernel to the user structure. 1995-04-13 15:33:14 +00:00
dg
2474db4145 Slight optimization to select(). 1995-04-13 15:27:51 +00:00
wollman
9f4d73caf8 Disallow Kerberos when S/Key is required. Fixes PR #339.
Submitted by: Paul Traina <pst@Shockwave.com>
1995-04-13 15:20:35 +00:00
wollman
e7c1e3e7c6 Forgot two things in yesterday's massive devconf update:
initialized class for sio
don't bogusly re-initialize it in sio_registerdev()
1995-04-13 15:03:29 +00:00
ache
f1c135d401 Allow root to delete uchg/uappnd files 1995-04-13 13:35:09 +00:00
ache
4050a13d4d Move setcompat code to another place, initial/locked devices
not supposed to work with old style ioctls
1995-04-13 11:11:11 +00:00
gpalmer
81d312da17 The tmpdir cleaning routine _still_ wasn't right! :-(
I think this truly fixes it.
1995-04-13 09:30:58 +00:00
ache
2f4d55e303 Comment out ttcompat via COMPAT_SUNOS too
Fix error handling initial/callout devices
1995-04-13 09:22:40 +00:00
phk
fc33f1783e tell people what we do at the end, since it can take a little while.
use "set -e" when extracting bindist
make src dists extract.
1995-04-13 09:06:15 +00:00
phk
390e630313 Reduce inode count on floppies a bit again 1995-04-13 09:05:25 +00:00
wpaul
f05aaa8b84 This a subtle reminder to people that not everybody compiles their
kernels with 'options I586_CPU.'

The declaration for pentium_mhz is hidden inside an #ifdef I586_CPU,
but machdep.c refers to it whether I586_CPU is defined or not. This
temporary hack puts the offending code inside an #ifdef I586_CPU as
well so that a kernel without it will successfully compile.

I must emphasize the word 'temporary:' somebody needs to seriously
beat on the identifycpu() function with an #ifdef stick so that
I386_CPU, I486_CPU and I586_CPU will do the right things.
1995-04-13 04:55:35 +00:00
dg
9ecdf9408e Various changes from Matt Thomas to improve media selection and fix
support for the DC21140.
1995-04-13 04:46:40 +00:00
phk
23c57b1b30 Even more inodes on the floppies... 1995-04-13 02:11:31 +00:00
jkh
d73b1b9572 I missed some of Frank Durda's changes for MAKEDEV. Fixed.
Submitted by:	Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-04-13 00:51:55 +00:00
jkh
46ddef1c22 DISTNAME="2.0-950412-SNAP" 1995-04-12 23:29:14 +00:00
jkh
50c06a28da Add Steve Gerakines <steve2@genesis.tiac.net> to contributors. 1995-04-12 22:47:31 +00:00
wpaul
e8c45ce823 Add an ethers(3) man page. 1995-04-12 22:28:49 +00:00
jkh
0e28a49760 We're now shooting for a 950412-SNAP
Reviewed by:
Submitted by:
Obtained from:
1995-04-12 22:26:47 +00:00
wpaul
b30dde44be Add ethers(5) man page. 1995-04-12 22:16:08 +00:00
phk
1bc7ad6183 Add "BREAK_TO_DEBUGGER" option. 1995-04-12 22:02:51 +00:00
phk
edf4b34147 ttsetcompat is a '#ifdef COMPAT_43' feature.
Dropping into the debugger when a break comes down the serial line is a
>MISFEATURE (1st class)< and has been put under it's own #ifdef.  This
should be a magic sequence of chars instead.
1995-04-12 22:00:41 +00:00
phk
028cd003b8 added a missing '; \' 1995-04-12 21:13:08 +00:00