]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
14 years agoMFC r196287:
pjd [Mon, 17 Aug 2009 07:46:55 +0000 (07:46 +0000)]
MFC r196287:

Be more precise how to get fsids - 'mount -v' doesn't show fsids unless is run
by root.

Approved by: re (kib)

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

14 years agoMerge mptutil
scottl [Mon, 17 Aug 2009 07:30:08 +0000 (07:30 +0000)]
Merge mptutil

Approved by: re

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

14 years agoMerge mfiutil
scottl [Mon, 17 Aug 2009 07:25:12 +0000 (07:25 +0000)]
Merge mfiutil

Approved by: re

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

14 years agoMerge r196200. Add firmware definitions needed by mfiutil
scottl [Mon, 17 Aug 2009 06:21:22 +0000 (06:21 +0000)]
Merge r196200.  Add firmware definitions needed by mfiutil

Approved by: re

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

14 years agoMFC change 196278:
marcel [Sun, 16 Aug 2009 21:32:12 +0000 (21:32 +0000)]
MFC change 196278:
 Emit a proper error message instead of dumping core when 1)
 GEOM_PART does not exist in the kernel, and 2) the GEOM in
 question does not exist.
 Additionally abort in case of programming errors that result
 in neither the class nor geom not being present in the gctl
 request.

Approved by: re (kib)

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

14 years agoMFC r196276:
ed [Sun, 16 Aug 2009 20:33:16 +0000 (20:33 +0000)]
MFC r196276:

  Fix small style regression introduced by the MPSAFE newbus code.

Approved by: re (rwatson)

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

14 years agoMFC r196274
thompsa [Sun, 16 Aug 2009 14:17:47 +0000 (14:17 +0000)]
MFC r196274

 Change the usb workers from kernel processes to threads, this is mostly a
 cosmetic change to reduce cruft in the proc table.

 Also change the idle wait message to `-` like how taskqueues are.

 Reviewed by: julian
 Approved by: re (kib)

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

14 years agoMFC r196272
rink [Sun, 16 Aug 2009 10:25:58 +0000 (10:25 +0000)]
MFC r196272

Prevent sysinstall from needlessly waiting for confirmation when using an USB
device in non-interactive mode.

If there are no USB devices, sysinstall gives an error messages, and if there
is >1, it'll ask which one is to be used. This change allows a non-interactive
install from USB media to succeed without any user interaction if there is
exactly one USB disk device in the system it can use.

Submitted by: Daniel O'Connor < doconnorat gsoft dot com dot au >
Reviewed by:  randi
Approved by:  re (rwatson)

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

14 years agoMFC revision 196269:
marcel [Sun, 16 Aug 2009 02:21:24 +0000 (02:21 +0000)]
MFC revision 196269:
Fix misalignment in nvpair_native_embedded() caused by the compiler
replacing the bzero().

Approved by: re (kensmith)

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

14 years agoMFC rev 196268:
marcel [Sun, 16 Aug 2009 02:12:13 +0000 (02:12 +0000)]
MFC rev 196268:
Decouple ACPI CPU Ids from FreeBSD's cpuid. The ACPI Ids can be
sparse, which causes a kernel assert.

Approved by: re (kensmith)

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

14 years agoMFC r196260.
tuexen [Sat, 15 Aug 2009 21:37:16 +0000 (21:37 +0000)]
MFC r196260.
 * Fix a bug where PR-SCTP settings are ignore when using implicit
   association setup.
 * Fix a bug where message with illegal stream ids are not deleted.
 * Fix a crash when reporting back unsent messages from the send_queue.
 * Fix a bug related to INIT retransmission when the socket is already
   closed.
 * Fix a bug where associations were stalled when partial delivery API
   was enabled.
 * Fix a bug where the receive buffer size was smaller than the
   partial_delivery_point.

Approved by: re, rrs (mentor)

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

14 years agoMFC r196256:
attilio [Sat, 15 Aug 2009 18:56:56 +0000 (18:56 +0000)]
MFC r196256:
Fixup the Xen support in order to match newly introduced enhacements for
IPIs.

Approved by: re (kib)

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

14 years agoMFC 196254 - iostat: add a bit of space between tty in/out columns
keramida [Sat, 15 Aug 2009 18:03:34 +0000 (18:03 +0000)]
MFC 196254 - iostat: add a bit of space between tty in/out columns

The columns for tty input and output may bump against each other
if the tty output needs more than 5 columns.  Add a bit of space
that pushes everything 1 column to the right, but also avoids the
problem.

Approved by: re (rwatson)

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

14 years agoMFC calendar.freebsd
fluffy [Sat, 15 Aug 2009 16:04:36 +0000 (16:04 +0000)]
MFC calendar.freebsd

Approved by: re (rwatson) miwi (mentor)

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

14 years ago- Merge r196246:
stas [Sat, 15 Aug 2009 15:18:29 +0000 (15:18 +0000)]
- Merge r196246:
  Proprely intialize UART parameters at probe stage, so uart(4)
  will initialize the FIFO memory correctly on attach.  Before
  that this values was intialized in only in at91_usart_bus_attach
  which is called after the uart(4) memory allocation happens.

Approved by: re (kib)
MFC after: 1 week

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

14 years ago- Merge r196244:
stas [Sat, 15 Aug 2009 15:12:46 +0000 (15:12 +0000)]
- Merge r196244:
    Avoid overflowing the swap size counters in human-readable mode
    by introducing the new CONVERT_BLOCKS macro which operates on
    sizes already converted to number of blocks.  With this macro
    it is not longer needed to perform needless multiplica

Approved by: re (kib)

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

14 years agoMFC c196242: Add mptutil(8) and mfiutil(1) to 'SEE ALSO' sections in mpt(4)
trasz [Sat, 15 Aug 2009 11:52:40 +0000 (11:52 +0000)]
MFC c196242: Add mptutil(8) and mfiutil(1) to 'SEE ALSO' sections in mpt(4)
and mfi(4).

Approved by: re (rwatson)

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

14 years agoMFC 196234
qingli [Sat, 15 Aug 2009 00:04:12 +0000 (00:04 +0000)]
MFC 196234

In function ip_output(), the cached route is flushed when there is a
mismatch between the cached entry and the intended destination. The
cached rtentry{} is flushed but the associated llentry{} is not. This
causes the wrong destination MAC address being used in the output
packets. The fix is to flush the llentry{} when rtentry{} is cleared.

Reviewed by: kmacy, rwatson
Approved by: re

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

14 years agoMFC r196230:
zec [Fri, 14 Aug 2009 23:05:10 +0000 (23:05 +0000)]
MFC r196230:

  Appease VNET_DEBUG - in if_vmove we temporarily switch i.e.
  recurse from one vnet to another which is OK, so no need
  to flood the console with warnings here.

  Approved by:  re (rwatson), julian (mentor)

Approved by: re (rwatson)

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

14 years agoMFC r196229:
zec [Fri, 14 Aug 2009 23:01:21 +0000 (23:01 +0000)]
MFC r196229:

  SCTP is not yet compatible with options VIMAGE kernels although it compiles
  with VIMAGE defined, so explicitly disallow building such kernels.

  Reviewed by:  rrs
  Approved by:  re (rwatson), julian (mentor)

Approved by: re (rwatson)

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

14 years agoMFC r196228:
zec [Fri, 14 Aug 2009 22:55:54 +0000 (22:55 +0000)]
MFC r196228:

  Make VNET_DEBUG a standalone compile-time option, i.e. decouple it from
  INVARIANTS.

  Reviewed by:  bz
  Approved by:  re (rwatson), julian (mentor)

Approved by: re (rwatson)

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

14 years agoMFC r196226:
bz [Fri, 14 Aug 2009 21:50:47 +0000 (21:50 +0000)]
MFC r196226:

  Add a new macro to test that a variable could be loaded atomically.
  Check that the given variable is at most uintptr_t in size and that
  it is aligned.

  Note: ASSERT_ATOMIC_LOAD() uses ALIGN() to check for adequate
        alignment -- however, the function of ALIGN() is to guarantee
        alignment, and therefore may lead to stronger alignment
        enforcement than necessary for types that are smaller than
        sizeof(uintptr_t).

  Add checks to mtx, rw and sx locks init functions to detect possible
  breakage. This was used during debugging of the problem fixed with
  r196118 where a pointer was on an un-aligned address in the dpcpu area.

  In collaboration with:  rwatson
  Reviewed by:            rwatson

Approved by: re (kib)

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

14 years agoAdjust the handling of the local APIC PMC interrupt vector:
jhb [Fri, 14 Aug 2009 20:57:21 +0000 (20:57 +0000)]
Adjust the handling of the local APIC PMC interrupt vector:
- Provide lapic_disable_pmc(), lapic_enable_pmc(), and lapic_reenable_pmc()
  routines in the local APIC code that the hwpmc(4) driver can use to
  manage the local APIC PMC interrupt vector.
- Do not enable the local APIC PMC interrupt vector by default when
  HWPMC_HOOKS is enabled.  Instead, the hwpmc(4) driver explicitly
  enables the interrupt when it is succesfully initialized and disables
  the interrupt when it is unloaded.  This avoids enabling the interrupt
  on unsupported CPUs which may result in spurious NMIs.

Reported by: rnoland
Reviewed by: jkoshy
Approved by: re (kib)
MFC after: 2 weeks

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

14 years agoMFC 196221:
jhb [Fri, 14 Aug 2009 20:42:40 +0000 (20:42 +0000)]
MFC 196221:

Add the ability to build a release from an SVN checkout instead of a CVS
checkout.  If SVNROOT is specified, then the source tree will be checked
out from that SVN repository instead of using CVS.  ports and docs still
use CVS.  If SVNROOT is not specified, then the source tree will be checked
out using CVS.  An explicit SVN branch can be specified using SVNBRANCH
(e.g. SVNBRANCH=stable/8).  If SVNBRANCH is not set but RELEASETAG is set
to a CVS branch (such as RELENG_8) the appropriate SVN branch will be
inferred from the CVS branch using svnbranch.awk.

Note that there are still several open questions about using SVN instead
of CVS in the release process.  However, this does enable one to build a
release from an SVN repository if needed.

Approved by: re (kensmith)

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

14 years agoMFC: Purge mergeinfo from files that were temporarily renamed while USB2 was
jhb [Fri, 14 Aug 2009 20:09:31 +0000 (20:09 +0000)]
MFC: Purge mergeinfo from files that were temporarily renamed while USB2 was
imported into the tree alongside USB.

Approved by: re (mergeinfo blanket)

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

14 years ago Remove bogus char cast.
remko [Fri, 14 Aug 2009 19:30:59 +0000 (19:30 +0000)]
 Remove bogus char cast.

 PR: 118014
 Submitted by: Gardner Bell <gbell72 at rogers dot com>
 Approved by: re (rwatson), imp (mentor, implicit)
 MFC after: immediate

Approved by: re (rwatson), imp (mentor, implicit)

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

14 years agoMerge r196213 to stable/8.
cperciva [Fri, 14 Aug 2009 13:26:50 +0000 (13:26 +0000)]
Merge r196213 to stable/8.

Approved by: re (rwatson)

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

14 years agoMFC r196206:
kib [Fri, 14 Aug 2009 11:22:09 +0000 (11:22 +0000)]
MFC r196206:
Take the number of allocated freeblks into consideration for
softdep_slowdown(), to prevent kernel memory exhaustioni on
mass-truncation.

Approved by: re (rwatson)

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

14 years agoMFC r196205:
kib [Fri, 14 Aug 2009 11:17:34 +0000 (11:17 +0000)]
MFC r196205:
In nfs_upgrade_vnlock(), assert that the vnode is locked.
When downgrading, pass LK_RETRY to the vn_lock(), since otherwise
vn_lock() unlocks the doomed vnode, causing extra unlock.

Approved by: re (rwatson)

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

14 years agoMFC r196204:
kib [Fri, 14 Aug 2009 11:13:06 +0000 (11:13 +0000)]
MFC r196204:
Add the address of the lock to the KTR_LOCK trace.

Approved by: re (rwatson)

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

14 years agoMFC r196203:
kib [Fri, 14 Aug 2009 11:06:58 +0000 (11:06 +0000)]
MFC r196203:
Correctly handle unlock for !MAKEENTRY case.

Approved by: re (rwatson)

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

14 years agoMFC of r196201
julian [Fri, 14 Aug 2009 10:25:14 +0000 (10:25 +0000)]
MFC of r196201
  URL: http://svn.freebsd.org/changeset/base/196201

  Fix ipfw crash on uid or gid check.
  Receiving any ip packet for which there is no existing socket will
  crash if ipfw has a uid or gid test rule, as the uid/gid
  of the non existent owner of said non existent socket is tested.
  Brooks introduced this error as part of his >16 gids patch.
  It appears to be a cut-n-paste error from similar code a few lines
  before. The old code used the 'pcb' variable here, but in the
  new code that switched the 'inp' variable, which is often NULL
  and what is tested in the code further up. The rest of the multi-gid
  patch for ipfw seems solid (and cleaner than previous code).

p.s. What's up with all the properties changing? It is a fresh checkout.

Reviewed by: brooks
Approved by: re (rwatson)

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

14 years agoMFC r196196:
attilio [Thu, 13 Aug 2009 17:54:11 +0000 (17:54 +0000)]
MFC r196196:

* Completely remove the option STOP_NMI from the kernel.  This option
  has proven to have a good effect when entering KDB by using a NMI,
  but it completely violates all the good rules about interrupts
  disabled while holding a spinlock in other occasions.  This can be the
  cause of deadlocks on events where a normal IPI_STOP is expected.
* Add an new IPI called IPI_STOP_HARD on all the supported architectures.
  This IPI is responsible for sending a stop message among CPUs using a
  privileged channel when disponible. In other cases it just does match a
  normal IPI_STOP.
  Right now the IPI_STOP_HARD functionality uses a NMI on ia32 and amd64
  architectures, while on the other has a normal IPI_STOP effect. It is
  responsibility of maintainers to eventually implement an hard stop
  when necessary and possible.
* Use the new IPI facility in order to implement a new userend SMP kernel
  function called stop_cpus_hard(). That is specular to stop_cpu() but
  it does use the privileged channel for the stopping facility.
* Let KDB use the newly introduced function stop_cpus_hard() and leave
  stop_cpus() for all the other cases
* Disable interrupts on CPU0 when starting the process of APs suspension.
* Style cleanup and comments adding

This patch should fix the reboot/shutdown deadlocks many users are
constantly reporting on mailing lists.

Please don't forget to update your config file with the STOP_NMI
option removal

Reviewed by:  jhb
Tested by:    pho, bz, rink
Approved by:  re (kib)

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

14 years agoMFC r196193:
raj [Thu, 13 Aug 2009 16:01:19 +0000 (16:01 +0000)]
MFC r196193:
Use correct wbinv operation in pmap_l2cache_wbinv_range().

Submitted by: Michal Hajduk
Reviewed by: stas
Approved by: re (kib)
Obtained from: Semihalf

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

14 years agoMerge r196123 from head to stable/8:
rwatson [Thu, 13 Aug 2009 15:08:05 +0000 (15:08 +0000)]
Merge r196123 from head to stable/8:

  Update posix1e-related man pages, especially as relates to MAC, to more
  accurately reflect the last ten years of work.

Approved by: re (kib)

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

14 years agoMFC r196185:
bz [Thu, 13 Aug 2009 15:02:02 +0000 (15:02 +0000)]
MFC r196185:
  Rather than replicating the maths from the kernel, use the
  value the kernel calculated directly as we already read it
  with struct vnet.  This will make kvm_vnet.c more resilent
  in case of possible kernel changes.

  Reviewed by:  rwatson

Approved by: re (kib)

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

14 years agoMerge r196122 from head to stable/8:
rwatson [Thu, 13 Aug 2009 15:01:50 +0000 (15:01 +0000)]
Merge r196122 from head to stable/8:

  Correctly audit real gids following changes to the audit record argument
  interface.

Approved by: re (kib)

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

14 years agoMerge r196121 from head to stable/8:
rwatson [Thu, 13 Aug 2009 14:50:39 +0000 (14:50 +0000)]
Merge r196121 from head to stable/8:

  Reverse misordered unlock and lock in at_control for netatalk phase I
  addresses.

  Submitted by: Russell Cattelan <cattelan at thebarn.com>
Approved by: re (kib)

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

14 years agoMerge r196120 from head to stable/8:
rwatson [Thu, 13 Aug 2009 14:38:09 +0000 (14:38 +0000)]
Merge r196120 from head to stable/8:

  Update procstat(1) for the fact that devfs paths are no longer unsupported.

Approved by: re (kib)

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

14 years agoInstaMFC 196179: Remove CDDL warning.
trasz [Thu, 13 Aug 2009 13:56:05 +0000 (13:56 +0000)]
InstaMFC 196179: Remove CDDL warning.

Approved by: re (kib), core

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

14 years agoMFC r196176:
bz [Thu, 13 Aug 2009 10:31:02 +0000 (10:31 +0000)]
MFC r196176:

  Make it possible to change the vnet sysctl variables on jails
  with their own virtual network stack. Jails only inheriting a
  network stack cannot change anything that cannot be changed from
  within a prison.

  Reviewed by:  rwatson, zec

Approved by: re (kib)

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

14 years agoMFC r196174:
bz [Thu, 13 Aug 2009 09:32:15 +0000 (09:32 +0000)]
MFC r196174:

  Put multiple instructions into a block when iterating; unbreaks
  NET_RT_DUMP, which otherwise only returned information of AF_MAX.
  This was broken in r193232 (save your time - my bug, my fix).

  Reported by:  Larry Baird (lab gta.com)
  Tested by:    Larry Baird (lab gta.com)
  Reviewed by:  zec, lstewart, qing

PR: kern/137700
Approved by: re (kib)

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

14 years agoMFC r196172:
bz [Thu, 13 Aug 2009 09:17:07 +0000 (09:17 +0000)]
MFC r196172:
  Start respecting WITHOUT_INET6.

  Make regression/priv compile again after the multi-IP jail
  changes.  Note that we are still using the legacy jail(2)
  rather than the jail_set(2)/jail(3) syscall.
  Add an IPv4,  and an IPv6 loopback address in case we compile
  with INET6 enabled.

  Make the priv_vfs_extattr_system compile on amd64 as well using the
  proper length modifier to printf(3) for ssize_t.

  Reviewed by:  rwatson

Approved by: re (kib)

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

14 years agomerge r196164: update & remove CVS-specific items.
des [Thu, 13 Aug 2009 06:13:45 +0000 (06:13 +0000)]
merge r196164: update & remove CVS-specific items.

Approved by: re (kib)

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

14 years agoMFC 196162: Have at least a fallback WWN so cards on sun branded FC cards
mjacob [Thu, 13 Aug 2009 01:45:26 +0000 (01:45 +0000)]
MFC 196162: Have at least a fallback WWN so cards on sun branded FC cards
can configure.

Approved by: re

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

14 years agoMFC r196159:
sam [Wed, 12 Aug 2009 21:34:57 +0000 (21:34 +0000)]
MFC r196159:
  Drain link state event changes posted during vap destroy.  This is a
  band-aid for the general problem that if_link_state_change can be
  called between if_detach and if_free leaving a task queued that has
  been free'd.

Reviewed by: rwatson
Approved by: re (rwatson)

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

14 years agoMFC 196133:
simon [Wed, 12 Aug 2009 21:23:41 +0000 (21:23 +0000)]
MFC 196133:

  Remove symlinks in OpenSSL's testing framework.  These are not required
  for normal build, and doesn't export well to CVS.

  If they are needed later a script will be added to recreate the symlinks
  when needed at build time.

Approved by: re (rwatson)

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

14 years agoMFC 196155:
sam [Wed, 12 Aug 2009 21:06:37 +0000 (21:06 +0000)]
MFC 196155:
    First (early) draft of net80211 documentation.  Note this is
    focused on driver writers (as opposed to folks adding to net80211).

Reviewed by: wkoszek
Approved by: re (rwatson)

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

14 years agoMFC r196152
qingli [Wed, 12 Aug 2009 20:48:50 +0000 (20:48 +0000)]
MFC r196152

A piece of code was added to install a host route when an IPv6 interface
address is configured with a /128 prefix. This is no longer necessary due
to r192011. In fact that code conflicts with r192011. This patch removes
the host route installation when detecting the /128 prefix, and instead
let the code added by r192011 to install the loopback route for that IPv6
interface address.

Approved by: re

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

14 years agoMFC r196149:
rmacklem [Wed, 12 Aug 2009 20:30:27 +0000 (20:30 +0000)]
MFC r196149:

Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline()
so that it returns failure instead of crashing when "m->m_len" is
executed and m == NULL. The mbuf ptr can be NULL when a call to
xdrmbuf_getbytes() gets the bytes it needs, but they are at the end
of a short RPC reply. When this happens, xdrmbuf_getbytes() returns
success, but advances the mbuf ptr (xdrs->x_private) to m_next, which
is NULL. If this is followed by a call to xdrmbuf_getlong(), it calls
xdrmbuf_inline(), which would cause a crash by accessing "m->m_len".

Approved by: re (rwatson), kib (mentor)

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

14 years agoMFC: r196150
jkim [Wed, 12 Aug 2009 17:45:55 +0000 (17:45 +0000)]
MFC: r196150

Always embed pointer to BPF JIT function in BPF descriptor
to avoid inconsistency when opt_bpf.h is not included.

Reviewed by: rwatson
Approved by: re (rwatson)

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

14 years agoMFC 196147: Fix references to the kernel distributions to use the correct
jhb [Wed, 12 Aug 2009 14:40:21 +0000 (14:40 +0000)]
MFC 196147: Fix references to the kernel distributions to use the correct
names (uppercase).

Approved by: re (rwatson, kib)

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

14 years agoMerge r196142
rnoland [Wed, 12 Aug 2009 13:12:09 +0000 (13:12 +0000)]
Merge r196142

Add support for radeon RS880 IGP chips to drm.

Approved by: re (kib)

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

14 years agoMerge r196141
rnoland [Wed, 12 Aug 2009 13:09:24 +0000 (13:09 +0000)]
Merge r196141

Add some additional radeon pci ids to drm.

Approved by: re (kib)

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

14 years agoMFC r196137:
bz [Wed, 12 Aug 2009 12:31:29 +0000 (12:31 +0000)]
MFC r196137:

  Do not truncate IPv6 addresses when printing them in the
  jls -av 7.x multi-IP jail backward compat output.

  Reported by:  ed
  Tested by:    ed
  Reviewed by:  rwatson

Approved by:  re

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

14 years agoMFC r196135:
bz [Wed, 12 Aug 2009 12:14:30 +0000 (12:14 +0000)]
MFC r196135:
  Make the kernel compile without IP networking by moving
  a variable under a proper #ifdef.

Approved by: re (rwatson)

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

14 years agoMFC r196132:
bz [Wed, 12 Aug 2009 12:10:28 +0000 (12:10 +0000)]
MFC r196132:
  Add ddb show dpcpu_off command to ease dpcpu memory debugging.
  While show pcpu prints pc_dynamic this also prints the original
  memory address as well as the maths.

  Once dpcpu goes NUMA this is considered to help debugging as well.

  Reviewed by:  rwatson

Approved by: re

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

14 years agoMFC r196129:
bz [Wed, 12 Aug 2009 12:05:07 +0000 (12:05 +0000)]
MFC r196129:

  Update DDB show vnet command to print all used and available information.

  Reviewed by:  rwatson, zec

Approved by: re

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

14 years agoMerge r196128 to stable/8.
cperciva [Wed, 12 Aug 2009 12:00:22 +0000 (12:00 +0000)]
Merge r196128 to stable/8.

Approved by: re (rwatson)

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

14 years agoMFC r196118:
bz [Wed, 12 Aug 2009 10:32:20 +0000 (10:32 +0000)]
MFC r196118:
  Put minimum alignment on the dpcpu and vnet section so that ld
  when adding the __start_ symbol knows the expected section alignment
  and can place the __start_ symbol correctly.

  These sections will not support symbols with super-cache line alignment
  requirements.

  For full details, see posting to freebsd-current, 2009-08-10,
  Message-ID: <20090810133111.C93661@maildrop.int.zabbadoz.net>.

  Debugging and testing patches by:
                Kamigishi Rei (spambox haruhiism.net),
                np, lstewart, jhb, kib, rwatson
  Tested by:    Kamigishi Rei, lstewart
  Reviewed by:  kib

Approved by: re

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

14 years agoPrepare for 8.0 package set, adjust for 8-stable, acknowledge 9-current
kensmith [Wed, 12 Aug 2009 07:37:18 +0000 (07:37 +0000)]
Prepare for 8.0 package set, adjust for 8-stable, acknowledge 9-current
is coming.

Approved by: re (implicit)

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

14 years agoUpdate for RELENG_8.
kensmith [Wed, 12 Aug 2009 07:25:56 +0000 (07:25 +0000)]
Update for RELENG_8.

Approved by: re (implicit)

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

14 years agoAdjust for RELENG_8.
kensmith [Wed, 12 Aug 2009 07:22:12 +0000 (07:22 +0000)]
Adjust for RELENG_8.

Approved by: re (implicit)

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

14 years agoAdjust 'make update' to use RELENG_8 branch tag for cvs.
kensmith [Wed, 12 Aug 2009 07:08:14 +0000 (07:08 +0000)]
Adjust 'make update' to use RELENG_8 branch tag for cvs.

Approved by: re (implicit)

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

14 years agoNote when RELENG_8 branch was created.
kensmith [Mon, 3 Aug 2009 09:42:11 +0000 (09:42 +0000)]
Note when RELENG_8 branch was created.

Approved by: re (implicit)

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

14 years agoCopy head to stable/8 as part of 8.0 Release cycle.
kensmith [Mon, 3 Aug 2009 08:13:06 +0000 (08:13 +0000)]
Copy head to stable/8 as part of 8.0 Release cycle.

Approved by: re (Implicit)

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