]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
11 years agoMFC: r245850
marius [Sun, 27 Jan 2013 23:21:51 +0000 (23:21 +0000)]
MFC: r245850

Revert the part of r239864 (MFC'ed to stable/8 in r241690) which removed
obtaining the SMP mutex around reading registers from other CPUs. As it
turns out, the hardware doesn't really like concurrent IPI'ing causing
adverse effects. Also the thought deadlock when using this spin lock here
and the targeted CPU(s) are also holding or in case of nested locks can't
actually happen. This is due to the fact that on sparc64, spinlock_enter()
only raises the PIL but doesn't disable interrupts completely. Thus direct
cross calls as used for the register reading (and all other MD IPI needs)
still will be executed by the targeted CPU(s) in that case.

git-svn-id: svn://svn.freebsd.org/base/stable/8@246015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r245017
marius [Sun, 27 Jan 2013 23:08:55 +0000 (23:08 +0000)]
MFC: r245017

Revert bogus part of r241740 (MFC'ed to stable/8 in r241879).
Reported by: Michael Moll

git-svn-id: svn://svn.freebsd.org/base/stable/8@246012 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r244993
marius [Sun, 27 Jan 2013 23:05:27 +0000 (23:05 +0000)]
MFC: r244993

Remove files not connected to the build. It's confusing enough that
we still have two not quite the same evtchn.c left over.

git-svn-id: svn://svn.freebsd.org/base/stable/8@246010 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r244991
marius [Sun, 27 Jan 2013 23:02:35 +0000 (23:02 +0000)]
MFC: r244991

- Replace partially incorrect function names in panic(9) strings with
  __func__ and add some missing ones.
- Remove a stale comment.
- Remove unused NUM_ELEMENTS macro.
- Remove extra empty lines.
- Use DEVMETHOD_END.
- Use NULL rather than 0 for pointers.

git-svn-id: svn://svn.freebsd.org/base/stable/8@246008 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r244990 (partial)
marius [Sun, 27 Jan 2013 23:00:01 +0000 (23:00 +0000)]
MFC: r244990 (partial)

- Replace incorrect function names in printf(9) strings with __func__.
- Make xctrl_shutdown_reasons table const.
- Use nitems() rather than rolling an own version.
- Use DEVMETHOD_END.
- Use NULL rather than 0 for pointers.

git-svn-id: svn://svn.freebsd.org/base/stable/8@246006 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r244987
marius [Sun, 27 Jan 2013 22:50:39 +0000 (22:50 +0000)]
MFC: r244987

Fix !INVARIANTS && !SMP build.

git-svn-id: svn://svn.freebsd.org/base/stable/8@246004 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r244986
marius [Sun, 27 Jan 2013 17:41:29 +0000 (17:41 +0000)]
MFC: r244986

Remove bogus '-' from getopt(3) string hit when porting daemon(8) to
GNU/Linux *duck*.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245994 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r244307
marius [Sun, 27 Jan 2013 17:33:28 +0000 (17:33 +0000)]
MFC: r244307

Restore pre-r234898 (MFC'ed to stable/9 in r236077) printing of boot loader
and path.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245991 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r241875
marius [Sun, 27 Jan 2013 17:15:58 +0000 (17:15 +0000)]
MFC: r241875

Remove support for using Giant for locking within mpt(4). Finer grained
locking has been working fine for ~5.5 years by now.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245987 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r241874
marius [Sun, 27 Jan 2013 17:13:18 +0000 (17:13 +0000)]
MFC: r241874

After r241858 (MFC'ed to stable/8 in r242285), remove the remainder of
FreeBSD ~4 support from mpt(4).

git-svn-id: svn://svn.freebsd.org/base/stable/8@245984 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: 241780
marius [Sun, 27 Jan 2013 16:49:13 +0000 (16:49 +0000)]
MFC: 241780

- Give PIL_PREEMPT the lowest priority just above low/stray interrupts.
  The reason for this is that the SPARC v9 architecture allows nested
  interrupts of higher priority/level than that of the current interrupt
  to occur (and we can't just entirely bypass this model, also, at least
  for tick interrupts, this also wouldn't be wise). However, when a
  preemption interrupt interrupts another interrupt of lower priority,
  f.e. PIL_ITHREAD, and that one in turn is nested by a third interrupt,
  f.e. PIL_TICK, with SCHED_ULE the execution of interrupts higher than
  PIL_PREEMPT may be migrated to another CPU. In particular, tl1_ret(),
  which is responsible for restoring the state of the CPU prior to entry
  to the interrupt based on the (also migrated) trap frame, then is run
  on a CPU which actually didn't receive the interrupt in question,
  causing an inappropriate processor interrupt level to be "restored".
  In turn, this causes interrupts of the first level, i.e. PIL_ITHREAD
  in the above scenario, to be blocked on the target of the migration
  until the correct PIL happens to be restored again on that CPU again.
  Making PIL_PREEMPT the lowest real priority, this effectively prevents
  this scenario from happening, as preemption interrupts no longer can
  interrupt any other interrupt besides stray ones (which is no issue).
  Thanks to attilio@ and especially mav@ for helping me to understand
  this problem at the 201208DevSummit.
- Give PIL_STOP (which is also used for IPI_STOP_HARD, given that there's
  no real equivalent to NMIs on SPARC v9) the highest possible priority
  just below the hardwired PIL_TICK, so it has a chance to interrupt
  more things.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245982 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245697: zfs/sparc64 boot: fix booting after r242230
avg [Sat, 26 Jan 2013 09:56:06 +0000 (09:56 +0000)]
MFC r245697: zfs/sparc64 boot: fix booting after r242230

git-svn-id: svn://svn.freebsd.org/base/stable/8@245944 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240104:
delphij [Sat, 26 Jan 2013 05:27:00 +0000 (05:27 +0000)]
MFC r240104:

Add hpt27xx to GENERIC kernel for amd64 and i386 systems.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245941 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245768:
delphij [Sat, 26 Jan 2013 05:25:32 +0000 (05:25 +0000)]
MFC r245768:

 - Don't include date and time the driver is built, this is useful for
   generating binary diffs.
 - Constify a few strings used in the driver.
 - Style changes to make the driver compile with default clang settings.

Approved by: HighPoint Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/8@245940 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245918:
gjb [Sat, 26 Jan 2013 00:40:02 +0000 (00:40 +0000)]
MFC r245918:
 - Fix update method (s/SUP/CVS) warning.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245930 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245757:
gjb [Fri, 25 Jan 2013 00:46:02 +0000 (00:46 +0000)]
MFC r245757:
  - If update method is SUP_UPDATE or CVS, warn that those
    update methods are deprecated.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245896 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244482:
yongari [Thu, 24 Jan 2013 02:20:25 +0000 (02:20 +0000)]
MFC r244482:
  Recognize 5720S PHY and treat it as 5708S PHY.
  Unfortunately 5720S uses 5709S PHY id so add a hack to detect 5720S
  PHY by checking parent device name.  5720S PHY does not support 2500SX.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245866 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r223148, r240252, r241541, r241543, r245756:
gjb [Thu, 24 Jan 2013 01:41:11 +0000 (01:41 +0000)]
MFC r223148, r240252, r241541, r241543, r245756:

r223148: (ru)
 - Document all trees that support CVS_UPDATE.
 - Document all trees that support SUP_UPDATE.
 - Document SVN_UPDATE.
 - Document NO_WWWUPDATE.
 - make.conf(5) mistakenly said that *SUPFILE* had defaults.
 - Add an example entry for WWWSUPFILE.

r240252: (eadler)
 - Remove documentation and www cvsup files as they are no longer
   useful with the switch to subversion.

r241541: (joel)
 - Minor mdoc improvements. Also remove unnecessary csup reference.

r241543: (eadler)
 - Bump .Dd

r245756:
 - Mark SUP_UPDATE as deprecated in make.conf(5), providing
   instructions to use SVN_UPDATE or freebsd-update(8).
 - While here, remove bogus NO_WWWUPDATE.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245864 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244481:
yongari [Thu, 24 Jan 2013 01:32:17 +0000 (01:32 +0000)]
MFC r244481:
  For fiber PHYs, BRGPHY_MII_1000CTL register is not defined at all
  so do not touch it.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245862 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245487:
yongari [Thu, 24 Jan 2013 01:13:13 +0000 (01:13 +0000)]
MFC r245487:
  Add D-Link DFE-520TX (rev. C1) to HARDWARE section.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245860 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245485:
yongari [Thu, 24 Jan 2013 01:10:15 +0000 (01:10 +0000)]
MFC r245485:
  Add D-Link DFE-520TX rev C1.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245858 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoRemove bogus mergeinfo introduced in r240544.
gjb [Thu, 24 Jan 2013 00:46:49 +0000 (00:46 +0000)]
Remove bogus mergeinfo introduced in r240544.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245856 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 229435:
jhb [Wed, 23 Jan 2013 18:19:50 +0000 (18:19 +0000)]
MFC 229435:
Add special loader environment variables 'comconsole_port' and
'comconsole_pcidev'. The former allows to set the base address of the
serial console i/o port. The later takes the string of the format
'bus:device:function:[bar]' as a value and uses the serial port attached
as PCI device at the specified location for console.

Both variants pass 'hw.uart.console' variable to the uart driver to
properly hand-over the kernel console.

Change allows to use ISA serial ports other than COM1 for the
loader/kernel console without loader recompilation. Also, you can use
PCI-attached port as the console, e.g. Intel AMT serial pseudo-port on
some motherboards based on Q67 chipset.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245847 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245648;
pfg [Tue, 22 Jan 2013 22:31:38 +0000 (22:31 +0000)]
MFC    r245648;

Missing mergeinfo.

Noticed by: kib

git-svn-id: svn://svn.freebsd.org/base/stable/8@245827 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245446:
mav [Tue, 22 Jan 2013 17:21:08 +0000 (17:21 +0000)]
MFC r245446:
In case somebody still use it, fix legacy ataraid(4) to work on combined
PATA+AHCI controllers, such as JMicron JMB363.

PR: kern/159271

git-svn-id: svn://svn.freebsd.org/base/stable/8@245802 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244146:
mav [Tue, 22 Jan 2013 17:19:44 +0000 (17:19 +0000)]
MFC r244146:
Add IDs for SATA controllers on AMD Hudson-2 series chipsets.
I am not exactly sure about the naming due to lack of specs on AMD site,
but it is better to have some identification then none at all.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245801 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241402:
mav [Tue, 22 Jan 2013 17:18:34 +0000 (17:18 +0000)]
MFC r241402:
Add checks for ata_sata_scr_read() return statuses. It is mostly to silence
Clang Static Analyzer warnings as errors there are usually unlikely.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245458:
zont [Tue, 22 Jan 2013 12:10:51 +0000 (12:10 +0000)]
MFC r245458:
- Use standard RETURN VALUES section.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245789 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245648:
pfg [Tue, 22 Jan 2013 03:43:28 +0000 (03:43 +0000)]
MFC r245648:

newfs_msdos: cosmetical cleanups

- Simplify diagnostic messages.
- Adopt lowercase first letters to make the messages
  more canonical.

PR: bin/175404
Submitted by: Christoph Mallon
Reviewed by: bde

git-svn-id: svn://svn.freebsd.org/base/stable/8@245764 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245132 and r245175:
hselasky [Mon, 21 Jan 2013 07:41:27 +0000 (07:41 +0000)]
MFC r245132 and r245175:
Optimise the XHCI interrupt handling.
This patch will save CPU time when the XHCI interrupt is
shared with other devices.
Only check event rings when interrupt bits are set.
Otherwise would indicate hiding possible hardware fault(s).

Tested by:    sos @
Submitted by: sos @

git-svn-id: svn://svn.freebsd.org/base/stable/8@245737 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243780:
hselasky [Mon, 21 Jan 2013 07:39:16 +0000 (07:39 +0000)]
MFC r243780:
- Add support for Etron EJ168 USB 3.0 Host Controllers.
This brand of controllers expects that the number of
contexts specified in the input slot context points
to an active endpoint context, else it refuses to
operate.

- Wrap one or two long lines.

Tested by:    Markus Pfeiffer (DragonFlyBSD)

git-svn-id: svn://svn.freebsd.org/base/stable/8@245736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245249:
hselasky [Mon, 21 Jan 2013 07:32:59 +0000 (07:32 +0000)]
MFC r245249:

Bugfix: Fix sizeof() argument.
Found by:     Haakon Loevdal

git-svn-id: svn://svn.freebsd.org/base/stable/8@245735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r245412
bapt [Fri, 18 Jan 2013 17:48:10 +0000 (17:48 +0000)]
MFC: r245412
Directly uses calloc(3) instread of malloc(3) + memset(3)

Reported by: Jeremy Chadwick <jdc@koitsu.org>

git-svn-id: svn://svn.freebsd.org/base/stable/8@245608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243102:
pluknet [Fri, 18 Jan 2013 08:34:21 +0000 (08:34 +0000)]
MFC r243102:
 Sort SEE ALSO xrefs by the manual section number and add a missing comma.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245592 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245225, r245256: Restrict use of source address selection
ume [Thu, 17 Jan 2013 17:05:54 +0000 (17:05 +0000)]
MFC r245225, r245256: Restrict use of source address selection
of getipnodebyname(1) only to IPv6 address.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245557 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244975:
delphij [Wed, 16 Jan 2013 00:54:51 +0000 (00:54 +0000)]
MFC r244975:

Indicate that we are using OpenSSL with some local modifications.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245484 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244974:
delphij [Wed, 16 Jan 2013 00:52:36 +0000 (00:52 +0000)]
MFC r244974:

MFV r244973:

  Integrate OpenSSL changeset 22950 (appro):

        bn_word.c: fix overflow bug in BN_add_word.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245483 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r236899:
kevlo [Tue, 15 Jan 2013 15:29:28 +0000 (15:29 +0000)]
MFC r236899:

Fix unloading of libiconv module.

Previously it would either loop infinitely or exit with error leaking a lock.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245460 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244553,244594,244608,244639
bapt [Tue, 15 Jan 2013 09:17:07 +0000 (09:17 +0000)]
MFC r244553,244594,244608,244639

In preparation for making 'pkg -N' the one true method of determining
whether a system has been configured to use pkgng, cause /usr/sbin/pkg
recognise a -N option and exit with a failure code when the pkg port
is not installed

Submitted by: matthew

git-svn-id: svn://svn.freebsd.org/base/stable/8@245452 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r243883
bapt [Sun, 13 Jan 2013 22:36:12 +0000 (22:36 +0000)]
MFC: r243883

if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records and
use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead
of pkgbeta.FreeBSD.org

git-svn-id: svn://svn.freebsd.org/base/stable/8@245393 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244995 r244996 r244997.
markj [Sun, 13 Jan 2013 04:14:30 +0000 (04:14 +0000)]
MFC r244995 r244996 r244997.

MFC r244995:
  Fix a typo in an error message.

MFC r244996:
  Have -n imply -r, since dry-run mode obviously doesn't require root
  privileges.

MFC r244997:
  Make sure to update the mtime of a logfile after archiving it. This
  ensures that the next rotation happens at the correct time when using
  interval-based rotations.

Approved by: rstone (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@245359 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244719:
markj [Sun, 13 Jan 2013 04:13:14 +0000 (04:13 +0000)]
MFC r244719:
  Add the NO_SYNC_CACHE quirk for all Apple USB MSC devices, as they
  typically do not handle the SYNCHRONIZE_CACHE command - they either
  return an error or the firmware enters a reset loop.

Approved by: rstone (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@245357 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245236:
gjb [Sat, 12 Jan 2013 00:59:41 +0000 (00:59 +0000)]
MFC r245236:
 - Update where porters handbook lives.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245321 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 244756 + 244757:
delphij [Fri, 11 Jan 2013 00:41:16 +0000 (00:41 +0000)]
MFC 244756 + 244757:

Add Simplified Chinese catalogs.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245278 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245012:
wblock [Thu, 10 Jan 2013 23:39:28 +0000 (23:39 +0000)]
MFC r245012:

Document the output of the show command.  Modified version of patch
provided by Bas Smeelen <b.smeelen@ose.nl>.  Use of 'gpart list'
suggested by by Andrey V. Elsukov <ae@FreeBSD.org>.

PR: docs/174270
Submitted by: Ronald F.Guilmette <rfg@tristatelogic.com>
Reviewed by: ae (block sizes)

git-svn-id: svn://svn.freebsd.org/base/stable/8@245273 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r245034
erwin [Tue, 8 Jan 2013 08:58:23 +0000 (08:58 +0000)]
MFC r245034
        Update with new IPv4 address for D root.

        Approved by:    delphij (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@245161 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244341:
yongari [Tue, 8 Jan 2013 05:35:18 +0000 (05:35 +0000)]
MFC r244341:
  Make sure to stop both TX and RX MACs in ale_stop_mac(). Previously
  it used to stop TX MAC only such that MAC reconfiguration after
  getting a link didn't work as expected.

  PR: kern/173652

git-svn-id: svn://svn.freebsd.org/base/stable/8@245154 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243686:
yongari [Tue, 8 Jan 2013 05:30:45 +0000 (05:30 +0000)]
MFC r243686:
  Add preliminary support for BCM57766 ASIC.
  While I'm here add BCM57762 device id which is found on Apple
  Thunderbolt ethernet.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245152 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244601:
mm [Mon, 7 Jan 2013 11:12:09 +0000 (11:12 +0000)]
MFC r244601:
Update contrib/xz to version 5.0.4

Fix mergeinfo.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245129 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 245107: use full domain name
peter [Sun, 6 Jan 2013 19:26:39 +0000 (19:26 +0000)]
MFC 245107: use full domain name

git-svn-id: svn://svn.freebsd.org/base/stable/8@245109 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r244331
rmacklem [Sun, 6 Jan 2013 01:17:58 +0000 (01:17 +0000)]
MFC: r244331
Fix the gssd daemon so that it uses syslog() to report
an error instead of calling err() when it is daemonized,
so that the error gets logged.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245088 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r244226
rmacklem [Sun, 6 Jan 2013 01:11:45 +0000 (01:11 +0000)]
MFC: r244226
The group list for a non-default export entry (a host/subnet one)
was being copied from the wrong place. This patch fixes that.
This could cause access failures for mapped users, when the group
permissions were needed.

Submitted by: Christopher Key

git-svn-id: svn://svn.freebsd.org/base/stable/8@245086 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years ago- Add IFT_L2VLAN (vlan(4)) support.
markj [Sat, 5 Jan 2013 22:55:34 +0000 (22:55 +0000)]
- Add IFT_L2VLAN (vlan(4)) support.
- Add a -P option to support PID files. When -a is specified
  /var/run/rarpd.pid is used by default, and when an interface is
  specified /var/run/rarpd.<ifname>.pid is used by default.

Approved by: hrs, emaste (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@245077 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoUpdate to 9.6-ESV-R8.
erwin [Fri, 4 Jan 2013 13:36:31 +0000 (13:36 +0000)]
Update to 9.6-ESV-R8.

All security fixes were previously merged.
Release notes: https://kb.isc.org/article/AA-00795

Approved by: delphij (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@245039 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244941:
pfg [Fri, 4 Jan 2013 04:03:39 +0000 (04:03 +0000)]
MFC r244941:

libedit: bind the correct command when using "bind -k".

"ed-argument-digit" (i. e. command 0) was incorrectly used
instead.
This bug comes from the original sources imported in 1994
and has been confirmed in upstream NetBSD.

Reported by: Yamagi Burmeister
Submitted by: Christoph Mallon

git-svn-id: svn://svn.freebsd.org/base/stable/8@245026 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 244776, 244792:
pfg [Fri, 4 Jan 2013 03:54:22 +0000 (03:54 +0000)]
MFC 244776, 244792:

gcc: avoid generating negative values to DW_AT_byte_size.

There is a bug in gcc (GCC/35998) where dwarf reports
sizes of unsigned -1 (0xffffffff).

On NetBSD this generated a faulty CTF entry which then
caused a segfault in ctfmerge. The issue was worked
around in NetBSD's Dtrace but since the issue originated
in gcc, it seems reasonable to fix it here.

Thanks to Christoph Mallon for pointing out a correct fix.

git-svn-id: svn://svn.freebsd.org/base/stable/8@245024 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r242697,r242704:
wblock [Thu, 3 Jan 2013 21:35:25 +0000 (21:35 +0000)]
MFC r242697,r242704:

r242697:
Add devd.conf(5) and devd(8) to SEE ALSO xrefs.  Give users a pointer to
seemingly mysterious actions that are not done by ifconfig itself, but
by devd triggering on events caused by ifconfig.

r242704:
Remove fifteen-year-old notes on media selection (suggested by simon@).
Add commas after "e.g." and "i.e.".

PR: docs/173405

git-svn-id: svn://svn.freebsd.org/base/stable/8@245009 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoRemove bad svn:mergeinfo properties.
gshapiro [Thu, 3 Jan 2013 20:59:09 +0000 (20:59 +0000)]
Remove bad svn:mergeinfo properties.

Approved by: jhb

git-svn-id: svn://svn.freebsd.org/base/stable/8@245007 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244405:
dumbbell [Wed, 2 Jan 2013 22:14:18 +0000 (22:14 +0000)]
MFC r244405:
psm: Support detection of Synaptics touchpad v7.5 and above

Starting with firmware v7.5, the "Read TouchPad Modes" ($01) and "Read
Capabilities" ($02) commands changed: previously constant bytes now
carry variable information.

We now compare those bytes to expected constants only for firmware prior
to v7.5.

Tested by: Zeus Panchenko <zeus@gnu.org.ua>

git-svn-id: svn://svn.freebsd.org/base/stable/8@244982 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: Minor changes to force commit these files so new freebsd*.cf files are
gshapiro [Tue, 1 Jan 2013 18:54:55 +0000 (18:54 +0000)]
MFC: Minor changes to force commit these files so new freebsd*.cf files are
     built to use the new sendmail-8.14.6/cf tree.

     While here, update DNSBL link once again.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244938 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: Update import info based on recent experiences and sendmail 8.14.6 import.
gshapiro [Tue, 1 Jan 2013 18:45:22 +0000 (18:45 +0000)]
MFC: Update import info based on recent experiences and sendmail 8.14.6 import.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244935 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: Merge sendmail 8.14.6
gshapiro [Tue, 1 Jan 2013 18:29:04 +0000 (18:29 +0000)]
MFC: Merge sendmail 8.14.6

git-svn-id: svn://svn.freebsd.org/base/stable/8@244930 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244406:
delphij [Tue, 1 Jan 2013 07:06:17 +0000 (07:06 +0000)]
MFC r244406:

Update arcmsr(4) to vendor version 1.20.00.26, this adds
support for their new RAID adapter ARC-1214.

Many thanks to Areca for continuing to support FreeBSD.

Submitted by: 黃清隆 Ching-Lung Huang <ching2048 areca com tw>

git-svn-id: svn://svn.freebsd.org/base/stable/8@244923 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244369 (jimharris):
delphij [Tue, 1 Jan 2013 07:04:25 +0000 (07:04 +0000)]
MFC r244369 (jimharris):

Use CAM_DEV_NOT_THERE instead of CAM_SEL_TIMEOUT to report nonexistent
LUNs for the virtual processor device.  This removes lots of CAM warnings,
and follows similar recent changes to tws(4) and twa(4) drivers.

Also fix case where CAM_REQ_CMP was getting OR'd with CAM_DEV_NOT_THERE
in the nonexistent LUN case, resulting in different CAM status (CAM_UA_TERMIO)
getting reported to CAM.  This issue existing previously, but was more subtle
because it changed CAM_SEL_TIMEOUT to CAM_CMD_TIMEOUT.

Sponsored by: Intel
Reported and tested by: Willem Jan Withagen <wjw@digiware.nl>

git-svn-id: svn://svn.freebsd.org/base/stable/8@244922 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244600:
dim [Mon, 31 Dec 2012 14:21:41 +0000 (14:21 +0000)]
MFC r244600:

Fix a bug in ld --gc-sections: it strips out .note sections, while it
should never do so.  This can cause global constructors and destructors
to not be executed at run-time, resulting in crashes and other strange
behaviour.

Reported by: rene

git-svn-id: svn://svn.freebsd.org/base/stable/8@244905 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244900:
bz [Mon, 31 Dec 2012 12:05:34 +0000 (12:05 +0000)]
MFC r244900:

  Happy New Year 2013!

git-svn-id: svn://svn.freebsd.org/base/stable/8@244902 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoAdd mergeinfo that I accidentally omitted in my last commit.
markj [Mon, 31 Dec 2012 03:48:23 +0000 (03:48 +0000)]
Add mergeinfo that I accidentally omitted in my last commit.

Approved by: emaste (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244888 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoAdd mergeinfo that I accidentally omitted in my last commit.
markj [Mon, 31 Dec 2012 03:47:50 +0000 (03:47 +0000)]
Add mergeinfo that I accidentally omitted in my last commit.

Approved by: emaste (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244885 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 244523:
markj [Mon, 31 Dec 2012 03:35:01 +0000 (03:35 +0000)]
MFC 244523:
- Make sure that errno isn't modified before calling logerror() in error
  conditions.
- Don't check for AF_INET6 when compiled without INET6 support.

Approved by: emaste (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244882 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244522: Don't reload syslogd after rotating sendmail.st.
markj [Mon, 31 Dec 2012 03:34:23 +0000 (03:34 +0000)]
MFC r244522: Don't reload syslogd after rotating sendmail.st.

Approved by: emaste (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244879 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244791:
gjb [Mon, 31 Dec 2012 00:52:16 +0000 (00:52 +0000)]
MFC r244791:
 - Fix wording nit.

PR: 174787
Submitted by: Cody Rank

git-svn-id: svn://svn.freebsd.org/base/stable/8@244876 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: Add missing closing quote on commented out example
gshapiro [Sun, 30 Dec 2012 15:37:38 +0000 (15:37 +0000)]
MFC: Add missing closing quote on commented out example

git-svn-id: svn://svn.freebsd.org/base/stable/8@244863 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: Properly define true/false when defining __bool_true_false_are_defined
gshapiro [Sat, 29 Dec 2012 19:12:38 +0000 (19:12 +0000)]
MFC: Properly define true/false when defining __bool_true_false_are_defined
     for filters which pull in mfapi.h before stdbool.h.  Issue reported by
     Petr Rehor, maintainer of amavisd-milter port.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244828 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239055 and r239567:
hselasky [Sat, 29 Dec 2012 12:51:52 +0000 (12:51 +0000)]
MFC r239055 and r239567:

Add more USB ID's to FTDI driver.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244820 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoCopy sys/dev/usbdevs from head @ r244719 to simplify merging.
hselasky [Sat, 29 Dec 2012 12:48:03 +0000 (12:48 +0000)]
Copy sys/dev/usbdevs from head @ r244719 to simplify merging.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244819 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r235725, r239056, r241089, r243661 and r244252:
hselasky [Sat, 29 Dec 2012 12:33:32 +0000 (12:33 +0000)]
MFC r235725, r239056, r241089, r243661 and r244252:

Regenerate usb.conf

git-svn-id: svn://svn.freebsd.org/base/stable/8@244818 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244567:
hselasky [Sat, 29 Dec 2012 12:20:49 +0000 (12:20 +0000)]
MFC r244567:

Reduce stack usage in the USB audio driver by moving some large stack
elements to the USB audio softc structure.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244816 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244237:
kib [Sat, 29 Dec 2012 02:36:08 +0000 (02:36 +0000)]
MFC r244237:
Remove a special case for XEN.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244809 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244145:
mav [Wed, 26 Dec 2012 18:51:37 +0000 (18:51 +0000)]
MFC r244145:
Add quirks for AD1984A codec and Lenovo X300 laptop.

PR: kern/148741

git-svn-id: svn://svn.freebsd.org/base/stable/8@244713 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244104:
delphij [Tue, 25 Dec 2012 00:25:22 +0000 (00:25 +0000)]
MFC r244104:

In parse():

 - Only operate on copy, don't operate on source.
 - Eliminate home-rolled strsep().
 - Constify the parameter.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244670 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244096:
delphij [Mon, 24 Dec 2012 00:46:34 +0000 (00:46 +0000)]
MFC r244096:

Sync pf.os with OpenBSD.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244648 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244635: zfs: solaris doesn't have KM_ZERO, kmem_zalloc should be used instead
avg [Sun, 23 Dec 2012 20:03:53 +0000 (20:03 +0000)]
MFC r244635: zfs: solaris doesn't have KM_ZERO, kmem_zalloc should be used instead

This should fix build failure caused by r244623.

git-svn-id: svn://svn.freebsd.org/base/stable/8@244637 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agofix r243760 by accounting for cpuset vs cpumask differences
avg [Sun, 23 Dec 2012 16:11:43 +0000 (16:11 +0000)]
fix r243760 by accounting for cpuset vs cpumask differences

This is a direct commit.

Pointyhat to: avg

git-svn-id: svn://svn.freebsd.org/base/stable/8@244632 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r242567: zfs_mount: drop vfs.zfs.rootpool.prefer_cached_config tunable
avg [Sun, 23 Dec 2012 12:19:22 +0000 (12:19 +0000)]
MFC r242567: zfs_mount: drop vfs.zfs.rootpool.prefer_cached_config tunable

git-svn-id: svn://svn.freebsd.org/base/stable/8@244625 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243502: zfs roopool: add support for multi-vdev configurations
avg [Sun, 23 Dec 2012 12:16:24 +0000 (12:16 +0000)]
MFC r243502: zfs roopool: add support for multi-vdev configurations

git-svn-id: svn://svn.freebsd.org/base/stable/8@244623 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243762: gfs_file_inactive: replace bad code with ugly code
avg [Sun, 23 Dec 2012 12:13:07 +0000 (12:13 +0000)]
MFC r243762: gfs_file_inactive: replace bad code with ugly code

PR: kern/151111

git-svn-id: svn://svn.freebsd.org/base/stable/8@244621 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243404: acpi_cpu: use fixed resource ids for cx state i/o resources
avg [Sun, 23 Dec 2012 12:09:52 +0000 (12:09 +0000)]
MFC r243404: acpi_cpu: use fixed resource ids for cx state i/o resources

git-svn-id: svn://svn.freebsd.org/base/stable/8@244619 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243761: acpi_cpu_notify: disable acpi_cpu_idle while updating
avg [Sun, 23 Dec 2012 12:07:52 +0000 (12:07 +0000)]
MFC r243761: acpi_cpu_notify: disable acpi_cpu_idle while updating
C-state data

git-svn-id: svn://svn.freebsd.org/base/stable/8@244617 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243760: acpi_cpu: change cpu_disable_idle to be a per-cpu flag
avg [Sun, 23 Dec 2012 12:06:12 +0000 (12:06 +0000)]
MFC r243760: acpi_cpu: change cpu_disable_idle to be a per-cpu flag

git-svn-id: svn://svn.freebsd.org/base/stable/8@244615 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243497: zfs: create devices/geoms from zvols after receiveing them
avg [Sun, 23 Dec 2012 11:56:28 +0000 (11:56 +0000)]
MFC r243497: zfs: create devices/geoms from zvols after receiveing them

PR: kern/167066

git-svn-id: svn://svn.freebsd.org/base/stable/8@244612 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243272,243499: assert_vop_locked should treat LK_EXCLOTHER as the
avg [Sun, 23 Dec 2012 11:52:46 +0000 (11:52 +0000)]
MFC r243272,243499: assert_vop_locked should treat LK_EXCLOTHER as the
not locked case

git-svn-id: svn://svn.freebsd.org/base/stable/8@244610 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244246:
mm [Sat, 22 Dec 2012 22:27:57 +0000 (22:27 +0000)]
MFC r244246:

illumos-gate 13894:f4af77f6bbd2
3397 zdb <pool> <objnum> output is too verbose
3398 zdb can't dump feature flags zap objects

References:
https://www.illumos.org/issues/3397
https://www.illumos.org/issues/3398

git-svn-id: svn://svn.freebsd.org/base/stable/8@244603 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244037:
eadler [Thu, 20 Dec 2012 18:13:04 +0000 (18:13 +0000)]
MFC r244037:
Add check for failure of mkstemp and setenv.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244497 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r242996:
eadler [Thu, 20 Dec 2012 04:16:25 +0000 (04:16 +0000)]
MFC r242996:
Add support for CIR1000 - Cirrus Logic V34 to the sio driver

PR: kern/44267
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244477 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243793:
eadler [Thu, 20 Dec 2012 00:40:59 +0000 (00:40 +0000)]
MFC r243793:
Add support for hdmi hda codec onboard nvidia gt 440 graphics card

PR: kern/174059
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244472 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243890:
eadler [Thu, 20 Dec 2012 00:35:08 +0000 (00:35 +0000)]
MFC r243890:
Connect organization.dot to the build

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244468 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r244318:
eadler [Thu, 20 Dec 2012 00:32:43 +0000 (00:32 +0000)]
MFC r244318:
Minor wording improvments to some manual pages

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244463 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243891:
eadler [Thu, 20 Dec 2012 00:30:48 +0000 (00:30 +0000)]
MFC r243891:
Add ability to mergemaster to permit the user to type
the absolute path to PAGER if mergemaster can not find
the one already set.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244460 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243894:
eadler [Thu, 20 Dec 2012 00:28:51 +0000 (00:28 +0000)]
MFC r243894:
Remove useless check for NULL prior to free.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244457 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r243892:
eadler [Thu, 20 Dec 2012 00:26:46 +0000 (00:26 +0000)]
MFC r243892:
Remove pointless check for the existence of /usr/bin/less which exists
in all configurations.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@244455 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f