summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* MFC r279315:trasz2015-05-158-0/+1524
| | | | | | | Add uefisign(8), UEFI Secure Boot signing utility. Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC r278360:trasz2015-05-152-4/+4
| | | | | | Make hccontrol(8) and sdpcontrol(8) appear in "man -k bluetooth" output. Sponsored by: The FreeBSD Foundation
* MFC r278316:trasz2015-05-151-2/+6
| | | | | | | | | | Make "ctladm islist" ignore unknown elements, so the old version continues to work with newer kernel. Other ctladm(8) "*list" subcommands seem to already handle it in a reasonable way. Sponsored by: The FreeBSD Foundation
* MFC r274720:trasz2015-05-151-1/+2
| | | | | | Fix improper .Fx macro usage. Sponsored by: The FreeBSD Foundation
* No need to delete export from filesystems which are not exported.sjg2015-05-141-0/+6
|
* MFC r279571,281563 (allanjude):delphij2015-05-132-8/+46
| | | | | | | | | | | | | | Add a new safetly belt to freebsd-update to prevent a user doing a minor update (-pX) while having an unfinished major upgrade (9.x to 9.y) Safetly belt can be disabled with the -F flag Additionally, add the --not-running-from-cron flag they bypasses the TTY requirement, and allows freebsd-update to be invoked by orchestration frameworks, scripts, or otherwise. PR: 196760 Relnotes: yes Sponsored by: ScaleEngine Inc.
* MFC r282364, r282429, r282524:mav2015-05-131-20/+60
| | | | | | | | Implement BSY reporting and in-order execution of non-NCQ commands. Block command queue on BSY or DRQ bits set or device error reported. This can be a performance penalization for non-NCQ commands, but it is required for proper error recovery and standard compliance.
* MFC r282345: Initialize PxCMD on reset and make its read-only bits such.mav2015-05-131-2/+16
|
* MFC r282344: Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop().mav2015-05-131-1/+2
|
* MFC r281766, r281767:mav2015-05-131-2/+2
| | | | | | Report link as up only if we managed to open tap device. It would be cool to report tap device status, but it has no such API.
* MFC r281764, r282563: Disable RX/TX queues notifications when not needed.mav2015-05-131-14/+15
| | | | | | This reduces CPU load and doubles iperf throughput, reaching 2-3Gbit/s. Sponsored by: iXsystems, Inc.
* MFC r282054:ngie2015-05-131-4/+9
| | | | | ath3kfw, bcmfw, bthidcontrol, bthidd all require usb(4); build them conditionally if MK_USB != no
* MFC r281782: Don't set bits that should be zero for SATA devices.mav2015-05-011-1/+0
| | | | Old value made Linux think that it is PATA device with SATA bridge.
* MFC r281700:mav2015-05-014-18/+100
| | | | | | | | | Workaround bhyve virtual disks operation on top of GEOM providers. GEOM does not support scatter/gather lists in its I/Os. Such requests are cut in pieces by physio(), that may be problematic, if those pieces are not multiple of provider's sector size. If such case is detected, move the data through temporary sequential buffer.
* MFC r281666: Make virtual AHCI more careful with I/O lengths.mav2015-05-011-92/+84
|
* MFC r281780: Update usage statement; align with post-r279624.dteske2015-04-281-1/+1
|
* MFC revisions 277693,278335,280382-280385,280923-280926,280931,dteske2015-04-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 280933-280939,280974-280976,281002,281009,281081,281176-281180, 281271,281275,281616 (described in-breif below): r277693: Font fix (des) r278335: Revert that r280382: Whitespace, comments, and copyright update r280383: Prevent inadvertent bootlock condition r280384: Increase max passowrd length from 16 to 255 chars r280385: Add missing variable hints to loader.conf(5) defaults r280923: Whitespace r280924: Comments r280925: Optimize bootmsg to use fg/bg/me from screen.4th r280926: Whitespace and cleanup r280931: Comments r280933: Move beastie to logo-*.4th; brands to brand-*.4th r280934: Add remainder of supported ANSI escape sequences r280935: Securely overwrite (zero) user input after password checks r280936: Use equals for ASCII double frames r280937: Solve dreaded "dictionary full" issue r280938: Add "GELI Passphrase:" prompt to boot loader r280939: Revert that (premature commit) r280974: Use fg/b/me from screen.4th instead of literals r280975: Eliminate literal escape sequences from *.4th r280976: Use ^[[m mode-ending versus ^[[37m r281002: Install newly added brand-*.4th and logo-*.4th files (jkim) r281009: Revert .PATH changes to fix mips build (jkim) r281081: Make sure forth manpages are only installed once (bapt) r281176: Back to previous mode-endings based on feedback r281177: Back to previous mode-endings based on feedback r281178: Back to previous mode-endings based on feedback r281179: Back to previous mode-endings based on feedback r281180: Eliminate literal escape sequences from *.rc r281271: Fix a bootlock condition if loader_version is set NB: Commit message of r281271 has a typo, s/_logo/_version/ r281275: Re-do proper mode-endings r281616: Add "GELI Passphrase:" prompt to boot loader Relnotes: Added "GELI Passphrase:" prompt to boot loader
* MFC r281146.rakuco2015-04-151-6/+0
| | | | | | | | | | bthidd: Remove unused macros from hid.c. ASIZE() was never used, and min() stopped being used in r207812. Differential Revision: https://reviews.freebsd.org/D2230 Reviewed by: emax Approved by: emax
* MFC r281116.rakuco2015-04-151-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bthidd: Consider usage ranges when dealing with array inputs. So far, we were always using HID_USAGE() to determine the Usage ID of a certain HID report input item. This does not work as intended if a field is an array and the allowed usages are specified with a usage range, as HID_USAGE() will return 0. We need to use the field value as an index in the usage range list in this case instead. This makes the volume keys in a Microsoft Bluetooth Mobile Keyboard 5000 be properly recognized. The relevant part of the HID report looks like this: 0xA1, 0x01, // Collection (Application) 0x85, 0x07, // Report ID (7) 0x05, 0x0C, // Usage Page (Consumer) 0x19, 0x00, // Usage Minimum (Unassigned) 0x2A, 0xFF, 0x03, // Usage Maximum (0x03FF) 0x95, 0x01, // Report Count (1) 0x75, 0x10, // Report Size (16) 0x15, 0x00, // Logical Minimum (0) 0x27, 0xFF, 0x03, 0x00, 0x00, // Logical Maximum (1023) 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred // State,No Null Position) When a key such as "volume down" is pressed, the following data is transferred through Interrupt In: 0x07 0xEA 0x00 Differential Revision: https://reviews.freebsd.org/D2229
* MFC r281199: Remove hard limits on number of accepting NFS connections.mav2015-04-141-2/+2
| | | | | Limits of 5 connections set long ago creates problems for SPEC benchmark. Make the NFS follow system-wide maximum.
* MFC: r281335jkim2015-04-131-21/+25
| | | | Print 64-bit addresses clearly with leading zeros to avoid confusions.
* MFC: r281331jkim2015-04-131-26/+10
| | | | Do not crash when RSDT/XSDT contains an empty entry.
* MFC r281163: Make ctld to not exit on ECONNABORTED on accept().mav2015-04-131-1/+4
| | | | That is not really an error for the main process.
* MFC r280998:markj2015-04-121-0/+4
| | | | | | | arp(8): add support for printing and deleting entries of type IFT_INFINIBAND, used in IPoIB. PR: 151594
* MFC: r281171jkim2015-04-111-10/+24
| | | | | | Tidy up battery status information. Remove a trailing white space. PR: 193671
* MFC of r280697 and r280698rrs2015-04-074-66/+137
| | | | Sponsored by: Netflix Inc.
* Improve patch for SA-15:04.igmp to solve a potential buffer overflow.delphij2015-04-071-0/+3
| | | | | | | | Fix multiple vulnerabilities of ntp. [SA-15:07] Fix bsdinstall(8) insecure default GELI keyfile permissions. [SA-15:08] Fix Denial of Service with IPv6 Router Advertisements. [SA-15:09]
* MFC 281084jpaetzel2015-04-071-1/+1
| | | | | | | | | | Fix thinko/copypaste error. When checking the length of the mutual secret password the variable for the secret password was used by mistake. This resulted in ctld never warning about the length of the mutual secret being wrong even if it was. Sponsored by: iXsystems
* MFC r272481.neel2015-04-061-1/+4
| | | | Add new fields in the FADT, required by IASL 20140926-64.
* MFC r272444 (by jkim):dim2015-04-046-46/+81
| | | | | | | | | | | Merge ACPICA 20140926. MFC r278970 (by jkim): Merge ACPICA 20141107 and 20150204. Approved by: jkim Relnotes: yes
* MFC r280286: Add comment explaining existing powerd behavior on SMP systems.mav2015-03-271-0/+6
|
* MFC r280154:mav2015-03-271-0/+2
| | | | Report that we may have write cache, and that we do support FLUSH.
* MFC r280133: Increase S/G list size of 32 to 33 entries.mav2015-03-272-8/+6
| | | | | 32 entries are not enough for the worst case of misaligned 128KB request, that made FreeBSD to chunk large quests in odd pieces.
* MFC r280126: Pre-allocate one extra request per processing thread.mav2015-03-271-1/+1
| | | | | Processing threads call callbacks before freeing requests. As result, new requests may arrive before old ones are freed.
* MFC r280044:mav2015-03-271-1/+3
| | | | | | According to Linux and QEMU, s/n equal to buffer is not zero-terminated. This makes same s/n reported for both virtio and AHCI drivers.
* MFC r280042: Close potential race on blockif_close().mav2015-03-271-0/+2
| | | | Reported by: vangyzen
* MFC r280040:mav2015-03-271-4/+16
| | | | | | | Give AHCI disk serial based on backing file path same as for virtio block. It is still not good that they may intersect on different hosts, but that is better then intersecting on the same host.
* MFC r280037:mav2015-03-272-78/+76
| | | | | | | | | | | | | | Rewrite virtio block device driver to work asynchronously and use the block I/O interface. Asynchronous operation, based on r280026 change, allows to not block virtual CPU during I/O processing, that on slow/busy storage can take seconds. Use of recently improved block I/O interface allows to process multiple requests same time, that improves random I/O performance on wide storages. Benchmarks of virtual disk, backed by ZVOL on RAID10 pool of 4 HDDs, show ~3.5 times random read performance improvements, while no degradation on linear I/O. Guest CPU usage during test dropped from 100% to almost zero.
* MFC r280026, r280041:mav2015-03-275-41/+41
| | | | | | | | | Modify virtqueue helpers added in r253440 to allow queuing. Original virtqueue design allows queued and out-of-order processing, but helpers added in r253440 suppose only direct blocking in-order one. It could be fine for network, etc., but it is a huge limitation for storage devices.
* MFC r280004: Give block I/O interface multiple (8) execution threads.mav2015-03-271-53/+76
| | | | | | | | | | On parallel random I/O this allows better utilize wide storage pools. To not confuse prefetcher on linear I/O, consecutive requests are executed sequentially, following the same logic as was earlier implemented in CTL. Benchmarks of virtual AHCI disk, backed by ZVOL on RAID10 pool of 4 HDDs, show ~3.5 times random read performance improvements, while no degradation on linear I/O.
* MFC r279987: Add checksums to identify data and NCQ command error log.mav2015-03-271-0/+16
|
* MFC r279979: Slightly polish virtual AHCI CD reporting.mav2015-03-271-23/+67
|
* MFC r279977: Fix NOP and IDLE commands for virtual AHCI disks.mav2015-03-271-2/+5
|
* MFC r279976: Add support for NCQ variant of DSM TRIM for virtual AHCI disks.mav2015-03-271-4/+24
| | | | The code is not really tested yet due to lack of initiator support.
* MFC r279975: Improve NCQ errors reporting for virtual AHCI disks.mav2015-03-271-11/+53
| | | | While this implementation is still not perfect, previous was just broken.
* MFC r279968: Remove incorrect SERR register setting.mav2015-03-271-2/+0
| | | | At this point we have nothing to report through that register.
* MFC r279967: Change prdbc value reporting.mav2015-03-271-7/+6
|
* MFC r279965: Polish AHCI disk identify data and fix speed negotiation.mav2015-03-272-17/+49
|
* MFC r279960:mav2015-03-271-4/+16
| | | | | | Add support for PIO variants of READ/WRITE commands for AHCI disks. AHCI API hides all PIO specifics, so this functionality is almost free.
* MFC r279975: Use ahci_write_fis_d2h() for commands completion.mav2015-03-271-21/+11
|
OpenPOWER on IntegriCloud