]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
11 years agoMFC r249316:
dim [Tue, 16 Apr 2013 06:51:07 +0000 (06:51 +0000)]
MFC r249316:

Ensure make -j N universe works correctly, by checking for an up-to-date
make before starting the universe targets themselves.  Otherwise, all of
the targets would attempt to build make simultaneously, overwriting each
other's copies of the make object files and executable.  This could lead
to strange errors, for example when partially-written make executables
are invoked.

Also amend r216620, to make the rest of universe wait properly until the
upgrade_checks target is finished, by adding universe_${target}_prologue
to the .ORDER target.  Otherwise, make will be too smart for its own
good, and start building the universe targets simultaneously with the
prologues anyway.

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

11 years agoMFC r249439:
kib [Tue, 16 Apr 2013 06:20:35 +0000 (06:20 +0000)]
MFC r249439:
Fix the name of the pcb member in the comments.

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

11 years agoMFC r249303:
kib [Tue, 16 Apr 2013 06:17:15 +0000 (06:17 +0000)]
MFC r249303:
Fix the assertions for the state of the object under the map entry
with the MAP_ENTRY_VN_WRITECNT flag.

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

11 years agoDisconnect the CTL module for now; it breaks i386 XEN.
trasz [Tue, 16 Apr 2013 05:57:16 +0000 (05:57 +0000)]
Disconnect the CTL module for now; it breaks i386 XEN.

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

11 years agoMFC r249240:
trociny [Mon, 15 Apr 2013 18:56:03 +0000 (18:56 +0000)]
MFC r249240:

Use pget(9) to reduce code duplication.

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

11 years agoFix mergeinfo after r249503
bapt [Mon, 15 Apr 2013 18:38:21 +0000 (18:38 +0000)]
Fix mergeinfo after r249503

Submitted by: gavin

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

11 years agoMFC r249011:
trasz [Mon, 15 Apr 2013 18:32:35 +0000 (18:32 +0000)]
MFC r249011:

Fix dates in manual pages modified in 249009.

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

11 years agoPull in r178636 from upstream llvm trunk:
dim [Mon, 15 Apr 2013 18:30:00 +0000 (18:30 +0000)]
Pull in r178636 from upstream llvm trunk:

  Second pass at addressing PR15351 by explicitly checking for AVX
  support when getting the host processor information.  It emits a
  .byte sequence on GNUC compilers to work around lack of xgetbv
  support with older assemblers, and resolves a comment typo found in
  the previous patch.

This should fix crashes due to emitting of AVX instructions on certain
processors, which do not support then, when using -march=native.

This is a direct commit to stable/9, since head has a complete import of
llvm/clang trunk, and there is no single commit to merge.

Reported by: Kubilay Kocak <koobs.freebsd@gmail.com>

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

11 years agoMFC r249026:
trasz [Mon, 15 Apr 2013 17:35:14 +0000 (17:35 +0000)]
MFC r249026:

Don't directly dereference userland pointer; instead use kernel pointer
copied in from userspace.  This fixes instant panic when creating CTL LUN
on sparc64.  Not a security problem, since the API is root-only.

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

11 years agoMFC r249019:
trasz [Mon, 15 Apr 2013 17:20:44 +0000 (17:20 +0000)]
MFC r249019:

Fix comment formatting.

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

11 years agoMFC r249012:
trasz [Mon, 15 Apr 2013 17:19:28 +0000 (17:19 +0000)]
MFC r249012:

Remove unused code.

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

11 years agoMFC r249009:
trasz [Mon, 15 Apr 2013 17:16:12 +0000 (17:16 +0000)]
MFC r249009:

Make it possible to build CTL as a module.

MFC r249022 by glebius@:

- Remove extra $FreeBSD$
- Touch options headers to make module buildable.

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

11 years agoMFC: r248151, r248168
bapt [Mon, 15 Apr 2013 07:01:20 +0000 (07:01 +0000)]
MFC: r248151, r248168

Ports are no more exported via cvsup, remove cvsup examples and documentation refering to
ports

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

11 years agoMFC r249397:
delphij [Mon, 15 Apr 2013 05:00:41 +0000 (05:00 +0000)]
MFC r249397:

Fix a few typos.

Reviewed by: gjb

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

11 years agoMFC: r246166
hiren [Mon, 15 Apr 2013 03:09:59 +0000 (03:09 +0000)]
MFC: r246166

Update hwpmc to support the Xeon class of Ivybridge processors.
case 0x3E:      /* Per Intel document 325462-045US 01/2013. */

Add manpage to document all the goodness that is available in this
processor model.

No support for uncore events at this time.

Approved by: sbruno (mentor)

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

11 years agoMFC 234223:
jpaetzel [Sun, 14 Apr 2013 22:38:28 +0000 (22:38 +0000)]
MFC 234223:

Update to version 2.3.1.0

MFC 234284, 234425, 234481:

Unbreak the build caused by 234233

PR: kern/157770
Obtained from: Daniel Braniss <danny@cs.huji.ac.il>

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

11 years agoMFC r249359:
eadler [Sun, 14 Apr 2013 00:49:08 +0000 (00:49 +0000)]
MFC r249359:
fuser(1) requires a filename.

Approved by: cperciva (mentor, implicit)

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

11 years agoMFC r248824 & r248826
sbruno [Sun, 14 Apr 2013 00:20:32 +0000 (00:20 +0000)]
MFC r248824 & r248826

Fix compile with CISS_DEBUG defined

Fix DDB hook to actually work again

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

11 years agoMFC r225846, r225853, r225854, r226121, r226320, r226351, r226942, r228991, r229164...
eadler [Sat, 13 Apr 2013 22:29:13 +0000 (22:29 +0000)]
MFC r225846, r225853, r225854, r226121, r226320, r226351, r226942, r228991, r229164, r230876, r231274, r231516, r232105, r232353, r234221, r234320, r234446, r234600, r236392, r236733, r238058, r238976, r239498, r240362, r240548, r242549, r242849, r242900, r245447, r247752, r249113

Merge all outstanding calendars commits.

Discussed with: gjb, des

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

11 years agoMFC r243856 by joel@:
trasz [Sat, 13 Apr 2013 21:17:43 +0000 (21:17 +0000)]
MFC r243856 by joel@:

Remove superfluous paragraph macro.

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

11 years agoMFC r249375 by joel@:
trasz [Sat, 13 Apr 2013 21:16:15 +0000 (21:16 +0000)]
MFC r249375 by joel@:

Minor spelling and grammar fixes.

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

11 years agoMFC r243849 by bdrewery@:
trasz [Sat, 13 Apr 2013 21:14:51 +0000 (21:14 +0000)]
MFC r243849 by bdrewery@:

- Move EXAMPLES descriptions to before the actual command
- Add mdoc macros for EXAMPLES

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

11 years agoMFC r242140:
trasz [Sat, 13 Apr 2013 21:11:18 +0000 (21:11 +0000)]
MFC r242140:

Add pcpu to the the rctl(8) manual page.

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

11 years agoMFC r242139:
trasz [Sat, 13 Apr 2013 21:04:06 +0000 (21:04 +0000)]
MFC r242139:

Add CPU percentage limit enforcement to RCTL.  The resouce name is "pcpu".
It was implemented by Rudolf Tomori during Google Summer of Code 2012.

MFC r242957:

Don't divide by zero.

MFC r243070:

Fix kassert that's not really valid for %CPU accounting.  The problem
here is race between decaying the resource usage in containers, and updating
per-process usage; basically, the former may cause per-container usage
to get smaller than per-process usage.

MFC r243088:

Improve KASSERT messages in racct, to make it clear which resource
caused the problem.

MFC r248298:

Accessing td_state requires thread lock to be held.

MFC r248300:

When throttling a process to enforce RACCT limits, do not use neither
PBDRY (which simply doesn't make any sense) nor PCATCH (which could
be used by a malicious process to work around the PCPU limit).

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

11 years agoMFC r249161:
mav [Fri, 12 Apr 2013 17:15:47 +0000 (17:15 +0000)]
MFC r249161:
Following r241022, replace iteration over the provider list on media events
by taking first one and asserting that there is no others.

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

11 years agoMFC r249163:
kib [Fri, 12 Apr 2013 13:04:23 +0000 (13:04 +0000)]
MFC r249163:
If filter of the interrupt event is not null, print it, in addition to
the handler address.  Add a mark to distinguish between filter and
handler.

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

11 years agoMFC r232385 by ru: Remove 3 syscalls from opendir().
jilles [Fri, 12 Apr 2013 11:37:24 +0000 (11:37 +0000)]
MFC r232385 by ru: Remove 3 syscalls from opendir().

Finally removed the stat() and fstat() calls from the opendir() code.
They were made excessive in r205424 by opening with O_DIRECTORY.
Also eliminated the fcntl() call used to set FD_CLOEXEC by opening
with O_CLOEXEC.

(fdopendir() still checks that the passed descriptor is a directory,
and sets FD_CLOEXEC on it.)

The necessary kernel support for O_DIRECTORY and O_CLOEXEC was already in
9.0-RELEASE.

Discussed with: ru

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

11 years agoMFC r245525:
bz [Thu, 11 Apr 2013 22:04:19 +0000 (22:04 +0000)]
MFC r245525:

  Add a conditional sleep 1 in case we add any IPv6 addresses to interfaces.
  Do this per jail started, not per address.  This will allow DAD to complete
  and services to properly start.   Before we have seen problems with services
  trying to start before the IPv6 address was available to use and thus
  erroring and failing to start.

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

11 years agoMFC r249241:
trociny [Thu, 11 Apr 2013 20:12:28 +0000 (20:12 +0000)]
MFC r249241:

Fix synopsis for sbuf_len.

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

11 years agoMFC r239046:
andreast [Thu, 11 Apr 2013 18:47:16 +0000 (18:47 +0000)]
MFC r239046:

Fix typo.

PR: kern/177495

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

11 years agoMFC r249062:
mav [Wed, 10 Apr 2013 18:13:33 +0000 (18:13 +0000)]
MFC r249062:
Since ATA_CAM mode has no implemented support for serializing access to the
different ATA channels, required for acard and pc98 ATA controllers, block
access to second channels of both, hoping that one working channel is better
then none.  I have an idea how that support could be implemented, but I have
no hardware to work on that.

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

11 years agoMFC r249052:
mav [Wed, 10 Apr 2013 18:07:25 +0000 (18:07 +0000)]
MFC r249052:
Add some more ATA_CAM ifdefs.

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

11 years agoMFC r248800:
mav [Wed, 10 Apr 2013 17:49:25 +0000 (17:49 +0000)]
MFC r248800:
On SIM destruction free associated CCBs, preallocated inside xpt_get_ccb().
Before this change they were just leaked.  Fortunately USB sticks now use
only one CCB, and so leak was only 2KB per detach, while other bigger SIMs
with much more allocated CCBs are rarely detached.

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

11 years agoMFC r248794:
kib [Wed, 10 Apr 2013 08:59:50 +0000 (08:59 +0000)]
MFC r248794:
Fix a race with the vnode reclamation in the aio_qphysio().

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

11 years agoMFC r248792:
kib [Wed, 10 Apr 2013 08:49:37 +0000 (08:49 +0000)]
MFC r248792:
Add dev_strategy_csw() function. Use it from physio(), to avoid two
extra dev_mtx lock and unlock.

Do some style cleanup in physio().

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

11 years agoMFC r248627:
delphij [Mon, 8 Apr 2013 23:06:25 +0000 (23:06 +0000)]
MFC r248627:

Don't attempt to reference sc before testing whether it's NULL.

Submitted by: Sascha Wildner
Obtained from: DragonFly

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

11 years agoMFC r247596:
delphij [Mon, 8 Apr 2013 23:01:33 +0000 (23:01 +0000)]
MFC r247596:

Fix assignment of maximum bounadary.

Submitted by: Sascha Wildner <saw online de>
Obtained from: DragonFly rev fd39c81ba220f7ad6e4dc9b30d45e828cf58a1ad

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

11 years agoMFC r247595:
delphij [Mon, 8 Apr 2013 22:56:40 +0000 (22:56 +0000)]
MFC r247595:

Fix wrong assignment.

Submitted by: Sascha Wildner <saw online de>
Obtained from: DragonFly rev 9568dd07a22a136e380e6c19a8ea188eb92976d5

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

11 years agoMFC: r247859
jkim [Mon, 8 Apr 2013 22:31:35 +0000 (22:31 +0000)]
MFC: r247859

Update the manual page to reflect reality.  With r138509 and r152355,
"nostrictjoliet" option for mount_cd9660(8) was completely replaced with
"brokenjoliet" somehow.

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

11 years agoMFC: r248799
jkim [Mon, 8 Apr 2013 20:43:53 +0000 (20:43 +0000)]
MFC: r248799

Limit the amount of video memory we map for the driver to the maximum value.

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

11 years agoMFC r248707:
trociny [Mon, 8 Apr 2013 19:48:40 +0000 (19:48 +0000)]
MFC r248707:

hrStorageSize and hrStorageUsed are 32 bit integers, reporting a fs
size and usage in hrStorageAllocationUnits. If the file system has
more than 2^31 allocations it can not be shown correctly and the
meters are useless.

In such cases follow net-snmp behaviour and increase
hrStorageAllocationUnits so the values fit under INT_MAX.

PR: bin/177183
Submitted by: Eugene Grosbein egrosbein rdtc.ru

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

11 years agoMFC r248972:
trasz [Mon, 8 Apr 2013 12:09:53 +0000 (12:09 +0000)]
MFC r248972:

Mention that read_attributes, write_attributes, read_acl and write_acl
are always permitted for the file owner.

PR: kern/174948

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

11 years agoMFC r248969:
kib [Mon, 8 Apr 2013 08:29:52 +0000 (08:29 +0000)]
MFC r248969:
Do not call the VOP_LOOKUP() for the doomed directory vnode.

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

11 years agoMFC r248991:
dim [Mon, 8 Apr 2013 07:08:29 +0000 (07:08 +0000)]
MFC r248991:

Follow up to r247960 and rr247960 by also amending ctfmerge.  For the
only other case where STT_FILE symbols are used, in symit_next() in
cddl/contrib/opensolaris/tools/ctf/cvt/input.c, save the basename of the
symbol, instead of the full pathname.

Reported by: avg
Tested by: avg, jimharris

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

11 years agoMFC r230998,r233792: sh: Use vfork in a few common cases.
jilles [Sun, 7 Apr 2013 21:25:14 +0000 (21:25 +0000)]
MFC r230998,r233792: sh: Use vfork in a few common cases.

This uses vfork() for simple commands and command substitutions containing a
single simple command, invoking an external program under certain conditions
(no redirections or variable assignments, non-interactive shell, no job
control). These restrictions limit the amount of code executed in a vforked
child.

Various incarnations of this patch have been shown to bring performance
improvements:
http://lists.freebsd.org/pipermail/freebsd-hackers/2012-January/037581.html

The use of vfork() can be disabled by setting a variable named
SH_DISABLE_VFORK.

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

11 years agoMFC r246922 (pjd):
trociny [Sun, 7 Apr 2013 17:05:16 +0000 (17:05 +0000)]
MFC r246922 (pjd):

- Add support for 'memsync' mode. This is the fastest replication mode that's
  why it will now be the default.
- Bump protocol version to 2 and add backward compatibility for version 1.
- Allow to specify hosts by kern.hostid as well (in addition to hostname and
  kern.hostuuid) in configuration file.

Sponsored by: Panzura

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

11 years agoMFC r244052 and r245288:
ken [Fri, 5 Apr 2013 19:33:31 +0000 (19:33 +0000)]
MFC r244052 and r245288:

  r244052 | ken | 2012-12-09 12:53:21 -0700 (Sun, 09 Dec 2012) | 20 lines

  Fix a couple of CTL locking issues and clean up some duplicated code.

  ctl_frontend_cam_sim.c: Coalesce cfcs_online() and cfcs_offline()
   into a single function since these were
   identical except for one line.

   Make sure we hold the SIM lock around path
   creation, and calling xpt_rescan().

  scsi_ctl.c: In ctlfe_onoffline(), make sure we hold the
   SIM lock around path creation and free
   calls, as well as xpt_action().

   In ctlfe_lun_enable(), hold the SIM lock
   around path and peripheral operations that
   require it.

  Sponsored by: Spectra Logic Corporation
  MFC after: 1 week

  ------------------------------------------------------------------------
  r245228 | ken | 2013-01-09 10:02:08 -0700 (Wed, 09 Jan 2013) | 43 lines

  Make CTL work a little better with loading and unloading drivers.

  Previously CTL would leave individual LUNs enabled in the target
  driver, whether or not the port as a whole was enabled.  It would
  also leave the wildcard LUN enabled indefinitely.

  This change means that CTL will enable and disable any active LUNs,
  as well as the wildcard LUN, when enabling and disabling a port.

  Also, fix a bug that could crop up due to an uninitialized CCB
  type.

  ctl.c: Before calling ctl_frontend_online(), run through
   the LUN list and enable all active LUNs.

   After calling ctl_frontend_offline(), run through
   the LUN list and disble all active LUNs.

  scsi_ctl.c: Before bringing a port online, allocate the
   wildcard peripheral for that bus.  And after taking
   a port offline, invalidate the wildcard peripheral
   for that bus.

   Make sure that we hold the SIM lock around all
   calls to xpt_action() and other transport layer
   interfaces that require it.

   Use CAM_SIM_{LOCK|UNLOCK} consistently to acquire
   and release the SIM lock.

   Update a number of outdated comments.  Some of
   these should have been fixed long ago.

   Actually do LUN disbables now.  The newer drivers
   in the tree work correctly for this as far as I
   know.

   Initialize the CCB type to CTLFE_CCB_DEFAULT to
   avoid a panic due to uninitialized memory.

  Submitted by: Chuck Tuffli (partially)
  MFC after: 1 week

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

11 years agoMFC r247161:
mav [Fri, 5 Apr 2013 11:57:41 +0000 (11:57 +0000)]
MFC r247161:
Hide SEMB port of the SiI3826 Port Multiplier by default to avoid extra
errors while it tries to talk via I2C to usually missing external SEP.
There is tunable to enable it back when needed.

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

11 years agoMFC r247154:
mav [Fri, 5 Apr 2013 11:55:52 +0000 (11:55 +0000)]
MFC r247154:
Add DA_Q_NO_PREVENT quirk for Kingston DataTraveler G3 1.00 USB flash.

PREVENT ALLOW MEDIUM REMOVAL commands return errors on these devices
without returning sense data. In some cases unrelated following commands
start to return errors too, that makes device to be dropped by CAM.

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

11 years agoMFC r245310:
mav [Fri, 5 Apr 2013 11:53:53 +0000 (11:53 +0000)]
MFC r245310:
- Add missig xpt_schedule() call for cases when requested immediate CCB
priority is lower then payload/TUR one.

- Reduce TUR priority and avoid sending them if there are any other
outstanding commands, alike to DA driver.

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

11 years agoMFC r245306:
mav [Fri, 5 Apr 2013 11:52:33 +0000 (11:52 +0000)]
MFC r245306:
Do not schedule periph for payload/TUR requests if reprobe is in progress
to avoid sending extra READ CAPACITY requests by dastart().  Schedule periph
again on reprobe completion, or otherwise it may stuck indefinitely long.

This should fix USB explore thread hanging on device unplug, waiting for
periph destruction.

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

11 years agoMFC r245253 (by smh):
mav [Fri, 5 Apr 2013 11:50:05 +0000 (11:50 +0000)]
MFC r245253 (by smh):
Changed scsi_da device requests to use the sysctl tunable value for retry_count
and da_default_timeout where their current hardcoded values matched the current
default value for said tunables.

PR:             kern/169976

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

11 years agoMFC r245252 (by smh):
mav [Fri, 5 Apr 2013 11:48:35 +0000 (11:48 +0000)]
MFC r245252 (by smh):
Updates delete_method sysctl changes to always maintain disk d_flags
DISKFLAG_CANDELETE. While this change makes this layer consistent
other layers such as UFS and ZFS BIO_DELETE support may not notice
any change made manually via these device sysctls until the device
is reopened via a mount.

Also corrected var order in dadeletemethodsysctl

PR:             kern/169801

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

11 years agoMFC r245251 (by smh):
mav [Fri, 5 Apr 2013 11:45:52 +0000 (11:45 +0000)]
MFC r245251 (by smh):
Removes essentially unused variables from scsi_da probe setups

PR: kern/169835

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

11 years agoMFC r238886, r238892:
mav [Fri, 5 Apr 2013 11:41:56 +0000 (11:41 +0000)]
MFC r238886, r238892:
Implement media change notification for DA and CD removable media devices.
It includes three parts:
 1) Modifications to CAM to detect media media changes and report them to
disk(9) layer. For modern SATA (and potentially UAS) devices it utilizes
Asynchronous Notification mechanism to receive events from hardware.
Active polling with TEST UNIT READY commands with 3 seconds period is used
for incapable hardware. After that both CD and DA drivers work the same way,
detecting two conditions: "NOT READY: Medium not present" after medium was
detected previously, and "UNIT ATTENTION: Not ready to ready change, medium
may have changed". First one reported to disk(9) as media removal, second
as media insert/change. To reliably receive second event new
AC_UNIT_ATTENTION async added to make UAs broadcasted to all periphs by
generic error handling code in cam_periph_error().
 2) Modifications to GEOM core to handle media remove and change events.
Media removal handled by spoiling all consumers attached to the provider.
Media change event also schedules provider retaste after spoiling to probe
new media. New flag G_CF_ORPHAN was added to consumers to reflect that
consumer is in process of destruction. It allows retaste to create new
geom instance of the same class, while previous one is still dying.
 3) Modifications to some GEOM classes: DEV -- to report media change
events to devd; PART class already handles spoiling alike to orphan.

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

11 years agoMFC r244716 (by pjd):
mav [Fri, 5 Apr 2013 10:57:02 +0000 (10:57 +0000)]
MFC r244716 (by pjd):
Reset provider-specific fields when resending I/O request in low memory
conditions. This fixes assertion which checks those fields when kernel is
compiled with DIAGNOSTIC.

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

11 years agoMFC r240822, r241022 (by pjd):
mav [Fri, 5 Apr 2013 10:50:32 +0000 (10:50 +0000)]
MFC r240822, r241022 (by pjd):
Use the topology lock to protect list of providers while withering them.
It is possible that provider is destroyed while we are iterating over the
list.

Remove the topology lock from disk_gone(), it might be called with regular
mutexes held and the topology lock is an sx lock.

The topology lock was there to protect traversing through the list of providers
of disk's geom, but it seems that disk's geom has always exactly one provider.

Change the code to call g_wither_provider() for this one provider, which is
safe to do without holding the topology lock and assert that there is indeed
only one provider.

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

11 years agoMFC r238198 (by trasz):
mav [Fri, 5 Apr 2013 10:35:36 +0000 (10:35 +0000)]
MFC r238198 (by trasz):
Fix orphan() methods of several GEOM classes to not assume that there
is an error set on the provider.  With GEOM resizing, class can become
orphaned when it doesn't implement resize() method and the provider size
decreases.

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

11 years agoMFC r228204:
mav [Fri, 5 Apr 2013 10:30:37 +0000 (10:30 +0000)]
MFC r228204:
Close race between geom destruction on g_vfs_close() when softc destroyed
and g_vfs_orphan() call that tries to access softc, intruced at r227015.

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

11 years agoMFC r227015:
mav [Fri, 5 Apr 2013 10:29:14 +0000 (10:29 +0000)]
MFC r227015:
Add mutex and two flags to make orphan() call properly asynchronous:
 - delay consumer closing and detaching on orphan() until all I/Os complete;
 - prevent new I/Os submission after orphan() called.
Previous implementation could destroy consumers still having active
requests and worked only because of global workaround made on GEOM level.

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

11 years agoMFC r226998, r227004:
mav [Fri, 5 Apr 2013 10:27:05 +0000 (10:27 +0000)]
MFC r226998, r227004:
Refactor disk disconnection and geom destruction handling sequences.
Do not close/destroy opened consumer directly in case of disconnect. Instead
keep it existing until it will be closed in regular way in response to
upstream provider destruction. Delay geom destruction in the same way.
Previous implementation could destroy consumers still having active
requests and worked only because of global workaround made on GEOM level.

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

11 years agoMFC r226737 (by pjd):
mav [Fri, 5 Apr 2013 10:22:22 +0000 (10:22 +0000)]
MFC r226737 (by pjd):
Allow upper layers to discover than BIO_DELETE and/or BIO_FLUSH is not
supported by returning EOPNOTSUPP instead of 0 or ENODEV.

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

11 years agoMFC r226736:
mav [Fri, 5 Apr 2013 10:13:44 +0000 (10:13 +0000)]
MFC r226736:
Improve style a bit.

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

11 years agoMFC r226735 (by pjd):
mav [Fri, 5 Apr 2013 10:10:39 +0000 (10:10 +0000)]
MFC r226735 (by pjd):
Simplify disk_alloc().

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

11 years agoMFC r237689 (by imp):
mav [Fri, 5 Apr 2013 09:02:04 +0000 (09:02 +0000)]
MFC r237689 (by imp):
Add a sysctl to set the cdrom timeout.  Data recovery operations from
a CD or DVD drive with a damaged disc often benefit from a shorter
timeout.  Also, when retries are set to 0, an application is expecting
errors and recovering them so do not print the error into the log.
The number of expected errors can literally be in the hundreds of
thousands which significantly slows data recovery.

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

11 years agoMFC r237478:
mav [Fri, 5 Apr 2013 08:51:05 +0000 (08:51 +0000)]
MFC r237478:
Add scsi_extract_sense_ccb() -- wrapper around scsi_extract_sense_len().
It allows to remove number of duplicate checks from several places.

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

11 years agoMFC r234177, r234374 (by trasz):
mav [Fri, 5 Apr 2013 08:46:20 +0000 (08:46 +0000)]
MFC r234177, r234374 (by trasz):
Refactor da(4) to remove one of two code paths used to query capacity
data.

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

11 years agoMFC r227293 (by ed):
mav [Fri, 5 Apr 2013 08:22:11 +0000 (08:22 +0000)]
MFC r227293 (by ed):
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.

This means that their use is restricted to a single C file.

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

11 years agoMFC r247834:
kib [Thu, 4 Apr 2013 05:47:50 +0000 (05:47 +0000)]
MFC r247834:
Import the drm_global references helpers.

MFC r247839 (by dumbbell):
Destroy sx in drm_global_release().

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

11 years agoMFC r247833:
kib [Thu, 4 Apr 2013 05:39:37 +0000 (05:39 +0000)]
MFC r247833:
Import the drm_mm_debug_table() function.

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

11 years agoMFC r247832:
kib [Thu, 4 Apr 2013 05:36:11 +0000 (05:36 +0000)]
MFC r247832:
Import the likely() compat macro.

MFC r247838:
Correct the r247832.

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

11 years agoMFC r248815:
kib [Thu, 4 Apr 2013 05:29:37 +0000 (05:29 +0000)]
MFC r248815:
Release the v_writecount reference on the vnode in case of error,
before the vnode is vput() in vm_mmap_vnode().

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

11 years agoMFC r248567:
kib [Thu, 4 Apr 2013 05:26:22 +0000 (05:26 +0000)]
MFC r248567:
Do not call vnode_pager_setsize() while a NFS node mutex is
locked. vnode_pager_setsize() might sleep waiting for the page after
EOF be unbusied.

Call vnode_pager_setsize() both for the regular and directory vnodes.

MFC r248581:
Initialize the variable to avoid (false) compiler warning about
use of an uninitialized local.

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

11 years agoMFC r248967:
kib [Thu, 4 Apr 2013 05:20:52 +0000 (05:20 +0000)]
MFC r248967:
Strip the unnneeded spaces, mostly at the end of lines.

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

11 years agoMFC r248968:
kib [Thu, 4 Apr 2013 05:04:48 +0000 (05:04 +0000)]
MFC r248968:
Record the correct error in the trace.

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

11 years agoMFC r248563:
kib [Wed, 3 Apr 2013 15:38:44 +0000 (15:38 +0000)]
MFC r248563:
Increment the write ref counter for the buffer object before calling
bundirty().

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

11 years agoMFC r248562:
kib [Wed, 3 Apr 2013 15:34:25 +0000 (15:34 +0000)]
MFC r248562:
Move the vn_start_write() call in the dounmount() before setting the
MNTK_UNMOUNT flag.

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

11 years agoMFH (r247285): always bootstrap liby along with yacc.
des [Wed, 3 Apr 2013 12:20:08 +0000 (12:20 +0000)]
MFH (r247285): always bootstrap liby along with yacc.

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

11 years agoMFH (r247810): correctly parse mixed quoted / unquoted text.
des [Wed, 3 Apr 2013 12:17:35 +0000 (12:17 +0000)]
MFH (r247810): correctly parse mixed quoted / unquoted text.

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

11 years agoMFH (r247270, r247271): allow starting rtadvd without any interfaces.
des [Wed, 3 Apr 2013 11:51:11 +0000 (11:51 +0000)]
MFH (r247270, r247271): allow starting rtadvd without any interfaces.

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

11 years agoMFH (r246358): load pfsync.ko if necessary.
des [Wed, 3 Apr 2013 11:00:50 +0000 (11:00 +0000)]
MFH (r246358): load pfsync.ko if necessary.

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

11 years agoMFC r248802:
dim [Wed, 3 Apr 2013 06:48:47 +0000 (06:48 +0000)]
MFC r248802:

Similar to r239870 and r239872, teach the other binutils tools about the
DW_FORM_flag_present dwarf attribute, so they do not print errors or
warnings on files that contain it.  (This attribute can be emitted by
newer versions of clang and gcc.)

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

11 years agoMFC r248697:
ae [Tue, 2 Apr 2013 06:49:44 +0000 (06:49 +0000)]
MFC r248697:
  When we are removing a specific set, call ipfw_expire_dyn_rules only once.

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

11 years agoMFC r248642: fbt_getargdesc: correctly handle types for return probes
avg [Sun, 31 Mar 2013 14:10:19 +0000 (14:10 +0000)]
MFC r248642: fbt_getargdesc: correctly handle types for return probes

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

11 years agoMFC r248640: fbt_typoff_init: fix an off by one in determining required
avg [Sun, 31 Mar 2013 14:02:28 +0000 (14:02 +0000)]
MFC r248640: fbt_typoff_init: fix an off by one in determining required
memory size

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

11 years agoMFC r246293: zfs: fix, improve and re-organize page_lookup and page_unlock
avg [Sun, 31 Mar 2013 13:54:44 +0000 (13:54 +0000)]
MFC r246293: zfs: fix, improve and re-organize page_lookup and page_unlock

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

11 years agoMFC r248854:
jamie [Sun, 31 Mar 2013 04:10:37 +0000 (04:10 +0000)]
MFC r248854:

  Reverse the order of some implicit commands (FS mounts and ifconfigs)
  when stopping jails.  This matters particularly for nested filesystem
  mounts.

PR: kern/177325
Submitted by: Harald Schmalzbauer

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

11 years agoRemove (harmless) duplicate entry for VersionAddendum.
des [Fri, 29 Mar 2013 21:08:20 +0000 (21:08 +0000)]
Remove (harmless) duplicate entry for VersionAddendum.

Noticed by: dim@
MFC after: 1 week

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

11 years agoMerge 248070.
melifaro [Fri, 29 Mar 2013 16:24:20 +0000 (16:24 +0000)]
Merge 248070.

Fix long-standing issue with interface routes being unprotected:
Use RTM_PINNED flag to mark route as immutable.
Forbid deleting immutable routes without special rtrequest1_fib() flag.
Adding interface address with prefix already in route table is handled
by atomically deleting old prefix and adding interface one.

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

11 years agoMFC r248857:
gjb [Fri, 29 Mar 2013 14:18:49 +0000 (14:18 +0000)]
MFC r248857:
 - Update hardware notes to reflect that amd64 is no longer "young"
 - Bump copyright year

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

11 years agoMFC r248325:
kib [Fri, 29 Mar 2013 13:24:19 +0000 (13:24 +0000)]
MFC r248325:
Add my copyright for the 2012 year work, in particular vn_io_fault()
and f_offset locking.  Add required Foundation notice for r248319.

MFC r248329:
Separate the copyright lines and the informational block by a blank line.

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

11 years agoMFC r248319:
kib [Fri, 29 Mar 2013 13:17:34 +0000 (13:17 +0000)]
MFC r248319:
Merge vn_io_fault_pgmove().

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

11 years agoMFC r248226:
yongari [Fri, 29 Mar 2013 00:21:36 +0000 (00:21 +0000)]
MFC r248226:
  r241438 broke IPMI access on Sun Fire X2200 M2(BCM5715).
  Fix the IPMI regression by sending BGE_FW_DRV_STATE_UNLOAD to
  ASF/IPMI firmware in driver attach phase.  Sending heartheat to
  ASF/IPMI is enabled only after upping interface so
  setting driver state to BGE_FW_DRV_STATE_START in attach phase
  broke IPMI access.
  While I'm here, add NVRAM arbitration lock before performing
  controller reset. ASF/IPMI firmware may be able to access the NVRAM
  while controller reset is in progress.  Without the arbitration
  lock before resetting the controller, ASF/IPMI may not initialize
  properly.

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

11 years agoMFC r244183 by glebius:
emaste [Thu, 28 Mar 2013 20:48:40 +0000 (20:48 +0000)]
MFC r244183 by glebius:

  Fix problem in r238990 (MFC'd in r240313).  The LLE_LINKED flag should be
  tested prior to entering llentry_free(), and in case if we lose the race,
  we should simply perform LLE_FREE_LOCKED().  Otherwise, if the race is
  lost by the thread performing arptimer(), it will remove two references
  from the lle instead of one.

  Reported by: Ian FREISLICH <ianf clue.co.za>

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

11 years agoMFC 247266
mjacob [Thu, 28 Mar 2013 14:25:09 +0000 (14:25 +0000)]
MFC 247266

Don't try and negotiate sync mode if either period or offset are zero.

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

11 years agoMFC r248280:
kib [Thu, 28 Mar 2013 06:31:04 +0000 (06:31 +0000)]
MFC r248280:
Add pmap function pmap_copy_pages().

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

11 years agoMFC r248277:
kib [Thu, 28 Mar 2013 06:22:43 +0000 (06:22 +0000)]
MFC r248277:
Remove excessive and inconsistent initializers for the various kernel
maps and submaps.

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

11 years agoMFC r248276:
kib [Thu, 28 Mar 2013 06:20:13 +0000 (06:20 +0000)]
MFC r248276:
Rewrite the vfs_bio_clrbuf(9) to not access the b_data for B_VMIO
buffers directly, use pmap_zero_page_area(9) for each zeroing page
region instead.

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

11 years agoMFC r248788 (erwin):
delphij [Thu, 28 Mar 2013 05:39:45 +0000 (05:39 +0000)]
MFC r248788 (erwin):

Update BIND to 9.8.4-P2

Removed the check for regex.h in configure in order
to disable regex syntax checking, as it exposes
BIND to a critical flaw in libregex on some
platforms. [RT #32688]

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

11 years agoMFC r245266:
mav [Wed, 27 Mar 2013 14:23:50 +0000 (14:23 +0000)]
MFC r245266:
Remove not very useful printf, that can be too chatty.

ASUS P8Z77-V board reports _AC2, _AC3 and _AC4 setpoints as 0C.  With active
cooling already automatically set to _AC2, that still caused driver to print
two useless lines about temperature above _AC3 and _AC4 every ten seconds.
Three setponts of 0C is probably a board bug, but the same spam could happen
also in correct case if system is runnign not with the lowest cooling level.

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