summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Merge headsjg2014-04-28469-23721/+22935
|\
| * Finish connecting up installer UEFI support. If the kernel was booted usingnwhitehorn2014-04-271-5/+5
| | | | | | | | | | EFI, set up the disks for an EFI system. If booted from BIOS/CSM, set up for BIOS.
| * Add EFI support to the installer. This requires that the kernel providenwhitehorn2014-04-267-17/+85
| | | | | | | | | | | | | | | | | | | | | | | | a sysctl to determine what firmware is in use. This sysctl does not exist yet, so the following blocks are in front of the wheels: - I've provisionally called this "hw.platform" after the equivalent thing on PPC - The logic to check the sysctl is short-circuited to always choose BIOS. There's a comment in the top of the file about how to turn this off. If IA64 acquired a boot1.efifat-like thing (probably with very few modifications), the same code could be adapted there.
| * Remove sa_equal() definition since it is already defined in net/route.h.melifaro2014-04-261-3/+0
| | | | | | | | | | Noted by: ian MFC after: 2 weeks
| * Respect and track the enable bit in the PCI configuration address word.grehan2014-04-251-5/+9
| | | | | | | | | | | | | | | | | | | | Ignore writes, and return 0xff's, on config accesses when not set. Behaviour now matches that seen on h/w. Found with a NetBSD/amd64 guest. Reviewed by: tychon MFC after: 3 weeks
| * Provide a very basic stub for the 8042 PS/2 keyboard controller.tychon2014-04-253-4/+86
| | | | | | | | | | Reviewed by: jhb Approved by: neel (co-mentor)
| * Style fixes.trasz2014-04-241-9/+9
| |
| * Update zfsboot to coincide with r264840 to bsdconfig(8) addingdteske2014-04-231-23/+71
| | | | | | | | | | | | | | | | GEOM support (thereby adding GEOM support to the disk selection menu of bsdinstall(8)'s `zfsboot' module updated herein). MFC after: 1 week X-MFC-with: 264840
| * Implement GEOM based media device classification. You'll notice a fewdteske2014-04-2322-771/+1579
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | different things from this commit: + More devices. Devices that were previously ignored are now present. + Faster device scanning. "There is no try, only Do" -- f_device_try() is no longer the basis of device scanning as GEOM provides [nearly] all devices (doesn't provide network devices). + More information available as non-root. Usually you have to be root to do things like taste filesystems, and that limits the amount of information available to non-root users; with GEOM, we see all even running unprivileged as the brunt of information (except for so- called ``dangerously dedicated'' file systems) is represented by the `kern.geom.confxml' sysctl(8) MIB. NB: Only really useful for external scripts that use the API and run as non-root; where this code is used in bsdconfig(8) and bsdinstall(8) you are running as root so can detect even ``dangerously dedicated'' file systems that are not present in GEOM; e.g., no PART class for a DOS filesystem written directly to disk without partition table). + No more use of legacy tools such as diskinfo(8) to get disk capacity or fdisk(8) to see partitions. MFC after: 1 week
| * Import libucl 0.4.0bapt2014-04-222-6/+6
| | | | | | | | Adapt pkg(7) to the new libucl API
| * Simplify reading pw.conf(5) by using getline(3)bapt2014-04-222-24/+12
| |
| * Use calloc() in favor of malloc + memset.delphij2014-04-229-24/+12
| | | | | | | | Reviewed by: neel
| * Factor out common ioport handler code for better hygiene -- pointedtychon2014-04-221-22/+12
| | | | | | | | | | | | out by neel@. Approved by: neel (co-mentor)
| * - Fix an off by one error when checking for the stop event. This resultedjhb2014-04-221-6/+12
| | | | | | | | | | | | | | | | in not showing the most recent event by default. - When the stop even is hit, break out of the outer loop to stop fetching more events. MFC after: 1 week
| * Don't claim the adapter is idle if it is clearing a drive.jhb2014-04-221-1/+1
| | | | | | | | MFC after: 1 week
| * Use case insensitive match in portsnap.delphij2014-04-211-1/+1
| | | | | | | | | | | | PR: bin/186510 Submitted by: olli MFC after: 2 weeks
| * Fix ACPI DSDT indentation cosmetic breakage introduced in r264631 --tychon2014-04-181-1/+1
| | | | | | | | | | | | pointed out by jhb@. Approved by: grehan (co-mentor)
| * Respect the destination operand size of the 'Input from Port' instruction.tychon2014-04-181-4/+23
| | | | | | | | Approved by: grehan (co-mentor)
| * Add support for reading the PIT Counter 2 output signal via the NMItychon2014-04-181-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | Status and Control register at port 0x61. Be more conservative about "catching up" callouts that were supposed to fire in the past by skipping an interrupt if it was scheduled too far in the past. Restore the PIT ACPI DSDT entries and add an entry for NMISC too. Approved by: neel (co-mentor)
| * Remove redundant code.trasz2014-04-171-1/+0
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * Make it possible for the initiator side to operate in both proxytrasz2014-04-163-34/+46
| | | | | | | | | | | | | | | | and normal mode; this makes it possible to compile with the former by default, but use it only when neccessary. That's especially important for the userland part. Sponsored by: The FreeBSD Foundation
| * English.trasz2014-04-161-3/+3
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * If we fail to create LUN, try again on next configuration reload.trasz2014-04-161-1/+9
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * Use consistent punctuation.trasz2014-04-161-3/+4
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * Use proper terminology in debug messages.trasz2014-04-161-3/+3
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * Constify.trasz2014-04-162-10/+13
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * Properly pass the initiator address when running in proxy mode.trasz2014-04-163-31/+34
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * Use socket address from accept(2) instead of retrieving it viatrasz2014-04-161-11/+13
| | | | | | | | | | | | getpeername(2). Sponsored by: The FreeBSD Foundation
| * Rework the way we enable CTL iSCSI port. Previously conf_apply()trasz2014-04-163-8/+16
| | | | | | | | | | | | | | | | | | | | | | needed it to be already enabled, because listening in proxy mode requires it; however, it's conf_apply() that opens pidfiles, so it resulted in port being enabled before pidfile was opened. This was not so bad, but it was also disabled when pidfile couldn't be opened due to ctld already running; this means that starting second ctld instance screwed up the first. Sponsored by: The FreeBSD Foundation
| * Properly identify target portal when running in proxy mode. While here,trasz2014-04-163-28/+45
| | | | | | | | | | | | remove CTL_ISCSI_CLOSE, it wasn't used or implemented anyway. Sponsored by: The FreeBSD Foundation
| * Make it possible for the iSCSI target side to operate in both normaltrasz2014-04-163-86/+112
| | | | | | | | | | | | | | and ICL_KERNEL_PROXY mode, and fix some bit rot so the latter actually works again. Sponsored by: The FreeBSD Foundation
| * Stop treating LUN 0 as mandatory. There is no reason to do that.trasz2014-04-151-7/+6
| | | | | | | | | | | | Suggested by: mav@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
| * When merging docsinstall and zfsboot updates to stable/9 it was discovereddteske2014-04-152-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the slightly older dialog(1) requires --separate-output when using the --checklist widget to force response to produce unquoted values (whereas in stable/10 --checklist widget without --separate-output will only quote the checklist labels in the response if the label is multi-word (contains any whitespace). Since these enhancements (see revisions 263956 and 264437) were developed originally on 10, the --separate-output option was omitted. When merged to stable/9, we (Allan Jude) and I found during testing that the "always- quoting" of the response was causing things like struct interpolation to fail (`f_struct device_$dev' would produce `f_struct device_\"da0\"' for example -- literal quotes inherited from dialog(1) --checklist response). To see the behavior, execute the following on stable/9 versus stable/10: dialog --checklist disks: 0 0 0 da0 "" off da1 "" off Check both items and hit enter. On stable/10, the response is: da0 da1 On stable/9 the response is: "da0" "da1" If you use the --separate-output option, the response is the same for both: da0 da1 So applying --separate-output on every platform until either one of two things occurs 1) dialog(1,3) gets synchronized between stable/9, higher or 2) we drop support for stable/9. MFC after: 3 days Reviewed by: Allan Jude
| * mergemaster: Avoid "/var/tmp/temproot disappeared" if there is nothing tojilles2014-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compare. Because of the change to find in SVN r253886, the entire temproot would be deleted if it became empty, leading to a confusing message "*** FATAL ERROR: The temproot directory ${TEMPROOT} has disappeared!" Note that mergemaster does not do anything useful in this situation anyway (e.g. put IGNORE_FILES="/etc/group /etc/master.passwd" in /etc/mergemaster.rc and run mergemaster -p). As noted in that commit, add -mindepth 1. PR: bin/188485 Submitted by: David Boyd MFC after: 1 week
| * Add support for emulating the slave PIC.tychon2014-04-141-2/+2
| | | | | | | | | | Reviewed by: grehan, jhb Approved by: grehan (co-mentor)
| * Fix typo in debug/log statement.dteske2014-04-141-1/+1
| | | | | | | | Submitted by: Rick Miller <vmiller@hostileadmin.com>
| * NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-1323-23/+23
| | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
| * Remove the names of the build host and user and the build date. Thisdes2014-04-121-9/+0
| | | | | | | | | | | | still leaves the host OS and version, but these are harder to remove. MFC after: 3 weeks
| * Fix stray "." left over from previous commit.brueffer2014-04-101-1/+1
| | | | | | | | MFC after: 1 week
| * Fix Xref order in SEE ALSO.brueffer2014-04-101-2/+2
| | | | | | | | MFC after: 1 week
| * More mdoc/spelling/grammar cleanup.brueffer2014-04-101-30/+36
| |
| * Constrain the amount of data returned to what is actually availabletychon2014-04-091-3/+5
| | | | | | | | | | | | not the size of the buffer. Approved by: grehan (co-mentor)
| * Handle single-byte reads from the bvmcons port (0x220) by returningjhb2014-04-081-0/+9
| | | | | | | | | | | | | | | | 0xff. Some guests may attempt to read from this port to identify psuedo-PNP ISA devices. (The ie(4) driver in FreeBSD/i386 is one example.) Reviewed by: grehan
| * Quick mdoc/whitespace/spelling pass, this needs some more work.brueffer2014-04-081-20/+24
| |
| * Explicitly initialize 'vmname' to NULL.jhb2014-04-081-0/+1
| | | | | | | | Reviewed by: grehan
| * Add Stacey Son's binary activation patches that allow remapping ofsbruno2014-04-084-0/+705
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution to a emumation program via parsing of ELF header information. With this kernel module and userland tool, poudriere is able to build ports packages via the QEMU userland tools (or another emulator program) in a different architecture chroot, e.g. TARGET=mips TARGET_ARCH=mips I'm not connecting this to GENERIC for obvious reasons, but this should allow the kernel module to be built by default and enable the building of the userland tool (which automatically loads the kernel module). Submitted by: sson@ Reviewed by: jhb@
| * Fork a child process and wait until the process terminates when the -Pjh2014-04-061-1/+1
| | | | | | | | | | | | | | | | option is specified. This behavior is documented on the manual page. PR: bin/187265 Submitted by: Kimo R MFC after: 2 weeks
| * Timestamps may not have a decimal point.marcel2014-04-061-1/+3
| | | | | | | | While here, consistently use sbuf_new_auto().
| * Speed up the lookup of interfaces when there are a large numbergnn2014-04-051-8/+19
| | | | | | | | | | | | | | of them, such in a system with a large number of VLANs. Submitted by: Nick Rogers MFC after: 2 weeks
| * Add support for the virtio RNG entropy-source device.grehan2014-04-024-1/+194
| | | | | | | | | | | | | | | | | | | | | | | | Call through to /dev/random synchronously to fill virtio buffers with RNG data. Tested with FreeBSD-CURRENT and Ubuntu guests. Submitted by: Leon Dang Discussed with: markm MFC after: 3 weeks Sponsored by: Nahanni Systems
OpenPOWER on IntegriCloud