summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MFC r287827:trasz2015-10-184-6/+52
| | | | | | | Add a way to specify stripesize and stripeoffset to gnop(8). This makes it possible to "simulate" 4K media, to eg test alignment handling. Sponsored by: The FreeBSD Foundation
* MFC r287951:trasz2015-10-183-3/+3
| | | | | | | The "automount" rc script should depend on "automountd", not the other way around. Sponsored by: The FreeBSD Foundation
* MFC 287397:trasz2015-10-181-2/+2
| | | | | | Fix markup. Sponsored by: The FreeBSD Foundation
* MFC r286360:trasz2015-10-181-47/+46
| | | | | | | | | | | | Tweak mdconfig(8) manual page, in particular revise the EXAMPLES section. This removes stuff that doesn't really belong there, and simplifies examples for the basic operations. MFC r286361: Whoops, wrong flag. Sponsored by: The FreeBSD Foundation
* MFC r258909:trasz2015-10-184-5/+50
| | | | | | | | Tweak mdconfig(8) manual page, in particular revise the EXAMPLES section. This removes stuff that doesn't really belong there, and simplifies examples for the basic operations. Sponsored by: The FreeBSD Foundation
* MFC r257182 (by jmg@):trasz2015-10-181-1/+1
| | | | | | bump date forgotten in r257165 Sponsored by: The FreeBSD Foundation
* MFC r257165 (by jmg@):trasz2015-10-181-6/+12
| | | | | | | | | | Document that -a will output the device name when -u is not specified.. when -u is specified it is not... update the docs to say that you can use full device names w/ -u, and update the examples... Sponsored by: The FreeBSD Foundation
* MFC r287033:trasz2015-10-183-6/+2
| | | | | | | After r286237 it should be fine to call vgone(9) on a busy GEOM vnode; remove KASSERT that would prevent forced devfs unmount from working. Sponsored by: The FreeBSD Foundation
* MFC r286283:trasz2015-10-181-0/+7
| | | | | | | Fix panic triggered by code like this: open("/dev/md0", O_EXEC); Sponsored by: The FreeBSD Foundation
* MFC r286237:trasz2015-10-181-0/+14
| | | | | | | | | | | | Fix panic that would happen on forcibly unmounting devfs (note that as it is now, devfs ignores MNT_FORCE anyway, so it needs to be modified to trigger the panic) with consumers still opened. Note that this still results in a leak of r/w/e counters. It seems to be harmless, though. If anyone knows a better way to approach this - please tell. Sponsored by: The FreeBSD Foundation
* MFC r286281:trasz2015-10-181-1/+1
| | | | | | Mark vgonel() as static. Sponsored by: The FreeBSD Foundation
* MFC r286226:trasz2015-10-181-10/+17
| | | | | | | | Rework the way iSCSI initiator handles system shutdown. This fixes hangs on shutdown with LUNs with mounted filesystems over a disconnected iSCSI session. Sponsored by: The FreeBSD Foundation
* MFC r285881:trasz2015-10-181-0/+10
| | | | | | | | | Add md_root example to defaults/loader.conf. Note that this doesn't quite work yet - the preloaded image gets loaded twice for some reason. Sponsored by: The FreeBSD Foundation
* MFC r285870:trasz2015-10-181-3/+9
| | | | | | | Document md_root in loader(8). The md(4) manual page mentions it, but it's hard to find and easy to miss. Sponsored by: The FreeBSD Foundation
* MFC r285847:trasz2015-10-181-1/+2
| | | | | | Add missing SIGUSR1 description. Sponsored by: The FreeBSD Foundation
* MFC r281726:trasz2015-10-181-29/+29
| | | | | | | | | | Optimize the O_NOCTTY handling hack in linux_common_open(). MFC r281728: Add back fdrop() missed in r281726. Sponsored by: The FreeBSD Foundation
* MFC r281689:trasz2015-10-181-29/+5
| | | | | | | Remove unused code from linux_mount(), and make it possible to mount any kind of filesystem instead of harcoded three. Sponsored by: The FreeBSD Foundation
* MFC r280981:trasz2015-10-181-21/+1
| | | | | | Remove unused code. Sponsored by: The FreeBSD Foundation
* MFC r289136: Remove lock upgrade attempt from ctl_be_block_open_file().mav2015-10-181-15/+0
| | | | | | I am not sure what for it was done. Now open routine should automatically fall back to read-only if open for writing is impossible. In such case attempt to upgrade to write sounds strange.
* MFC r272455:markj2015-10-171-15/+30
| | | | | Have dtrace(1) handle SIGPIPE, and handle signals when in list mode (-l). In particular, make sure to detach from child processes before exiting.
* MFC 289067:wblock2015-10-171-11/+11
| | | | Fix a repeated typo: rootir -> rootdir.
* MFC r289026:kib2015-10-162-35/+39
| | | | | | Enforce the maxproc limitation before allocating struct proc. In collaboration with: pho
* Fix build with options DIAGNOSTIC.pho2015-10-161-3/+1
| | | | | Sponsored by: EMC / Isilon storage division In collaboration with: kib
* MFC r289070: Add .gnu.versym VERSYM_HIDDEN flag and related maskemaste2015-10-161-0/+6
| | | | Sponsored by: The FreeBSD Foundation
* MFC r289065: Add --currently-running <release> option to freebsd-update.cperciva2015-10-162-0/+10
|
* if_lem: Bring over the missing pieces from -HEAD to make NIC_PARAVIRT work.adrian2015-10-152-1/+17
| | | | | | | | | | The paravirt support for the driver and netmap code was already MFCed, but the adapter and ifnet API bits weren't. This was backported from -HEAD by Eric Melville <eric@freebsd.org>. Submitted by: eric Sponsored by: Norse Corp, Inc.
* Add the paravirt.h support from -HEAD.adrian2015-10-151-0/+157
| | | | | Submitted by: eric Sponsored by: Norse Corp, Inc.
* MFC r265164: Small cleanup: mostly whitespace vs. tabs.emaste2015-10-151-31/+31
|
* MFC r264889: newfs_msdos: Correct min/max cluster counts for FAT12/16/32emaste2015-10-151-5/+5
| | | | | | | | | | | | FAT12 1..4084 FAT16 4085..65524 FAT32 65525.. This is required for interoperability with other FAT implementations, and in particular UEFI. Obtained from: NetBSD Sponsored by: The FreeBSD Foundation
* MFC r289017: Add missing vnode lock in case of file modify request.mav2015-10-151-2/+4
| | | | Submitted by: Richard Kojedzinszky
* MFC 289031: Teach gptldr to handle >64k boot2.cperciva2015-10-151-11/+28
|
* MFC r261994, r275905, r275951, r276106, r283128, r285678: MMC driver fixes...ian2015-10-141-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If no compatible cards were found after probing the bus, say so. Don't deselect the card too soon. To set the block size or switch the function parameters, the card has to be in transfer state. If it is in the idle state, the commands are ignored. This caused us not to set the proper parameters that we later assume to be present, leading to downstream failures of the card / interface as our state machine mismatches the card's. Log mmc and sd command failures. Reporting of routine expected errors, such as timeouts while probing a bus or testing for a feature, is squelched. Also, error reporting is limited to 5 events per second, because when an sdcard goes bad on a low-end embedded board, flooding the console at high speed isn't helpful. Always select the card before we do the 4.x specific stuff and deselect it after setting the block size. This is a similar bug that was fixed elsewhere, but not here. This makes sure that we leave the card deselected at the end of the loop, and we don't send any commands to the card without it selected. Re-select the SD card before getting the SD status. On a couple Atmel boards, this prevents some error messages during enumeration and also gives us the correct erase block size. They appear to be harmless elsewhere. Deselect the sd card before re-selecting it when working around a problem with some cards that causes them to become deselected after probing for switch capabilities. The old workaround fixes the behavior with some cards, but causes problems with the cards the behave correctly and don't become deselected. Forcing a deselect then reselect appears to work correctly with all cards in initial testing.
* MFC 288833:jgh2015-10-141-7/+6
| | | | | | | | | PR: 203440 (based on) Submitted by: ceratv@rpi.edu Approved by: wblock@ (mentor) Differential Revision: https://reviews.freebsd.org/D3813 - address grammar
* MFC: 288984bapt2015-10-141-1/+5
| | | | | | | | | | | | | | | Only print the errno string in case sysctl(3) does not file with ENOENT This reduces the noise in error reporing from sysctl(8): Before: $ sysctl bla=something sysctl: unknown oid 'bla': No such file or directory After: $ sysctl bla=something sysctl: unknown oid 'bla' Sponsored by: Gandi.net
* Trim spaces at the end of the buffer before trying to convert it to an oidbapt2015-10-141-0/+6
| | | | | | | This allows to write entries in sysctl.conf with spaces before the '=' like kern.ipc.shmmax = 9663676416 Sponsored by: Gandi.net
* Hook sesutil(8) to the build (forgotten in previous MFC)bapt2015-10-141-0/+1
|
* MFC r288914hiren2015-10-141-0/+10
| | | | Add a comment specifying how we implement rfc3042.
* MFC r288266:bdrewery2015-10-1314-5/+26
| | | | Add more SUBDIR_PARALLEL.
* MFC r288390:bdrewery2015-10-131-1/+10
| | | | | | | | When stopping ugidfw, it is not enough to just try unloading the module. If the module is built-in to the kernel then the kldunload will fail. Rather than do this just check if there are rules and then remove them all. Relnotes: yes
* MFC r288391:bdrewery2015-10-131-2/+2
| | | | Fix the .MAKE added in r251750 to properly support the historical -n -n.
* MFC r288249:bdrewery2015-10-131-1/+2
| | | | Add SUBDIR_PARALLEL.
* MFC r288248:bdrewery2015-10-133-30/+0
| | | | Remove disconnected directories.
* MFC r287983,r288075:bdrewery2015-10-131-4/+3
| | | | | | | | r287983: Replace afterinstall: hack with FILES mechanism. r288075: Use SHAREOWN/SHAREMODE/SHAREGRP rather than LIB* as these are plain ASCII scripts that the linker can load rather than binary library objects.
* MFC r288230,r288233:bdrewery2015-10-135-1/+6
| | | | | | | r288230: Fix emulation ldscripts not being installed since r131832. r288233: Fix subdir -j build after r287983 by adding missing dependencies.
* MFC r288335:hselasky2015-10-131-8/+6
| | | | | | | Store PID after becoming a daemon() and not before to ensure the correct PID gets written to the PID file. PR: 203252
* MFC r287592 and r287616:hselasky2015-10-132-0/+2
| | | | | | Add new USB ID. PR: 202968
* MFC r288273:hselasky2015-10-131-3/+4
| | | | | | Fix spelling. PR: 203249
* MFC r288910: On some interfaces, ipfilter drops UDP packets with zerocy2015-10-131-0/+16
| | | | | | | | checkum. This commit fixes that. PR: 166372 Submitted by: mk@neon1.net Reviewed by: Darren Reed <darrenr@reed.wattle.id.au>
* MFC of r288447. Only the Marvell driver has been updated as there is noandrew2015-10-121-6/+6
| | | | | | | | | | | | | | | | | | | support for Raspbetty Pi 2 in stable/10. An IPI must be cleared before it is handled otherwise next IPI could be missed. In other words, if a new request for an IPI is sent while the previous request is being handled but the IPI is not cleared yet, the clearing of the previous IPI request also clears the new one and the handling is missed. There are only three MP interrupt controllers in ARM now. Two of them are fixed by this change, the third one is correct, probably only just by accident. The fix is minimalistic as new interrupt framework is awaited. It was debugged on RPi2 where missing IPI handling together with SCHED_ULE led to situation in which tdq_ipipending was not cleared and so IPI_PREEMPT was stopped to be sent. Various odditys were found related to slow system response time like various events timed out, and slow console response.
* MFC r288528:ae2015-10-121-1/+1
| | | | | | Fix possible segmentation fault. PR: 203494
OpenPOWER on IntegriCloud