]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
8 years agoAdd declarations to eliminate -Wmissing-prototypes warnings
rodrigc [Sun, 20 Sep 2015 04:17:53 +0000 (04:17 +0000)]
Add declarations to eliminate -Wmissing-prototypes warnings

8 years agoDefine _NS_PRIVATE to make declarations visible.
rodrigc [Sun, 20 Sep 2015 04:17:03 +0000 (04:17 +0000)]
Define _NS_PRIVATE to make declarations visible.
This eliminates -Wmissing-prototypes warnings.

8 years agoAdd missing includes to eliminate -Wmissing-prototypes warnings
rodrigc [Sun, 20 Sep 2015 04:15:37 +0000 (04:15 +0000)]
Add missing includes to eliminate -Wmissing-prototypes warnings

8 years agoAdding missing declarations to eliminate -Wmissing-prototypes warnings
rodrigc [Sun, 20 Sep 2015 04:06:55 +0000 (04:06 +0000)]
Adding missing declarations to eliminate -Wmissing-prototypes warnings

8 years agoAdd missing include to eliminate -Wmissing-prototypes warning
rodrigc [Sun, 20 Sep 2015 04:06:04 +0000 (04:06 +0000)]
Add missing include to eliminate -Wmissing-prototypes warning

8 years agoAdd declaration to eliminate -Wmissing-prototypes warning
rodrigc [Sun, 20 Sep 2015 03:59:27 +0000 (03:59 +0000)]
Add declaration to eliminate -Wmissing-prototypes warning

8 years agoAdd declarations to eliminate -Wmissing-prototypes warnings
rodrigc [Sun, 20 Sep 2015 03:58:27 +0000 (03:58 +0000)]
Add declarations to eliminate -Wmissing-prototypes warnings

8 years agoAdding missing include to eliminate -Wmissing-prototypes warning
rodrigc [Sun, 20 Sep 2015 03:56:57 +0000 (03:56 +0000)]
Adding missing include to eliminate -Wmissing-prototypes warning

8 years agoAdd declarations to eliminate -Wmissing-prototypes warnings
rodrigc [Sun, 20 Sep 2015 03:55:03 +0000 (03:55 +0000)]
Add declarations to eliminate -Wmissing-prototypes warnings

8 years agoAdd declarations to eliminate -Wmissing-prototypes warnings.
rodrigc [Sun, 20 Sep 2015 03:53:08 +0000 (03:53 +0000)]
Add declarations to eliminate -Wmissing-prototypes warnings.

8 years agoAdd declaration to eliminate -Wmissing-prototypes warning.
rodrigc [Sun, 20 Sep 2015 03:51:15 +0000 (03:51 +0000)]
Add declaration to eliminate -Wmissing-prototypes warning.

8 years agoAdd missing include to eliminate -Wmissing-prototypes warnings
rodrigc [Sun, 20 Sep 2015 03:49:08 +0000 (03:49 +0000)]
Add missing include to eliminate -Wmissing-prototypes warnings

8 years agoAdd missing includes to eliminate -Wmissing-prototypes warnings
rodrigc [Sun, 20 Sep 2015 03:45:57 +0000 (03:45 +0000)]
Add missing includes to eliminate -Wmissing-prototypes warnings

8 years agoUse tabs for indend.
kib [Sun, 20 Sep 2015 01:35:51 +0000 (01:35 +0000)]
Use tabs for indend.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

8 years agoAdd support for weak symbols to the kernel linkers. It means that
kib [Sun, 20 Sep 2015 01:27:59 +0000 (01:27 +0000)]
Add support for weak symbols to the kernel linkers.  It means that
linkers no longer raise an error when undefined weak symbols are
found, but relocate as if the symbol value was 0.  Note that we do not
repeat the mistake of userspace dynamic linker of making the symbol
lookup prefer non-weak symbol definition over the weak one, if both
are available.  In fact, kernel linker uses the first definition
found, and ignores duplicates.

Signature of the elf_lookup() and elf_obj_lookup() functions changed
to split result/error code and the symbol address returned.
Otherwise, it is impossible to return zero address as the symbol
value, to MD relocation code.  This explains the mechanical changes in
elf_machdep.c sources.

The powerpc64 R_PPC_JMP_SLOT handler did not checked error from the
lookup() call, the patch leaves the code as is (untested).

Reported by: glebius
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

8 years agoAdd PF_LOCAL support in getaddrinfo(3) and getnameinfo(3):
hrs [Sun, 20 Sep 2015 01:09:23 +0000 (01:09 +0000)]
Add PF_LOCAL support in getaddrinfo(3) and getnameinfo(3):

- In a PF_LOCAL address, "hostname" must begins with '/' and "servname"
  is always NULL.  All of ai_flags are ignored.

- PF_UNSPEC matches PF_LOCAL.  EAI_SERVICE is not returned to make
  AF-independent programming easier; "servname" is always ignored
  in PF_LOCAL.  In practice, PF_INET* and PF_LOCAL are
  mutually-exclusive because a hostname which begins with '/' is invalid
  in PF_INET*.  No domain name resolution is performed for a PF_LOCAL address.

Differential Revision: https://reviews.freebsd.org/D3634

8 years ago- Remove unused union p_un.
hrs [Sat, 19 Sep 2015 23:48:06 +0000 (23:48 +0000)]
- Remove unused union p_un.

- Use NI_MAXHOST-long buffer for getnameinfo().
  Although INET6_ADDRSTRLEN was designed to hold the longest
  IPv6 address in IPv4-mapped address format a long time ago,
  getnameinfo() can return scope identifier in addition to it.

MFC after: 1 day

8 years ago- Fix a crash on a rpc entry when an IPv6 address is explicitly specified
hrs [Sat, 19 Sep 2015 23:27:22 +0000 (23:27 +0000)]
- Fix a crash on a rpc entry when an IPv6 address is explicitly specified
  in -a flag.

- Fix a bug that sockaddr_in was used where sockaddr_in6 should have
  been used.  This was not actually harmful because offsetof(struct
  sockaddr_in, sin_port) is equal to offsetof(struct sockaddr_in6,
  sin6_port).

MFC after: 1 day

8 years agolibc: Consistently call _ioctl() internally, not ioctl().
jilles [Sat, 19 Sep 2015 20:27:09 +0000 (20:27 +0000)]
libc: Consistently call _ioctl() internally, not ioctl().

8 years ago'sin' is never used after assignment. Looking at the context, it seems
delphij [Sat, 19 Sep 2015 20:12:53 +0000 (20:12 +0000)]
'sin' is never used after assignment.  Looking at the context, it seems
that it belongs the commented out section of code so make it part of that
section.

Reported by: clang static analyzer
MFC after: 2 weeks

8 years agoAlways execute REPORT LUNS and REQUEST SENSE commands locally.
mav [Sat, 19 Sep 2015 19:30:55 +0000 (19:30 +0000)]
Always execute REPORT LUNS and REQUEST SENSE commands locally.

REPORT LUNS command is more related to target rather then specific LUN.
This node may be primary for LUNs for some reason unknown to another,
and command forwarded to another node won't be able to report them.

REQUEST SENSE is related to LUN, but in our implementation it reports
only UAs and CAs, that are stored locally rather then on primary node.

8 years agoSplit two command flags with different meaning.
mav [Sat, 19 Sep 2015 19:11:59 +0000 (19:11 +0000)]
Split two command flags with different meaning.

This is only a cosmetical change.

8 years agoRename some functions and variables inside sesutil(8) to make gcc happy
allanjude [Sat, 19 Sep 2015 18:41:24 +0000 (18:41 +0000)]
Rename some functions and variables inside sesutil(8) to make gcc happy

Reported by: bz
Approved by: bapt (implicit)
Sponsored by: ScaleEngine Inc.

8 years agoPack struct ctl_ha_msg_hdr by 8 bytes.
mav [Sat, 19 Sep 2015 18:23:06 +0000 (18:23 +0000)]
Pack struct ctl_ha_msg_hdr by 8 bytes.

8 years agoRevert 287914,287762.
sbruno [Sat, 19 Sep 2015 18:22:59 +0000 (18:22 +0000)]
Revert 287914,287762.

Reports of breakage on igb(4) have been narrowed down to 287762 and 287914
is an dependant change.

Submitted by: erj

8 years agoConnect sesutil(1) and numactl(1) for META_MODE.
bdrewery [Sat, 19 Sep 2015 17:47:36 +0000 (17:47 +0000)]
Connect sesutil(1) and numactl(1) for META_MODE.

Sponsored by: EMC / Isilon Storage Division

8 years agoImprove and expand sesutil(8)
allanjude [Sat, 19 Sep 2015 16:36:45 +0000 (16:36 +0000)]
Improve and expand sesutil(8)

- Return an error if no matching device is found when the locate command is run
- Enhance the locate command to be able to address drive bays with no disk, or where the SES controller has not made the mapping to the device name
- Added the fault command, similar to locate, but a different SES property. On some of my controllers locate blinks the activity light, others the fault light. The fault command keeps the fault light on constant.
- Improve the usage() output and use it everywhere
- Added the map command, displays all elements connected to each (or the specified) ses(4) controller
- Added the status command, returns the overall status of the ses(4) controller

Reviewed by: wblock (man page, earlier version)
Approved by: bapt (mentor)
MFC after: 3 weeks
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3580

8 years agoRestore man -t for manpages rendered by mandoc
bapt [Sat, 19 Sep 2015 16:00:50 +0000 (16:00 +0000)]
Restore man -t for manpages rendered by mandoc

Reported by: swills

8 years agoFix memory corruption when >128K transferred through HA link.
mav [Sat, 19 Sep 2015 13:12:09 +0000 (13:12 +0000)]
Fix memory corruption when >128K transferred through HA link.

While there, do some cleaning.

8 years agoCleanup nd6_cache_lladdr(). No functional changes.
melifaro [Sat, 19 Sep 2015 11:50:02 +0000 (11:50 +0000)]
Cleanup nd6_cache_lladdr(). No functional changes.

* Since new extries are now allocated explicitly, fill in
  all the necessary fields for lle _before_ attaching it to the table.
* Remove ND6_LLINFO_INCOMPLETE check which was unused even in
  first KAME merge (r53541).
* After that, the only new state that function can set, was
  ND6_LLINFO_STALE. Given everything above, simplify logic besides
  do_update and is_newentry.
* Fix nd_resolve() comment.

8 years agoReplace afterinstall: hack with FILES mechanism.
bdrewery [Sat, 19 Sep 2015 03:53:37 +0000 (03:53 +0000)]
Replace afterinstall: hack with FILES mechanism.

Sponsored by: EMC / Isilon Storage Division

8 years agoReplace afterinstall: hack from r54681 with 'make delete-old' functionality.
bdrewery [Sat, 19 Sep 2015 03:51:19 +0000 (03:51 +0000)]
Replace afterinstall: hack from r54681 with 'make delete-old' functionality.

Sponsored by: EMC / Isilon Storage Division

8 years agoReplace afterinstall: hack from r111083 with 'make delete-old' functionality.
bdrewery [Sat, 19 Sep 2015 03:46:10 +0000 (03:46 +0000)]
Replace afterinstall: hack from r111083 with 'make delete-old' functionality.

Sponsored by: EMC / Isilon Storage Division

8 years agoReplace beforeinstall: handling with FILES.
bdrewery [Fri, 18 Sep 2015 23:49:32 +0000 (23:49 +0000)]
Replace beforeinstall: handling with FILES.

This actually fixes some cases to respect LIBRARIES_ONLY.

Sponsored by: EMC / Isilon Storage Division

8 years agoRemove redundant beforeinstall.
bdrewery [Fri, 18 Sep 2015 23:34:47 +0000 (23:34 +0000)]
Remove redundant beforeinstall.

8 years agoFix LIBRARIES_ONLY
bdrewery [Fri, 18 Sep 2015 23:25:43 +0000 (23:25 +0000)]
Fix LIBRARIES_ONLY

It was erroring: make: don't know how to make _manpages. Stop

Sponsored by: EMC / Isilon Storage Division
MFC after: 1 week

8 years agoMETA_MODE: No need to fix the link in this case.
bdrewery [Fri, 18 Sep 2015 23:12:38 +0000 (23:12 +0000)]
META_MODE: No need to fix the link in this case.

The exists(${DESTDIR}...) check runs with DESTDIR being blank.  When the
target runs it does have DESTDIR=${STAGE_OBJTOP} via bsd.sys.mk.  This
results in the first execution warning that the symlink is missing.  The
second run does run fine.  However, this chflags is not needed at all
for META_MODE/STAGING since we never had this path being a schg file
while using META_MODE.

Sponsored by: EMC / Isilon Storage Division

8 years agoRemove rm -Rf beforeinstall hack that was needed due to a change that
bdrewery [Fri, 18 Sep 2015 22:55:18 +0000 (22:55 +0000)]
Remove rm -Rf beforeinstall hack that was needed due to a change that
only lasted 3 days in HEAD in 2001 (r88348 - r88459)

Sponsored by: EMC / Isilon Storage Division

8 years agoGarbage collect _SHLIBDIRPREFIX leftovers from r284898.
bdrewery [Fri, 18 Sep 2015 22:28:13 +0000 (22:28 +0000)]
Garbage collect _SHLIBDIRPREFIX leftovers from r284898.

Sponsored by: EMC / Isilon Storage Division

8 years agoRegenerate
bdrewery [Fri, 18 Sep 2015 22:26:25 +0000 (22:26 +0000)]
Regenerate

8 years agoDocument NO_DIRDEPS for META_MODE and give link to full details.
bdrewery [Fri, 18 Sep 2015 22:22:32 +0000 (22:22 +0000)]
Document NO_DIRDEPS for META_MODE and give link to full details.

8 years agoMETA_MODE: Avoid command changing in 2nd build.
bdrewery [Fri, 18 Sep 2015 21:36:29 +0000 (21:36 +0000)]
META_MODE: Avoid command changing in 2nd build.

If the command to be ran changes then a rebuild is caused. Checking
exists(${DESTDIR}...) from make results in this on the 2nd and
possibly subsequent builds due to staging during build.  Avoid this
by always running the existence check in the make sh command.

Sponsored by: EMC / Isilon Storage Division

8 years agoUse FILES for installing the dtrace scripts.
bdrewery [Fri, 18 Sep 2015 21:18:44 +0000 (21:18 +0000)]
Use FILES for installing the dtrace scripts.

The BSD.usr.dist mtree always creates /usr/lib/dtrace so there is no
need to check if it exists.

The FILES mechanism already supports LIBRARIES_ONLY.

Sponsored by: EMC / Isilon Storage Division

8 years agoDon't hide build commands.
bdrewery [Fri, 18 Sep 2015 21:01:52 +0000 (21:01 +0000)]
Don't hide build commands.

8 years agoThere is no HP 300 support in FreeBSD anymore, so remove the obsolete
delphij [Fri, 18 Sep 2015 20:28:37 +0000 (20:28 +0000)]
There is no HP 300 support in FreeBSD anymore, so remove the obsolete
BUGS section.

While I'm there also bump Dd date.

MFC after: 2 weeks

8 years agoMark I/Os with DMA flag while moving data through the HA link.
mav [Fri, 18 Sep 2015 20:11:10 +0000 (20:11 +0000)]
Mark I/Os with DMA flag while moving data through the HA link.

8 years agoRelax serseq option operation for reads.
mav [Fri, 18 Sep 2015 19:43:14 +0000 (19:43 +0000)]
Relax serseq option operation for reads.

Previously, with serseq enabled, next command was unblocked only after
previous completed.  With this change, for read operations, next command
is unblocked as soon as last media read completed.  This is important
for frontends that actually wait for data move completion (like camtgt),
or when data are moved through the HA link, or especially when both.

8 years agoAvoid /usr/obj// from r287899
bdrewery [Fri, 18 Sep 2015 18:57:09 +0000 (18:57 +0000)]
Avoid /usr/obj// from r287899

8 years agoEnsure the ring state is also blanked upon reset, otherwise
adrian [Fri, 18 Sep 2015 17:39:31 +0000 (17:39 +0000)]
Ensure the ring state is also blanked upon reset, otherwise
duplicate rx events get handled during reset paths.

Submitted by: Matthew Dillion <dillon@apollo.backplane.com>
Obtained from: DragonflyBSD

8 years agoKernel part of reroot support - a way to change rootfs without reboot.
trasz [Fri, 18 Sep 2015 17:32:22 +0000 (17:32 +0000)]
Kernel part of reroot support - a way to change rootfs without reboot.

Note that the mountlist manipulations are somewhat fragile, and not very
pretty.  The reason for this is to avoid changing vfs_mountroot(), which
is (obviously) rather mission-critical, but not very well documented,
and thus hard to test properly.  It might be possible to rework it to use
its own simple root mount mechanism instead of vfs_mountroot().

Reviewed by: kib@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2698

8 years agoDo not execute exception handlers with disabled interrupts.
kib [Fri, 18 Sep 2015 17:09:59 +0000 (17:09 +0000)]
Do not execute exception handlers with disabled interrupts.

We should not call vm_fault(), or send a signal, with interrupts
disabled.  MI kernel code is not prepared for such environment, not to
mention that this increases system latency, since code appears to be
executing as being under spinlock.

The FAR register for data aborts is read before the interrupts are
enabled, to avoid its corruption due to nested exception or context
switch.

Add asserts, similar to the checks done by other architectures, about
not taking page faults in non-sleepable contexts, rather than die with
late and somewhat confusing witness diagnostic.

Reviewed by: andrew
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3669

8 years agoClear exclusive monitors when handling data aborts, the monitors are
kib [Fri, 18 Sep 2015 16:52:18 +0000 (16:52 +0000)]
Clear exclusive monitors when handling data aborts, the monitors are
in unknown state per spec.

Reviewed by: andrew (previous version)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3668

8 years agoDon't read the floating-point registers for now. We will need to enable the
andrew [Fri, 18 Sep 2015 13:44:15 +0000 (13:44 +0000)]
Don't read the floating-point registers for now. We will need to enable the
VFP around the read of these instructions as they may raise an exception.

Sponsored by: ABT Systems Ltd

8 years agoKill HA link and shutdown the threads on shutdown.
mav [Fri, 18 Sep 2015 12:08:00 +0000 (12:08 +0000)]
Kill HA link and shutdown the threads on shutdown.

8 years agoUpdate list of opcodes to 5/26/15.
mav [Fri, 18 Sep 2015 10:44:25 +0000 (10:44 +0000)]
Update list of opcodes to 5/26/15.

8 years agoUpdate list of ASC/ASCQ codes from 5/20/12 to 8/12/15.
mav [Fri, 18 Sep 2015 10:23:17 +0000 (10:23 +0000)]
Update list of ASC/ASCQ codes from 5/20/12 to 8/12/15.

8 years agoAdd in a temporary (hah!) workaround for net80211 scanning versus NIC
adrian [Fri, 18 Sep 2015 07:55:33 +0000 (07:55 +0000)]
Add in a temporary (hah!) workaround for net80211 scanning versus NIC
requirements.

Don't start the opmode and join path until a pending survey is finished.
This seems to reliably fix things.

Ideally I'd just finish off the net80211 pluggable scan stuff and implement
the methods here so if_rsu can just drive the scan machinery.
However, that's a .. later thing.

Whilst here, remove the getbuf debugging; it's okay to run out of transmit
buffers under load; it however isn't okay to not be able to send commands.
I'll fix that later.

8 years agoRefactor out the tx buffer free code into a routine, rsu_freebuf().
adrian [Fri, 18 Sep 2015 07:26:34 +0000 (07:26 +0000)]
Refactor out the tx buffer free code into a routine, rsu_freebuf().

This makes it easier to add more transmit buffers, have different buffer
pools for things, etc.

8 years ago* Simplify logic besides llchange variable.
melifaro [Fri, 18 Sep 2015 07:18:10 +0000 (07:18 +0000)]
* Simplify logic besides llchange variable.
* Refresh nd6_is_router() comment.

8 years agoThe "automount" rc script should depend on "automountd", not the other
trasz [Fri, 18 Sep 2015 06:54:52 +0000 (06:54 +0000)]
The "automount" rc script should depend on "automountd", not the other
way around.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation

8 years agoSet AMPDU density/size parameters during vap creation.
adrian [Fri, 18 Sep 2015 05:59:15 +0000 (05:59 +0000)]
Set AMPDU density/size parameters during vap creation.

Inspired from: Linux r92su

8 years agoAdd a very hacked up station only A-MPDU negotiation path.
adrian [Fri, 18 Sep 2015 05:03:01 +0000 (05:03 +0000)]
Add a very hacked up station only A-MPDU negotiation path.

This is enough to set things up; there are still lots of retransmits
seen but it's enough to get things working.

8 years agoAdd an external facing function to manually set the RX A-MPDU parameters
adrian [Fri, 18 Sep 2015 05:01:05 +0000 (05:01 +0000)]
Add an external facing function to manually set the RX A-MPDU parameters
for re-ordering.

Devices like if_rsu don't pass through action/management frames but do send
firmware commands to inform us of things.  One of those notifications is
the RX A-MPDU negotiated parameters.

8 years agoAdd initial 11n support to if_rsu.
adrian [Fri, 18 Sep 2015 04:12:11 +0000 (04:12 +0000)]
Add initial 11n support to if_rsu.

* Add a tunable to enable 11n if it's available, so to not anger people
  who upgrade.

  kenv hw.usb.rsu.enable_11n=1 before inserting the device.

* Add initial 11n htconfig bits;
* Enable 40MHz mode if it's available;
* Add 11n channels;
* Set 11n bits in the firmware.

It works for RX; I haven't tested TX aggregation just yet.
However the firmware doesn't do RX re-ordering, so I have to tie it into
the net80211 A-MPDU RX reorder path before I flip this on by default.

I've verified that I'm indeed actually seeing MCS 0->7 rates being received.
I haven't dug into whether it's actually transmitting 11n rates; I'll dig into
that later.

8 years agoExpose the wme_info IE method.
adrian [Fri, 18 Sep 2015 04:01:26 +0000 (04:01 +0000)]
Expose the wme_info IE method.

8 years agoEliminate (many) unnecessary calls to pmap_remove_all(). Pages from objects
alc [Thu, 17 Sep 2015 22:28:38 +0000 (22:28 +0000)]
Eliminate (many) unnecessary calls to pmap_remove_all().  Pages from objects
with a reference count of zero can't possibly be mapped, so there is never a
need for vm_page_set_invalid() to call pmap_remove_all() on them.

Reviewed by: kib
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

8 years agoRegenerate
bdrewery [Thu, 17 Sep 2015 22:07:40 +0000 (22:07 +0000)]
Regenerate

8 years agomakeman: Fix handling of env-only vars by using SRC_ENV_CONF rather than SRCCONF.
bdrewery [Thu, 17 Sep 2015 22:04:46 +0000 (22:04 +0000)]
makeman: Fix handling of env-only vars by using SRC_ENV_CONF rather than SRCCONF.

Also note that these env-only vars can be specified on the command line.

This fixes the dependent options that are env-only (such as WITH_META_MODE
and WITH_AUTO_OBJ) to properly display their dependencies.

Sponsored by: EMC / Isilon Storage Division

8 years agoTrim space
bdrewery [Thu, 17 Sep 2015 21:51:48 +0000 (21:51 +0000)]
Trim space

8 years agoReplicate initiators WWPNs and names between HA peers.
mav [Thu, 17 Sep 2015 21:51:11 +0000 (21:51 +0000)]
Replicate initiators WWPNs and names between HA peers.

8 years agoAdd a check to ensure that the env-only mkopts are not set via src.conf.
bdrewery [Thu, 17 Sep 2015 21:49:29 +0000 (21:49 +0000)]
Add a check to ensure that the env-only mkopts are not set via src.conf.

Sponsored by: EMC / Isilon Storage Division

8 years agoEliminate unneeded copying of vdev data, goto, etc. and add a note
delphij [Thu, 17 Sep 2015 20:55:47 +0000 (20:55 +0000)]
Eliminate unneeded copying of vdev data, goto, etc. and add a note
that checksum of vdev label should be checked (which is not done
currently).

No functional change.

While I'm there, raise WARNS to 2.

Reviewed by: allanjude
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D3508

8 years agoRegenerate
bdrewery [Thu, 17 Sep 2015 20:48:42 +0000 (20:48 +0000)]
Regenerate

8 years agoOptimize makeman slightly by removing uneeded cat and extra test -s.
bdrewery [Thu, 17 Sep 2015 20:45:51 +0000 (20:45 +0000)]
Optimize makeman slightly by removing uneeded cat and extra test -s.

Sponsored by: EMC / Isilon Storage Division

8 years agoThe EFI boot loader allocates a single chunk of contiguous memory to
jhb [Thu, 17 Sep 2015 20:36:46 +0000 (20:36 +0000)]
The EFI boot loader allocates a single chunk of contiguous memory to
hold the kernel, modules, and any other loaded data.  This memory block
is relocated to the kernel's expected location during the transfer of
control from the loader to the kernel.

The GENERIC kernel on amd64 has recently grown such that a kernel + zfs.ko
no longer fits in the default staging size.  Bump the default size from
32MB to 48MB to provide more breathing room.

PR: 201679
Reviewed by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D3666

8 years agoReplicate port->init_devid to HA peer.
mav [Thu, 17 Sep 2015 20:36:34 +0000 (20:36 +0000)]
Replicate port->init_devid to HA peer.

8 years agosrc.conf.5: Make it self-documenting that the mkopts are environment-only.
bdrewery [Thu, 17 Sep 2015 20:33:52 +0000 (20:33 +0000)]
src.conf.5: Make it self-documenting that the mkopts are environment-only.

Sponsored by: EMC / Isilon Storage Division

8 years agoRemove extra tabs.
glebius [Thu, 17 Sep 2015 20:21:55 +0000 (20:21 +0000)]
Remove extra tabs.

8 years agoVarious small cleanups to EFI loader Makefiles.
jhb [Thu, 17 Sep 2015 18:32:51 +0000 (18:32 +0000)]
Various small cleanups to EFI loader Makefiles.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D3641

8 years agoUse strlcpy() instead of strncpy() because subsequent mkstemps expects
delphij [Thu, 17 Sep 2015 18:11:26 +0000 (18:11 +0000)]
Use strlcpy() instead of strncpy() because subsequent mkstemps expects
the string be nul-terminated.

Reviewed by: neel
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D3685

8 years agoDocument src-env.conf and note its use for MAKEOBJDIRPREFIX and WITH_META_MDOE.
bdrewery [Thu, 17 Sep 2015 17:45:20 +0000 (17:45 +0000)]
Document src-env.conf and note its use for MAKEOBJDIRPREFIX and WITH_META_MDOE.

Sponsored by: EMC / Isilon Storage Division

8 years agoInclude bsd.mkopt.mk after local.sys.env.mk (which includes /etc/src-env.conf).
bdrewery [Thu, 17 Sep 2015 17:35:06 +0000 (17:35 +0000)]
Include bsd.mkopt.mk after local.sys.env.mk (which includes /etc/src-env.conf).

This will allow setting WITH_META_MODE in that file rather that requiring
it to be set in the environment.

Sponsored by: EMC / Isilon Storage Division

8 years agoUse proper byteswap macro. This isn't a functional change.
glebius [Thu, 17 Sep 2015 17:27:49 +0000 (17:27 +0000)]
Use proper byteswap macro. This isn't a functional change.

8 years agoWhen reporting TPT UA, report which of thresholds was reached.
mav [Thu, 17 Sep 2015 17:00:36 +0000 (17:00 +0000)]
When reporting TPT UA, report which of thresholds was reached.

8 years agoFix /sbin/route to never look up (invalid) interface names through DNS
rstone [Thu, 17 Sep 2015 16:56:49 +0000 (16:56 +0000)]
Fix /sbin/route to never look up (invalid) interface names through DNS

/sbin/route has a bug where if it is passed an interface name that does
not exist, it falls through and winds up interpreting it as a hostname.
It fails out eventually, but on a system where DNS lookup is broken you
can end up waiting for up to 60 seconds waiting for the DNS lookup to
timeout.  I'm not quite sure what happens if the DNS lookup somehow
succeeds but I doubt that can end well.

Reviewed by: markj, cem
MFC after: 2 weeks
Sponsored by: EMC/Isilon Storage Division

8 years agoFix makeman creating obj directories due to turning on WITH_AUTO_OBJ.
bdrewery [Thu, 17 Sep 2015 16:38:32 +0000 (16:38 +0000)]
Fix makeman creating obj directories due to turning on WITH_AUTO_OBJ.

r284708 addressed this slightly but seems to have put the make(showconfig)
guard in the wrong place.  Rather than guard setting the default obj directory,
guard inclusion of auto.obj.mk.  This avoids creating SRCTOP/obj and
SRCTOP/release/obj when running makeman.

Sponsored by: EMC / Isilon Storage Division

8 years agoWhen chrooted, we need to strip the chroot directory from the front of
des [Thu, 17 Sep 2015 16:19:36 +0000 (16:19 +0000)]
When chrooted, we need to strip the chroot directory from the front of
included paths.  Don't forget to do it for globs as well.

8 years agoUpgrade to Unbound 1.5.4.
des [Thu, 17 Sep 2015 16:10:11 +0000 (16:10 +0000)]
Upgrade to Unbound 1.5.4.

8 years agoimport unbound 1.5.4
des [Thu, 17 Sep 2015 15:21:27 +0000 (15:21 +0000)]
import unbound 1.5.4

8 years agoAdd Intel Skylake/I219 Support
sbruno [Thu, 17 Sep 2015 15:11:45 +0000 (15:11 +0000)]
Add Intel Skylake/I219 Support
- New em(4) device in currently shipping products

Differential Revision: https://reviews.freebsd.org/D3163
Submitted by: erj@freebsd.org
Reviewed by: jfv@freebsd.org
MFC after: 2 weeks
Sponsored by: Intel Corporation

8 years agoReport number of failed XCOPY segment.
mav [Thu, 17 Sep 2015 14:22:52 +0000 (14:22 +0000)]
Report number of failed XCOPY segment.

8 years agoReport proper medium error code for VERIFY commands.
mav [Thu, 17 Sep 2015 12:52:18 +0000 (12:52 +0000)]
Report proper medium error code for VERIFY commands.

8 years agoRemove more unused variables leading to compile time errors.
bz [Thu, 17 Sep 2015 12:04:41 +0000 (12:04 +0000)]
Remove more unused variables leading to compile time errors.

8 years ago.. oops, flip on QoS.
adrian [Thu, 17 Sep 2015 07:04:15 +0000 (07:04 +0000)]
.. oops, flip on QoS.

8 years agoRemove an entry. It was re-added in r287780.
jkim [Thu, 17 Sep 2015 07:01:40 +0000 (07:01 +0000)]
Remove an entry.  It was re-added in r287780.

8 years agoRemove unused variable leading to compile errors.
bz [Thu, 17 Sep 2015 06:07:49 +0000 (06:07 +0000)]
Remove unused variable leading to compile errors.

8 years agoRegenerate
bdrewery [Thu, 17 Sep 2015 05:07:39 +0000 (05:07 +0000)]
Regenerate

8 years agoUpdate META_MODE dependencies.
bdrewery [Thu, 17 Sep 2015 05:06:34 +0000 (05:06 +0000)]
Update META_MODE dependencies.

8 years agoDocument NO_SILENT for META_MODE.
bdrewery [Thu, 17 Sep 2015 05:01:04 +0000 (05:01 +0000)]
Document NO_SILENT for META_MODE.

Reword and add some formatting as well.

8 years agoRework r287900 to keep arm64/aarch64 stable in the TARGETS list.
bdrewery [Thu, 17 Sep 2015 04:54:49 +0000 (04:54 +0000)]
Rework r287900 to keep arm64/aarch64 stable in the TARGETS list.

This is relevant for makeman using the 'make targets' output in src.conf(5).

This makes a _UNIVERSE_TARGETS that removes arm64 if the build
requirements are not met.