213260 Commits

Author SHA1 Message Date
matt
47befd3bb2 Fix typo. 2012-08-29 16:45:34 +00:00
christos
b0fb40a0ab When unloading the nfsserver module, call nfs_fini() so that the nfsrvdescpl
pool gets destroyed. Otherwise we are left with a stray pool that points to
unmapped memory behind (and bad things happen). Typically you get seemingly
random page faults (without printing uvm_fault) that happen in various pool
operations. Most frequent one is the pool_drain() from the page daemon.
2012-08-29 14:00:22 +00:00
tteras
880340da60 From Roman Hoog Antink <rha@open.ch>: Accept DPD messages with cookies
also in reversed order for compatiblity. At least Cisco 836 running
IOS 12.3(8)T does this.
2012-08-29 12:01:30 +00:00
tteras
6c437507a2 From Roman Hoog Antink <rha@open.ch>: add remote's IP address to the
"certificate not verified" error message.
2012-08-29 11:34:37 +00:00
tteras
f2b1919eeb From Roman Hoog Antink <rha@open.ch>: do not print unnecessary warning
about non-verified certificate when using raw plain-rsa.
2012-08-29 11:24:11 +00:00
msaitoh
e093807b3b Remove unused variable. Approved by pooka. 2012-08-29 10:38:53 +00:00
skrll
192854d629 Typo in comment 2012-08-29 08:29:57 +00:00
matt
33f1e7498b Rename ARM options PROCESS_ID_IS_CUR{CPU,LWP} to TPIDRPRW_IS_CUR{CPU,LWP}
since TPIDRPRW is the cp15 register name.
Initialize it early in start along with CI_ARM_CPUID.
Remove other initializations.
We alays have ci_curlwp.
Enable TIPRPRW_IS_CURCPU in std.beagle.
[tested on a beaglboard (cortex-a8)]
2012-08-29 07:14:03 +00:00
matt
424810a580 Use ARMV6+ cpsi{d,f} instructions whenever possible. Use r7 to hold previous
mode and avoid recomputing it.  Add support for obtaining kernel_lock on
exception entry and exit.
2012-08-29 07:09:12 +00:00
matt
2650ef287e Avoid using r7 (which is being reserved for a different purpose). 2012-08-29 07:06:27 +00:00
matt
a2a4847ae6 Add required dsb/dmb instructions (or placeholders for them) required for
the weak memory ordering of the ARMV7-A architecture.
2012-08-29 07:04:14 +00:00
matt
e65c4f502b Use the correct prot mask in vector_page_setprot 2012-08-29 05:51:30 +00:00
matt
6eda05afeb Add an INSTALL variant for BEAGLEBOARD. 2012-08-29 03:54:03 +00:00
msaitoh
568a3a3a5a Don't add unwind.h stuff into BUILDSYMLINKS when MKGCC=="no".
Fixes "Wrong number of words (1) in .for substitution list with 2 vars" problem
while mknative-ing. Approved by mrg.
2012-08-29 03:12:08 +00:00
macallan
e73b198544 when in event mode, optionally pretend to be a USB keyboard
with this USB and ADB keyboards can coexist at the same mux, with X just
listening to /dev/wskbd instead of having to open each one separately
this can be controlled via sysctl, defaults to off for now
needs testing with non-US keyboards
2012-08-29 02:44:07 +00:00
macallan
ff1bd1aab8 support an optional table to translate scancodes when in event mode 2012-08-29 02:38:31 +00:00
christos
19d01c3be5 don't undef TRAP_SIGDEBUG 2012-08-28 15:54:40 +00:00
christos
b490177227 proper locking for DEBUG 2012-08-28 15:52:19 +00:00
gson
8b7093cae5 Skip test requiring /usr/bin/mandoc if it does not exist, as is the case
when text.tgz has not been installed.
2012-08-28 15:22:18 +00:00
christos
c796231d41 mention how to fix protocols. 2012-08-28 07:55:01 +00:00
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