Commit Graph

83794 Commits

Author SHA1 Message Date
Greg Lehey
d54f0880cb revive_block: If we have an I/O error, don't forget to drop the stripe lock.
Approved by:	re (jhb)
2002-12-12 01:03:45 +00:00
Tom Rhodes
1626155b82 Remove the comment about dump(8) not working properly with snapshots.
Discussed with:	mckusick
Approved by:	re (rwatson)
2002-12-12 00:31:45 +00:00
Warner Losh
39a61a1fda o Don't do anything if the interface is already up.
o Only delay in pccard_ether when we're doing dhcp and starting the interface.

Approved: (re blanket for devd)
2002-12-11 23:30:34 +00:00
Warner Losh
549bfb9273 Update to reflect devd.
Approved by: re (blanket)
2002-12-11 23:15:10 +00:00
Warner Losh
b279e597c8 Add a rudimentary man page for /dev/devctl.
Approved by: re (blanket devd)
2002-12-11 23:08:19 +00:00
Bruce A. Mah
e3f2bef730 Note that UFS1 superblock changes may cause compatability problems
with older 4.X (for example, the case of a dual-booting machine).

While here, spell "Soft Updates" consistently (and hopefully
correctly).

Approved by:	re (implicitly)
2002-12-11 23:08:06 +00:00
Eric Moore
d6b32def6c (1) Problem: PANIC when loading/unloading driver
as module. This also fix's issue kern/45713.
Fix - polling was implemented incorrectly for
adapter enquiry and adapter flush.
(2) Problem: PANIC when unloading driver
as module.
Fix - device nodes are not destroyed for amr0,
and amrd* when driver is unloaded
(3) Problem: PANIC from loading driver when
3ware adapter present, error message "Warning
"amrd is usurping twed's bmaj"
Fix - put #idef freebsd version < 500000 for
bmaj -1 -> amrd_cdevsw
(4) Problem: warnings in driver when compiling
with DAMR_DEBUG param enabled in Makefile
Fix - fix the warnings so driver can compile
when -Werror is present in Makefile.

Approved by: jhb
MFC: 7 days
2002-12-11 20:59:46 +00:00
Alexander Kabaev
a5297d2a51 Connect ubsa.4 man page to the build.
Approved by:	re (rwatson)
2002-12-11 19:34:14 +00:00
Takanori Watanabe
c6a78e9840 Add sysctl knob to stop disabling acpi on shutdown.
Approved by: re(jhb)
2002-12-11 18:48:50 +00:00
Poul-Henning Kamp
b6cf3e46b4 When things get bigger than 99GB our fields run over.
Use GB from 100GB and upwards.

Approved by:	re
2002-12-11 17:36:34 +00:00
Ruslan Ermilov
f0fab6045d mdoc(7) police: overhaul.
Approved by:	re
2002-12-11 17:26:53 +00:00
Ruslan Ermilov
749757ed33 mdoc(7) police: overhaul.
Approved by:	re
2002-12-11 17:13:09 +00:00
Ruslan Ermilov
86c8719212 mdoc(7) police: Fixed the declaration of the -column list.
Approved by:	re
2002-12-11 16:59:01 +00:00
Ruslan Ermilov
fc412d1be7 mdoc(7) police: Use the default .Os version.
Approved by:	re
2002-12-11 15:57:40 +00:00
Ruslan Ermilov
051bb54bd3 mdoc(7) police: Added the missing .Os call; it's not strictly
necessary nowadays, but is documented as "required", and may
become so again in the future.

Approved by:	re
2002-12-11 15:55:29 +00:00
Ruslan Ermilov
8306fe90a2 mdoc(7) police: fixed the document date (the current date was used, as
documented in mdoc(7)).

Approved by:	re
2002-12-11 15:37:55 +00:00
Ruslan Ermilov
8416165a24 Fixed the parameter's name.
PR:		docs/46183
Submitted by:	Dirk Gouders <gouders@et.bocholt.fh-ge.de>
Approved by:	re
2002-12-11 14:04:37 +00:00
Chris Costello
28debfb5be Un-break world.
Reported by:	Ray Kohler <ataraxia@cox.net>
Approved by:	re (blanket)
2002-12-11 03:25:35 +00:00
Maxim Sobolev
4ea03b3140 Backout unapproved WARNS level change occasionally slipped into previous
commit.

Big pointy hat to:	sobomax
2002-12-11 01:21:57 +00:00
Maxim Sobolev
f2562be03e - Allow comments to be placed at the end of configuration line.
Sponsored by:   Porta Software Ltd
Approved by:    re
MFC after:      2 weeks
2002-12-11 01:19:56 +00:00
Chris Costello
5e7972fe32 Fix an mdoc error (call .Bd with -literal)
Sponsored by:	DARPA, Network Associates Labs
Approved by:	re (blanket)
2002-12-11 01:10:20 +00:00
Chris Costello
057baf3783 Document the following MAC policies:
o ifoff: Interface silencing policy
o partition: Process partitioning policy

Add associated Makefile entries and man page cross-references.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Labs
Approved by:	re (blanket)
2002-12-11 01:02:26 +00:00
Marcel Moolenaar
6257165c74 Pass the HCDP table address to the kernel. If no such table exists,
NULL is passed. The address of the HCDP table can be found by
iterating over the configuration tables in the EFI system table.
To avoid more duplication, a function can be called with the GUID
of interest. The function will do the scanning. Use the function
in all places where we iterate over the configuration tables in
an attempt to find a specific one.

Bump the loader version number as the result of this.

Approved by: re (blanket)
2002-12-10 20:11:20 +00:00
Bruce A. Mah
e27933a498 Add ${BUILDNAME} and ${TARGET} to the filenames of ISO images
generated during release builds.

For the most part, re@ was doing this manually before putting ISO images
on ftp-master, but not always.  This should make naming more consistent
and descriptive.

Requested by:	jason andrade <jason@dstc.edu.au>, hubs@
Approved by:	re (rwatson)
MFC after:	1 month
2002-12-10 16:35:44 +00:00
Robert Watson
eba0370d90 Default policies to on: if you load them or compile them into your
kernel, you should expect them to do something, so now they do.  This
doesn't affect users who don't load or explicitly compile in the
policies.

Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-10 16:20:34 +00:00
Scott Long
749142ecbf Play nice with GEOM and use the appropriate ioctls for getting the
partition size and sector size.  The old way of groveling through the
disklabel doesn't work anymore.

Noticed by:	anholt
Approved by:	re
2002-12-10 15:52:56 +00:00
Ruslan Ermilov
a2931c092e mdoc(7) police: overhaul.
Approved by:	re
2002-12-10 14:21:55 +00:00
Ruslan Ermilov
49bd9c3e42 mdoc(7) police: nit.
Approved by:	re
2002-12-10 14:20:38 +00:00
Ruslan Ermilov
3dede74761 mdoc(7) police: overhaul (including adoptation to FreeBSD).
Approved by:	re
2002-12-10 14:20:02 +00:00
Martin Blapp
b1c56f9c37 Check if rpcbind is already running and print a warning.
Fixes segfault if rpcbind is started up a second time.

Solution has been taken from mountd(8).

Reviewed by:	phk
Approved by:	re (rwatson)
2002-12-10 08:47:18 +00:00
Marcel Moolenaar
11c419e165 The exit() function has been moved to libefi.c to better deal with
cleaning up after ourselves.

Approved by: re (blankoscheck)
German corrections: Alexander (both :-)
2002-12-10 06:27:32 +00:00
Marcel Moolenaar
155dbcacfb Change the startup code to fix a memory leak and to allow us to
accept load options (=command line options).

The call graph changes from *entry*->efi_main->efi_init, where
efi_main is the EFI equivalent of main to *entry*->efi_main->main,
where main is what you'd expect. efi_main now is what efi_init was.
The prototype of main follows that of C. The first argument is argc
and the second is argv. There is no third argument.
Allocation of heap pages is now handled by the EFI library and it
now deallocates the pages when main() returns or when exit() is
called. This allows us to safely return to the boot manager (or
EFI shell) without leaks. EFI applications are responsible to free
all memory themselves.

Handling of the load options is a bit tricky. There are either no
load options, load options in ASCII or load options in Unicode.
The EFI library will translate the ASCII options to Unicode options
as to simplify user code. Since the load options are passed as a
single string (if present) and main() accepts argc and argv, the
startup code also has to split the string into words and build the
argv vector. Here the trickiness starts. When the loader is started
from the EFI shell, argv[0] will automaticly load the program name.
In all other cases (ie through the boot manager), this is not the
case. Unfortunately, there's no trivial way to check. Hence, a
set of conditions is checked to determine if we need to fill in
argv[0] ourselves or not. This checking is not perfect. There are
known cases where it fails to do the right thing. The logic works
for most expected cases, though. This includes the case where no
options are given.

Approved by: re (blanket)
2002-12-10 06:22:25 +00:00
Marcel Moolenaar
4ee2f7cb16 o Make all GUID variables global to maximize reuse.
o  Recognize the HCDP configuration table.
o  Dump the GUID of tables we don't recognize.

Approved by: re (carte blanche)
2002-12-10 04:55:25 +00:00
Marcel Moolenaar
06657fad9b Build EFI with -fshort-wchar so that L"some string" works with the
EFI has defined CHAR16.
2002-12-10 04:20:15 +00:00
Marcel Moolenaar
aa56e74e06 Remove _putchar, _puts and _puthex. These functions are unused.
Approved by: re (blanket)
2002-12-10 04:14:01 +00:00
Julian Elischer
696058c3c5 Unbreak the KSE code. Keep track of zobie threads using the Per-CPU storage
during the context switch. Rearrange thread cleanups
to avoid problems with Giant. Clean threads when freed or
when recycled.

Approved by:	re (jhb)
2002-12-10 02:33:45 +00:00
Peter Grehan
bdaf0d3b7d Add powerpc.h. Still missing powerpc.[ch] in gprof, but this gets
the MI stuff out of the way.

Approved: re (rwatson)
2002-12-10 02:22:01 +00:00
Chris Costello
17c5113a22 Document the following MAC policies:
o None: Stub policy
o Seeotheruids: The "see processes and sockets owned by other users" policy
o Test: Debugging policy

Standardize the SYNOPSIS and HISTORY sections.

Update SEE ALSO sections.
2002-12-10 00:39:17 +00:00
Benno Rice
894dbc508a Teach lint about powerpc.
Approved by:	re (rwatson)
2002-12-09 23:27:47 +00:00
Robert Watson
9bcce93590 Unhook LOMAC sysinstall twiddle for the time being: mac_lomac requires
the MAC Framework to be compiled into the kernel, and that's not
well-expressed in sysinstall.

Approved by:	re (bmah)
2002-12-09 19:06:43 +00:00
Bruce A. Mah
f2400b0fc3 Move lang/perl5 from the "want to have on disc1" to the "sysinstall
requires on disc1" part of the package split list, to track the
Perl support in sysinstall.  Essentially a cosmetic change.

Approved by:	re
2002-12-09 16:55:25 +00:00
Murray Stokely
9314e0a12e Only create the DRIVERS.TXT file on i386 for now.
Approved by:	re
2002-12-09 16:42:23 +00:00
Murray Stokely
fdd57f1a0c Create DRIVERS.TXT file to describe the contents of drivers.flp.
Approved by:	re
2002-12-09 16:14:46 +00:00
Murray Stokely
be4526b68f Add a script to create a manifest of the drivers.flp disk. This
generates a file which will be installed as DRIVERS.TXT in the
floppies directory so that users know which device drivers are
included on drivers.flp, and whether or not they need to worry about
it.

Reviewed by:	ru
Approved by:	re
2002-12-09 16:13:37 +00:00
Murray Stokely
9fe47a01b9 Note that users may need the third drivers.flp image to complete an
installation.

Approved by:	re (bmah)
2002-12-09 16:11:56 +00:00
Ruslan Ermilov
cdd53b1589 mdoc(7) police: overhaul.
Reviewed by:	re
2002-12-09 14:29:34 +00:00
Ruslan Ermilov
a9a15f3ea4 mdoc(7) police: tiny nits.
Approved by:	re
2002-12-09 14:11:37 +00:00
Ruslan Ermilov
fd779e0181 mdoc(7) police: tiny nits.
Approved by:	re
2002-12-09 14:04:05 +00:00
Ruslan Ermilov
187f61df61 mdoc(7) police: overhaul.
Approved by:	re
2002-12-09 13:54:29 +00:00
Ruslan Ermilov
142de08d3a mdoc(7) police: nits.
Approved by:	re
2002-12-09 13:14:15 +00:00