Commit Graph

213240 Commits

Author SHA1 Message Date
christos
0ac85cc05d - fix manet alias to MANET; giving an alias with the same name is a no/op
- protocol 84 is defined for as ttp and iptm, merge the two entries since
  libc getprotoent() does not read the whole file and merge in the "files"
  implementation.
2012-08-28 07:53:45 +00:00
martin
607e109c16 Kernel crash dumps are not properly implemented - so do not pretend they
would exist and set dumplo to 0 if dumpsize is 0. This makes savecore
happy.
XXX - implement real dumps, most of the needed code seems to be in place
already.
2012-08-27 22:25:09 +00:00
pgoyette
9f498223f2 Handle any reports of state changes for INDICATORs 2012-08-27 21:50:19 +00:00
pgoyette
9687fb7cf2 1. Enable use of FMONSTCHANGED events for INDICATOR sensors
2. Update handling of FMONCRITICAL event reporting.   The state
   transition does not require a corresponding change in value.

With these changes, you can now have an INDICATOR sensor that
reports the presence or absence of a device, and (if the device
is present) separately monitor it for proper functioning.

Should address the concerns expressed recently with the commit
of changes to wmi(4) BBU handling.
2012-08-27 21:42:04 +00:00
pgoyette
019f560eee Provide names for the values associated with INDICATOR sensors. 2012-08-27 21:07:33 +00:00
wiz
1e65016557 Drop trailing whitespace. 2012-08-27 20:52:40 +00:00
pgoyette
39f34c588a Mention the new sysctl variable just created. 2012-08-27 20:30:11 +00:00
pgoyette
4525347a98 Add hw.swsensor.state variable for additional control capability. 2012-08-27 20:29:11 +00:00
matt
7d57bc60df Make this to produce working shared libraries again.
Resultant distribution was booted into single user using shared libraries.
2012-08-27 16:50:14 +00:00
pgoyette
2c133669b5 Fix indentation. No code change. 2012-08-27 14:15:52 +00:00
pgoyette
941f09b7a5 Simplify some logic - no functional change intended.
While here, clean up a couple of comments.
2012-08-27 14:08:36 +00:00
matt
c5659e6e92 Use the correct (L1_S_PROT, not L2_S_PROT) macro for setting the protection
of the vector page.  This fixes a nasty little bug that shows up on armv7
systems when the vector page physical address changes (bit 12 of the address
is cleared) and then any exception causes the system to hang.
2012-08-27 12:05:30 +00:00
chs
bd1e3e7e16 fix error handling in nfsrv_rename(): when the first nfs_namei() fails,
don't try to free the resources allocated by a successful lookup.
2012-08-27 11:35:13 +00:00
dholland
60002edfbc whitespace 2012-08-27 03:18:12 +00:00
martin
81d4664037 Do not fail kvm_dump_mkheader without setting an error message 2012-08-26 23:09:42 +00:00
jmmv
80b30d8cdf Add placeholder test programs for share/mk files.
The main goal of this change is to simplify the further addition of test
cases for the share/mk infrastructure by adding a few placeholder test
programs to the tests tree.

To not leave these test programs empty, I have added a bunch of extremely
simple test cases to them.
2012-08-26 23:03:20 +00:00
jmmv
cdcce7d462 Add a new "-P prefix" option to mkdep(1).
This option prepends the string given in prefix to every target
filename.  This is useful for programs that have source files in
multiple subdirectories and a single Makefile that references all of
them explicitly (without using the VPATH functionality because there
can be files with the same name in each subdirectory).
2012-08-26 22:37:19 +00:00
bouyer
7c3587c477 Make MFI_DEBUG build on i386.
Report BBU state changes with aprint_normal(), it seems that sysmon_envsys()
doens't report changes for ENVSYS_INDICATOR as it does for ENVSYS_DRIVE.
2012-08-26 16:22:32 +00:00
bouyer
97f1f42c3f After discussion on tech-kern@, fix performance issue related to
cache flush commands from WAPBL, by skipping the cache flush if the
BBU is present and considered good. Users which still want the write back
cache with a non-working BBU can set vfs.wapbl.flush_disk_cache to 0.
- add commands to monitor the BBU state. Add a boolean BBU sensor
  to monitor the BBU state via sysmon_envsys(9).
- if the BBU is considered good, turn SCSI_SYNCHRONIZE_CACHE_10 and
  SCSI_SYNCHRONIZE_CACHE_16 commands from upper layer into NOOPs.
  While there, handle SCSI_SYNCHRONIZE_CACHE_16 in addition to
  SCSI_SYNCHRONIZE_CACHE_10.
- Add a shutdown pmf(9) handler, which flushes the cache and shutdown the
  firmware
- on detach, also flush cache and shutdown firmware.
- on attach, print the firmware-provided name, and the BBU state
Tested on a LSI MegaRAID SAS 9265-8i and a PERC 5/i Integrated
2012-08-26 16:05:29 +00:00
apb
4e76fbe982 Add descriptions of fields, especially to document the difference
between "Version" (in NetBSD) and "Current Vers" (available upstream).
2012-08-26 15:41:01 +00:00
wiz
e700cc04ea Dots as macro arguments need quoting.
Bug reported by Paul Goyette.
2012-08-26 14:50:45 +00:00
wiz
c650101e34 - improve punctuation;
- improve (create more consistency in) spelling;
- remove unnecessary (and in part ignored) macros, as well as an
  unnecessary argument to `.Bl' (fixes mandoc(1) warnings);
- improve wording;
- bump date.

Patch from Bug Hunting.
2012-08-26 14:30:38 +00:00
wiz
30cf30e561 Make order of words in comment consistent with that within other
comments (helps with search actions).

Patch from Bug Hunting.
2012-08-26 14:26:37 +00:00
wiz
87cd44cb03 - improve spelling;
- improve wording;
- complement list of primaries that prevent `-print' from being
  used implicitly;
- bump date.

Patch from Bug Hunting.
2012-08-26 14:26:07 +00:00
wiz
d1f0696be2 Update entries for:
- bind;
- libbind;
- bsd-family-tree;
- m4;
- tre (the `Mailing List' URL here gives a 404).

Patch from Bug Hunting.
2012-08-26 14:23:21 +00:00
wiz
5559f4329b - synchronize `usage' message with man page.
Patch from Bug Hunting.
2012-08-26 14:14:16 +00:00
wiz
c33cd716b3 - improve punctuation;
- improve wording (explicitly mention the name of the optional
  additional arguments within the text, using macros as well);
- create separate section, and use `.Ex' macro, for exit status
  information;
- bump date.

Patch from Bug Hunting.
2012-08-26 14:13:50 +00:00
apb
492d413f62 Move tzdata2012d and tzdata2012e lines from CHANGES to CHANGES.prev. 2012-08-26 12:30:33 +00:00
apb
92d86e9872 Wrap a line that was longer than 80 columns. 2012-08-26 12:28:19 +00:00
apb
638d682456 zoneinfo: Import tzdata2012e. [apb 20120808]
libc: Update to tzcode2012e. [christos 20120809]
2012-08-26 12:27:05 +00:00
dholland
2d1cf01ec8 stdlib.h, not malloc.h 2012-08-26 09:33:18 +00:00
dholland
6f1deef47f Move INITQFNAMES to the right header file. 2012-08-26 02:32:14 +00:00
jakllsch
1b8df6ed5a Add some more peripheral base addresses, mapping sizes, and interrupt bits. 2012-08-26 02:32:00 +00:00
jakllsch
d4db18a6af It turns out we're actually waiting for other processors to be unbusy, not busy.
Unbreaks ACPI suspend on uniprocessor.  Probably fixes unnoticed bugs on MP.
Needs pullup to netbsd-6.
2012-08-26 01:04:03 +00:00
jmmv
15cd91994b Fix "make test" to actually print the desired message when atf-run fails.
It was being skipped due to the set -e in the code snippet and the failure
to properly capture atf-run's exit code.
2012-08-25 22:21:16 +00:00
pooka
c62329f7d3 Make librumphijack compile and work on Linux. Do not try to hijack
calls which are not supported on Linux and therefore cannot be
handled by the rump kernel side syscall emulation (not that they'd
be present in the calling binaries anyway).
2012-08-25 18:00:06 +00:00
matt
08072c6632 Fix fini processing. 2012-08-25 15:39:05 +00:00
matt
c1d8e58698 Fix typo. 2012-08-25 14:08:17 +00:00
wiz
3450e15562 Sync usage with manpage. 2012-08-25 12:37:12 +00:00
wiz
6110b05d8f Sort options in SYNOPSIS. 2012-08-25 12:37:00 +00:00
christos
dd84831e00 update procedure for services and protocols, and bring them up-to-date 2012-08-25 11:14:58 +00:00
christos
1ebd502870 Fresh from IANA 2012-08-25 11:14:33 +00:00
kiyohara
548af92ab1 Add malo@pcmcia. 2012-08-25 08:20:03 +00:00
jmmv
afbfa91c1d Make DPADD and LDADD specific to the test programs. This allows mixing
C and C++ test programs in the same Makefile, and prevents regular programs
from being polluted by libraries that they may not need.

Suggested by Garrett Cooper in private mail, although I redid his patch.
2012-08-24 20:28:19 +00:00
jmmv
fcb81e1f92 Allow DPADD to be specified on a per-program basis. 2012-08-24 20:26:24 +00:00
jmmv
46d1235f5d h_ffs_server.c is not a test program. Remove unnecessary traces of atf. 2012-08-24 20:25:50 +00:00
jmmv
e7d178251c Sanitize the regex test cases.
- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
  The former was really a test program, and the latter just a very strange
  driver for it.

- Stop using awk to generate the shell test programs.  This is unnecessary
  and confusing.  Instead, change t_regex.sh to generate the test case
  functions on the fly with eval (as done in many other places).
2012-08-24 20:24:39 +00:00
matt
5147314742 Fix code around __register_frame_info (fixes core dumps) 2012-08-24 16:37:45 +00:00
scw
8d9dd9b439 Defend against the case where omapwdt32k_enable() can be called via ddb if
the kernel crashes early on before the watchdog driver starts.
2012-08-24 15:25:11 +00:00
martin
abe916f63c Destroy the reader callout on close, as discussed back in may on current-users. 2012-08-24 13:14:19 +00:00