Commit Graph

11582 Commits

Author SHA1 Message Date
ginsbach a6da7f121b Support -4 and -6. 2017-08-26 19:26:32 +00:00
ginsbach 6b34aef124 Sort options alphabetically. 2017-08-26 18:16:05 +00:00
christos b766bbedd5 don't lock for RUMP 2017-08-21 17:01:04 +00:00
msaitoh 8f0f46f919 Add new function acpi_select_address() derived from acpi_get_fadt_revision().
On some systems, 32bit address is used for (X)Dsdt even if (X)Facs uses 64bit.
Don't assume an address size from FADT revision.
2017-08-21 02:58:49 +00:00
msaitoh 9ffd944419 Check DSDT signature in acpi_handle_fadt() for broken ACPI table. 2017-08-18 09:49:24 +00:00
christos 39c7ca3b3a fix path to the warmstart file. 2017-08-17 07:45:24 +00:00
ginsbach b683e9a94a Fix compile warnings.
(Restore changes clobbered by merge of FreeBSD changes. Hi christos!)
2017-08-17 00:08:10 +00:00
ginsbach 16400a904e Revert accidently committed enabling WARMSTART. 2017-08-17 00:06:00 +00:00
ginsbach 5f912a847a Write the "warm start" file to /var/run rather than /tmp.
(Restore changes clobbered by merge of FreeBSD changes. Hi christos!)
2017-08-16 23:38:16 +00:00
wiz 8b8f265dcd Use today's date. Sort options. Remove superfluous Tn macro. Wording improvement. 2017-08-16 18:23:03 +00:00
christos 6f43c19b6f fix typo, date, document -L 2017-08-16 14:22:58 +00:00
christos 34b7ffd922 merge FreeBSD changes:
- fixes CVE-2015-7236
- adds -h hostip to bind, -6 for only ipv6 access, -a for abort gracefully
- documents -w (warmstart)
XXX: should fix warmstart file to go to /var/run instead of /tmp
2017-08-16 08:44:40 +00:00
wiz e217b7d046 Remove superfluous Tn macros. 2017-08-15 21:21:18 +00:00
mrg c62a157eb2 merge the rest of sbmips into evbmips. install the stand files in
/usr/mdec/sbmips/ and document them in installboot(8) even though
it isn't really ported yet.  also build the SBMIPS kernels.

unfortunately, sbmips has been broken since mips64 merge, but the
fix can happen in the evbmips version, which we might merge into
the older trees anyway.

XXX: releng can turn off sbmips* builds now for -current.
2017-08-15 10:11:31 +00:00
nat 52943eab20 Set controller clock based on baud rate. 2017-08-14 05:28:23 +00:00
wiz 3ee579e3bc Indent to avoid line breaks in tag; give tag width in table; use Nm
to refer to hciattach because we'll probably never have hciattach(8).
2017-08-13 18:34:03 +00:00
ginsbach 94951b0fc5 PR bin/42464: Timothy McIntosh: Fix timed interoperability
Fix is a combination of FreeBSD fix and submitted patch.

[From the FreeBSD change]
The timed protocol is not implemented in a compatible way by all
vendors; the size of the tsp_name field is OS-dependent.  4.3BSD
used a 32-byte field, FreeBSD uses MAXHOSTNAMELEN and RedHat
apparently uses a 64-byte field.  As a result, sanity checking code
added a few months ago to detect short packets will fail when
interoperating with one of these other vendors.

Change the short packet detection code to expect a minimum packet
size corresponding to the 4.3BSD implementation, which should be
a safe minimum size.
2017-08-11 16:47:42 +00:00
jmcneill 6ad4d0f8e5 Make the "bcm43xx" type use H4 transport and add a new "bcm43xx-3wire"
type for use with H5 transport. The naming of the types here matches
those used in a series of BlueZ patches from the Raspberry Pi foundation.
2017-08-11 11:54:08 +00:00
jmcneill 8622efc43c Derive the firmware name from the device's local name instead of
hard-coding BCM4340A1. Search hw.firmware.path for the firmware image
instead of loading it from the current directory.
2017-08-10 20:43:12 +00:00
jakllsch 6598524cdc remove currently-unused variables that trip up the build 2017-08-10 18:45:20 +00:00
nat e5d9803b71 Add support for bcm 43xx devices using the btuart h5 protocol.
Currently It will only load 1 firmware image for rpi3.

To use change to the directory containing the firmware BCM4340A1.hcd.
Then issue: btattach -FPi 115200 bcm43xx /dev/ttydevice 921600.

Then you can use the bluetooth device btfive0.

This enables the embedded bluetooth controller on rpi3.
2017-08-10 13:34:29 +00:00
maya 7db80fab74 evbmips can "boot root FFSv2"
It typically uses a non-NetBSD bootloader (PMON, u-boot...) and those
don't differentiate from v1 from v2 - both are unsupported and it requires
a separate boot partition.
2017-08-09 23:01:06 +00:00
ginsbach 7333bec30e Make use of the defined YP errors when ypbind encounters one rather than
just returning an empty (successful) RPC result.

Don't exit when allocating memory for a new bound domain received via a RPC.
2017-08-09 01:56:42 +00:00
ginsbach 19bce2a53d Fix compile warnings. 2017-08-06 01:55:21 +00:00
ginsbach 17894e71a8 Write the "warm start" file to /var/run rather than /tmp. 2017-08-06 01:02:44 +00:00
wiz 406adb2faa Fix punctuation markup, remove superfluous Pp. 2017-08-05 20:24:17 +00:00
msaitoh c359a2130c Sync with FreeBSD's r321294:
- Dump TCG ACPI spec table (TCPA) more.
 - Dump DMA Remapping Reporting table (DMAR).
 - Consistently cast ACPICA 64-bit integer types when we print them.
 - Display the 'Flags' field in the HPET Description Table.
 - Do not crash when RSDT/XSDT contains an empty entry.
 - Print 64-bit addresses clearly with leading zeros to avoid confusions.
 - Create temp file safely.
 - Add missing flags into FADT.
 - Print some new ACPI 5.1 MADT entries.
 - Use __arraycount().
 - Warn and exit loop on invalid subtable length.
 - Fix the type used to hold the value returned from getopt. On arm64 char is
   unsigned so will never be -1.
2017-08-04 06:30:36 +00:00
ginsbach fdcd803e08 Expand the traceroute6 man page
- Add a proper description paragraph before launching into describing the
  options.  More closely follow format of the traceroute(8) man page.
- Improve the wording for some option descriptions.
- Add description what what is printed and define what the possible
  annotations mean.
2017-08-04 02:08:21 +00:00
msaitoh 9b32f8487a On UEFI environment, ACPI table is not at low address. Get ACPI root pointer
from hw.acpi.root first. Same as FreeBSD. This change fixes a problem that
acpidump(8) showed "acpidump: Can't find ACPI information".

XXX pullup-8
2017-08-03 05:54:45 +00:00
jmcneill 1385e4296e Make the 'no results found' message sound less harsh.
Changes "try using better keywords" to "try using different keywords".
2017-08-02 12:52:18 +00:00
abhinav f56c37233e Don't use the custom tokenizer when compiled with debugging on
Using the custom tokenizer means one cannot interactively query the database
through the SQLite shell, thus thwarting the purpose of the debug build option.

Thanks to leot@ for reporting it.

(While there change the debug macro from DEBUG to APROPOS_DEBUG)
2017-08-01 16:16:32 +00:00
nakayama 1d43d3952b sparc has db_machdep.c now. 2017-07-21 20:58:44 +00:00
wiz 2b8372dc3b Simplify. 2017-07-20 07:42:54 +00:00
dholland fbbc1f22f4 Rework previous (and the text it modified) for clarity. 2017-07-19 16:37:17 +00:00
gson c7fa9ad5c0 Clear the screen after running installboot. If we don't, there will
be a leftover line saying "Status: Finished" at the top of subsequent
screens, and the message "Hit enter to continue" will be redrawn after
the set selection is complete, which confuses literal-minded robotic
users such as anita.
2017-07-18 17:15:45 +00:00
christos fbbb03bfac don't complain if the mbr was all 0's. 2017-07-17 18:43:45 +00:00
wiz 575625986e New sentence, new line. 2017-07-16 21:19:38 +00:00
christos 3aa843808a PR/52412: Edgar Pettijohn: Describe the service/port syntax. 2017-07-16 21:05:19 +00:00
christos 2725a625f8 PR/52396: Edgar Pettijohn: Spell daemon consistently. 2017-07-12 01:57:43 +00:00
simonb 106425b701 Add npfd to the list of rc.d scripts to check. 2017-07-10 00:27:32 +00:00
mlelstv 245a1a4599 Use I/O timestamps to compute disk statistics for better precision.
Disk statistics are collected in a fixed size array, that got corrupted
when a disk was detached. Adapt by skipping entries of detached disks
and detect reused disknames at the array end.
2017-07-04 21:19:33 +00:00
wiz f8e5212cee Use Ex. 2017-07-04 07:13:18 +00:00
wiz 4827dcf9ca Add EXIT STATUS section. Use Ex. 2017-07-04 07:12:18 +00:00
wiz 597b141c6c Use Ex. 2017-07-04 07:08:42 +00:00
wiz 01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
ozaki-r 3f42983046 Enable to remove multiple ARP/NDP entries for one destination
The kernel can have multiple ARP/NDP entries which have an indentical
destination on different interfaces. This is normal and can be
reproduce easily by ping -I or ping6 -S. We should be able to remove
such entries.

arp -d <ip> and ndp -d <ip> are changed to fetch all ARP/NDP entries
and remove matched entries. So we can remove multiple entries
described above. This fetch all and selective removal behavior is
the same as arp <ip> and ndp <ip>; they also do fetch all entries
and show only matched entries.

Related to PR 51179
2017-06-28 08:17:50 +00:00
ozaki-r 60f1157fbd Fix usage of routing messages on arp -d and ndp -d
It didn't work as we expected; we should set RTA_GATEWAY not
RTA_IFP on RTM_GET to return an if_index and the kernel should
use it on RTM_DELETE.
2017-06-26 03:13:40 +00:00
macallan 023c931755 - don't use embedded font name if -N is given
- assume mono bitmap font when reading from stdin
2017-06-23 18:40:03 +00:00
macallan 6722e01bac avoid sign compare error 2017-06-23 17:40:15 +00:00
macallan dd033bdda9 load files from ttf2wsfont 2017-06-23 02:16:39 +00:00