John Polstra
34ff484bfc
Per request from ache, change the numbering scheme of __FreeBSD_cc_version.
...
Its form is now like __FreeBSD_version, with the FreeBSD revision in
the top digits.
1998-10-29 22:11:08 +00:00
Robert Nordier
4a3bc52a9c
(Whoops: make it better instead of worse this time). Clarify
...
processing of the string argument by perror().
1998-10-29 22:08:59 +00:00
Robert Nordier
94cc971811
Clarify processing of the string argument by perror().
1998-10-29 21:59:38 +00:00
Justin T. Gibbs
b4be89561b
Correct the reporting of the queue full condition so that the XPT layer
...
can properly throttle tags.
Add diagnostic printfs for firmware result codes that we encounter but
don't know anything about.
1998-10-29 17:41:34 +00:00
Dima Ruban
a8bdc29849
Bump VERSREQ to make ``config'' happy.
...
Obtained from: Makefile.i386
1998-10-29 17:09:36 +00:00
Robert Nordier
e524a581b1
Check for a zero-length as well as a NULL string argument.
1998-10-29 14:40:20 +00:00
Andrzej Bialecki
47a8315e54
Update help files to reflect changes in vm utility.
1998-10-29 12:46:31 +00:00
Andrzej Bialecki
9f444dbaf9
Fix conversion from pages to kB's.
...
Noticed by: luigi
Obtained from: sources for vmstat(8)
1998-10-29 12:38:06 +00:00
Bruce Evans
cbbbd4c330
Oops, rev.1.167 made the device number checking in bdevvp() too strict
...
for mfs root mounts. Don't require major 255 to be in bdevsw[].
1998-10-29 11:50:32 +00:00
Robert Nordier
d223b5868e
The man page implies that the string argument to psignal() may be
...
NULL, in line with perror(3). However, the code presently checks only
for a zero-length string. Check for both.
1998-10-29 11:39:39 +00:00
David Greenman
0d5a725446
Fixed editing error. Pointed out by bde.
1998-10-29 11:04:22 +00:00
David E. O'Brien
c1a7bc5c77
Increase the granularity of the debugging messages.
1998-10-29 10:38:57 +00:00
David E. O'Brien
f0382a39e4
Add some debugging statments (only if DEBUG opt is set), to try pin down
...
the hangs many of us are experiencing.
1998-10-29 10:18:49 +00:00
Bruce Evans
5eb8b44ca5
Don't install the lp.4 -> plip.4 links, since the important one of them
...
clobbers the new plip.4 non-link.
1998-10-29 09:57:40 +00:00
Peter Wemm
20f02ef5e9
Remove the V_SAVEMETA flag, nothing uses it any more now that msdosfs and
...
ext2fs call vtruncbuf() directly. This simplifies and cleans up
vinvalbuf() a little.
1998-10-29 09:51:28 +00:00
Peter Wemm
91ecc00e71
error return assignment was less than ideal. Fix the part that caused
...
warnings to be the same as the ffs code. Previously, any error from
the UFS_UPDATE() call was lost (I think).
1998-10-29 09:44:12 +00:00
Bruce Evans
3a389eff91
`vector xxxintr' should cause a syntax error.
1998-10-29 09:42:05 +00:00
Bruce Evans
87ed597427
Fixed missing link and disordering in previous commit.
1998-10-29 09:35:10 +00:00
Peter Wemm
f6020599aa
Use vtruncbuf() to clean out cached blocks on a file shorten rather than
...
the more expensive vinvalbuf(), based on the FFS version of the same
routine. I don't have any ext2fs filesystems to test this on.
1998-10-29 09:30:52 +00:00
Peter Wemm
44fdad9976
Use vtruncbuf() rather than vinvalbuf() when shortening files.
1998-10-29 09:29:17 +00:00
John Polstra
d0a7acafba
Make the definition of __printf0like() vary according to the value
...
of __FreeBSD_cc_version, so that its use is safe with older compilers
and with non-FreeBSD compilers.
1998-10-29 04:41:24 +00:00
John Polstra
98bf848b69
Add a new predefined preprocessor symbol "__FreeBSD_cc_version",
...
with a numeric value that describes the feature level of the
compiler. This can be used to check for the presence/absence of
FreeBSD-specific compiler features. The value is a decimal number
whose digits have the form VRRRRFF, where:
V = Compiler vendor. 0 (elided) means gcc.
RRRR = Vendor's version number, e.g., 2721 for the current
gcc version (2.7.2.1).
FF = FreeBSD-specific revision level. 00 means the stock
compiler from the vendor.
The value of "__FreeBSD_cc_version" is hard-coded in
"src/contrib/gcc/config/i386/freebsd.h" and must be incremented
when new FreeBSD-specific compiler features are added. I considered
simply picking up the value of FreeBSD_version from <osreldate.h>.
But that would break cross compiles of gcc.
PR: Part of the fix for gnu/8452
Suggested by: bde
1998-10-29 04:27:06 +00:00
Brian Somers
004c6ac7fd
Remove some redundant (#if 0'd) code.
1998-10-29 02:12:54 +00:00
Garrett Wollman
46365a874a
A small fragment of new ISA framework: manifest constants for the resources
...
implemented by the i386 root nexus.
1998-10-29 01:56:23 +00:00
Garrett Wollman
a64d49d14f
A Perl5 version of makedevops.sh. Fixes a bug in the sh/awk version
...
which really annoyed me at the time but I don't think bites me any
more.
1998-10-29 01:52:59 +00:00
Garrett Wollman
af2a5c769a
The new resource manager, hopefully in a reasonably stable form.
1998-10-29 01:48:36 +00:00
Jordan K. Hubbard
400d793dd7
Unlink old contents of package when extracting new.
...
Submitted by: pst
1998-10-28 22:44:24 +00:00
Robert V. Baron
6f72efa21b
Change the way unmounting happens to guarantee that the
...
client programs are allowed to finish up (coda_call is
forced to complete) and release their locks. Thus there
is a reasonable chance that the vflush implicit in the
unmount will not get hung on held locks.
1998-10-28 20:31:13 +00:00
Robert V. Baron
d2a0549842
Update
1998-10-28 19:39:12 +00:00
Robert V. Baron
e8e04c2b37
Venus must be passed O_CREAT flag on VOP_OPEN iff this is
...
a creat so that we can will allow a mode 444 file to be
written into. Sync with the latest coda.h and deal with
collateral damage.
1998-10-28 19:33:50 +00:00
Mike Smith
8879e57b3e
Simplify the "is a character ready" test, so that we don't return a false
...
negative for keypresses with zero ascii values. This is in line with the
comconsole test, rather than being more ambitious.
Submitted by: rnordier
1998-10-28 19:24:15 +00:00
Andrzej Bialecki
b8e9aae97b
Corect info about help files being stored in ar archive.
...
Submitted by: Eric P. Scott <eps@sirius.com>
1998-10-28 16:42:51 +00:00
Andrzej Bialecki
af2a8cd31a
Add missing psm0 dev entry.
...
Submitted by: Eric P. Scott <eps@sirius.com>
1998-10-28 16:26:29 +00:00
Andrzej Bialecki
0632a19397
Added TODO list. Automate changing of the "Last updated" field.
1998-10-28 16:16:31 +00:00
David Greenman
c8d14c765f
Fixed wrong comments in and about vm_page_deactivate().
1998-10-28 13:41:43 +00:00
David Greenman
730075613a
Added a second argument, "activate" to the vm_page_unwire() call so that
...
the caller can select either inactive or active queue to put the page on.
1998-10-28 13:37:02 +00:00
KATO Takenori
5ff07d2ee7
Sync with sys/i386/conf/Makefile.i386 revision 1.127.
1998-10-28 10:48:37 +00:00
Jordan K. Hubbard
2dcc2f0693
Clarify a rather ambiguous debugging message.
1998-10-28 10:37:54 +00:00
Doug Rabson
709f2df6c3
Add BUS_DEBUG option in opt_bus.h
1998-10-28 08:37:10 +00:00
John Polstra
b5e7d1133b
Back out previous work-around for "vmstat -i" failing on ELF
...
kernels. A better fix is now committed to "src/lib/libc/gen/nlist.c"
and "src/usr.sbin/kvm_mkdb/nlist.c".
1998-10-28 06:41:24 +00:00
John Polstra
a150a878d5
Handle ELF symbols better. This fixes "vmstat -i" for the case
...
where "/var/db/kvm_kernel.db" exists.
Note, kvm_mkdb tries to be clever, and skips rebuilding the database
if it thinks it's already up to date. To see the effects of this
fix, you may need to manually delete "/var/db/kvm_kernel.db" and
then run "kvm_mkdb".
1998-10-28 06:39:41 +00:00
John Polstra
76a2643efb
Handle ELF symbols better. This fixes "vmstat -i" for the case
...
where "/var/db/kvm_kernel.db" doesn't exist.
1998-10-28 06:37:49 +00:00
Jordan K. Hubbard
b39d7dea7b
Check for C:\FREEBSD also, for backwards compatibility
1998-10-28 02:18:08 +00:00
Nicolas Souchu
fa7bfeb7f9
microseq.9: general purpose parallel microcode for ppbus(4)
...
ppbconf.9: general info about ppbus(4) structures
1998-10-28 00:55:42 +00:00
Nicolas Souchu
1284f2b273
ppc.4 moved from man4 to man4.i386: parallel port chipset driver manpage
...
pcf.4 added: Philips I2C/isa interface manpage
1998-10-28 00:51:40 +00:00
Nicolas Souchu
71023a74d1
Finally they arrive! ppbus (Parallel Port Bus framework) manpages.
1998-10-28 00:44:22 +00:00
Nicolas Souchu
eb8752d51d
More I2C framework docs. See iicbus(4) for more info.
1998-10-28 00:42:34 +00:00
Nicolas Souchu
6c5ba3a5a5
I2C framework manpages. See iicbus(4) for more info.
1998-10-28 00:40:53 +00:00
Brian Somers
ca618bcfc9
Untimeout the chat expect timer as soon as we get a
...
match - otherwise, with a delayed (\\d) ``send'', the
timeout may happen during the send and cause a failure.
Problem reported by: David L. Vondrasek <dallas.tx@airmail.net>
1998-10-27 22:53:25 +00:00
Brian Somers
0f781a7252
Add ``set proctitle'' for changing argv[0]. All substitutions
...
are done in the same way as command execution.
For example, ``set proctitle USER INTERFACE PROCESSID'' would
be useful in a -direct profile for identifying who's connected.
1998-10-27 22:53:22 +00:00