Commit Graph

213172 Commits

Author SHA1 Message Date
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
drochner d128a192b2 Another contribution to PR kern/42225 which will hopefully
bring the story to an end:

Always ignore the residue from the CSW, just use the real
transfer length counted by the USB stack. This was first
proposed by Markus Kilbinger but unfortunately ignored
later. (Too many cooks...)
According to Matthias Kretschmer, Darwin and Haiku do
the same.

Remove the "UMASS_QUIRK_IGNORE_RESIDUE" quirk which was
just for the one "SuperTop" device mentioned in the PR.
This device was successfully tested by Matthias Kretschmer /
Ignatios Souvatzis.

I've tested the patch with various other devices and
didn't find regressions.
2012-08-24 12:20:02 +00:00
msaitoh 4a418e8c7d Fix typos 2012-08-24 09:01:22 +00:00
matt 3f484f7213 Add registers for OMAP 3530 / TI DM37xx to determine CPU speed. 2012-08-24 06:34:08 +00:00
dholland 7376117cc5 Some more notes for libc bump time that I had lying around. 2012-08-24 06:12:52 +00:00
dholland bbe21cdd3d OTP (one true pairing) 2012-08-24 06:04:02 +00:00
dholland 0fcc047588 Remove stray #undef, probably someone's debugging leftover from long ago. 2012-08-24 06:03:18 +00:00
dholland beb1b12003 Restore comment heading lost during the MODULAR thrashing. 2012-08-24 05:59:01 +00:00
dholland 88e5e5374b Make extern decl of trap_type[] match the definition.
(XXX: this should be in a header file)
2012-08-24 05:54:30 +00:00
dholland 6da788cccc don't truncate size_t to int 2012-08-24 05:52:17 +00:00
dholland 8e125b5bde use #elif rather than nesting #elses 2012-08-24 05:47:51 +00:00
msaitoh cb01b0aba5 Fix typo in comment. 2012-08-24 01:36:14 +00:00
joerg 067600c8cf Revert last, it breaks the tricks xsrc uses. 2012-08-23 21:21:14 +00:00
joerg 8e96262375 Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
SHLIBDIR differs from /usr/lib.
2012-08-23 15:45:02 +00:00
bouyer bd7a682fbd Avoid "unused variable" warning for non-DIAGNOSTIC kernels.
Pointed out by Havard Eidnes
2012-08-23 12:24:33 +00:00
drochner 0065310310 the address expire counter is just a time difference; it can turn
negative after the timer expired until the entry is deleted.
make it signed, so that we don't get output like
"00:1b:78:12:50:46 wm0 18446744073709551349 flags=0<>"
2012-08-23 12:06:32 +00:00
drochner ad3d24442f fix some signatures 2012-08-23 11:59:02 +00:00
ttoth 621ca7dac4 chfs: uappnd flag patch 2012-08-23 11:29:51 +00:00
kiyohara 77342f3cf9 Allocate more VM space for over 8M kernel. 2012-08-23 10:48:19 +00:00