summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert 229667: After some discussion of this change, it seems it isghelmer2012-01-252-3/+7
| | | | | | better to leave the pidfile open where it was. Add a note to the man page describing pidfile strategies to use if the daemon is to be run as a user other than root.
* Order newly added functions alphabetically.kib2012-01-251-12/+12
| | | | | Requested by: bde MFC after: 3 days
* Allow PASSTHROUGH (AC3) to have more then 2 channels.mav2012-01-251-1/+2
| | | | 8 channels can be used to get more then 6.144Mbps bandwidth.
* Fix comment.trasz2012-01-251-1/+1
|
* Move mdconfig(8) tests under regression/sbin/, where they belong.trasz2012-01-253-0/+0
| | | | Submitted by: jh@
* Fix word order in hdaa_subvendor_id() to match PCI (where it comes from),mav2012-01-252-5/+5
| | | | broken at r230130. This should fix applying system-specific patches.
* Remove unused variable.pluknet2012-01-251-2/+0
| | | | | | | | The actual ia6->ia6_lifetime access is hidden in IFA6_IS_INVALID/IFA6_IS_DEPRECATED macros since a long time ago (see netinet6/nd6.c, r1.104 of KAME for the reference). MFC after: 3 days
* Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output.charnier2012-01-255-5/+6
|
* Fix a SIGSEGV problem in directory entry renaming.hrs2012-01-251-0/+2
|
* Minor indenting divot...imp2012-01-251-1/+1
|
* Some minor additions to the list of supported devices...imp2012-01-251-2/+6
|
* Experimental support for booting CHRP-type PowerPC systems from hard disks.nwhitehorn2012-01-254-2/+5
|
* Clean up reinstall option and remove duplicate codeemaste2012-01-251-23/+12
| | | | | | | | | | | | | | - Move the reinstall logic to be before menus are initialised (menus are not needed when reinstalling a zonefile). - Remove unnecessary re-initialization of path_db. - Update variable name and error message because we now use the zone name relative to /usr/share/zoneinfo, not the full path. pr: bin/164041 Submitted by: Devin Teske <dteske vicor com> MFC after: 1 week
* If a mount -u is done to either NFS client that switches itrmacklem2012-01-252-0/+34
| | | | | | | | | | | | | | | | from TCP to UDP and the rsize/wsize/readdirsize is greater than NFS_MAXDGRAMDATA, it is possible for a thread doing an I/O RPC to get stuck repeatedly doing retries. This happens because the RPC will use a resize/wsize/readdirsize that won't work for UDP and, as such, it will keep failing indefinitely. This patch returns an error for this case, to avoid the problem. A discussion on freebsd-fs@ seemed to indicate that returning an error was preferable to silently ignoring the "udp"/"mntudp" option. This problem was discovered while investigating a problem reported by pjd@ via email. MFC after: 2 weeks
* - Fix documentation to note that /etc/hast.conf is the default configurationpjd2012-01-241-4/+6
| | | | | | | | file for hastd(8) and hastctl(8) and not hast.conf. - In copyright statement correct that this file is documentation, not software. - Bump date. MFC after: 3 days
* Merge illumos revisions 13572, 13573, 13574:mm2012-01-248-24/+52
| | | | | | | | | | | | | | | | | | | | | | | | | Rev. 13572: disk sync write perf regression when slog is used post oi_148 [1] Rev. 13573: crash during reguid causes stale config [2] allow and unallow missing from zpool history since removal of pyzfs [5] Rev. 13574: leaking a vdev when removing an l2cache device [3] memory leak when adding a file-based l2arc device [4] leak in ZFS from metaslab_group_create and zfs_ereport_checksum [6] References: https://www.illumos.org/issues/1909 [1] https://www.illumos.org/issues/1949 [2] https://www.illumos.org/issues/1951 [3] https://www.illumos.org/issues/1952 [4] https://www.illumos.org/issues/1953 [5] https://www.illumos.org/issues/1954 [6] Obtained from: illumos (issues #1909, #1949, #1951, #1952, #1953, #1954) MFC after: 2 weeks
* In addition to r230511, allow 8 channel AC3 formats.mav2012-01-241-0/+4
|
* sockstat: Also show sockets not associated with a file descriptor.jilles2012-01-242-69/+75
| | | | | | | | | | Sockets not associated with a file descriptor include TCP TIME_WAIT states and sockets created via the socket(9) API such as from rpc.lockd and the NFS client. PR: bin/164081 MFC after: 2 weeks No objection: des
* Enable High Bit Rate (HBR) Encoded Packet Type (EPT), if supportedmav2012-01-241-0/+15
| | | | | | | | (HDMI and HBR bits set) and needed (AC3 format used with 8 channels). This should allow DTS-HD/TrueHD pass-through with rates above 6.144Mbps. MFC after: 2 months Sponsored by: iXsystems, Inc.
* Replace random ARIN direct assignment legacy IPs with proper RFC 5735bz2012-01-241-4/+4
| | | | | | TEST-NET1 block for use in documentation and example code addresses. MFC after: 3 days
* Just define __FreeBSD__ to 1 instead of doing what the compiler does.netchild2012-01-241-1/+5
| | | | | | | The kernel is supposed to DTRT based upon the __FreeBSD_version value, not the value of __FreeBSD__. Discussed with: bz
* Remove unused variable.glebius2012-01-241-3/+0
|
* HDMI and DisplayPort support can coexist in HDA CODEC.mav2012-01-241-8/+8
| | | | | | | Report "HDMI/DP" in PCM device name if both supported. MFC after: 2 months Sponsored by: iXsystems, Inc.
* Plug a possible ifa_ref leak in case of premature return from in6_purgeaddr().bz2012-01-241-2/+2
| | | | | Reviewed by: rwatson MFC after: 3 days
* Add some basic regression tests for mdconfig(8).trasz2012-01-243-0/+568
|
* We are in FreeBSD 10 now: define __FreeBSD__ to 10.netchild2012-01-241-1/+1
|
* Remove the stale XXX rt_newaddrmsg comment.pluknet2012-01-241-4/+0
| | | | | | | A routing socket message is generated since r192282. Reviewed by: bz MFC after: 3 days
* Try resolving jail path with realpath(3).mm2012-01-241-2/+8
| | | | | | | | | jail(8) does a chdir(2) to the given path argument. Kernel evaluates the jail path from the new cwd and not from the original cwd, which leads to undesired behavior if given a relative path. Reviewed by: jamie MFC after: 2 weeks
* Remove unnecessary line break.bz2012-01-241-2/+1
| | | | MFC after: 3 days
* Fix up some style(9) indenting and reorganise some of the hal methods.adrian2012-01-241-19/+25
| | | | There should be no functional change due to this commit.
* Add a missing HAL method macro. I'm using this as part of some personaladrian2012-01-241-1/+2
| | | | DFS radar stuff.
* Apparently, both nfs clients do not use cache_enter_time()kib2012-01-231-29/+23
| | | | | | | | | | | | | | consistently, creating some namecache entries without NCF_TS flag. This causes panic due to failed assertion. As a temporal relief, remove the assert. Return epoch timestamp for the entries without timestamp if asked. While there, consolidate the code which returns timestamps, into a helper cache_out_ts(). Discussed with: jhb MFC after: 2 weeks
* Realtek CODECs declare support for 32bit samples on S/PDIF input/outputmav2012-01-231-3/+45
| | | | | | | | | | | | | | widgets. I am not sure if S/PDIF supports 32bit samples, but my Marantz SR4001 doesn't, producing only single clicks on playback start/stop. Because HDA controller requires 32bit alignment for all samples above 16bit, we can't handle this situation in regular way and have to set 32bit format in sound(4) for anything above 16bit. To workaround the problem, prefer to setup hardware to use 24/20bit samples when 32bit format requested. Add dev.pcm.X.play.32bit and dev.pcm.X.rec.32bit sysctls to control what format really use for 32bit samples. MFC after: 2 months Sponsored by: iXsystems, Inc.
* Provide a findhook method for ng_socket(4). The node stores aglebius2012-01-231-2/+101
| | | | | | | | | | | | | | | | | hash with names of its hooks. It starts with size of 16, and grows when number of hooks reaches twice the current size. A failure to grow (memory is allocated with M_NOWAIT) isn't fatal, however. I used standard hash(9) function for the hash. With 25000 hooks named in the mpd (ports/net/mpd5) manner of "b%u", the distributions is the following: 72.1% entries consist of one element, 22.1% consist of two, 5.2% consist of three and 0.6% of four. Speedup in a synthetic test that creates 25000 hooks and then runs through a long cyclce dereferencing them in a random order is over 25 times.
* Convert panic()s to KASSERT()s. This is an optimisation forglebius2012-01-231-7/+3
| | | | | hashdestroy() since in absence of INVARIANTS a compiler will drop the entire for() cycle.
* Part of r230482 didn't actually work. Revert it for now. This means PRnwhitehorn2012-01-231-2/+0
| | | | | | 161047 isn't actually fixed. PR: bin/161047
* Do a test in a better way. Editing files after testing them is never wise.nwhitehorn2012-01-231-1/+1
|
* Per popular demand, if installing from a graphics terminal, run thenwhitehorn2012-01-231-1/+12
| | | | | | | | installer on a VTY with no kernel messages (VTY 2), show the installer log in real time on VTY 3, and spawn a shell on VTY 4. PR: bin/161047, bin/161048 MFC after: 2 weeks
* In ng_socket(4) expose less kernel internals to userland. This commitglebius2012-01-233-25/+18
| | | | breaks ABI, but makes probability of ABI breakage in future less.
* Convert locks that protect name hash, ID hash and typelist fromglebius2012-01-231-60/+61
| | | | | | | | mutex(9) to rwlock(9) based locks. While here remove dropping lock when processing NGM_LISTNODES, and NGM_LISTTYPES generic commands. We don't need to drop it since memory allocation is done with M_NOWAIT.
* Mechanically add a config for all missing drivers.netchild2012-01-23238-0/+5236
| | | | | | | | | No cross-referencing was added to the configs, so no automatic linking to the documentation of other subsystems. Drivers which already contain doxygen markup: agp ath bktr bxe cxgb cxgbe dpt drm e1000 iir ixgbe mwl nxge ofw pccard siba wpi xen
* Fix two nits in previous commit pointed out by pjd@.des2012-01-231-2/+1
| | | | MFC after: 3 weeks
* Add C11 macros describing subnormal numbers to float.h.das2012-01-237-0/+108
| | | | Reviewed by: bde
* Make procstat -l to work with the new version of kern.proc.rlimit.trociny2012-01-221-10/+11
| | | | | Submitted by: Andrey Zonov <andrey at zonov.org> MFC after: 2 weeks
* Change kern.proc.rlimit sysctl to:trociny2012-01-223-22/+51
| | | | | | | | | | | | | - retrive only one, specified limit for a process, not the whole array, as it was previously (the sysctl has been added recently and has not been backported to stable yet, so this change is ok); - allow to set a resource limit for another process. Submitted by: Andrey Zonov <andrey at zonov.org> Discussed with: kib Reviewed by: kib MFC after: 2 weeks
* Increase snd_hda(4) default maximal buffer size from 16K to 64K andmav2012-01-223-22/+12
| | | | | | | | | | | | maximal from 64K to 256K. We usually don't need 750 sound interrupts per second (1.3ms latency) when playing 192K/24/8 stream. 187 should be better. On usual 48K/16/2 it is just enough for hw.snd.latency=9 at hw.snd.latency_profile=1 with 23 and 6 interrupts per second. MFC after: 2 weeks Sponsored by: iXsystems, Inc.
* Document the values for hw.snd.default_auto.stefanf2012-01-221-3/+12
|
* sh: Fix $? in the first command of a 'for'.jilles2012-01-223-1/+21
| | | | | | In the first command of a 'for', $? should be the exit status of the last pipeline (command substitution in the word list or command before 'for'), not always 0.
* Connect VirtIO-related manpages to the build.brueffer2012-01-221-0/+10
|
* Clarify the implementation-defined behaviour in case of close(2)kib2012-01-221-1/+5
| | | | | | returning error. MFC after: 1 week
OpenPOWER on IntegriCloud