Joerg Wunsch [Sun, 16 Mar 1997 15:26:34 +0000 (15:26 +0000)]
Having two knobs until you get a kernel core dump saved is silly.
Leave dumpdev, but kill the savecore variable. Thus, it's still off
by default, but all you need is enabling dumpdev now.
phk's old argument that savecore might inadvertendly fill up the disk
no longer counts, savecore now correctly obeyes a `minfree' file, and
we ship our systems with such a file that even has a reasonable
default.
Justin T. Gibbs [Sun, 16 Mar 1997 07:12:07 +0000 (07:12 +0000)]
Adapt to some changes in the register definitions. Clear the selection
enable in SCSISEQ during error recovery to deal with the way the
sequencer leaves selections enabled now. Add code to perform "patching"
during sequencer program download.
Justin T. Gibbs [Sun, 16 Mar 1997 07:08:19 +0000 (07:08 +0000)]
Makefile gram.y scan.l sequencer.h symbol.c symbol.h aic7xxx_asm.c:
New sequencer assembler for the aic7xxx adapters. This assembler
performs some amount of register type checking, allows bit
manipulation of symbolic constants, and generates "patch tables"
for conditionalized downloading of portions of the program.
This makes it easier to take full advantage of the different
features of the aic7xxx cards without imposing run time penalies
or being bound to the small memory footprints of the low end
cards for features like target mode.
aic7xxx.reg:
New, assembler parsed, register definitions fo the aic7xxx cards.
This was done primarily in anticipation of 7810 support which
will have a different register layout, but should be able to use
the same assembler. The kernel aic7xxx driver consumes a generated
file in the compile directory to get the definitions of the register
locations.
aic7xxx.seq:
Convert to the slighly different syntax of the new assembler.
Conditionalize SCB_PAGING, ultra, and twin features which shaves
quite a bit of space once the program is downloaded.
Add code to leave the selection hardware enabled during reconnects
that win bus arbitration. This ensures that we will rearbitrate
as soon as the bus goes free instead of delaying for a bit.
When we expect the bus to go free, perform all of the cleanup
associated with that event "up front" and enter a loop awaiting
bus free. If we see a REQ first, complain, but attempt to
continue. This will hopefully address, or at least help diagnose,
the "target didn't send identify" messages that have been reported.
Søren Schmidt [Sat, 15 Mar 1997 18:58:10 +0000 (18:58 +0000)]
Fix support for != 512 byte sector devices.
Restores the use of SBLOCK instead of the BSOFF/sectorsize calculation.
Using SBLOCK is bogus however in that it uses DEV_BSIZE instead of
the actual sector size, but that is taken care of in other places.
Changing the SBLOCK would be better, but it affects the system
in other places, and doing it this way makes it possible to
use filesystems that was made before the lite2 merge.
Peter Wemm [Sat, 15 Mar 1997 06:23:57 +0000 (06:23 +0000)]
Document the -a option in .Fl form instead of .Cm form to be consistant
with the rest of the manpage. (Lite2 documents it in getopt form, Lite1
did it in old-style arg format)
Garrett Wollman [Fri, 14 Mar 1997 16:51:28 +0000 (16:51 +0000)]
Add protoswitch entries for shortcut send/receive. Correct
a few misleading comments, and move allthe struct tag
forward declarations to be in one place.
Peter Wemm [Fri, 14 Mar 1997 14:45:30 +0000 (14:45 +0000)]
Tone down the paranoia a bit in from the previous commit. setusercontext()
automatically Does The Right Thing when lc == NULL, which just happens to
be what the extra code in cron was trying to do. Simplify.
Peter Wemm [Fri, 14 Mar 1997 13:48:04 +0000 (13:48 +0000)]
For some reason, the old login class code didn't seem to be working here.
I suspect it was because the child exec code's parent was doing the
initial lookups, then forking, then doing other things (possibly trashing
the static data in the getpw*() buffer), then attempting to dereference
*pwd and *lc. Also, no error checking appeared to be done - I've allowed
it to fall back to the old "become user" code on critical failure rather than
risk running a user's cron jobs as root.
Mike Pritchard [Fri, 14 Mar 1997 05:10:47 +0000 (05:10 +0000)]
Remove the text that says that freebsd-bugs can't be subscribed
to by anyone.
While I was at it, I changed all of the mailing list addresses to be
consistent with how they are referenced in the handbook. E.g
freebsd-bugs@FreeBSD.ORG instead of bugs@FreeBSD.ORG.
Joerg Wunsch [Fri, 14 Mar 1997 01:27:02 +0000 (01:27 +0000)]
Save and restore the state of the variable Initialized inside die().
Otherwise, the shutdown message will print out with 15 NUL bytes in
front, due to a missing timestamp.
Bruce Evans [Thu, 13 Mar 1997 19:23:27 +0000 (19:23 +0000)]
Updated comment about npx0.
Added obsolete option GATEWAY so that kern_opt.c gets tested.
Added undocumented options LOCKF_DEBUG and SIMPLELOCK_DEBUG so
that these options get tested. The addition of LOCKF_DEBUG shows
that all of kern/kern_lockf.c shouldn't have been moved from ufs.
The debugging parts are very fs-dependent.
Joerg Wunsch [Thu, 13 Mar 1997 18:04:05 +0000 (18:04 +0000)]
Various stylistic improvements regarding num_eisa_slots & co.:
. properly declare the variable in in a .h file, as opposed to
using a private extern declaration in userconfig.c;
. move the definition of EISA_SLOTS and therefore the inclusion of
opt_eisa.h into eisaconf.c.
Peter Wemm [Thu, 13 Mar 1997 15:37:23 +0000 (15:37 +0000)]
Kill the Lite2 early "filesystem clean abort" check and go back to
something closer to how we used to do it. The Lite2 way is to check the
"fsclean" flag in the superblock and stop there if so (during preen).
We now do the various superblock sanity checks that we used to do before
since it's cheap. We now get the filesystem state summary again instead
of "FILESYSTEM CLEAN; CHECKING SKIPPED" (or whatever).
Accept SIGHUP as a "re-open logfile" signal. As ppp
doesn't set it's serial line to it's controlling terminal,
we can use HUP :)
This is a candidate for 2.2. The log.[ch] changes won't
conflict, but the main.c changes will. We just want to change the
kill(...,SIGHUP) to a SIGTERM and change the signal(SIGHUP,Hangup)
to a pending_signal(SIGHUP,LogReOpen).
Brian Somers [Thu, 13 Mar 1997 12:45:35 +0000 (12:45 +0000)]
Reviewed by: ache@freebsd.org
These changes should fix the signal "problems" in ppp.
The signal changes should really be put into 2.2 too !
The following patches should do it. There were some other
changes made by Andrey recently that havn't been brought
into 2.2, it may be worth doing them now.
Peter Wemm [Thu, 13 Mar 1997 06:58:46 +0000 (06:58 +0000)]
Part 2 of a failed commit (cvs broke). Original message:
Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD
because it's potentially dangerous (think: symlink races). Move
realpath() back to it's original location, and remove getcwd_physical()
by renaming it back to getcwd() and zapping the original getcwd wrapper.
Noticed by: bde
The following commits already happened but the log message got lost:
Peter Wemm [Thu, 13 Mar 1997 06:45:38 +0000 (06:45 +0000)]
Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD
because it's potentially dangerous (think: symlink races). Move
realpath() back to it's original location, and remove getcwd_physical()
by renaming it back to getcwd() and zapping the original getcwd wrapper.
Joerg Wunsch [Wed, 12 Mar 1997 17:41:35 +0000 (17:41 +0000)]
Since i don't see that anybody is implementing a more correct EISA
probing anytime soon, make EISA_SLOTS a fully supported option. It's
required for the HP NetServer LC series machines.
Bruce Evans [Wed, 12 Mar 1997 17:16:22 +0000 (17:16 +0000)]
Make this man page really match the current <sys/signal.h> again and
the 2.x <sys/signal.h> for the first time :-). The type of ss_sp
was lexically different.