]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoMake usage() match SYNOPSIS.
Ruslan Ermilov [Sun, 9 Mar 2003 21:41:30 +0000 (21:41 +0000)]
Make usage() match SYNOPSIS.

21 years agoGet rid of the randomizing factor.
Ruslan Ermilov [Sun, 9 Mar 2003 21:39:52 +0000 (21:39 +0000)]
Get rid of the randomizing factor.

21 years agoDon't call make_dev() before we are ready for it.
Poul-Henning Kamp [Sun, 9 Mar 2003 20:42:49 +0000 (20:42 +0000)]
Don't call make_dev() before we are ready for it.

21 years agoRemove some unnecessary actions by the zero-copy setup and teardown code.
Alan Cox [Sun, 9 Mar 2003 20:38:56 +0000 (20:38 +0000)]
Remove some unnecessary actions by the zero-copy setup and teardown code.
Remove an incorrect comment.  (Incrementing an object's reference count
does not prevent a process from exiting.  The real concern here is that the
physical page must not be deleted until transmission is complete.  That is
already handled by the VM system and sf_buf_free().)

Tested by: ken

21 years agostyle.Makefile(5) police
David E. O'Brien [Sun, 9 Mar 2003 20:06:38 +0000 (20:06 +0000)]
style.Makefile(5) police
(I've tried to keep to the spirit of the original formatting)

Reviewed by: des

21 years agostyle.Makefile(5) police.
David E. O'Brien [Sun, 9 Mar 2003 19:56:21 +0000 (19:56 +0000)]
style.Makefile(5) police.

Reviewed by: des

21 years agoPrint FYI messages on stderr. Previously, they were printed on stdout,
Dag-Erling Smørgrav [Sun, 9 Mar 2003 15:08:47 +0000 (15:08 +0000)]
Print FYI messages on stderr.  Previously, they were printed on stdout,
and due to buffering they would sometimes come out after the actual
error message when mkheaders() failed due to an unknown device, so you'd
get an error messages followed by 20 or 30 lines of harmless warnings.

There are lots of other warning messages in config(8) that are printed
on stdout, but these were the most egregious (at least with LINT).

21 years agoFix device freeze to reduce output packet size.
Shunsuke Akiyama [Sun, 9 Mar 2003 11:50:27 +0000 (11:50 +0000)]
Fix device freeze to reduce output packet size.
And make this value configurable by kernel config or sysctl.

21 years agoFix page fault with FTDI's USB serial device.
Shunsuke Akiyama [Sun, 9 Mar 2003 11:33:26 +0000 (11:33 +0000)]
Fix page fault with FTDI's USB serial device.
Fix lost characters counting.
Move setting receiver state to proper place on ucomstopread().

21 years agoFix duplicate sc_dying usage.
Shunsuke Akiyama [Sun, 9 Mar 2003 11:19:18 +0000 (11:19 +0000)]
Fix duplicate sc_dying usage.
All drivers which depend on ucom interfaces should use only one
sc_dying.

21 years agoAdd missing module dependency.
Shunsuke Akiyama [Sun, 9 Mar 2003 11:14:34 +0000 (11:14 +0000)]
Add missing module dependency.

21 years agoNote that MAJOR_AUTO is now the default if d_maj is not initialized. This
Poul-Henning Kamp [Sun, 9 Mar 2003 11:03:45 +0000 (11:03 +0000)]
Note that MAJOR_AUTO is now the default if d_maj is not initialized.  This
is more robust and prevents the hijacking of /dev/console for the typical
mistake.

Remove unneeded MAJOR_AUTO uses, it is only needed explicitly now if the
driver source has cross-branch compatibility to old releases.

21 years agoDefine MAJOR_AUTO as zero, which means that leaving out an initialization
Poul-Henning Kamp [Sun, 9 Mar 2003 10:29:20 +0000 (10:29 +0000)]
Define MAJOR_AUTO as zero, which means that leaving out an initialization
of d_maj means "allocate major number automatically".

Keep the definition of MAJOR_AUTO to make life easier for cross-branch
source maintainers.

21 years agoAdd one little hack to allow us to make MAJOR_AUTO be zero:
Poul-Henning Kamp [Sun, 9 Mar 2003 10:28:05 +0000 (10:28 +0000)]
Add one little hack to allow us to make MAJOR_AUTO be zero:

Let the console driver ask for major 256 and magically change this to
mean zero.

21 years agoMFi386: revision 1.1079
Yoshihiro Takahashi [Sun, 9 Mar 2003 10:20:16 +0000 (10:20 +0000)]
MFi386: revision 1.1079

21 years agoMerged from sys/dev/syscons/syscons.c revision 1.396.
Yoshihiro Takahashi [Sun, 9 Mar 2003 10:18:15 +0000 (10:18 +0000)]
Merged from sys/dev/syscons/syscons.c revision 1.396.

21 years agoMerged from sys/dev/sio/sio.c revisions 1.387 and 1.388.
Yoshihiro Takahashi [Sun, 9 Mar 2003 10:15:11 +0000 (10:15 +0000)]
Merged from sys/dev/sio/sio.c revisions 1.387 and 1.388.

21 years agoBuild the drm module also on pc98.
Yoshihiro Takahashi [Sun, 9 Mar 2003 10:12:58 +0000 (10:12 +0000)]
Build the drm module also on pc98.

21 years agoRemove unneeded #include of geom_stats.h
Poul-Henning Kamp [Sun, 9 Mar 2003 10:04:21 +0000 (10:04 +0000)]
Remove unneeded #include of geom_stats.h

21 years agoStamp out Danglish.
Poul-Henning Kamp [Sun, 9 Mar 2003 10:02:31 +0000 (10:02 +0000)]
Stamp out Danglish.

21 years agoDon't use statistics counters to detect outstanding I/O.
Poul-Henning Kamp [Sun, 9 Mar 2003 10:01:16 +0000 (10:01 +0000)]
Don't use statistics counters to detect outstanding I/O.

21 years agoDon't abuse the statistics counters for detecting if we have outstanding
Poul-Henning Kamp [Sun, 9 Mar 2003 09:59:48 +0000 (09:59 +0000)]
Don't abuse the statistics counters for detecting if we have outstanding
I/O requests, instead use the new dedicated fields in the consumer and
provider to track this.

21 years agoAdd u_int nstart, nend counters to consumer and providers so we will not
Poul-Henning Kamp [Sun, 9 Mar 2003 09:58:36 +0000 (09:58 +0000)]
Add u_int nstart, nend counters to consumer and providers so we will not
have to examine the stats structure to tell if we have outstanding I/O
requests.

Making them u_int improves the chance of atomic updates to them,
but risks roll-over.  Since the only interesting property is if
they are equal or not, this is not an issue.

21 years agoTry to clarify how orphaning works.
Poul-Henning Kamp [Sun, 9 Mar 2003 09:48:50 +0000 (09:48 +0000)]
Try to clarify how orphaning works.

21 years agoWhen a DEV class consumer is orphan'ed we need to wait for all the
Poul-Henning Kamp [Sun, 9 Mar 2003 09:28:45 +0000 (09:28 +0000)]
When a DEV class consumer is orphan'ed we need to wait for all the
outstanding requests to return before we unravel the mesh.

It is very important that the stuff below us plays nice and don't
overlook a couple of outstanding bio's, because until they remember
the geom event thread is blocked.  At an expense in code here this
could be made more robust, but I actually _want_ a robust failure
in this case so any offending drivers can be fixed.

21 years agoCosmetic change, make it QUEUE_MACRO_DEBUG friendly
David Xu [Sun, 9 Mar 2003 04:27:46 +0000 (04:27 +0000)]
Cosmetic change, make it QUEUE_MACRO_DEBUG friendly

21 years agoFix interactions between entries for a specific file vs entries for
Garance A Drosehn [Sun, 9 Mar 2003 03:19:52 +0000 (03:19 +0000)]
Fix interactions between entries for a specific file vs entries for
a filename pattern, and also wrt filenames given on the command line.
Now if a file is listed as a specific entry, it will not *also* be
processed by an entry specifying a pattern.  And filename-patterns
will now only match existing files (ignoring directories, etc).

MFC after: 3 weeks

21 years agoMFp4: Add the standard "the {fgetws,fputws} function will fail if" text
Tim J. Robbins [Sun, 9 Mar 2003 02:56:54 +0000 (02:56 +0000)]
MFp4: Add the standard "the {fgetws,fputws} function will fail if" text
to the Errors section.

21 years agoRemove a function prototype for `crc' and an associated comment which
Robert Drehmel [Sun, 9 Mar 2003 02:28:04 +0000 (02:28 +0000)]
Remove a function prototype for `crc' and an associated comment which
were useless for at least seven years and eight months.

21 years agoNew release note: IP fragment reassembly improvement.
Bruce A. Mah [Sun, 9 Mar 2003 02:27:12 +0000 (02:27 +0000)]
New release note:  IP fragment reassembly improvement.

Modified release note:  Fix punctuation glitch in bzip2 note.

21 years agoUpdate the DRM to latest from DRI CVS. This is approximately the version
Eric Anholt [Sun, 9 Mar 2003 02:08:30 +0000 (02:08 +0000)]
Update the DRM to latest from DRI CVS.  This is approximately the version
included in XFree86 4.3, but includes some fixes.  Notable changes include
Radeon 8500-9100 support, PCI Radeon/Rage 128 support, transform & lighting
support for Radeons, and vblank syncing support for r128, radeon, and mga.
The gamma driver was removed due to lack of any users.

21 years agoHold the proc lock while accessing p_procsig in trapsignal().
Tim J. Robbins [Sun, 9 Mar 2003 01:40:55 +0000 (01:40 +0000)]
Hold the proc lock while accessing p_procsig in trapsignal().

21 years agoThe processing of files given on the command-line will work a little better
Garance A Drosehn [Sun, 9 Mar 2003 00:29:40 +0000 (00:29 +0000)]
The processing of files given on the command-line will work a little better
if we return the entire worklist, instead of just the last entry.  A minor
fix to revision 1.57.

MFC after: 15 days

21 years agoFixes for the Russian translations of the messages.
John Polstra [Sat, 8 Mar 2003 22:45:12 +0000 (22:45 +0000)]
Fixes for the Russian translations of the messages.

PR: bin/48035, bin/48036
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>
Reviewed by: ache
MFC after: 4 weeks

21 years agoDiscard the packet if the netisr queue is null instead of panicing, for
Jonathan Lemon [Sat, 8 Mar 2003 22:12:32 +0000 (22:12 +0000)]
Discard the packet if the netisr queue is null instead of panicing, for
the benefit of modules which are compiled differently than the kernel.

21 years agoRemove check for t_state == TCPS_TIME_WAIT and introduce the tw structure.
Jonathan Lemon [Sat, 8 Mar 2003 22:07:52 +0000 (22:07 +0000)]
Remove check for t_state == TCPS_TIME_WAIT and introduce the tw structure.

Sponsored by: DARPA, NAI Labs

21 years agoRemove a panic(); if the zone allocator can't provide more timewait
Jonathan Lemon [Sat, 8 Mar 2003 22:06:20 +0000 (22:06 +0000)]
Remove a panic(); if the zone allocator can't provide more timewait
structures, reuse the oldest one.  Also move the expiry timer from
a per-structure callout to the tcp slow timer.

Sponsored by: DARPA, NAI Labs

21 years agoFix module build by adding options to Makefile.
Jonathan Lemon [Sat, 8 Mar 2003 21:54:32 +0000 (21:54 +0000)]
Fix module build by adding options to Makefile.

21 years agoRetire devstat_add_entry() as a public function and bump __FreeBSD_version
Poul-Henning Kamp [Sat, 8 Mar 2003 21:46:43 +0000 (21:46 +0000)]
Retire devstat_add_entry() as a public function and bump __FreeBSD_version
to mark this act.

21 years agoAllocate the devstat structure with devstat_new_entry().
Poul-Henning Kamp [Sat, 8 Mar 2003 21:44:46 +0000 (21:44 +0000)]
Allocate the devstat structure with devstat_new_entry().

21 years agoCorrect names for fxp devices. Sort data by devid in
John Polstra [Sat, 8 Mar 2003 21:44:21 +0000 (21:44 +0000)]
Correct names for fxp devices.  Sort data by devid in
fxp_ident_table.

PR: kern/48699
Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>
Obtained from: NetBSD (the device strings, that is)
MFC after: 4 weeks

21 years agoAllocate the devstat structure with devstat_new_entry().
Poul-Henning Kamp [Sat, 8 Mar 2003 21:32:59 +0000 (21:32 +0000)]
Allocate the devstat structure with devstat_new_entry().

21 years agoAdd a config-file flag of 'U' or 'u' to indicate that the pid-file
Garance A Drosehn [Sat, 8 Mar 2003 20:07:01 +0000 (20:07 +0000)]
Add a config-file flag of 'U' or 'u' to indicate that the pid-file
will contain the pid for a process group.  This means the file must
contain a negative value (as would be needed in the 'kill' commmand).
I still need to write man-page update before MFC-ing.

This started by rewriting the get_pid() routine.  Later I looked at
what OpenBSD has, and included a few ideas from their send_signal()
routine.  So, parts of this change are from OpenBSD, even though
OpenBSD does not actually have a 'U' flag.

PR: bin/28435
Reviewed by: no objections on freebsd-arch
MFC after: 3 weeks

21 years agoAllocate devstat structure with devstat_new_entry().
Poul-Henning Kamp [Sat, 8 Mar 2003 20:00:11 +0000 (20:00 +0000)]
Allocate devstat structure with devstat_new_entry().

21 years agoIntroduce a device driver for /dev/devstat, this will allow us to mmap
Poul-Henning Kamp [Sat, 8 Mar 2003 19:58:57 +0000 (19:58 +0000)]
Introduce a device driver for /dev/devstat, this will allow us to mmap
the device statistics structures into userland instead of using sysctl.

Introduce new devstat_new_entry() function which allocates the devstat
structure an calls devstat_add_entry() on it.

21 years agoAugment the devstat structure with 3 new fields and bump the DEVSTAT_VERSION.
Poul-Henning Kamp [Sat, 8 Mar 2003 19:55:59 +0000 (19:55 +0000)]
Augment the devstat structure with 3 new fields and bump the DEVSTAT_VERSION.

Two fields are sequence numbers for integrity check when we switch devstat
to use mmap to export data rather than sysctl, the last field is to mark
this as an allocated devstat entry.

21 years agoRevert last change and insure the driver can support other address families.
Jonathan Lemon [Sat, 8 Mar 2003 17:32:21 +0000 (17:32 +0000)]
Revert last change and insure the driver can support other address families.

Pointed out by: ume, matusita

21 years agoThe tun driver is INET only. Don't pretend to support other address families.
Jonathan Lemon [Sat, 8 Mar 2003 16:26:34 +0000 (16:26 +0000)]
The tun driver is INET only.  Don't pretend to support other address families.

Sponsored by: DARPA, NAI Labs

21 years agoInclude correct opt_* headers for supported address families. Dike out
Jonathan Lemon [Sat, 8 Mar 2003 16:25:27 +0000 (16:25 +0000)]
Include correct opt_* headers for supported address families.  Dike out
the unused ATM cases.

Sponsored by: DARPA, NAI Labs

21 years agoUncomment the description of the ipdst parameter, but refer to IPX
Tim J. Robbins [Sat, 8 Mar 2003 13:42:42 +0000 (13:42 +0000)]
Uncomment the description of the ipdst parameter, but refer to IPX
instead of NS.

21 years agoKerberosIV deorbit: Remove references.
Mark Murray [Sat, 8 Mar 2003 13:39:41 +0000 (13:39 +0000)]
KerberosIV deorbit: Remove references.

21 years agoKerberosIB deorbit: Remove library references.
Mark Murray [Sat, 8 Mar 2003 13:38:06 +0000 (13:38 +0000)]
KerberosIB deorbit: Remove library references.

21 years agoKerberosIV deorbit sequence: Re-entry. Thank you, faithful friend.
Mark Murray [Sat, 8 Mar 2003 12:55:48 +0000 (12:55 +0000)]
KerberosIV deorbit sequence: Re-entry. Thank you, faithful friend.
Enjoy your retirement in ports.

21 years agoKerberosIV deorbit sequence: Remove references to KerbIV libs.
Mark Murray [Sat, 8 Mar 2003 12:14:26 +0000 (12:14 +0000)]
KerberosIV deorbit sequence: Remove references to KerbIV libs.

21 years agoKerberosIV deorbit sequence: Un-teach sysinstall about KerberosIV. I'm
Mark Murray [Sat, 8 Mar 2003 12:07:13 +0000 (12:07 +0000)]
KerberosIV deorbit sequence: Un-teach sysinstall about KerberosIV. I'm
not 100% sure that I've done this in the right way. If folks want to
revisit this, please be my guest.

21 years agoKerberosIV deorbit sequence: We no longer build a krb4 distribution.
Mark Murray [Sat, 8 Mar 2003 11:49:40 +0000 (11:49 +0000)]
KerberosIV deorbit sequence: We no longer build a krb4 distribution.

21 years agoKerberosIV deorbit sequence: MAKE_KERBEROS4 is no longer a valid option.
Mark Murray [Sat, 8 Mar 2003 11:47:44 +0000 (11:47 +0000)]
KerberosIV deorbit sequence: MAKE_KERBEROS4 is no longer a valid option.

21 years agoUpdate for kerberos 5
Mark Murray [Sat, 8 Mar 2003 11:45:47 +0000 (11:45 +0000)]
Update for kerberos 5

21 years agoKerberosIV deorbit sequence continues: Look for K5 instead of KIV
Mark Murray [Sat, 8 Mar 2003 11:01:31 +0000 (11:01 +0000)]
KerberosIV deorbit sequence continues: Look for K5 instead of KIV

21 years agoKerberosIV de-orbit burn continues. Remove the KerberosIV PAM module.
Mark Murray [Sat, 8 Mar 2003 10:33:20 +0000 (10:33 +0000)]
KerberosIV de-orbit burn continues. Remove the KerberosIV PAM module.

21 years agoComment-only assistance to lint to kill warnings.
Mark Murray [Sat, 8 Mar 2003 10:30:49 +0000 (10:30 +0000)]
Comment-only assistance to lint to kill warnings.

21 years agoKerberosIV de-orbit burn continues. Disconnect from "make world".
Mark Murray [Sat, 8 Mar 2003 10:01:26 +0000 (10:01 +0000)]
KerberosIV de-orbit burn continues. Disconnect from "make world".

21 years agoKerberosIV de-orbit burn continues. Disconnect from "make release".
Mark Murray [Sat, 8 Mar 2003 09:56:09 +0000 (09:56 +0000)]
KerberosIV de-orbit burn continues. Disconnect from "make release".

21 years agoInitiate KerberosIV de-orbit burn. Disconnect the /etc configs.
Mark Murray [Sat, 8 Mar 2003 09:50:11 +0000 (09:50 +0000)]
Initiate KerberosIV de-orbit burn. Disconnect the /etc configs.

21 years agoDon't copy headers from the source tree to the object tree without
Marcel Moolenaar [Sat, 8 Mar 2003 08:57:56 +0000 (08:57 +0000)]
Don't copy headers from the source tree to the object tree without
making sure the copies in the object tree are writable. When files
in the source tree are not writable (as would be the case for a p4
tree) then a buildworld -DNOCLEAN will try to copy over the existing
non-writable headers. This fails. Instead we cat the headers with
redirection. This is just one of the possibilities.

21 years agoo Run make readmes (ports) from within CHROOTDIR to avoid pollution
Marcel Moolenaar [Sat, 8 Mar 2003 08:51:25 +0000 (08:51 +0000)]
o  Run make readmes (ports) from within CHROOTDIR to avoid pollution
   and/or breakages due to /etc/make.conf on the host. Move it after
   make world and put it in an if-block so that we can include the
   commands in the script even if we're not going to make the readmes.
o  When building docproj, make sure we propagate the setting of the
   FTP_PASSIVE_MODE environment variable. Not propagating the envvar
   may cause fetch failures. This increases the number of cases for
   which one does not have to prefetch the packages.

21 years agoCentralize the devstat handling for all GEOM disk device drivers
Poul-Henning Kamp [Sat, 8 Mar 2003 08:01:31 +0000 (08:01 +0000)]
Centralize the devstat handling for all GEOM disk device drivers
in geom_disk.c.

As a side effect this makes a lot of #include <sys/devicestat.h>
lines not needed and some biofinish() calls can be reduced to
biodone() again.

21 years agoRemove unimplemented IP-in-IPX encapsulation support (options IPTUNNEL).
Tim J. Robbins [Sat, 8 Mar 2003 06:58:22 +0000 (06:58 +0000)]
Remove unimplemented IP-in-IPX encapsulation support (options IPTUNNEL).

21 years agoZero copy send and receive fixes:
Kenneth D. Merry [Sat, 8 Mar 2003 06:58:18 +0000 (06:58 +0000)]
Zero copy send and receive fixes:

- On receive, vm_map_lookup() needs to trigger the creation of a shadow
  object.  To make that happen, call vm_map_lookup() with PROT_WRITE
  instead of PROT_READ in vm_pgmoveco().

- On send, a shadow object will be created by the vm_map_lookup() in
  vm_fault(), but vm_page_cowfault() will delete the original page from
  the backing object rather than simply letting the legacy COW mechanism
  take over.  In other words, the new page should be added to the shadow
  object rather than replacing the old page in the backing object.  (i.e.
  vm_page_cowfault() should not be called in this case.)  We accomplish
  this by making sure fs.object == fs.first_object before calling
  vm_page_cowfault() in vm_fault().

Submitted by: gallatin, alc
Tested by: ken

21 years agoLock sched_lock before modifying td_flags.
David Xu [Sat, 8 Mar 2003 04:09:04 +0000 (04:09 +0000)]
Lock sched_lock before modifying td_flags.

21 years agoInitialize eflags in fake frame to default value rather than random one.
David Xu [Sat, 8 Mar 2003 03:58:50 +0000 (03:58 +0000)]
Initialize eflags in fake frame to default value rather than random one.
The random value sometimes causes macro CLKF_USERMODE to return true
because PSL_VM bit is set and really shoudn't be, this causes statclock()
to execute in wrong path, and further breaks KSE code and kernel crashes
when executing threaded program.

21 years agoNew release note: Default kern.module_path no longer includes
Bruce A. Mah [Sat, 8 Mar 2003 00:27:34 +0000 (00:27 +0000)]
New release note:  Default kern.module_path no longer includes
/modules.

(Mostly based on submission...any errors are my fault.)

Submitted by: sheldonh

21 years agoNew release notes: aac(4) is Giant-free, mac_portacl, mksnap_ffs(8),
Bruce A. Mah [Sat, 8 Mar 2003 00:14:52 +0000 (00:14 +0000)]
New release notes:  aac(4) is Giant-free, mac_portacl, mksnap_ffs(8),
de-pkg-comment.

Modified release notes:  HTT (needs HTT kernel option), ping -M
(supports timestamp requests).

21 years agoUse the appropriate size when zeroing out the unused portion
Kirk McKusick [Fri, 7 Mar 2003 23:49:16 +0000 (23:49 +0000)]
Use the appropriate size when zeroing out the unused portion
of a snapshot's copy of a superblock. This patch fixes a panic
when taking a snapshot of a 4096/512 filesystem.

Reported by: Ian Freislich <ianf@za.uu.net>
Sponsored by:   DARPA & NAI Labs.

21 years agoadd ath to the list of Ethernet devices
Sam Leffler [Fri, 7 Mar 2003 23:43:09 +0000 (23:43 +0000)]
add ath to the list of Ethernet devices

21 years agoReplace u_int with "unsigned int" to prevent following errors:
Andrey A. Chernov [Fri, 7 Mar 2003 23:11:37 +0000 (23:11 +0000)]
Replace u_int with "unsigned int" to prevent following errors:

#include <sys/types.h>
#include <sys/stat.h>

main () {
}

cc -D_POSIX_C_SOURCE test.c
/usr/include/sys/stat.h:127: syntax error before "u_int"
/usr/include/sys/stat.h:158: syntax error before "u_int"

(u_int becomes invisible for _POSIX_C_SOURCE and some other *_SOURCE modes)

21 years agoFix a spelling error.
Rob Braun [Fri, 7 Mar 2003 22:47:32 +0000 (22:47 +0000)]
Fix a spelling error.
Submitted by: jkh
Reviewed by: zarzycki

21 years agoPrefix all -n (noaction) "unix cmds" with tab, thus making it much easier
Garance A Drosehn [Fri, 7 Mar 2003 21:29:34 +0000 (21:29 +0000)]
Prefix all -n (noaction) "unix cmds" with tab, thus making it much easier
to sort out noaction messages from -v (verbose) messages.  This also
improves a few noaction messages.

Obtained from: OpenBSD
MFC after: 3 weeks

21 years agoMove the -s (nosignal) processing, as newsyslog needs to print out a
Garance A Drosehn [Fri, 7 Mar 2003 21:06:32 +0000 (21:06 +0000)]
Move the -s (nosignal) processing, as newsyslog needs to print out a
warning message if -s is specified and it rotates a file that expects
to be compressed.  This warning message is not printed if -R is also
specified, because we assume a -sR request is coming from the process
which would have been signaled, and that it has already released the
logfile.

Indirectly noticed by: sheldonh

21 years agoRespect any passed in external lockmgr flags such as LK_NOWAIT in the
John Baldwin [Fri, 7 Mar 2003 20:45:07 +0000 (20:45 +0000)]
Respect any passed in external lockmgr flags such as LK_NOWAIT in the
default implementations of VOP_LOCK() and VOP_UNLOCK().

Tested by: jlemon, phk
Glanced at by: jeffr

21 years agoLimit our requests to DFLTPHYS, this is generally a good idea for
Poul-Henning Kamp [Fri, 7 Mar 2003 19:09:46 +0000 (19:09 +0000)]
Limit our requests to DFLTPHYS, this is generally a good idea for
memory-allocation purposes.  Right now it is also a very good idea
because we hit a Giant assertion in the free(9) processing if we
free something larger than 64k.

21 years agoFix mixed up arguments passed to a locally defined err(int, char *)
Mike Makonnen [Fri, 7 Mar 2003 16:00:55 +0000 (16:00 +0000)]
Fix mixed up arguments passed to a locally defined err(int, char *)
function.

Approved by: markm (mentor)
Submitted by: till toenges <tt@mail.isis.de>
PR: bin/48963

21 years agoClean up some signed/unsigned issues in the XDR code.
Jacques Vidrine [Fri, 7 Mar 2003 13:19:40 +0000 (13:19 +0000)]
Clean up some signed/unsigned issues in the XDR code.

Obtained from: OpenBSD

21 years agoRemove reference to unavailable paper.
Poul-Henning Kamp [Fri, 7 Mar 2003 09:36:58 +0000 (09:36 +0000)]
Remove reference to unavailable paper.

21 years agoSet f_fstypename in coda_nb_statfs().
Tim J. Robbins [Fri, 7 Mar 2003 09:18:15 +0000 (09:18 +0000)]
Set f_fstypename in coda_nb_statfs().

21 years agoFix a few spelling errors.
Tom Rhodes [Fri, 7 Mar 2003 03:24:38 +0000 (03:24 +0000)]
Fix a few spelling errors.

Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> via -doc.

21 years ago- improve timeout handling in fwmem.c
Hidetoshi Shimokawa [Fri, 7 Mar 2003 02:51:59 +0000 (02:51 +0000)]
- improve timeout handling in fwmem.c
- stop processing of TX db if we reaches the end of active db.

21 years agoNew release notes: TCP compressed TIME_WAIT state [1], XNS support gone.
Bruce A. Mah [Fri, 7 Mar 2003 00:41:42 +0000 (00:41 +0000)]
New release notes:  TCP compressed TIME_WAIT state [1], XNS support gone.

Submitted by: hsu [1]

21 years agoaic79xx.c:
Justin T. Gibbs [Thu, 6 Mar 2003 23:58:34 +0000 (23:58 +0000)]
aic79xx.c:
Include read streaming in the PPR flags we display in diagnostics.

In ahd_reset(), set the known mode after our initial pause prior to
setting the mode. We can't just set the mode directly because the
current mode, after the pause, is most likely unknown and setting the
mode when the saved mode is unknown will trigger an assertion in
the mode debug code.

Complete an audit for SCB RAM reads.  These reads must be performed
via the special ahd_in?_scbram() methods so we can perform a
Rev A. PCI-X workaround.

Remove a superfluous mode save operation that was performed just
prior to a call to ahd_clear_critical_section().  The saved mode
was never restored and wouldn't have been valid anyway since the
mode could change while single stepping out of a critical section.

aic79xx.h:
Add new BUG definition AHD_PCIX_SCBRAM_RD_BUG.

aic79xx_inline.h:
Update ahd_inb_scbram routine to check for AHD_PCIX_SCBRAM_RD_BUG
and only apply the workaround if this bug is active.  The old code
applied the workaround in all cases.

aic79xx_pci.c:
Set AHD_PCIX_SCBRAM_RD_BUG for the A4.

Remove an attempted saved_modes call in ahd_pci_test_register_access().
Saving the modes can only occur when we are paused, but the call was
happening before the chip was known to be paused.  Restoring the
modes doesn't make sense either since the code makes no assumptions
about the state of the sequencer until the first time the mode is set
by the driver.  This happens after the registers are successfully
mapped.

21 years agoSpelling fix: interwining -> intertwining.
Ceri Davies [Thu, 6 Mar 2003 23:55:51 +0000 (23:55 +0000)]
Spelling fix: interwining -> intertwining.

21 years agoWhen the system is panicing, the lock manager grants all lock
Kirk McKusick [Thu, 6 Mar 2003 21:40:07 +0000 (21:40 +0000)]
When the system is panicing, the lock manager grants all lock
requests whether or not the lock is available. To avoid "unlocked
buffer" panics after a crash, we just claim that all buffers
are locked when cleaning up after a system panic.

Reported by: Attila Nagy <bra@fsn.hu>
Sponsored by:   DARPA & NAI Labs.

21 years agoOops, fix the double faults people were seeing with the recent changes to
John Baldwin [Thu, 6 Mar 2003 17:25:06 +0000 (17:25 +0000)]
Oops, fix the double faults people were seeing with the recent changes to
witness.  Sleepable locks such as sx locks always come before all mutexes
including Giant.  However, the static lock order list placed Giant before
the proctree and allproc sx locks.  This resulted in witness creating a
cycle in its lock order "tree" (real trees don't have cycles) leading to
infinite recursion and eventually a double fault.  To fix, put Giant after
sx locks in the lock order list.

21 years agoPrepare for removal of KerberosIV from the tree.
Dag-Erling Smørgrav [Thu, 6 Mar 2003 17:13:18 +0000 (17:13 +0000)]
Prepare for removal of KerberosIV from the tree.

21 years agoAdded FreeBSD 5.0
Wolfram Schneider [Thu, 6 Mar 2003 15:55:47 +0000 (15:55 +0000)]
Added FreeBSD 5.0

21 years agoAdd integer value of _CID handling.
Takanori Watanabe [Thu, 6 Mar 2003 14:40:15 +0000 (14:40 +0000)]
Add integer value of _CID handling.
If _CID is string, it will need more complicated
handling to distinguish bus other than ISA.

Submitted by: Paul Wankadia <junyer@gmx.net>

21 years agoWith CVS_UPDATE, use read-only repository mode by default.
Ruslan Ermilov [Thu, 6 Mar 2003 13:54:31 +0000 (13:54 +0000)]
With CVS_UPDATE, use read-only repository mode by default.

21 years agoUnbreak Kerberos 5 authentication in telnet.
Jacques Vidrine [Thu, 6 Mar 2003 13:41:53 +0000 (13:41 +0000)]
Unbreak Kerberos 5 authentication in telnet.
(Credential forwarding is still broken.)

PR: bin/45397

21 years agoAdd a temporary workaround for a deadlock in Coda venus 5.3.19 that
Tim J. Robbins [Thu, 6 Mar 2003 10:48:03 +0000 (10:48 +0000)]
Add a temporary workaround for a deadlock in Coda venus 5.3.19 that
occurs when mounting the filesystem. The problem is that venus issues
the mount() syscall, which calls vfs_mount(), which calls coda_root()
which attempts to communicate with venus.

21 years agoRemove fragments of support for the FreeBSD 3.x and 4.x branches.
Tim J. Robbins [Thu, 6 Mar 2003 10:38:18 +0000 (10:38 +0000)]
Remove fragments of support for the FreeBSD 3.x and 4.x branches.

21 years agoDon't pick the name out of the devstat member of the ccd softc, it will
Poul-Henning Kamp [Thu, 6 Mar 2003 06:31:49 +0000 (06:31 +0000)]
Don't pick the name out of the devstat member of the ccd softc, it will
disappear soon.  Exporting the softc in the first place is a mistake.