]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoRemove single-space hard sentence breaks. These degrade the quality
Sheldon Hearn [Wed, 1 Mar 2000 12:20:22 +0000 (12:20 +0000)]
Remove single-space hard sentence breaks.  These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.

24 years agoRemove single-space hard sentence breaks. These degrade the quality
Sheldon Hearn [Wed, 1 Mar 2000 11:34:08 +0000 (11:34 +0000)]
Remove single-space hard sentence breaks.  These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.

24 years agoRemove single-space hard sentence breaks. These degrade the quality
Sheldon Hearn [Wed, 1 Mar 2000 11:27:47 +0000 (11:27 +0000)]
Remove single-space hard sentence breaks.  These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.

24 years agoFix errors in .Xr usage.
Nik Clayton [Wed, 1 Mar 2000 10:48:35 +0000 (10:48 +0000)]
Fix errors in .Xr usage.

PR:             docs/17057
Submitted by:   Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>

24 years agos/curses/ncurses/
Nik Clayton [Wed, 1 Mar 2000 10:46:05 +0000 (10:46 +0000)]
s/curses/ncurses/

PR:             docs/17061
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>

24 years agoRemove reference to nwfsrc(8), replace with reference to
Nik Clayton [Wed, 1 Mar 2000 10:43:11 +0000 (10:43 +0000)]
Remove reference to nwfsrc(8), replace with reference to
/usr/share/examples/nwclient/dot.nwfsrc.

PR:             docs/17059
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>

24 years agoRemove single-space hard sentence breaks. These degrade the quality
Sheldon Hearn [Wed, 1 Mar 2000 10:43:09 +0000 (10:43 +0000)]
Remove single-space hard sentence breaks.  These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.

24 years agoRemove xrefs to obsolete bad144(8).
Nik Clayton [Wed, 1 Mar 2000 10:42:25 +0000 (10:42 +0000)]
Remove xrefs to obsolete bad144(8).

PR:             docs/17060
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>

24 years agoRemove xrefs to obosolete cdplay(1)
Nik Clayton [Wed, 1 Mar 2000 10:41:13 +0000 (10:41 +0000)]
Remove xrefs to obosolete cdplay(1)

PR:             docs/17079
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>

24 years agoRemove xrefs to obsolete ft driver.
Nik Clayton [Wed, 1 Mar 2000 10:40:18 +0000 (10:40 +0000)]
Remove xrefs to obsolete ft driver.

PR:             docs/17080
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>

24 years agoRemove xrefs to st(4) and mt(4), replace with xrefs to sa(4) and st(4).
Nik Clayton [Wed, 1 Mar 2000 10:39:07 +0000 (10:39 +0000)]
Remove xrefs to st(4) and mt(4), replace with xrefs to sa(4) and st(4).

PR:             docs/17081
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>

24 years agoMerged from sys/i386/isa/isa_compat.h revision 1.27.
KATO Takenori [Wed, 1 Mar 2000 08:56:47 +0000 (08:56 +0000)]
Merged from sys/i386/isa/isa_compat.h revision 1.27.

24 years agoMerged from sys/i386/i386/userconfig.c revision 1.174.
KATO Takenori [Wed, 1 Mar 2000 08:55:23 +0000 (08:55 +0000)]
Merged from sys/i386/i386/userconfig.c revision 1.174.

24 years agoMerged from sys/i386/i386/machdep.c revisions 1.384 and 1.385.
KATO Takenori [Wed, 1 Mar 2000 08:53:59 +0000 (08:53 +0000)]
Merged from sys/i386/i386/machdep.c revisions 1.384 and 1.385.

24 years agoMerged from sys/i386/conf/GENERIC revisions 1.243, 1.244 and 1.245.
KATO Takenori [Wed, 1 Mar 2000 08:52:28 +0000 (08:52 +0000)]
Merged from sys/i386/conf/GENERIC revisions 1.243, 1.244 and 1.245.

24 years agoMerged from files.i386 rev 1.307.
KATO Takenori [Wed, 1 Mar 2000 08:50:05 +0000 (08:50 +0000)]
Merged from files.i386 rev 1.307.

24 years agoClarify the facility used for logging with and without the wrapping
Sheldon Hearn [Wed, 1 Mar 2000 08:20:17 +0000 (08:20 +0000)]
Clarify the facility used for logging with and without the wrapping
options.

PR: 17017
Submitted by: Doug Barton <Doug@gorean.org>

24 years agoDisconnect pcfclock from the build until it works on the Alpha.
Sheldon Hearn [Wed, 1 Mar 2000 07:42:09 +0000 (07:42 +0000)]
Disconnect pcfclock from the build until it works on the Alpha.

24 years agoUpdate man page to match the driver.
Søren Schmidt [Wed, 1 Mar 2000 07:28:51 +0000 (07:28 +0000)]
Update man page to match the driver.

24 years agoSet default revive block size to 64 kB.
Greg Lehey [Wed, 1 Mar 2000 07:25:46 +0000 (07:25 +0000)]
Set default revive block size to 64 kB.

Implicitly-sanctioned-by: jkh

24 years agoTidy up splbio() protection.
Greg Lehey [Wed, 1 Mar 2000 07:25:07 +0000 (07:25 +0000)]
Tidy up splbio() protection.

Tidy up locking.  Previously we were taking two locks for a parity
block, and only releasing one of them.

Implicitly-sanctioned-by: jkh

24 years agovinumstrategy: Don't count the read and written bytes before they're
Greg Lehey [Wed, 1 Mar 2000 07:24:26 +0000 (07:24 +0000)]
vinumstrategy: Don't count the read and written bytes before they're
transferred, do it in complete_rqe instead.

launch_requests: Replace the inadvertently removed splbio() around the
                 main loop.  It may not be necessary, but the biggest
                 test of this stuff are IDE disks, which I'm not
                 using.

                 Remove throttling code, I'm pretty sure it's not
                 needed any more.

 Don't set B_ORDERED, it's not necessary either.

Objected-to-by: alfred
build_rq_buffer: Don't lose the B_ORDERED bit, it still has some
 residual meaning.  To do this right, Vinum needs to
 look at the B_ORDERED bit and order the transfer
 across all disks involved.  That's an exercise for
 another day.

Objected-to-by: alfred
Implicitly-sanctioned-by: jkh

24 years agoAdd keywords raid4 and partition.
Greg Lehey [Wed, 1 Mar 2000 07:23:40 +0000 (07:23 +0000)]
Add keywords raid4 and partition.

Implicitly-sanctioned-by: jkh

24 years agocomplete_rqe: Handle volume read stats here with other objects.
Greg Lehey [Wed, 1 Mar 2000 07:23:13 +0000 (07:23 +0000)]
complete_rqe: Handle volume read stats here with other objects.
Previously vinumstrategy counted the bytes before they were hatched,
giving rise to strangenesses when a read failed.

Implicitly-sanctioned-by: jkh

24 years agoRemove description of defunct DEBUG_NUMOUTPUT by commenting out.
Greg Lehey [Wed, 1 Mar 2000 07:22:10 +0000 (07:22 +0000)]
Remove description of defunct DEBUG_NUMOUTPUT by commenting out.

Describe stop -f to stop when config updates are disabled.

Explain in more detail why Vinum needs its own partition type, and why
you can't make it the c partition.

Implicitly-sanctioned-by: jkh

24 years agoAdd declaration for parityops.
Greg Lehey [Wed, 1 Mar 2000 07:21:21 +0000 (07:21 +0000)]
Add declaration for parityops.

Implicitly-sanctioned-by: jkh

24 years agoIncrease the time we'll wait for a reviving disk to carry on and not
Greg Lehey [Wed, 1 Mar 2000 07:20:32 +0000 (07:20 +0000)]
Increase the time we'll wait for a reviving disk to carry on and not
be marked as stalled, from 1 second to 5 seconds.

Implicitly-sanctioned-by: jkh

24 years agoImplement vinum_rebuildparity, which had got forgotten. In the
Greg Lehey [Wed, 1 Mar 2000 07:19:33 +0000 (07:19 +0000)]
Implement vinum_rebuildparity, which had got forgotten.  In the
process, move the body of vinum_rebuildparity and vinum_checkparity to
a new function, parityops.

Implicitly-sanctioned-by: jkh

24 years agoAfter Bruce kindly explained the whole groff "sentence" idea to me, I've
Brian Feldman [Wed, 1 Mar 2000 05:28:45 +0000 (05:28 +0000)]
After Bruce kindly explained the whole groff "sentence" idea to me, I've
put the whitespace in the right place.

24 years agoThe "sdl_family" field in a "struct sockaddr_dl" will be equal
Archie Cobbs [Wed, 1 Mar 2000 02:46:25 +0000 (02:46 +0000)]
The "sdl_family" field in a "struct sockaddr_dl" will be equal
to AF_LINK, not AF_DLI, as stated in the comment. Fix the comment.

Reviewed by: wollman

24 years ago1) Merge some text in from recent KAME distributions concerning
Gregory Sutter [Wed, 1 Mar 2000 02:37:46 +0000 (02:37 +0000)]
1) Merge some text in from recent KAME distributions concerning
the syntax of scoped addresses.

2) Fix typos and grammatical nitpicks.

PR: 17082
Submitted by: Bruce A. Mah <bmah@eisenhower.ca.sandia.gov>

24 years agoFix a superuser credential check.
Brian S. Dean [Tue, 29 Feb 2000 22:58:59 +0000 (22:58 +0000)]
Fix a superuser credential check.

Reviewed by: phk
Approved by: jkh

24 years agoAdd DVD-RAM support.
Søren Schmidt [Tue, 29 Feb 2000 22:00:53 +0000 (22:00 +0000)]
Add DVD-RAM support.

The driver constructs a fake disklabel that makes the 'a' partition
cover the entire DVD-RAM disk. This cannot be changed from the user
side. This solution was chosen because most DVD-RAM will have a
UDF (or until we have that CD9660) filesystem on it covering the
entire disk, its not really thought as a real random access device.

This might change over time, but for now this is what we have, and
it is compatible with CDROM's etc, that makes using the minidisk
subsystem less than ideal, because of !modulo BDEV_SIZE blocks.

24 years agoEnable connection logging. FreeBSD's libwrap is IPv6 ready.
Hajimu UMEMOTO [Tue, 29 Feb 2000 19:37:04 +0000 (19:37 +0000)]
Enable connection logging.  FreeBSD's libwrap is IPv6 ready.
OpenSSH is in our source tree, now.  It's a time to enable it.

Reviewed by: markm, shin
Approved by: jkh

24 years agoAdd a little more history of when netgraph appeared in FreeBSD.
Bill Fumerola [Tue, 29 Feb 2000 18:32:26 +0000 (18:32 +0000)]
Add a little more history of when netgraph appeared in FreeBSD.

Reviewed by: asmodai

24 years agoFix panic when doing keep-state and "forward".
Luigi Rizzo [Tue, 29 Feb 2000 17:51:25 +0000 (17:51 +0000)]
Fix panic when doing keep-state and "forward".
Removed a redundant check.
Also move check for expired rules before using them.
Sorry for the whitespace changes.

Approved-by: jordan
24 years agoRemove broken hard sentence breaks, which mess up the typeset output.
Sheldon Hearn [Tue, 29 Feb 2000 17:36:44 +0000 (17:36 +0000)]
Remove broken hard sentence breaks, which mess up the typeset output.

24 years agoOnly read user data when blocksize != 2048, this "read the works"
Søren Schmidt [Tue, 29 Feb 2000 16:11:18 +0000 (16:11 +0000)]
Only read user data when blocksize != 2048, this "read the works"
sneaked in sometime which is not what the average user wants.

24 years agoAdd cross references to pkg_version(1) in all the other pkg_* man pages.
John Baldwin [Tue, 29 Feb 2000 15:13:55 +0000 (15:13 +0000)]
Add cross references to pkg_version(1) in all the other pkg_* man pages.
Also, add a cross reference to pkg_info(1) in pkg_version(1).  Finally,
in pkg_version(1), don't put a period at the end of the list of see also
man pages.

Noticed by: Matt Ayres <matta@fast.net>

24 years agocosmetic fix - add a space.
Jordan K. Hubbard [Tue, 29 Feb 2000 12:53:28 +0000 (12:53 +0000)]
cosmetic fix - add a space.

24 years agoTargets and macros for "make release".
Mark Murray [Tue, 29 Feb 2000 11:59:35 +0000 (11:59 +0000)]
Targets and macros for "make release".

24 years agoUpdate DISTRIBUTION for new crypto world order.
Mark Murray [Tue, 29 Feb 2000 11:45:48 +0000 (11:45 +0000)]
Update DISTRIBUTION for new crypto world order.

24 years agoUpdate DISTRIBUTION for new crypto world order
Mark Murray [Tue, 29 Feb 2000 11:44:18 +0000 (11:44 +0000)]
Update DISTRIBUTION for new crypto world order

24 years agoChange DISTRIBUTION to match new world order.
Mark Murray [Tue, 29 Feb 2000 11:40:57 +0000 (11:40 +0000)]
Change DISTRIBUTION to match new world order.

24 years agoChange DISTRIBUTION name to match reality.
Mark Murray [Tue, 29 Feb 2000 11:39:24 +0000 (11:39 +0000)]
Change DISTRIBUTION name to match reality.

24 years agorelease glue to support s/des/crypto/
Jordan K. Hubbard [Tue, 29 Feb 2000 11:26:24 +0000 (11:26 +0000)]
release glue to support s/des/crypto/

Submitted by: markm

24 years agoEnable pcfclock as a kernel loadable module.
Sheldon Hearn [Tue, 29 Feb 2000 10:57:42 +0000 (10:57 +0000)]
Enable pcfclock as a kernel loadable module.

PR: 16804
Submitted by: sascha@schumann.cx
Approved by: jkh (release engineer)

24 years agoUpdate release notes to current reality.
Jordan K. Hubbard [Tue, 29 Feb 2000 10:54:54 +0000 (10:54 +0000)]
Update release notes to current reality.

24 years agoUpdate install docs to match current reality.
Jordan K. Hubbard [Tue, 29 Feb 2000 10:53:10 +0000 (10:53 +0000)]
Update install docs to match current reality.

24 years agoo Add support for loading the rsaref or rsaintl packages, depending
Jordan K. Hubbard [Tue, 29 Feb 2000 10:40:59 +0000 (10:40 +0000)]
o Add support for loading the rsaref or rsaintl packages, depending
   on locale.

o Allow use of "G" in label editor to stand for gigabytes. This
  is actually an unrelated patch which I meant to commit separately
  but what the heck, it's late.

Partially submitted by: phk

24 years ago'driver support' -> 'driver supports'
Bill Fumerola [Tue, 29 Feb 2000 10:02:29 +0000 (10:02 +0000)]
'driver support' -> 'driver supports'

24 years agoMFI: stupid typo of mine.
Mark Murray [Tue, 29 Feb 2000 09:56:11 +0000 (09:56 +0000)]
MFI: stupid typo of mine.

24 years agoIf a driver probe fails, unset it from the device. This fixes a problem
Doug Rabson [Tue, 29 Feb 2000 09:36:25 +0000 (09:36 +0000)]
If a driver probe fails, unset it from the device. This fixes a problem
with certain multiport cards.

Approved by: jkh

24 years agoRevise this for the brave new world of "crypto"
Jordan K. Hubbard [Tue, 29 Feb 2000 09:09:36 +0000 (09:09 +0000)]
Revise this for the brave new world of "crypto"

Submitted by: markm
Approved by: me!

24 years ago* Fix the memory probing code so that it sees all memory clusters, not
Doug Rabson [Tue, 29 Feb 2000 08:48:10 +0000 (08:48 +0000)]
* Fix the memory probing code so that it sees all memory clusters, not
  just the first one.
* Don't reserve extra memory for the prom console unless the platform
  actually uses it.
* Fix some historical confusion and a minor bug in the message buffer
  initialisation.

Submitted by: gallatin for the prom console part
Approved by: jkh

24 years agoAdd the new ses example code directories, unbreak world.
Bill Fumerola [Tue, 29 Feb 2000 08:45:22 +0000 (08:45 +0000)]
Add the new ses example code directories, unbreak world.

Submitted by: cpiazza, who...
Actually tested: make world
Desired by: jkh, mjacob

24 years agoFix a nit in my previous commit: make SIGHUP and SIGCHLD restartable
Joerg Wunsch [Tue, 29 Feb 2000 08:02:29 +0000 (08:02 +0000)]
Fix a nit in my previous commit: make SIGHUP and SIGCHLD restartable
as they ought to be.  The description of SA_RESTART was a little
unobvious to me in the man page, so i missed it.  Thanks to Bruce for
spotting this.

Submitted by: bde

24 years agoAdd definitions for vinum_raid[45] and checkupdates.
Greg Lehey [Tue, 29 Feb 2000 06:22:09 +0000 (06:22 +0000)]
Add definitions for vinum_raid[45] and checkupdates.

Approved-by: jkh
24 years agoDon't print any error message if we can't open the history file. This
Greg Lehey [Tue, 29 Feb 2000 06:21:38 +0000 (06:21 +0000)]
Don't print any error message if we can't open the history file.  This
replaces an older attempt to silence vinum(8) when started in
single-user mode.

Add entries for vinum_raid[45].

Replace the preprocessor variable name CDEV_MAJOR with
VINUM_CDEV_MAJOR.

continue_revive: Set the proc title to 'reviving <sdname>' so that it
can be recognized in a ps list.

Approved-by: jkh
24 years agovinum_ldi: Honour the 'recurse' flag and show the subdisks on this
Greg Lehey [Tue, 29 Feb 2000 06:20:57 +0000 (06:20 +0000)]
vinum_ldi: Honour the 'recurse' flag and show the subdisks on this
drive if it is set.

vinum_lvi: Change line spacing.  This is still not right.

Change checks for striped or RAID-5 plexes to a macro 'isstriped',
which now also includes RAID-4.

Change checks for RAID-5 plexes to a macro 'isparity', which now also
includes RAID-4.

vinum_lsi: If the subdisk is initializing or reviving, don't wait a
whole second to check whether it's advancing; wait in increments of 50
ms up to 1 second.  This makes for a barely perceptible delay.

Approved-by: jkh
24 years agoNew function checkupdates: check whether configuration updates are
Greg Lehey [Tue, 29 Feb 2000 06:19:42 +0000 (06:19 +0000)]
New function checkupdates: check whether configuration updates are
enabled and print a warning message in varous places if they are not.

Fix typos in comments.

Change some indents to approach style(9).

initvol: If init fails, place the subdisks in a "down" state.

vinum_start(): If we're starting a plex, try doing it directly.  It's
possible that the state of the plex differs from that of the subdisks,
for example if somebody has used 'setupstate'.

New functions vinum_raid4 and vinum_raid5 to create RAID-4 and RAID-5
volumes, analagous to vinum_mirror and vinum_stripe.

vinum_checkparity: Don't try to check the parity of a non-parity plex,
print a rude remark instead.

Approved-by: jkh
24 years agoDocument NODESCRYPTLINKS
Kris Kennaway [Tue, 29 Feb 2000 06:17:33 +0000 (06:17 +0000)]
Document NODESCRYPTLINKS

24 years agoReplace the preprocessor variable names BDEV_MAJOR and CDEV_MAJOR with
Greg Lehey [Tue, 29 Feb 2000 06:17:26 +0000 (06:17 +0000)]
Replace the preprocessor variable names BDEV_MAJOR and CDEV_MAJOR with
VINUM_BDEV_MAJOR and VINUM_CDEV_MAJOR respectively.

Set DRIVE_MAXACTIVE and VINUM_MAXACTIVE to 30000, effectively
disabling the request limitation code.  This code was added as an
attempt to escape from a bug which seems to have gone away, and it's
very likely I'll remove the code Real Soon Now, but I don't want to do
it just yet.

struct drive: Remove references to vnode pointers, including debug
output.  Vinum now talks directly to the device driver.  Instead, add
a dev_t.

enum plexorg: Add an instance for RAID-4.

Change checks for striped or RAID-5 plexes to a macro 'isstriped',
which now also includes RAID-4.

Change checks for RAID-5 plexes to a macro 'isparity', which now also
includes RAID-4.

Approved-by: jkh
24 years agoplex_org: Add case for RAID-4.
Greg Lehey [Tue, 29 Feb 2000 06:16:44 +0000 (06:16 +0000)]
plex_org: Add case for RAID-4.

Approved-by: jkh
24 years agoset_drive_state: update subdisk states more correctly.
Greg Lehey [Tue, 29 Feb 2000 06:16:06 +0000 (06:16 +0000)]
set_drive_state: update subdisk states more correctly.

set_sd_state: update the state of a subdisk in a multi-plex volume
more correctly.

update_plex_state: Bring the plex up correctly when the last subdisk
comes up.

checksdstate: Update comments.

vpstate: Don't return an "up" state on a degraded, unattached plex.

start_object: Return a sensible error message when trying to revive a
subdisk whose drive is down.  Previously it returned EBUSY.

Approved-by: jkh
24 years agoFix horrible, embarrassing breakage which caused occasional panics and
Greg Lehey [Tue, 29 Feb 2000 06:15:26 +0000 (06:15 +0000)]
Fix horrible, embarrassing breakage which caused occasional panics and
data corruption.  It's a wonder it worked at all.

Led-on-the-right-path-by: dillon
revive_block: Add treatment for RAID-4.

Add function parityrebuild, called by revive_block and parityops.

Approved-by: jkh
24 years agolaunch_requests: If too many requests are active, include PCATCH in
Greg Lehey [Tue, 29 Feb 2000 06:14:44 +0000 (06:14 +0000)]
launch_requests: If too many requests are active, include PCATCH in
the tsleep call flags.

Submitted-by: Bernd Walter <ticso@cicely.de>
Remove references to vnode pointers, including debug output.  Vinum
now talks directly to the device driver.

bre: Add case for RAID-4.

sdio: Don't try to write to a down drive.  Set the sd state instead.

Approved-by: jkh
24 years agoAdd support for RAID-4. This is the only change which is needed for
Greg Lehey [Tue, 29 Feb 2000 06:14:06 +0000 (06:14 +0000)]
Add support for RAID-4.  This is the only change which is needed for
RAID-4 support: the rest is just configuration management.

Requested-by: peter
Approved-by: jkh

24 years agoMalloc: Save the caller's file name in the correct entry.
Greg Lehey [Tue, 29 Feb 2000 06:13:24 +0000 (06:13 +0000)]
Malloc: Save the caller's file name in the correct entry.

24 years agoAdd keywords 'partition' and 'raid4'.
Greg Lehey [Tue, 29 Feb 2000 06:13:02 +0000 (06:13 +0000)]
Add keywords 'partition' and 'raid4'.

Approved-by: jkh
24 years agoModify comments to indicate that RAID-5 functions also apply to
Greg Lehey [Tue, 29 Feb 2000 06:12:34 +0000 (06:12 +0000)]
Modify comments to indicate that RAID-5 functions also apply to
RAID-4.

Approved-by: jkh
24 years agoopen_drive: open drives directly rather than going via namei and
Greg Lehey [Tue, 29 Feb 2000 06:11:13 +0000 (06:11 +0000)]
open_drive: open drives directly rather than going via namei and
vn_open.  This is necessary in order to be able to open drives before
the root file system is mounted.  This also involves restructuring the
drive struct, which no longer contains a vnode pointer.  Instead,
open_drive sets an open flag.  It's a horrible kludge, and I'll gladly
borrow a Danish axe and hack it in little pieces when devfs comes.

read_drive, write_drive, drive_io_done: Replace with driveio.  The
function names are now macros.

driveio: Fix horrible, embarrassing breakage which was the reason why
read_drive and write_drive existed in the first place.

Code-torn-to-shreds-by: dillon
format_config: Don't save config of objects in referenced state.  They
get rebuilt automatically.

Change checks for striped or RAID-5 plexes to a macro 'isstriped',
which now also includes RAID-4.

Change checks for RAID-5 plexes to a macro 'isparity', which now also
includes RAID-4.

Replace the preprocessor variable names BDEV_MAJOR and CDEV_MAJOR with
VINUM_BDEV_MAJOR and VINUM_CDEV_MAJOR respectively.

vinum_scandisk: Don't free memory twice on error, once is enough.

Approved-by: jkh
24 years agoRemove references to vnode pointers, including debug output. Vinum
Greg Lehey [Tue, 29 Feb 2000 06:10:21 +0000 (06:10 +0000)]
Remove references to vnode pointers, including debug output.  Vinum
now talks directly to the device driver.

Approved-by: jkh
24 years agoRemove declarations of read_drive and write_drive and replace them
Greg Lehey [Tue, 29 Feb 2000 06:09:41 +0000 (06:09 +0000)]
Remove declarations of read_drive and write_drive and replace them
with macros.

Add declaration for parityrebuild, a new function.

Approved-by: jkh
24 years agoAdd support for RAID-4, even though it is inferior in almost every way
Greg Lehey [Tue, 29 Feb 2000 06:08:33 +0000 (06:08 +0000)]
Add support for RAID-4, even though it is inferior in almost every way
to RAID-5.  peter claims that it might be faster for sequential
reading, since the drive caches don't trip over the parity blocks.  I
have seen no evidence to support this, but it's a trivial change.

Requested-by: peter

Change checks for striped or RAID-5 plexes to a macro 'isstriped',
which now also includes RAID-4.

Change checks for RAID-5 plexes to a macro 'isparity', which now also
includes RAID-4.

atoi(): Remove, nobody was talking to it.

give_sd_to_drive: If no space is available, make the subdisk down,
don't delete it.

Change the manner in which the subdisk count was maintained to avoid
cases where the count was not adjusted correctly.

config_drive: Check if we have subdisks referencing us, and add them
if so.  This fixes problems which arose when a drive is replaced in a
running system.

config_sd: Add support for a keyword 'partition', whose meaning will
   be revealed in the fullness of time.

Cosmetic: Shorten some console messages.

Approved-by: jkh
24 years agoChange the startup sequence of the vinum volume from SI_SUB_DRIVERS
Greg Lehey [Tue, 29 Feb 2000 06:07:39 +0000 (06:07 +0000)]
Change the startup sequence of the vinum volume from SI_SUB_DRIVERS
to SI_SUB_VINUM, thus making it possible for Vinum to access I/O
devices and start.

Replace the preprocessor variable names BDEV_MAJOR and CDEV_MAJOR with
VINUM_BDEV_MAJOR and VINUM_CDEV_MAJOR respectively.

Style fixes: replace NULL with 0 where appropriate.

Submitted-by: Charlie Root <root@sms-1.follo.net> (yup, that's all I
      have to go on).

Approved-by: jkh

24 years agoCosmetic changes.
Greg Lehey [Tue, 29 Feb 2000 06:07:01 +0000 (06:07 +0000)]
Cosmetic changes.

Approved-by: jkh

24 years agoAdd in mailbox return codes for failed fabric logins (port_id_used,
Matt Jacob [Tue, 29 Feb 2000 05:54:48 +0000 (05:54 +0000)]
Add in mailbox return codes for failed fabric logins (port_id_used,
loop_id_used, etc...)

Do a more precise structure for Get All Next name server responses.

Approved: jkh

24 years agoMinor non-FreeBSD changes (keeping source sync'd).
Matt Jacob [Tue, 29 Feb 2000 05:53:41 +0000 (05:53 +0000)]
Minor non-FreeBSD changes (keeping source sync'd).
Approved: jkh

24 years agoPrettier print of fabric devices being attached- say what kind of
Matt Jacob [Tue, 29 Feb 2000 05:53:10 +0000 (05:53 +0000)]
Prettier print of fabric devices being attached- say what kind of
port they are (e.g., F_Port vs. N_Port).

Approved: jkh

24 years agoSlightly cleaner fabric support (whiter whites! redder reds!).. No,
Matt Jacob [Tue, 29 Feb 2000 05:52:14 +0000 (05:52 +0000)]
Slightly cleaner fabric support (whiter whites! redder reds!).. No,
seriously- only attempt to logout a previously logged in fabric device.

Fix a longstanding bug for aborting overtime commands- handle halves
have always been reversed.

Clean up some error messages to indicate channel number.

Approved:jkh

24 years agoClean up defines for correct 12160/1080 exclusion. Final 4.0.
Matt Jacob [Tue, 29 Feb 2000 05:48:46 +0000 (05:48 +0000)]
Clean up defines for correct 12160/1080 exclusion. Final 4.0.
approved: JKH

24 years agoAdd NODESCRYPTLINKS knob to prevent spamming of libcrypt -> libscrypt
Kris Kennaway [Tue, 29 Feb 2000 05:47:52 +0000 (05:47 +0000)]
Add NODESCRYPTLINKS knob to prevent spamming of libcrypt -> libscrypt
symlinks. The name is against my better judgement, but I defer to ancient
tradition here because I'm a nice guy.

Reviewed by: -current

24 years agoSome minor fixing - final for 4.0. Debugging messages toned down a bit.
Matt Jacob [Tue, 29 Feb 2000 05:45:50 +0000 (05:45 +0000)]
Some minor fixing - final for 4.0. Debugging messages toned down a bit.
Approved: jkh

24 years agoUpdate SES userland examples to something out of the toy stage.
Matt Jacob [Tue, 29 Feb 2000 05:44:19 +0000 (05:44 +0000)]
Update SES userland examples to something out of the toy stage.
Approved: jkh

24 years agoAdd SI_SUB_VINUM startup sequence for Vinum. This is part of Vinum
Greg Lehey [Tue, 29 Feb 2000 01:57:33 +0000 (01:57 +0000)]
Add SI_SUB_VINUM startup sequence for Vinum.  This is part of Vinum
root file system support.

Approved-by:  jkh

24 years agocorrect wording in BUGS section; it's not possible to dismount swap
Gregory Sutter [Mon, 28 Feb 2000 21:29:37 +0000 (21:29 +0000)]
correct wording in BUGS section; it's not possible to dismount swap
devices, but it's certainly possible to make use of them.

PR: 17013
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>

24 years agounderline "pattern" in the synopsis.
Gregory Sutter [Mon, 28 Feb 2000 21:23:27 +0000 (21:23 +0000)]
underline "pattern" in the synopsis.

PR: 17042
Submitted by: Edwin Groothuis <mavetju@chello.nl>

24 years agoLimit the maximum permissible TCP window size to 65535 octets if
Paul Saab [Mon, 28 Feb 2000 21:18:21 +0000 (21:18 +0000)]
Limit the maximum permissible TCP window size to 65535 octets if
window scaling is disabled.

PR: kern/16914
Submitted by: Jayanth Vijayaraghavan <jayanth@yahoo-inc.com>
Reviewed by: wollman
Approved by: jkh

24 years agoA lot of tools need to be built before compilation proper can happen.
Mark Murray [Mon, 28 Feb 2000 21:04:38 +0000 (21:04 +0000)]
A lot of tools need to be built before compilation proper can happen.

24 years agoDon't try to build k5 PAM; it ain't ready yet.
Mark Murray [Mon, 28 Feb 2000 21:00:50 +0000 (21:00 +0000)]
Don't try to build k5 PAM; it ain't ready yet.

24 years agoYesterday I had to fix a badly broken disk, and found that fsck kept dying:
Kirk McKusick [Mon, 28 Feb 2000 20:02:41 +0000 (20:02 +0000)]
Yesterday I had to fix a badly broken disk, and found that fsck kept dying:

  DIR I=64512 CONNECTED. PARENT WAS I=4032
  fsck: cannot find inode 995904

fsdb found the inodes with no problem:

  fsdb (inum: 64512)> inode 995904
  current inode: directory
  I=995904 MODE=40777 SIZE=512
        MTIME=Feb 14 15:27:07 2000 [0 nsec]
        CTIME=Feb 14 15:27:07 2000 [0 nsec]
        ATIME=Feb 24 10:31:58 2000 [0 nsec]
  OWNER=nobody GRP=nobody LINKCNT=4 FLAGS=0 BLKCNT=2 GEN=38a41386
  Direct blocks: 8094568 0 0 0 0 0 0 0 0 0 0 0
  Indirect blocks:  0 0 0

The problem turns out to be a program logic error in fsck.  It stores
directory inodes internally in hash lists, using the number of
directories to form the hash key:

        inpp = &inphead[inumber % numdirs];

Elsewhere, however, it increments numdirs when it finds unattached
directories.  I've made the following fix, which solved the problem in
the case in hand.

Submitted by: Greg Lehey <grog@lemis.com>
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
Approved by: Kirk McKusick <mckusick@mckusick.com>

24 years agoGet the order of things right; the keys need to be generated
Mark Murray [Mon, 28 Feb 2000 19:54:06 +0000 (19:54 +0000)]
Get the order of things right; the keys need to be generated
early to allow entropy to replenish.
sshd must start late to catch the full effects of ldconfig.

24 years agoReset the hardware debug registers when exec'ing a new image.
Brian S. Dean [Mon, 28 Feb 2000 19:48:51 +0000 (19:48 +0000)]
Reset the hardware debug registers when exec'ing a new image.

Reviewed by: bde,jlemon
Approved by: jkh

24 years agoThis fixes a problem where the SIOCGIFCONF ioctl goes wrong. This
Guido van Rooij [Mon, 28 Feb 2000 19:30:25 +0000 (19:30 +0000)]
This fixes a problem where the SIOCGIFCONF ioctl goes wrong.  This
is triggered when qmail is used with INET6 enabled.  The bug
manifests itself in that the space variable can become negative
and that in the comparison in the guards of the 2 loops, this was
not noticed because sizeof() returns an unsigned and thus the signed
variable gets promoted to unsigned. I decided not to make space
unsigned because I think we should guard against this from happening.
Thus panic() in case space becomes negative.

Approved by: jkh

24 years agoNew distribution names.
Mark Murray [Mon, 28 Feb 2000 19:25:34 +0000 (19:25 +0000)]
New distribution names.

24 years agoNew distribution name.
Mark Murray [Mon, 28 Feb 2000 19:24:33 +0000 (19:24 +0000)]
New distribution name.

24 years agoGenerate new sshd host key when necessary. I'm tired of
Jordan K. Hubbard [Mon, 28 Feb 2000 19:21:05 +0000 (19:21 +0000)]
Generate new sshd host key when necessary.  I'm tired of
waiting for someone to commit this. :)

24 years agoRemove largescale evidence of crack-smoking.
Mark Murray [Mon, 28 Feb 2000 19:15:32 +0000 (19:15 +0000)]
Remove largescale evidence of crack-smoking.

Where a k4 applet has a k5 namesake, rename the k5 version
from k<app> to k5<app>. (Repo copy done).

Do some repairs to dependancies to support make world properly.

24 years ago1) Add kerberos5 functionality.
Mark Murray [Mon, 28 Feb 2000 19:03:50 +0000 (19:03 +0000)]
1) Add kerberos5 functionality.
   by Daniel Kouril <kouril@informatics.muni.cz>
2) Add full LOGIN_CAP capability
   by Andrey Chernov