Commit Graph

40661 Commits

Author SHA1 Message Date
mrg fc0b820cbd - KNF.
- check return call of several important system calls
- clean up some more cruft.
- support "rexecd -l" for extra (syslog(3)) logging.
- avoid *sprintf
1998-07-04 19:03:20 +00:00
is 311c8a0a7b Fix typo pointed out by Michael K. Sandersi in PR 5656. 1998-07-04 18:51:00 +00:00
ross c2f5c9d517 Make the -x11 case actually work. Make the tempfile symbolic. 1998-07-04 09:27:18 +00:00
pk 3d29b1e56c Shield `#include opt_*.h'. 1998-07-04 08:44:04 +00:00
ross 69228f8bd8 Small edit to n1>&n2 description. 1998-07-04 06:52:07 +00:00
dbj 0a1e71abf1 Fixed pre-MMU rom console printing.
Fixed probing of the segment list on color NeXT's.
Added some debug messages on console as it reads the hardware config.
1998-07-04 05:36:05 +00:00
mjacob 795a3913c8 adjust document to reality 1998-07-04 02:31:36 +00:00
mjacob 029e17f0c7 kern/1275 changes 1998-07-04 02:26:03 +00:00
mjacob 5433a0b6ca More for kern/1275- and fix a bug in here that's been there forever. 1998-07-04 02:14:22 +00:00
mjacob e558885a0e Minor enhancements:
1) Quirk entries for Storage Tek 9490 (Timberline) and D3 (Redwood)
	drives.

	2) Modification to st_loadtape to do a REWIND to BOT if the
	action is a load and the tape doesn't support the LOAD command
	(9490, SD3, and IBM 3590).

	3) Cleaned up the 'undersized user record' error message to
	make a little more sense.

Various bug fixes:

kern/1275:	Now returns values in dsreg and erreg and sets resid
		(as best as it can for a 16 but integer). See also
		a recent change to mtio.h. We are declining to fix
		the portion of this bug about naming a more specific
		SCSI device. Since there is nothing programmatic
		you can do with that information, it is not useful
		to pass back at this time.

		A side effect of this change is that doing MTIOCGET
		also forces a mode sense (to get the current state
		of WRITE PROTECT).


kern/5647:	Now no longer logs to the console ILI or Filemark or (first)
		EOM (on write) errors (unless SCSIDEBUG is set).

kern/5525:	Substantially increased timeouts for a variety of
		operations, and split them into categories of
		I/O, Space, and Control operations (each have
		likely different inherent times). I/O is for
		reads/writes. Control is for mode sense/select.
		Space is for spacing the tape.

Until EOM handling is changed, though kern/391 is still not fixed. A side
effect of EOM handling is that you now always 'lose' (to the writing
application's view) the last write since EIO is what is returned on
EOM detection during writes. Hopefully the reader applications don't
get too bent out of shape by this.
1998-07-04 01:50:20 +00:00
mjacob 205c293676 Patches from Justin that handle some REV B AIC7880 problems 1998-07-03 23:45:10 +00:00
mhitch 34c823e939 A "GENERIC" kernel configured with a memory disk root. The miniroot can
now be inserted into the kernel for a self-contained installation kernel.
No more questions or problems trying to copy the miniroot to the swap
partition.
1998-07-03 22:27:59 +00:00
mhitch 65346d4042 Add memory disk. 1998-07-03 22:24:45 +00:00
mhitch 14a5ad4ce6 Make 'end' references consistant. Fixes PR#5670. 1998-07-03 22:21:42 +00:00
hubertf a18ed5d074 add missing ";" for non-UVM systems 1998-07-03 21:32:43 +00:00
mjacob 7a199bc2de kern/1275: add some clarification about what fields are updated from the
tape driver. Basically, we'll report what we can for resid, dsreg will
reflect RDONLY and MOUNTED, and erreg will retain the last seen Sense Key.
An MTIOCGET will clear these.
1998-07-03 20:25:20 +00:00
mhitch bb85c60cdc Add "mainbus0" and "cpu*" entries that used to be in std.pmax. GENERIC
should now 'config' without errors.
1998-07-03 20:06:09 +00:00
mhitch 3950d164c0 Add missing include of "opt_nfsserver.h". 1998-07-03 20:03:04 +00:00
mjacob f4918cb223 kern/5514: take the submitter's advice, at least partially. The time it
takes to do IELEM can be proportional to the number of elements, but is
also affected by wierd things like how readable the barcodes on the
media are. There are worst case scenarios I've seen where there are
white labels on the back of tapes with pencilled in labels which is
*just* close enough to being a bar code that an Exabyte 120 would
peer at them myopically and long enough for a *really* long time to
pass in inventorying the jukebox.

I've upped the limit to be proportional to 5 minutes per element. That
is long enough that someone I'm sure will complain about "you wait
to long and should time out" for broken h/w.

As is also noted in the PR, there are a lot of other issues here. It's
really also a question as to whether to update this driver or go
with CAM's driver. This one doesn't have switching between block
descriptors and not, doesn't support volume tag setting, and so on.
Time is limited. This PR should have been closed and fixed right away,
tho.
1998-07-03 19:11:25 +00:00
hubertf 935d606f7d Get idle time right, per PR 5699 by Urban Boquist <boquist@cs.chalmers.se> 1998-07-03 18:35:35 +00:00
mrg 88bc5ea96c - KNF.
- check return call of several important system calls
- clean up some more cruft.
- support "uucpd -l" for extra (syslog(3)) logging.
- add a man page for uucpd.  did it really arrive in 4.2BSD as the code
  indicates?  that's what `HISTORY' says...
1998-07-03 18:09:48 +00:00
mycroft 01ed262043 Further redux. 1998-07-03 18:09:25 +00:00
mycroft b742a40a8c Make this a bit less fork-happy. 1998-07-03 17:50:10 +00:00
mrg 39fbcd87b6 - deal with fork failure better
- some more KNF nits
- no more "union wait"
1998-07-03 17:21:22 +00:00
msaitoh d4d8503fa5 check return value of kvm_read() more safe 1998-07-03 15:49:25 +00:00
phil 4229b1a8cc Fix bugs found in scrolling, make scrolling never leave blank
lines in the menu.
1998-07-03 15:20:30 +00:00
is 25718b8405 Make halt and reboot wait up to 32 seconds after kill(-1, SIGTERM), but
check at 3 second intervals if any are left.
This will help slow machines to cleanly shut down X servers (to make the
console visible), databases, or Usenet news servers.
1998-07-03 13:59:56 +00:00
tsubai d6343652c5 Add powerpc and macppc files. 1998-07-03 12:29:29 +00:00
tsubai 502b5ef837 nvram support. 1998-07-03 11:58:28 +00:00
mrg 750ef3b29d - use S_IWGRP over 020
- KNF
- ensure we don't overflow a buffer (don't think it would anyway).
- favour snprintf over sprintf (and varargs versions)
1998-07-03 11:54:08 +00:00
mrg 36407a9595 KNF. 1998-07-03 11:51:19 +00:00
mrg d407e73999 clean up a bit of cruft. 1998-07-03 11:50:51 +00:00
tsubai 21f84e9128 Add nvram device support. 1998-07-03 11:50:32 +00:00
mrg ae7821a46c KNF. 1998-07-03 11:49:50 +00:00
mrg 896a03fbba KNF, and use MOUNT_FFS over "ffs" 1998-07-03 11:48:58 +00:00
augustss b07356663e Add another sound card. 1998-07-03 11:32:14 +00:00
tsubai e309aa6846 macppc ramdisk tools. 1998-07-03 11:20:08 +00:00
fair 1de21af0c2 PR#5697 + nroff cleanup 1998-07-03 11:17:46 +00:00
fair 8b671e53f4 PR#5696 + nroff fixes and text clarity 1998-07-03 11:08:08 +00:00
thorpej 8cfe8959a6 Fix TCPS_HAVERCVDFIN() to actually catch all TCP states in which a FIN
has been received (CLOSE_WAIT, CLOSING, LAST_ACK, and TIME_WAIT).

From David Borman <dab@bsdi.com>.
1998-07-03 05:39:56 +00:00
thorpej 8978015d51 Mark the kernel pmap `active' in pmap_bootstrap(). 1998-07-03 05:22:10 +00:00
mrg b6134033e4 oops, lost this in previous change. 1998-07-03 04:10:43 +00:00
mrg 46b017828c - remove register
- KNF
- ensure hostname has trailling nul.
- use initgroups/setgid/setuid rather than just setuid, and do this earlier.
- find "from:" and "subject:" as well.
- use strvis(3) rather than some local crufty code.
1998-07-03 02:27:58 +00:00
tv b457cc5098 For now, do not build just "netbsd" as the root device probe cannot
distinguish wd0, cs0, etc.  Build only netbsd_netboot and netbsd_wdboot.
1998-07-02 23:39:22 +00:00
mjacob efee8aedfa If GENERIC has SCSIVERBOSE on, having it off here makes no sense 1998-07-02 23:36:59 +00:00
christos 076a184bb0 PR/5690: Wolfgang Rupprecht: deleting a suffix that has 0 source references
causes core-dump. Fix: when an unused suffix gets removed, delete
	 it from the suffix list.
1998-07-02 23:30:18 +00:00
thorpej 33f066d24c Implement the shrinking and no-change bits of the Linux mremap(2) system
call, provided by Urban Boquist <boquist@cs.chalmers.se> in PR #5693.

Add a comment about how one might implement the growing bit of mremap(2).
1998-07-02 23:26:58 +00:00
gwr 76cd67b8c7 Allow netif_getether() to use sif->sif_macaddr() on the Sun-3X
but check the PROM rev first, and print some info I want when
a PROM earlier than 3.0 is found.  (Then just try it!)
1998-07-02 21:58:25 +00:00
phil d6e31d7e9d Small tweeks, redoing language for dynamic menus. 1998-07-02 21:46:18 +00:00
gwr 4b50f96523 Add strncmp.c 1998-07-02 21:36:00 +00:00