Commit Graph

17168 Commits

Author SHA1 Message Date
Bill Paul
5a0da0a5bc Dohw! Left out one important htonl() in update_arptab().
Pointed out by: Bill Fenner
1996-11-18 23:32:55 +00:00
Masafumi Max NAKANE
b6d897f22b Added some info about Japanese handbook in the abstract to avoid confusing
Japanese readers and send queries about Japanese handbook to doc@freebsd.org
in Japanese.

Some cosmetic tweaks.

Some improvement in translation.

This change, together with recent change to jmembers.sgml and jcontrib.sgml,
should definitely go into 2.2.
1996-11-18 23:14:37 +00:00
Masafumi Max NAKANE
bd2fe20f84 Use newly defined &a.doc-jp; for Japanese doc project's list. 1996-11-18 23:07:45 +00:00
Masafumi Max NAKANE
0c0b1b4ba8 Defined an entity for Japanese documentation project's mailing-list.
Updated Naoki Hamada's e-mail address.
1996-11-18 23:06:20 +00:00
Bill Paul
867de4336b Fix up new rarpd.
This includes the following changes:

- Support for poking ARP entries into the local table is now built
  in, so the arptab.c module I hacked together is no longer needed.

- rarp_process() and rarp_reply() now accept a len argument which is
  passed down from rarp_loop() which tells rarp_reply() exactly how
  long the original RARP frame was. (Usually, it's 60 bytes, which is
  the minimum.) Previously, the length was calculated using the sum
  of sizeof(struct ether_header) + sizeof(struct ether_arp) (plus the
  ethernet frame header, I think). The result was a total packet
  length of 42 bytes. Now, rarp_reply() sends out packets that are
  the same size as those it recieves (60 bytes). This agrees with the
  behavior of rarpd on SunOS (as observed with tcpdump). The unused
  extra bytes are zeroed.
1996-11-18 22:07:41 +00:00
Bill Paul
557201898b This commit was generated by cvs2svn to compensate for changes in r19855,
which included commits to RCS files with non-trunk default branches.
1996-11-18 21:53:21 +00:00
Bill Paul
4bef56e86c Import new version of rarpd from the BPF 1.1 distribution from LBL.
Obtained from: LBL, BPF 1.1 distribution
1996-11-18 21:53:21 +00:00
Peter Wemm
a30a31bb3f put on my flame resistant suit and tempt fate by attempting to fix some of
the races in my previous commits here, and fix some other problems with
syslogd as well.

- if the child process exited early (eg: could not bind to the socket),
  the boot process would hang for 30 seconds.  The parent was not noticing
  that the child had exited.  (my fault)
- when writing to tty devices, instead of treating them like files that
  need \r\n instead of \n, actually use ttymsg() which has specific code
  intended to write to potentially blocking ttys safely.  I had a machine
  lock up last night because /dev/console on a serial port got flow control
  blocked.  Setting comcontrol drainwait fixed everything but syslogd which
  was going into a spin trying to write to the console and completely
  ignoreing everything else.
- fix a couple of nonsensical bits of code while here..  eg: wait3 takes
  a pointer to an int.  There is no sense in declaring it as 'union wait',
  then casting the pointer to (int *), then forgetting about it.
1996-11-18 21:48:29 +00:00
Bill Fenner
80844fd18a Fix arg parsing. kdump used to allow a single argument, which it
silently ignored.
1996-11-18 19:37:52 +00:00
Bruce Evans
766631018f Fixed execvp() of an empty pathname to fail POSIXly. Previously it
attempted to exec the components of $PATH and it usually set errno
to the wrong value.

Found by:	NIST PCTS
1996-11-18 19:24:47 +00:00
Bruce Evans
1ad652a54c Fixed uninitialized variables for the '/'-in-pathname case in execvp().
Garbage in `eacces' caused the wrong errno to be set for non-EACCES errors.
Garbage in `etxtbsy' caused a semi-random retry strategy for ETXTBSY errors.

Found by:	NIST-PCTS.  gcc -Wall reported the problem, but -Wall is not
		enabled for libc.
1996-11-18 16:56:51 +00:00
Masafumi Max NAKANE
f8b04ff4fc Updated Naoki Hamada's e-mail address:
nao@sbl.cl.nec.co.jp -> nao@tom-yam.or.jp

Requested by:	Naoki Hamada
1996-11-18 07:39:16 +00:00
Masafumi Max NAKANE
8720de7b28 Added IMAMURA Tomoaki <tomoak-i@is.aist-nara.ac.jp> for making port of jp-hex. 1996-11-18 06:38:50 +00:00
David Greenman
5b73c1866a Fixed broken SIOCGIFADDR. It was copying out garbage as the ethernet
address.
1996-11-18 04:55:44 +00:00
David Greenman
9c7d26071e Fixed obsolete comment. 1996-11-18 02:45:46 +00:00
Peter Wemm
39c2b03943 Merge conflicts from 8.8.3 import onto mainline. 1996-11-18 02:34:34 +00:00
Peter Wemm
dfae3a83bb This commit was generated by cvs2svn to compensate for changes in r19841,
which included commits to RCS files with non-trunk default branches.
1996-11-18 02:26:51 +00:00
Peter Wemm
fcf445de96 Import sendmail-8.8.3 - this contains the official fix to replace the
previous workaround patch that I used.

Obtained from: Eric Allman <eric@sendmail.org>
1996-11-18 02:26:51 +00:00
Andrey A. Chernov
16deb17977 xterm: add Home & End keys, they are different from tc=vt220
2.2 candidate
1996-11-18 01:29:09 +00:00
Bill Fenner
31a322801a Update wording of the one message that was in the DIAGNOSTICS section.
Add three other common messages.

This should be in 2.2 to go with the netinet/if_ether.c rewording.
1996-11-17 23:25:17 +00:00
David E. O'Brien
cd7d667682 Added speal about MASTER_SITE_{XCONTRIB,PERL_CPAN,TEX_CTAN,SUNSITE} 1996-11-17 19:14:54 +00:00
David E. O'Brien
2c3cb670b7 Explained the new MAN[1-9NL] varaiables. 1996-11-17 18:54:51 +00:00
Andrey A. Chernov
5e57bd1999 Detect GUS patches now 1996-11-17 11:03:07 +00:00
Poul-Henning Kamp
a5c57c4040 Make the case where there is no changes look less fatal. 1996-11-17 08:11:18 +00:00
Wolfram Schneider
24e41f4044 removeuser moved from /usr/share/examples/removeuser to /usr/sbin/rmuser 1996-11-17 03:59:46 +00:00
Wolfram Schneider
7232e09ce1 delete removeuser 1996-11-17 03:57:08 +00:00
Wolfram Schneider
901c028ed7 install rmuser, addgroup, rmgroup in /usr/sbin 1996-11-17 03:51:33 +00:00
John Dyson
5b0a74089d Improve the locality of reference for variables in vm_page and
vm_kern by moving them from .bss to .data.  With this change,
there is a measurable perf improvement in fork/exec.
1996-11-17 02:38:31 +00:00
Wolfram Schneider
5f4cf81e9d fix C programmer's bug number 12.2
submitted by: bruce
1996-11-17 02:16:34 +00:00
John Dyson
9970cd3721 Improve the caching of small files like directories, while not
substantially increasing buffer space.  Specifically, we double
the number of buffers, but allocate only half the amount of memory
per buffer.  Note that VDIR files aren't cached unless instantiated
in a buffer.  This will significantly improve caching.
1996-11-17 02:11:01 +00:00
Andrey A. Chernov
6295b9764c Pad two-letter names not with ending space, but with beginning space
As result, it not looks anymore as:
xx , ...
but as
 xx, ...

2.2 candidate
1996-11-17 01:42:32 +00:00
David E. O'Brien
c4017082a4 Added PATCH_DIST_STRIP to sample Makefile. Moved IS_INTERACTIVE earlier
in the example since it can be quite important.
1996-11-17 00:25:26 +00:00
Joerg Wunsch
771301de24 Fix the C programmer's bug #1: EOF is of type int', not char'.
Strong 2.2 candidate.

Submitted by:	wosch
1996-11-17 00:22:54 +00:00
Joerg Wunsch
857bb723a2 Disable the inclusion of the Posix regexp stuff into libgnuregexp.
We've already got it in libc, but both libraries are incompatible
wrt. their header files and internal data structures.  This
incompatibility caused the expr(1) on the fixit floppy to mysteriously
dump core for the colon operator.

Strong 2.2 candidate, since it fixes the usage of MAKEDEV on the fixit
floppy.  I'd like to get it reviewed by somebody else though.

Observed by: andreas
1996-11-16 22:53:45 +00:00
Joerg Wunsch
eb14881596 Initialize memory obtained by malloc().
Detected by: phkmalloc -AJ
1996-11-16 22:49:02 +00:00
Joerg Wunsch
7ef22d9129 Provide a symlink for /bin/sh when the fixit floppy is mounted, so
scripts using #!/bin/sh (like /mnt2/dev/MAKEDEV) will work.

Observed by:	andreas
1996-11-16 22:42:13 +00:00
Joerg Wunsch
a18763d01c Comment out the setting of PATH in /dev/MAKEDEV on the fixit floppy.
It's entirely useless there.

Observed by:	andreas

Make the pre-existance of /R/stage/dists/compat* non-fatal, so
`make rerelease' won't fall over.
1996-11-16 22:40:59 +00:00
Stefan Eßer
b1427fd412 Fix core dump after printing usage message (pointed out by BDE).
Add printing of PCI header type register. (This makes the output
80 columns wide. Ughh. I'm looking for a better way to put the
information on one line ...)
1996-11-16 22:05:52 +00:00
Poul-Henning Kamp
e534982b63 Check bogus and ignore against the relative name, not the absolute. 1996-11-16 22:05:46 +00:00
Poul-Henning Kamp
9c0f44a5b3 Improve mkctm.c so we can use it, and start using it.
This should help quite a bit on the load.  Notice that
some minor changes in config files will be needed.
Contact me for details.
1996-11-16 19:30:14 +00:00
Peter Wemm
bf8919163f Disallow non-root users to start in daemon mode.
Obtained from: Eric Allman <eric@sendmail.org>
1996-11-16 16:41:17 +00:00
John Fieber
567f50d3ae The latest release is 2.1.6. 1996-11-16 14:40:47 +00:00
Jordan K. Hubbard
7ee8a29399 fimib.4 -> ifmib.4 1996-11-16 03:06:25 +00:00
Jordan K. Hubbard
a6c8c374a8 Commit AWE32 changes I forgot in my first round. Whoops! 1996-11-16 02:24:23 +00:00
Justin T. Gibbs
7595de5113 AHC_FORCE_PIO -> AHC_ALLOW_MEMIO 1996-11-16 01:19:50 +00:00
Justin T. Gibbs
74bb76f011 Be even more careful in how we manipulate the QOUTQCNT variable. Now we
do reset it from the QOUTCNT register inside a pause/unpause.  This now happens
once per command complete interrupt in the paging case (one interrupt can be
for multiple completed commands).  I may introduce a counter and do a lazy
update in the future, similar to what is done with the QINCNT.

Enhance the QUEUE FULL condition handling so that the number of openings will
be reduced.  This has become more important now that the driver is faster.
This code really belongs in the gerneric SCSI layer, as will be the case once
3.0 gets the code from the 'SCSI' branch.

Add some #if 0'd out trace code I've been using to help debug sequencer
problems.

Fix the SCB paging problem that I was seeing.  This was only on my 7850
controller and stems from the fact that its QINFIFO can only handle 3bit
SCB identifiers.  This means that you can only have 8 transactions open at
a time with the current paging scheme to these controllers.  The code added
to enforce this is generic in that it tests for the number of relevent bits
that the QINFIFO can store and adjusts the max accordingly.  It may be possible
to come up with a scheme that allows for more than 8 commands at a time, but
I don't know that it is worth the effort simply to fix a low end card.  The
aic7880 still can do 255.

This problem may be related to what Andrey was seeing since I don't have n
aic7770 rev E chip here to test on, but as soon as someone probes one of these
cards with this new code, the dmesg output will tell the whole story.
1996-11-16 01:19:14 +00:00
Justin T. Gibbs
11b5ea7239 Since there have been so many reports of the Memory Mapped I/O to the
aic7xxx cards failing on certain motherboards, reverse the logic used to
control this feature.  AHC_FORCE_PIO is replaced with AHC_ALLOW_MEMIO.
GENERIC no longer needs to specify the AHC_FORCE_PIO option since this is
the default.
1996-11-16 01:09:20 +00:00
Justin T. Gibbs
bde5245890 Assert that we have seen an identify or have not disconneccted since the
initial selection when entering the status phase.  This is the same assertion
we use for all the other data transfer phases.

Hopefully fix the hangs in the mesgin and mesgout phases that I introduced
last week during some code cleanup.  I need to get some of these 12MB/s
drives so I can reproduce these hangs here...

Add a pause disable in the SCB paging case around our manipulation of the
QOUTQCNT variable.  This is simply extra sanity.

Set LASTPHASE to P_BUSFREE once we see a busfree so that the kernel driver can
differentiate this from a data out phase.
1996-11-16 01:07:35 +00:00
David E. O'Brien
1c859d5f9f Got oly@world.std.com real name. 1996-11-15 23:20:32 +00:00
Jordan K. Hubbard
7032f80768 Fix a bogon in my new release.10 target.
Submitted-By: John Hay <jhay@mikom.csir.co.za>
1996-11-15 22:16:09 +00:00