Commit Graph

19565 Commits

Author SHA1 Message Date
Mike Pritchard
cd1b6738ab The struct vfsconf element vfc_index is now vfs_typenum. 1997-02-28 06:22:29 +00:00
Mike Pritchard
28f86af297 Correct the xref section - it was incorrectly using .Fn instead
of .Xr for the xrefs.
1997-02-28 05:46:19 +00:00
Hiroyuki Hanai
20cd56f068 Sync with the original. 1997-02-28 04:07:56 +00:00
Justin T. Gibbs
bccca068ce Functionalize some code that was repeated throughout the driver.
Fix a bug in the initialization of the busreset_args that left the B channel
args unitialized and the A channel ones initialized to B's vales.  Oops.

If we get a NO_IDENT sequencer interrupt (the reconnecting target didn't
issue an identify or botched it), reset the bus instead of panicing.  We
should be able to recover from this error.

In the AWAITING_MSG handler, order messages by severity.  Since the message
we send is based on a flag on the SCB, it is possible, during error recovery,
to get more than one flag set.  This is fine since any time a new flag is
set, it is meant to take us to a more draconian level of recovery.  This
also ensures that we don't lose any "history" of what the command has gone
through.

When we reset the bus, reset the "send ordered tag" bitmask.

Clear some additional interrupt status when we perform a bus reset.
1997-02-28 03:58:21 +00:00
Justin T. Gibbs
9b2a5540ff No longer clear all interrupt status when the sequencer is reset. The only
time that we really want to do this is when a bus reset causes the sequencer
to be reset and the kernel driver now handles this case.

Remove some reordering in the select2 routine that wasn't necessary.
It was an experimental fix for a race condition I fixed elsewhere, and
confused the code flow.

Don't bother looping on a parity error in the mesgout loop since we can't
see parity errors on out phases.

Clean up the mesgin_identify code.  In the old days, we "snooped" for tag
messages and used this as an indicator of whether or not the target was
using tagged transactions.  This forced the sequencer to ack the identify
before determining if a valid SCB matched the target meaning that an abort
message to handle this case might not be seen before the target entered a
data phase.  Since we can determin the "tagged-ness" of a target by looking
it up in the array of busy targets (recently introduced), we can determine
this up front simplifying the search code as well as ensuring we can follow
the SCSI specs method for rejecting a reselection.

When an SCB is placed on the free list, set its SCB_TAG to SCB_LIST_NULL.
This makes it much easier for the kernel driver to find active SCBs on the
card during error recovery.
1997-02-28 03:51:00 +00:00
Hiroyuki Hanai
16f46ba6b1 Sync with the original.
Submitted by: WATANABE tomoo <tomo@maple.elcom.nitech.ac.jp>
1997-02-28 03:24:54 +00:00
Hiroyuki Hanai
81ce814f78 Sync with the original.
Submitted by: Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1997-02-28 03:23:57 +00:00
Mike Pritchard
d0b67be00e The .Fx macro doesn't know about any of the 1.* FreeBSD releases. 1997-02-28 02:20:42 +00:00
Bruce Evans
a1ab34e3d0 Wrapped mi_switch() with splstatclock()/splx(). This fixes excessive
interrupt latency for certain cases involving for restarting stopped
processes.
1997-02-27 18:03:48 +00:00
Bruce Evans
886ee0aa9f Fixed loading of vfs's. The Lite2 merge added unnecessary compatibility
cruft and resulted in loading usually following a null pointer.  Use
something closer to the pre-Lite2 code, including not making a copy of
the new filesystem's config info.  Not making a copy also fixes a race
for loading and a memory leak for unloading.

Fixed unloading of vfs's.  maxvfsconf wasn't maintained.

Look up the vfs to unload by name instead of by number.  The numbers
should go away as soon as all mount utilities are converted.
1997-02-27 16:40:20 +00:00
Bruce Evans
b98afd0d00 Fixed Lite2 merge of spechash simplelocking. It was misplaced in
checkalias() and missing in vfinddev() and vcount().
1997-02-27 16:08:43 +00:00
Bruce Evans
2f558c3e59 Removed a wrong LK_INTERLOCK flag. 1997-02-27 15:38:41 +00:00
Wolfram Schneider
b576d5e121 Add forgotten entries for Croatia
Pointed out by: ache
1997-02-27 12:22:25 +00:00
Brian Somers
668127d2e7 Change my email address 1997-02-27 10:16:38 +00:00
Hiroyuki Hanai
10ec02ce58 Sync with the original.
Submitted by: Yukinori Maeda <yuki@zephyr.elcom.nitech.ac.jp>
1997-02-27 07:47:11 +00:00
John Dyson
fd7f690f94 Fix the previous simple_lock fix breakage in the combined
vput/vrele routine.  Fix a panic message.  Fix the vop_nounlock
routine so that "special" filesystems that use it work correctly.
1997-02-27 05:28:58 +00:00
Andrey A. Chernov
7adec20804 Back out "shell" / pw_shell change, I was confused by the same
variable name (with different functionality)
1997-02-27 05:09:58 +00:00
Hiroyuki Hanai
04ac14b10d Sync with the original. 1997-02-27 05:07:34 +00:00
Andrey A. Chernov
60797e8797 Fix few bogons with pw_shell / shell variables values mismatch
introduced by LOGIN_CAP
1997-02-27 03:52:22 +00:00
John Dyson
0d955f71a1 Fix the simple_lock problem with the physical I/O buffer code, and
also fix the missing simple_unlock in vrele, and improve vrele/vput
by merging them into one routine.  BDE pointed these problems out.
1997-02-27 02:57:03 +00:00
Andrey A. Chernov
65f50b7f27 "infinity" check was missed from login_getcapsize(), add it
One manifestation of this bug: all networking users have coredumpsize=0
1997-02-27 00:24:05 +00:00
Wolfram Schneider
8d2cd1c6b6 Add Croatia.
Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>
1997-02-27 00:08:53 +00:00
Andrey A. Chernov
8aa5c4525c Fix typing error in default class: rc= instead of tc= 1997-02-26 23:41:33 +00:00
Andrey A. Chernov
1833488df9 For root & daemon classes bump max openfiles to 1024 to really activate
bumped select limit
1997-02-26 23:20:11 +00:00
John Polstra
7e074419b4 Add descriptions for the individual src-* and ports-* collections.
Correct some errors and omissions in the listing of collections.
1997-02-26 22:24:28 +00:00
Eivind Eklund
44b732f7dc Actually remove sys/time.h hack; fix typo.
Pointed out by:	bde
1997-02-26 20:10:45 +00:00
Nate Williams
4f8197720f - Added "Brent J. Nordquist" <bjn@visi.com> for his pccard doc patch. 1997-02-26 15:58:27 +00:00
Nate Williams
b93ad2ea7c The pccard daemon doesn't support the 'class' parameter as stated in the
documentation, so remove any hints of it.

Submitted by:	"Brent J. Nordquist" <bjn@visi.com>
1997-02-26 15:55:10 +00:00
Bruce Evans
7c1557c4af Fixed unmounting of the root fs. vfs_unmountroot() wasn't fully updated
to do Lite2 locking and vfs_unmountall() wasn't as simple as the Lite2
version.
1997-02-26 15:35:42 +00:00
Bruce Evans
af3f60d5a8 Updated msdosfs to use Lite2 vfs configuration and Lite2 locking. It
should now work as (un)well as before the Lite2 merge.
1997-02-26 14:23:16 +00:00
Jordan K. Hubbard
ebbdc73076 Bring in Argentina, Denmark, Poland. 1997-02-26 11:07:24 +00:00
Jordan K. Hubbard
ee0fd694bd Poland now has a proper hostmaster in charge of pl.freebsd.org 1997-02-26 10:58:49 +00:00
Mike Pritchard
72c03f2b85 Remove the -lrpclib, since it causes the build of these examples
to fail.

Closes PR# 2359

Submitted by:	Pedro A M Vazquez <vazquez@IQM.Unicamp.BR>
1997-02-26 06:56:57 +00:00
Warner Losh
2a62f02315 Buffer overflow from DNS name information which could cause root access
when called from lpd.

Reviewed by:	jkh, pst
Submitted by:	Oliver Friedrichs <oliver@secnet.com>
1997-02-26 06:12:34 +00:00
Mike Pritchard
326bb3d177 Silence -Wall when SYSLOG_NAMES is defined.
Submitted by:	davidn
1997-02-26 06:03:20 +00:00
Mike Pritchard
bac06c08b7 If an administrator somehow manages to break the hardlinks
on chpass & passwd and turn the links into individual files
with the schg flag set, make install will fail to install all
of the proper links.

Fixed by removing the schg flag on all of the links before installing.

Closes PR# 2040.

Submitted by:	 Ph. Charnier <charnier@xp11.frmug.org>
1997-02-26 05:31:52 +00:00
John Dyson
626808a8f2 Correct the port of ext2fs to Lite/2. I incorrectly used ufs_reclaim
instead of ffs_reclaim.
1997-02-26 05:08:18 +00:00
Hiroyuki Hanai
a0162a2855 Sync with the original.
Submitted by: Hidetoshi Shimokawa <simokawa@jp.FreeBSD.ORG>
1997-02-26 04:49:47 +00:00
Mike Pritchard
156de774e2 Fix an off by one error when determing the default job name for
the banner page.

Closes PR# 1986.

Submitted by:	Mark Valentine <mark@linus.demon.co.uk>
1997-02-26 02:22:45 +00:00
Mike Pritchard
bcc8ee65e8 Larn needs /var/games/larn to exist so that it can create its scorefile.
Closes PR# 1944.
1997-02-26 01:17:49 +00:00
Wolfram Schneider
c81161e520 Add timedef for Austria. The only difference to the German timedef is
the full month name for January.
1997-02-25 21:01:52 +00:00
Bruce Evans
c35e283a80 Merged some missing locking from Lite2:
- getnewvnode() and vref() were missing one simple_unlock() each.
- the Lite2 locking changes weren't merged at all in
  printlockedvnodes() or sysctl_vnode().  Merging these undid
  some KNF style regressions.
1997-02-25 19:33:23 +00:00
KATO Takenori
f3af5d6cd0 Synchronize with sys/i386/i386/machdep.c revision 1.229. 1997-02-25 16:36:48 +00:00
Hiroyuki Hanai
672769858a Sync with the original.
Submitted by: Takashi Saeki <saeki@saskg.semicon.sony.co.jp>
1997-02-25 14:24:28 +00:00
Brian Somers
c3b6ad6667 osreldate.h stuff suggested by: Eivind Eklund
Remove #include's from sig.h and get dependant modules to include them
themselves.  Make inclusion of if_var.h depend on __FreeBSD_version so
that the -current version of ppp can be used with 2.1.*

2.2 Candidate ?
1997-02-25 14:05:17 +00:00
Hiroyuki Hanai
a43e18f1d9 Sync with the original. 1997-02-25 09:31:39 +00:00
Thomas Gellekum
d6cebe9788 Add joel Sutton for his xgs port. 1997-02-25 09:08:06 +00:00
Hiroyuki Hanai
defc1adecd Synchronize the ``Original revision'' field with the original. 1997-02-25 08:04:56 +00:00
Satoshi Asami
7adbb0195e Update section about __FreeBSD_version. Add 2.1.7R (same as 2.1.6R), and
change 2.2R to 220000 and 3.0-current to 300000.
1997-02-25 07:51:19 +00:00
Jordan K. Hubbard
b421849f2f Close PR#2459 1997-02-25 07:22:23 +00:00