FreeBSD_HEAD - Build #3564 - Still Failing

From: <jenkins-admin_at_FreeBSD.org>
Date: Wed, 25 Nov 2015 20:11:16 +0000 (GMT)
FreeBSD_HEAD - Build #3564 - Still Failing:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD/3564/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD/3564/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD/3564/console

Change summaries:

291304 by adrian:
[ath] listen to all beacons in IBSS and software beacon miss.

I added MYBEACON support a while ago to listen to beacons that are only
for your configured BSSID.  For AR9380 and later NICs this results in
a lot less chip wakeups in station mode as it then only shows you beacons
that are destined to you.

However in IBSS mode you really do want to hear all beacons so you can do
IBSS merges.  Oops.

So only use MYBEACON for STA + not-scanning, and just use BEACON for
the other modes it used to use BEACON for.

This doesn't completely fix IBSS merges though - there are still some
conditions to chase down and fix.

291303 by adrian:
[net80211] log the A-MPDU setup attempt count as part of debugging.

I've seen some cases where we get stuck in a loop constantly trying to
negotiate A-MPDU TX which is definitely not supposed to happen.
This will let me see if it's something funky with the retry count or
not.

291302 by hselasky:
Update usage:
- Add missing description of "-c" option.
- Add one more usage example.

291301 by fabient:
The r241129 description was wrong that the scenario is possible
only for read locks on pcbs. The same race can happen with write
lock semantics as well.

The race scenario:

- Two threads (1 and 2) locate pcb with writer semantics (INPLOOKUP_WLOCKPCB)
 and do in_pcbref() on it.
- 1 and 2 both drop the inp hash lock.
- Another thread (3) grabs the inp hash lock. Then it runs in_pcbfree(),
 which wlocks the pcb. They must happen faster than 1 or 2 come INP_WLOCK()!
- 1 and 2 congest in INP_WLOCK().
- 3 does in_pcbremlists(), drops hash lock, and runs in_pcbrele_wlocked(),
 which doesn't free the pcb due to two references on it.
 Then it unlocks the pcb.
- 1 (or 2) gets wlock on the pcb, runs in_pcbrele_wlocked(), which doesn't
 report inp as freed, due to 2 (or 1) still helding extra reference on it.
 The thread tries to do smth with a disconnected pcb and crashes.

Submitted by:	emeric.poupon_at_stormshield.eu
Reviewed by:	gleb_at_
MFC after:	1 week
Sponsored by: Stormshield
Tested by: Cassiano Peixoto, Stormshield

291300 by hselasky:
Add simple indent wrapper tool for style(9) checking GIT/SVN patches.
The indent_wrapper tool only accepts full context diffs and works by
identifying the surrounding C-block touched by a diff and passing only
that to indent for styling. In the end a diff is produced or an
external tool like meld can be invoked, to show the styling
differences.

291299 by ae:
Fix the build.

291298 by ume:
Fix udp entry of `netstat -TW'.

291296 by ngie:
Link localeconv(3) to localeconv_l(3)

MFC after: 3 days

291292 by ae:
Overhaul if_enc(4) and make it loadable in run-time.

Use hhook(9) framework to achieve ability of loading and unloading
if_enc(4) kernel module. INET and INET6 code on initialization registers
two helper hooks points in the kernel. if_enc(4) module uses these helper
hook points and registers its hooks. IPSEC code uses these hhook points
to call helper hooks implemented in if_enc(4).

291291 by ae:
Check that hhk_helper pointer isn't NULL before access.

It isn't forbidden to use NULL pointer for hook_helper in hookinfo
structure when hhook_add_hook() adds new helper hook.

291280 by cem:
NTB: WC/WB isn't enough; set MMR region as UC

And expose vm_memattr_t of current mapping to consumers (as well as the
ability to change it to one of UC, WB, WC).

After short discussion with:	jhb (but no review)
Sponsored by:	EMC / Isilon Storage Division

291267 by jilles:
sh: Remove global state from nodes.c.

No functional change is intended.

291266 by kib:
Correct the number of DTLB entries reported for the CPUID Leaf 2
descriptor 0x6c.

Confirmed by:	Intel
MFC after:	3 days

291265 by mav:
Rename ASYNC_LIP_F8 to ASYNC_LIP_NOS_OLS_RECV.

New name better repsents its meaning for modern chips.

291264 by avos:
urtwn(4): rework ROM reading.

- Add error handling for urtwn_(r88e_)read_rom() and
urtwn_efuse_*() functions.
- Remove code duplication between urtwn_efuse_read() and
urtwn_r88e_read_rom().
- Merge r88e_rom and (r92c_)rom structures
(only one of them can be used at the same time).
- Other minor fixes / improvements.

Tested with RTL8188EU, STA mode
(URTWN_DEBUG + USB_DEBUG, hw.usb.urtwn.debug=3, no visual differences).

Reviewed by:	kevlo
Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D4253

291263 by cem:
ntb: Add MW tunable for MMR Xeon errata workaround

Adds a new tunable, ntb.hw.b2b_mw_idx, which specifies the offset (from the
total number of memory windows) to use for register access on hardware with
the SDOORBELL_LOCKUP errata.  The default is -1, i.e., the last memory
window.

We map BARs before the b2b_mw_idx is selected, so map them all as memory
windows initially.  The register memory window should not be write-combined,
so we explicitly disable WC on the selected MW later.

This introduces a layer of abstraction between consumer memory window
indices, which exclude any exclusive errata-workaround BARs, and internal
memory window indices, which include such BARs.  An internal routine,
ntb_user_mw_to_idx(), converts the former to the latter.  Public APIs have
been updated to use this instead of assuming the exclusive workaround BAR is
the last available MW.

Sponsored by:	EMC / Isilon Storage Division

291262 by nwhitehorn:
Use what we really mean (powerpc_lwsync()) rather than the Linux-compat
mb() here and provide some more documentation on what, exactly, makes this
code safe.

Requested by and discussed with:	kib, alc

291261 by des:
Revert inadvertent commit of an incorrect patch

291260 by des:
Remove description of the now-defunct NoneEnabled option.

291259 by ume:
Correct alignment of the addresses in the `netstat -aW' output.

291258 by skra:
Flush all kernel mappings from TLB(s) in time when they are cleared.
Replace tlb_flush_local() by tlb_flush() as even not global mappings
could be fetched to TLB(s) on other cores by speculative table walk.

>From OS point of view, it was not a problem as either such mappings
were not used anymore or they were flushed from TLB(s) when reused.
However, from hardware point of view, it was a problem. Not flushed
mappings could be a target for speculative reads or prefetches (which
might be quite aggresive on ARM cores). As speculative read can fill
cacheline, it can cause a real problem, when physical page is reused,
but mapped with different memory attributes.

Anyhow, it's good to have only valid mappings in TLB(s).

Approved by:	kib (mentor)

291257 by lidl:
Add myself (lidl) to the calendar.freebsd file.

Approved by:	rpaulo (mentor)
Differential Revision:	https://reviews.freebsd.org/D4264

291249 by hselasky:
Add some defines needed by the coming mlx5 infiniband support.

Sponsored by:	Mellanox Technologies
MFC after:	1 week

291247 by ume:
Add missing error check after xo_parse_args() in netstat(8).

Submitted by:	Oliver Pinter
Differential Revision:	https://reviews.freebsd.org/D4233

291246 by andrew:
Add support for moving the DMAP range. This is needed as some AMD SoCs
place physical memory at an address outside the old DMAP range. This is an
issue as we rely on being able to move from PA -> VA using this range.

Obtained from:	Patrick Wildt <patrick_at_bitrig.org> (earlier version)
Sponsored by:	ABT Systems Ltd
Differential Revision:	https://reviews.freebsd.org/D3885

291244 by kib:
Rework the vnode cache recycling to meet free and unused vnodes
targets.  See the comment above wantfreevnodes variable for the
description of the algorithm.

The vfs.vlru_alloc_cache_src sysctl is removed.  New code frees
namecache sources as the last chance to satisfy the highest watermark,
instead of selecting the source vnodes randomly. This provides good
enough behaviour to keep vn_fullpath() working in most situations.
The filesystem layout with deep trees, where the removed knob was
required, is thus handled automatically.

Submitted by:	bde
Discussed with:	mckusick
Tested by:	pho
MFC after:	1 month

291242 by kib:
On PowerPC 64bit, the linux-compat mb() definition is implemented with
lwsync instruction, which does not provide Store/Load barrier.  Fix
this by using "full" sync barrier for mb().

atomic_store_rel() does not need full barrier, change mb() call there
to the lwsync instruction if not hitting the known CPU erratas
(i.e. on 32bit).  Provide powerpc_lwsync() helper to isolate the
lwsync/sync compile time selection, and use it in atomic_store_rel()
and several other places which duplicate the code.

Noted by:	alc
Reviewed and tested by:	nwhitehorn
Sponsored by:	The FreeBSD Foundation

291238 by kevlo:
Add dependency to uether.

Reviewed by:	hselasky

291235 by bdrewery:
Remove unneeded libutil dependency for sendmail.

It included libutil.h for setproctitle(3), which was moved from libutil to libc
in r65353 in 2000.

Reviewed by:	gshapiro [sendmail change]
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D4261

291234 by pfg:
bc(1): Fix memory corruption issues

Fix crashes and hangs found by AFL.
Improve handling of non-ascii chars.

Obtained from:	OpenBSD (CVS rev 1.49)

291233 by adrian:
[ath] migrate ioctl and busdma memory operations out into separate source files.

This should be a big no-op pass; and reduces the size of if_ath.c.

I'm hopefully soon going to take a whack at the USB support for ath(4)
and this'll require some reuse of the busdma memory code.

291231 by araujo:
Compute the median of the data set as the midpoint between the two middle
values when the data set has an even number of elements.

PR:		201582
Submitted by:	Marcus Reid <marcus_at_blazingdot.com>
Reviewed by:	imp
Approved by:	bapt (mentor)

291230 by araujo:
Connect ypldap(8) to the build.

Approved by:	bapt (mentor)

291226 by bdrewery:
Fix ld not respecting --sysroot.

ld(1) uses the /usr/libdata/ldscripts when linking. These scripts add in the
default search paths of /lib and /usr/lib via 'SEARCH_DIR("DIR")'. These
need to be prefixed by '=' so that the --sysroot flag is respected. This
is not a problem with buildworld since the TOOLS_PREFIX is baked into the
cross-ld. However it is a problem when trying to use ld(1) with --sysroot
anywhere else as it ends up still reading /lib and /usr/lib despite --sysroot.

The default --sysroot (TARGET_SYSTEM_ROOT) is '/' for /usr/bin/ld.

I found this while building with META MODE with uses only --sysroot with
/usr/bin/ld, and found that libraries that I had not built in its sysroot
directory were leaking in. This didn't happen with ports binutils either.  This
would also impact external compiler support.

Reviewed by:	bapt, brooks
MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D4262

291225 by jhb:
Add a new -B flag for use with list mode (-l) that lists details about
bridges.  Currently this includes information about what resources a
bridge decodes on the upstream side for use by downstream devices including
bus numbers, I/O port resources, and memory resources.  Windows and bus
ranges are enumerated for both PCI-PCI bridges and PCI-CardBus bridges.

To simplify the implementation, all enumeration is done by reading the
appropriate config space registers directly rather than querying the
bridge driver in the kernel via new ioctls.  This does result in a few
limitations.

First, an unimplemented window in a PCI-PCI bridge cannot be accurately
detected as accurate detection requires writing to the window base
register.  That is not safe for pciconf(8).  Instead, this assumes that
any window where both the base and limit read as all zeroes is
unimplemented.

Second, the PCI-PCI bridge driver in a tree has a few quirks for
PCI-PCI bridges that use subtractive decoding but do not indicate that
via the progif config register.  The list of quirks is duplicated in
pciconf's source.

Reviewed by:	imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D4171

291224 by jkim:
colldef(1) and mklocale(1) reappeared in r291115.

291223 by bdrewery:
There seems to be no reason to duplicate CANONICALOBJDIR logic from bsd.obj.mk,
which is included for crunchgen builds.

No change in build output occurred with this change.

Sponsored by:	EMC / Isilon Storage Division

291222 by ae:
Add destroy_object callback to object rewriting framework.
It is called when last reference to named object is going to be released
and allows to do additional cleanup for implementation of named objects.

Obtained from:	Yandex LLC
Sponsored by:	Yandex LLC

291221 by mav:
Remove "disable" hint, which duplicates system-wide "disabled".

291220 by ngie:
Revert r291170

The mlx5* driver(s) are built [*]/installed separate from the OFED stack thanks
to recent refactoring done in the linuxkpi(4) module.

Always install the manpages instead of conditionally installing them if
MK_OFED != no

* Further refactoring of sys/ofed and linuxkpi(4) is pending to fully divorce
  mlx5* from ofed headers

MFC after: never
Requested by: hps

291219 by emaste:
newfs_msdos: rework error handling for eventual use in makefs

Return -1 on errors from mkfs_msdos() instead of err()/errx(), to
allow different consumers to handle errors as appropriate.

Obtained from:	NetBSD
Sponsored by:	The FreeBSD Foundation

291218 by emaste:
Update $NetBSD$ ID

NetBSD mkfs_msdos.h rev 1.3 removed the no-endorsement clause from the
license block, which had already been done in the source I imported in
r289629.

291217 by markj:
The buffer passed to an sbuf drain callback is not necessarily
null-terminated, so don't assume that it is.

Reported by:	pho
X-MFC-With:	r291059

291216 by andrew:
Use #ifdef to get the file compiling without errors

291211 by nwhitehorn:
Provide support for userland binaries using the new ELFv2 ABI. This is a
new, simplified, ELF ABI that avoids some of the stranger aspects of the
existing 64-bit PowerPC ABI (function descriptors, in particular). Actually
generating such executables requires a new version of binutils and a newer
compiler (either GCC or clang) than GCC 4.2.1.

291210 by andrew:
Only enable the first interrupt for now, we don't correctly configure or
route interrupts to the needed cpu.

Sponsored by:	ABT Systems Ltd

291209 by mav:
Fix target mode support for Qlogic 2200 FC adapters.

Now target mode works for all supported FC adapters except ancient 2100,
which is not tested.

291207 by smh:
Fix dumpon compatibility with dumpdev kenv

The dumpdev kenv supports devices without the /dev/ prefix, fix dumpon to
also support this which is required after r288153.

MFC after:	1 week
Sponsored by:	Multiplay

291200 by skra:
Fix inconsistent use of malloc type for cdev private data.
Remove M_VCHIQ malloc type, now not used anywhere.

Reviewed by:	gonzo
Approved by:	kib (mentor)

291199 by hselasky:
Fix compile warning about shifting signed negative constant.

MFC after:	3 days

291198 by des:
Retire the NONE cipher option.

291197 by des:
markup fixes

291193 by skra:
Revert r291142.

The not quite consistent logic for bounce pages allocation is utilizited
by re(4) interface which can hang now.

Approved by:	kib (mentor)

291188 by mav:
Rip off target mode support for parallel SCSI QLogic adapters.

Hacks to enable target mode there complicated code, while didn't really
work.  And for outdated hardware fixing it is not really interesting.

Initiator mode tested with Qlogic 1080 adapter is still working fine.

291181 by ngie:
Integrate contrib/netbsd-tests/kernel/t_mqueue into the FreeBSD test
suite as tests/sys/kern/mqueue_test

MFC after: 1 week

291180 by ngie:
Fix up convert.c generation

- Use a temporary file for convert.c to reduce likelihood of an interrupted
  build resulting in bad code being written to convert.c
- Truncate the file instead of appending to it to ensure that the file being
  touched will not result in duplicate declarations/definitions from
  kern_acct.c if/when kern_acct.c changes.

MFC after: 1 week

291172 by ngie:
Use __MAKE_SHELL instead of HOST_SHELL when generating aton_ether_subr.c
(HOST_SHELL is used in NetBSD)

This fixes permission denied issues when gen_ether_subr is not executable

MFC after: 3 days
Reported by: José Pérez <fbl_at_aoek.com>
Suggested by: bdrewery, sjg

291171 by kib:
Split kerne timekeep ABI structure vdso_sv_tk out of the struct
sysentvec.  This allows the timekeep data to be shared between similar
ABIs which cannot share sysentvec.

Make the timekeep_push_vdso() tick callback to the timekeep structures
instead of sysentvecs.  If several sysentvec share the vdso_sv_tk
structure, we would update the userspace data several times on each
tick, without the change.

Only allocate vdso_sv_tk in the exec_sysvec_init() sysinit when
sysentvec is marked with the new SV_TIMEKEEP flag.  This saves
allocation and update of unneeded vdso_sv_tk for ABIs which do not
provide userspace gettimeofday yet, which are PowerPCs arches right
now.

Make vdso_sv_tk allocator public, namely split out and export
alloc_sv_tk() and alloc_sv_tk_compat32().  ABIs which share timekeep
data now can allocate it manually and share as appropriate.

Requested by:	nwhitehorn
Tested by:	nwhitehorn, pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks

291170 by ngie:
Install mce(4) and mlx5en(4) if MK_OFED != no

MFC after: 1 week

291169 by ngie:
Bump .Dd

291168 by ngie:
- Fix bad double space between HW and LRO
- Fix improperly capitalized `interface`

MFC after: 1 week

291167 by ngie:
Bump .Dd

291166 by ngie:
Recommend cc -Wall instead of gcc -Wall

MFC after: 1 week

291165 by ngie:
Don't explicitly set INET/INET6 in the Makefile; opt_inet.h and opt_inet6.h
already do this

MFC after: never (depends on kern.opts.mk; will not be MFCed probably)

291164 by ian:
Print more detailed info about the disk and partition chosen for booting.
No behavioral changes, just cosmetics.

A partition number of zero is not a wildcard, it's the 'a' partition in
a BSD slice, so don't print it as "<auto>".  (Only slices are 1-based,
unit and partition numbers are 0-based and -1 is their wildcard marker.)

Also, after doing all the probing and choosing, print the final result as
"Booting from <disk spec>" where disk spec has all the wildcards resolved
and looks like familiar BSD slice-and-partition notation (disk0s3a, etc).

291163 by mav:
Explicitly call SEND CHANGE REQUEST for pre-24xx chips in target mode.

While later firmware always registers for RSCN requests, older one does
it only in initiator mode.  But in target mode there RSCN can be the only
way to detect gone intiator.

291162 by mav:
Generate fake ISPASYNC_CHANGE_PDB on fake login on pre-24xx.

This makes port scanner fix absent port ID for added initiator.

291161 by mav:
Gracefully stop firmware before resetting chip when changing role.

291160 by mav:
Add some more asynchronous event status codes.

291159 by mav:
Add mode mailbox command codes.

291158 by kib:
Record proper commit message for r291157.

The r289895 revision did not accounted for the block containing the
requested page, when calculating the run of pages.  Include the pages
before/after the requested page, that fit into the reqblock, into the
calculation.

Noted by:	glebius
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week

291157 by kib:
Noted by:	glebius
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week

291156 by whu:
Ignore the inbound checksum flags when doing packet forwarding in netvsc driver.

PR: 20363
Submitted by: whu
Reviewed by: royger, whu
Approved by: royger
MFC after: 1 week
Relnotes: No
Sponsored by: Microsoft OSTC
Differential Revision:  https://reviews.freebsd.org/D4131

291155 by pfg:
bc: sync with OpenBSD

tty.c Rev. 1.3
Avoid unintended problems with operator precedence when doing an
assignment and comparison.

bc.1, Rev. 1.31, 1.32
'.Ql Quit' -> '.Ql quit' because only the lowercase command is valid.
Clarify sentence about `quit` in BUGS section.

extern.h, Rev. 1.12
whitespace

bc.y, Rev. 1.47
Prefer setvbuf() to setlinebuf() for portability

Obtained from:	OpenBSD
MFC after:	2 weeks

291154 by adrian:
[mips]: Don't hard-code PHYS_AVAIL_ENTRIES.

291153 by markj:
Remove unneeded includes of opt_kdtrace.h.

As of r258541, KDTRACE_HOOKS is defined in opt_global.h, so opt_kdtrace.h
is not needed when defining SDT(9) probes.

291152 by jhibbits:
Remove a debug panic that crept into r291151

291151 by jhibbits:
Modernize mpc85xx PCI hostbridge driver.

Summary:
* Take advantage of NEW_PCIB to remove a lot of setup code.
* Fix some bugs related to multiple PCI bridges.

There's still room for more cleanup, and still some bugs leftover, but this
cleans up a lot.

Test Plan: Tested on P5020 board with IDT PCIe switch.

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

291150 by rmacklem:
When the nfsd threads are terminated, the NFSv4 server state
(opens, locks, etc) is retained, which I believe is correct behaviour.
However, for NFSv4.1, the server also retained a reference to the xprt
(RPC transport socket structure) for the backchannel. This caused
svcpool_destroy() to not call SVC_DESTROY() for the xprt and allowed
a socket upcall to occur after the mutexes in the svcpool were destroyed,
causing a crash.
This patch fixes the code so that the backchannel xprt structure is
dereferenced just before svcpool_destroy() is called, so the code
does do an SVC_DESTROY() on the xprt, which shuts down the socket upcall.

Tested by:	g_amanakis_at_yahoo.com
PR:		204340
MFC after:	2 weeks

291149 by ian:
Update the imx5/imx6 cpu_reset() implementation based on a new understanding
of the SRS (software reset) bit in the watchdog control register.  Despite
what the manual seems to imply, this bit DOES trigger an immediate reset, as
opposed to simply flagging the type of reset as software-triggered.

291148 by markj:
Add a missing brace to fix vmstat -s output.

291147 by mav:
Increase maximal value of vports tunable to 254.

I am not sure this value is really viable yet, but that is what chips
officially support in NPIV mode (in loop mode maximum is 125).

291146 by hselasky:
Add support for Kana and Eisu keys to the USB keyboard driver.

PR:		204709
Submitted by:	naito.yuichiro_at_gmail.com
MFC after:	3 days

291145 by hselasky:
Fix scancodes for Kana and Eisu keys.

PR:		204709
Submitted by:	naito.yuichiro_at_gmail.com
MFC after:	3 days

291144 by mav:
Fix target mode with fabric for pre-24xx chips.

For those chips we are not receiving login events, adding initiators
based on ATIO requests.  But there is no port ID in that structure, so
in fabric mode we have to explicitly fetch it from firmware to be able
to do normal scan after that.

291143 by mav:
Update Qlogic 23XX firmware from 3.03.26 to 3.03.28

291142 by skra:
Fix BUS_DMA_MIN_ALLOC_COMP flag logic. When bus_dmamap_t map is being
created for bus_dma_tag_t tag, bounce pages should be allocated
only if needed.

Before the fix, they were allocated always if BUS_DMA_COULD_BOUNCE flag
was set but BUS_DMA_MIN_ALLOC_COMP not. As bounce pages are never freed,
it could cause memory exhaustion when a lot of such tags together with
their maps were created.

Note that there could be more maps in one tag by current design.
However BUS_DMA_MIN_ALLOC_COMP flag is tag's flag. It's set after
bounce pages are allocated. Thus, they are allocated only for first
tag's map which needs them.

Approved by:	kib (mentor)

291141 by tuexen:
Fix the handling of IPSec policies in the SCTP stack. At least
make sure they are not leaked...

MFC after: 	1 week

291140 by tuexen:
Revert part of r291137 which seems correct, bit does not fix the
resource problem I'm currently hunting down.

MFC after:	1 week
X-MFC with:	291137

291139 by imp:
Document why we use -z nonexecstack in the Makefile since it
is so unusual. Turn off mis-match warnings for building uathload
because the firmware .o file is produced in a way that we
can't get to match exactly. This fixes the build on mips,
so stop excluding it from the build.

291138 by tuexen:
Clear the so_pcb pointer in case of ipsec_init_policy() fails.

MFC after:	1 week

291137 by tuexen:
Don't send SHUTDOWN chunk when the association is in a front state
and the applications calls shutdown(..., SHUT_WR) or
shutdown(..., SHUT_RDWR).

MFC after:	1 week.

291136 by andrew:
Move hdmi_if.m to files.arm so other kernel configs can use it.

291135 by andrew:
Create device options for the two common ARM timers.

Sponsored by:	ABT Systems Ltd

291133 by andrew:
Move more bus_space_* files to be built by files.arm. This leaves the
definition in a file.* file under sys/arm/arm in the few cases we need it
for non-fdt platforms.

Sponsored by:	ABT Systems Ltd

291132 by mav:
Update firmware for QLogic 22xx from 2.02.06 to 2.02.08.

291131 by andrew:
Limit arm_base_bs_tag to ARMv4 and ARMv5, we only used it in one place in
armv6 and that can use fdtbus_bs_tag.

291130 by andrew:
Fix a logic inversion, we should build dtrace on armv6, not on arm and
armeb.

291129 by bapt:
Revert a modification that crept in and should not

291128 by bapt:
Synchronize m4(1) with OpenBSD

291127 by bapt:
colldef(1) does not need the libc's internal collate.h header anymore

291126 by mav:
Add API to obtain primary enclosure name and ID for /dev/sesX devices.

sesX device number may change between reboots, so to properly identify
the instance we need more data.  Name and ID reported here may mach ones
reported by SCSI device, but that is not really required by specs.

MFC after:	1 week
Sponsored by:	iXsystems, Inc.

291125 by delphij:
MFV r291123:

xz 5.2.2.

MFC after:	1 month
Relnotes:	yes

291122 by jhibbits:
trunc_page() goes through unsigned long, which is too short.

sizeof(unsigned long) < sizeof(vm_paddr_t) on Book-E, which uses 36-bit
addressing.  With this, a CCSR with a physical address above 4GB successfully
maps.

Sponsored by:	Alex Perez/Inertial Computing

291121 by marius:
Merge from r290547:
Since r289279 bufinit() uses mp_ncpus so adapt to what x86 does and
set this variable already in cpu_mp_setmaxid().
While at it, rename cpu_cpuid_prop() to cpu_portid_prop() as well as
the MD cpuid variable to portid to avoid confusion with the MI use
of "cpuid" and make some variable static/global in order to reduce
stack usage.

PR:		204685

291120 by marius:
Avoid a NULL pointer dereference in bounce_bus_dmamap_unload() when
the map has been created via bounce_bus_dmamem_alloc(). In that case
bus_dmamap_unload(9) typically isn't called during normal operation
but still should be during detach, cleanup from failed attach etc.

Submitted by:	yongari
MFC after:	3 days

291119 by brd:
Remove a link to the now defunct "Release Engineering of Third Party Packages".

PR:		202803
Submitted by:	Tobias Kortkamp <tobias.kortkamp_at_gmail.com>
MFC after:	1 week

291118 by adrian:
mips: teach the malta platform about extended memory.

Extended memory here is "physical memory above 256MB".
"memsize" in the environment only grows to 256MB; "ememsize" is the entire
memory range.  Extended memory shows up at physical address 0x90000000.

This allows for malta64 VMs to be created with > 256MB RAM, all the way
up to 2GB RAM.

Tested:

* qemu-devel package; qemu-system-mips64 -m 2048 (and -m 256 to test the
  no-ememsize case.)

TODO:

* testing mips32 with > 256MB RAM.

Reviewed by:	imp

291117 by rmacklem:
Revert r283330 since it broke directory caching in the client.
At this time I cannot see a way to fix directory caching when it
has partial blocks in the buffer cache, due to the fact that the
syscall's uio_offset won't stay the same as the lblkno * NFS_DIRBLKSIZ
offset.

Reported by:	bde
MFC after:	2 weeks

291116 by glebius:
Remove remnants of the old NFS from vnode pager.

Reviewed by:	kib
Sponsored by:	Netflix

291115 by bapt:
Reintegrate colldef(1) and mklocale(1)

While those tools are not needed anymore they are necessary to build FreeBSD 9
and 10. it does not hurt to keep those tools around until both 9 and 10 branch
become EOLed.

Modify colldef(1) to build after the change in the collation header, and ensure
it does produce the same collation definition it used to generate for 9 and 10

Reported by:	Oliver Pinter

291114 by rpokala:
popen() requires check for fdopen() failure

Move fdopen() up near other resource allocation like malloc(); do proper
deallocation on failure later on in the function.

Submitted by:	Ramachandra Topannavar <rtopannavar_at_panasas.com>
Reviewed by:	jilles
Approved by:	jhb (mentor)
MFC after:	2 weeks
Sponsored by:	Panasas, Inc.
Differential Revision:	https://reviews.freebsd.org/D4126

M    lib/libc/gen/popen.c

291113 by emaste:
Disconnect unused kgzldr from sys/boot/i386

Sponsored by:	The FreeBSD Foundation

291112 by imp:
Add support for passing TARGET_CPUTYPE into the build. It's more
important for arm and mips than for the more generic x86 systems.

291111 by imp:
Add aarch64 support to CPUTYPE

291110 by imp:
Makeoption ARM_LITLE_ENDIAN does nothing. Remove it since it isn't
consistently used. It was a carry over from NetBSD that FreeBSD
doesn't use.

291109 by rpokala:
Add myself (rpokala) and my mentor (jhb)

Approved by:	jhb (mentor)
Differential Revision:	https://reviews.freebsd.org/D4231

291108 by andrew:
Remove bus_space_asm_generic.S from the per-SoC files.* files, it's already
in files.arm.

Sponsored by:	ABT Systems Ltd

291106 by bdrewery:
Remove disconnected boot0ext.

This was [re-]added in r127458 (apparently with disconnected history as well)
and never connected to the build.

It is no longer relevant for modern systems from the past 20 years.

Discussed with:	jhb
Sponsored by:	EMC / Isilon Storage Division

291105 by bdrewery:
Fix not skipping uathload for mips after r291021.

Sponsored by:	EMC / Isilon Storage Division

291104 by andrew:
Remove pl310.c from the SoC std.* files, it's in files.arm

Sponsored by:	ABT Systems Ltd

291103 by andrew:
DTrace is known to work on armv6, enable building it as a module.

Reviewed by:	imp
Sponsored by:	ABT Systems Ltd
Differential Revision:	https://reviews.freebsd.org/D4221

291102 by andrew:
Stop setting {KERN,}PHYSADDR on armv6, it's unneeded.

Sponsored by:	ABT Systems Ltd

291099 by mav:
Some cosmetics for ancient cards.

291098 by trasz:
The freebsd4_getfsstat() was broken in r281551 to always return 0 on success.
All versions of getfsstat(3) are supposed to return the number of [o]statfs
structs in the array that was copied out.

Also fix missing bounds checking and signed comparison of unsigned types.

Submitted by:	bde_at_
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation

291097 by ume:
Don't truncate an interface name when -W option is specified.

Spotted by:	Jim Thompson <jim__at__netgate.com>
MFC after:	1 week

291096 by ume:
Avoid core dump when output style is html.

291095 by skra:
Fix build when KTR is defined but not KTR_TULIP.

Approved by:	kib (mentor)

291094 by skra:
Add usermode variable to KTR output. Fix style.

Approved by:	kib (mentor)

291093 by skra:
Fix style and argument count for KTR.

Approved by:	kib (mentor)



The end of the build log:

[...truncated 279526 lines...]
ctfconvert -L VERSION -g smbus.o
--- smbus_if.o ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC/opt_global.h -I. -I/builds/FreeBSD_HEAD/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC  -MD -MP -MF.depend.smbus_if.o -MTsmbus_if.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c smbus_if.c -o smbus_if.o--- psopcode.o ---
ctfconvert -L VERSION -g psopcode.o
--- psopinfo.o ---
cc  -c -O2 -pipe -fno-strict-aliasing  -g -nostdinc  -I. -I/builds/FreeBSD_HEAD/sys -I/builds/FreeBSD_HEAD/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MP -MF.depend.psopinfo.o -MTpsopinfo.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -Werror  /builds/FreeBSD_HEAD/sys/contrib/dev/acpica/components/parser/psopinfo.c
--- modules-all ---
--- all_subdir_if_edsc ---
ctfconvert -L VERSION -g if_edsc.o
--- if_edsc.ko.full ---
ld -d -warn-common -r -d -o if_edsc.ko.full if_edsc.o
ctfmerge -L VERSION -g -o if_edsc.ko.full if_edsc.o
:> export_syms
awk -f /builds/FreeBSD_HEAD/sys/conf/kmod_syms.awk if_edsc.ko.full  export_syms | xargs -J% objcopy % if_edsc.ko.full
--- if_edsc.ko.debug ---
objcopy --only-keep-debug if_edsc.ko.full if_edsc.ko.debug
--- if_edsc.ko ---
objcopy --strip-debug --add-gnu-debuglink=if_edsc.ko.debug  if_edsc.ko.full if_edsc.ko
--- psparse.o ---
cc  -c -O2 -pipe -fno-strict-aliasing  -g -nostdinc  -I. -I/builds/FreeBSD_HEAD/sys -I/builds/FreeBSD_HEAD/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MP -MF.depend.psparse.o -MTpsparse.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -Werror  /builds/FreeBSD_HEAD/sys/contrib/dev/acpica/components/parser/psparse.c
--- modules-all ---
--- all_subdir_if_bridge ---
ctfconvert -L VERSION -g if_bridge.o
--- all_subdir_i2c ---
ctfconvert -L VERSION -g smbus_if.o
--- smbus.ko.full ---
ld -d -warn-common -r -d -o smbus.ko.full smbus_if.o smbconf.o smbus.o
ctfmerge -L VERSION -g -o smbus.ko.full smbus_if.o smbconf.o smbus.o
:> export_syms
awk -f /builds/FreeBSD_HEAD/sys/conf/kmod_syms.awk smbus.ko.full  export_syms | xargs -J% objcopy % smbus.ko.full
--- all_subdir_if_bridge ---
--- if_bridge.ko.full ---
ld -d -warn-common -r -d -o if_bridge.ko.full if_bridge.o
ctfmerge -L VERSION -g -o if_bridge.ko.full if_bridge.o
--- all_subdir_i2c ---
--- smbus.ko.debug ---
objcopy --only-keep-debug smbus.ko.full smbus.ko.debug
--- smbus.ko ---
objcopy --strip-debug --add-gnu-debuglink=smbus.ko.debug  smbus.ko.full smbus.ko
--- all_subdir_iicbus ---
===> i2c/iicbus (all)
--- all_subdir_if_bridge ---
:> export_syms
awk -f /builds/FreeBSD_HEAD/sys/conf/kmod_syms.awk if_bridge.ko.full  export_syms | xargs -J% objcopy % if_bridge.ko.full
--- if_bridge.ko.debug ---
objcopy --only-keep-debug if_bridge.ko.full if_bridge.ko.debug
--- if_bridge.ko ---
--- psopinfo.o ---
ctfconvert -L VERSION -g psopinfo.o
--- modules-all ---
objcopy --strip-debug --add-gnu-debuglink=if_bridge.ko.debug  if_bridge.ko.full if_bridge.ko
--- psscope.o ---
cc  -c -O2 -pipe -fno-strict-aliasing  -g -nostdinc  -I. -I/builds/FreeBSD_HEAD/sys -I/builds/FreeBSD_HEAD/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MP -MF.depend.psscope.o -MTpsscope.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -Werror  /builds/FreeBSD_HEAD/sys/contrib/dev/acpica/components/parser/psscope.c
--- modules-all ---
--- all_subdir_if_enc ---
===> if_enc (all)
--- all_subdir_i2c ---
--- iiconf.o ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC/opt_global.h -I. -I/builds/FreeBSD_HEAD/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC  -MD -MP -MF.depend.iiconf.o -MTiiconf.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c /builds/FreeBSD_HEAD/sys/modules/i2c/iicbus/../../../dev/iicbus/iiconf.c -o iiconf.o
--- all_subdir_if_enc ---
--- if_enc.o ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC/opt_global.h -I. -I/builds/FreeBSD_HEAD/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC  -MD -MP -MF.depend.if_enc.o -MTif_enc.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c /builds/FreeBSD_HEAD/sys/net/if_enc.c -o if_enc.o
--- psparse.o ---
ctfconvert -L VERSION -g psparse.o
--- modules-all ---
--- all_subdir_i2c ---
--- all_subdir_iicbb ---
===> i2c/iicbb (all)
--- iicbb.o ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC/opt_global.h -I. -I/builds/FreeBSD_HEAD/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC  -MD -MP -MF.depend.iicbb.o -MTiicbb.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c /builds/FreeBSD_HEAD/sys/modules/i2c/iicbb/../../../dev/iicbus/iicbb.c -o iicbb.o
--- psscope.o ---
ctfconvert -L VERSION -g psscope.o
--- modules-all ---
--- iicbb_if.o ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC/opt_global.h -I. -I/builds/FreeBSD_HEAD/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC  -MD -MP -MF.depend.iicbb_if.o -MTiicbb_if.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c iicbb_if.c -o iicbb_if.octfconvert -L VERSION -g iicbb_if.o
--- all_subdir_if_epair ---
===> if_epair (all)
--- if_epair.o ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC/opt_global.h -I. -I/builds/FreeBSD_HEAD/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC  -MD -MP -MF.depend.if_epair.o -MTif_epair.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c /builds/FreeBSD_HEAD/sys/modules/if_epair/../../net/if_epair.c -o if_epair.o
--- all_subdir_i2c ---
--- all_subdir_iicbus ---
ctfconvert -L VERSION -g iiconf.o
--- iicbus.o ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC/opt_global.h -I. -I/builds/FreeBSD_HEAD/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC  -MD -MP -MF.depend.iicbus.o -MTiicbus.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c /builds/FreeBSD_HEAD/sys/modules/i2c/iicbus/../../../dev/iicbus/iicbus.c -o iicbus.o
--- all_subdir_iicbb ---
--- iicbb.o ---
ctfconvert -L VERSION -g iicbb.o
--- iicbb.ko.full ---
ld -d -warn-common -r -d -o iicbb.ko.full iicbb_if.o iicbb.o
ctfmerge -L VERSION -g -o iicbb.ko.full iicbb_if.o iicbb.o
:> export_syms
awk -f /builds/FreeBSD_HEAD/sys/conf/kmod_syms.awk iicbb.ko.full  export_syms | xargs -J% objcopy % iicbb.ko.full
--- all_subdir_if_enc ---
/builds/FreeBSD_HEAD/sys/net/if_enc.c:104:43: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
static VNET_DEFINE(int, filter_mask_in) = IPSEC_ENC_BEFORE;
                                          ^
--- all_subdir_i2c ---
--- iicbb.ko.debug ---
objcopy --only-keep-debug iicbb.ko.full iicbb.ko.debug
--- iicbb.ko ---
objcopy --strip-debug --add-gnu-debuglink=iicbb.ko.debug  iicbb.ko.full iicbb.ko
--- all_subdir_if_enc ---
/builds/FreeBSD_HEAD/sys/net/if_enc.c:105:40: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
static VNET_DEFINE(int, bpf_mask_in) = IPSEC_ENC_BEFORE;
                                       ^
--- pstree.o ---
cc  -c -O2 -pipe -fno-strict-aliasing  -g -nostdinc  -I. -I/builds/FreeBSD_HEAD/sys -I/builds/FreeBSD_HEAD/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MP -MF.depend.pstree.o -MTpstree.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -Werror  /builds/FreeBSD_HEAD/sys/contrib/dev/acpica/components/parser/pstree.c
--- modules-all ---
/builds/FreeBSD_HEAD/sys/net/if_enc.c:106:44: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
static VNET_DEFINE(int, filter_mask_out) = IPSEC_ENC_BEFORE;
                                           ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:107:41: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
static VNET_DEFINE(int, bpf_mask_out) = IPSEC_ENC_BEFORE | IPSEC_ENC_AFTER;
                                        ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:107:60: error: use of undeclared identifier 'IPSEC_ENC_AFTER'
static VNET_DEFINE(int, bpf_mask_out) = IPSEC_ENC_BEFORE | IPSEC_ENC_AFTER;
                                                           ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:210:25: error: declaration of 'struct osd' will not be visible outside of this function [-Werror,-Wvisibility]
    void *hdata, struct osd *hosd)
                        ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:226:9: error: incomplete definition of type 'struct ipsec_ctx_data'
        if (ctx->af != hhook_id)
            ~~~^
/builds/FreeBSD_HEAD/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:229:22: error: use of undeclared identifier 'HHOOK_TYPE_IPSEC_IN'
        if (((hhook_type == HHOOK_TYPE_IPSEC_IN &&
                            ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:230:10: error: incomplete definition of type 'struct ipsec_ctx_data'
            (ctx->enc & V_bpf_mask_in) != 0) ||
             ~~~^
/builds/FreeBSD_HEAD/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:231:21: error: use of undeclared identifier 'HHOOK_TYPE_IPSEC_OUT'
            (hhook_type == HHOOK_TYPE_IPSEC_OUT &&
                           ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:232:10: error: incomplete definition of type 'struct ipsec_ctx_data'
            (ctx->enc & V_bpf_mask_out) != 0)) &&
             ~~~^
/builds/FreeBSD_HEAD/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:234:15: error: incomplete definition of type 'struct ipsec_ctx_data'
                hdr.af = ctx->af;
                         ~~~^
/builds/FreeBSD_HEAD/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:235:16: error: incomplete definition of type 'struct ipsec_ctx_data'
                hdr.spi = ctx->sav->spi;
                          ~~~^
/builds/FreeBSD_HEAD/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:237:10: error: incomplete definition of type 'struct ipsec_ctx_data'
                if (ctx->sav->alg_enc != SADB_EALG_NONE)
                    ~~~^
/builds/FreeBSD_HEAD/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:239:10: error: incomplete definition of type 'struct ipsec_ctx_data'
                if (ctx->sav->alg_auth != SADB_AALG_NONE)
                    ~~~^
/builds/FreeBSD_HEAD/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:241:49: error: incomplete definition of type 'struct ipsec_ctx_data'
                bpf_mtap2(ifp->if_bpf, &hdr, sizeof(hdr), *ctx->mp);
                                                           ~~~^
/builds/FreeBSD_HEAD/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:245:7: error: use of undeclared identifier 'HHOOK_TYPE_IPSEC_IN'
        case HHOOK_TYPE_IPSEC_IN:
             ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:246:10: error: incomplete definition of type 'struct ipsec_ctx_data'
                if (ctx->enc == IPSEC_ENC_BEFORE) {
                    ~~~^
/builds/FreeBSD_HEAD/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/builds/FreeBSD_HEAD/sys/net/if_enc.c:246:19: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
                if (ctx->enc == IPSEC_ENC_BEFORE) {
                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [if_enc.o] Error code 1

make[4]: stopped in /builds/FreeBSD_HEAD/sys/modules/if_enc
1 error

make[4]: stopped in /builds/FreeBSD_HEAD/sys/modules/if_enc
*** [all_subdir_if_enc] Error code 2

make[3]: stopped in /builds/FreeBSD_HEAD/sys/modules
--- all_subdir_i2c ---
--- all_subdir_iicbus ---
ctfconvert -L VERSION -g iicbus.o
A failure has been detected in another branch of the parallel make

make[5]: stopped in /builds/FreeBSD_HEAD/sys/modules/i2c/iicbus
*** [all_subdir_iicbus] Error code 2

make[4]: stopped in /builds/FreeBSD_HEAD/sys/modules/i2c
1 error

make[4]: stopped in /builds/FreeBSD_HEAD/sys/modules/i2c
*** [all_subdir_i2c] Error code 2

make[3]: stopped in /builds/FreeBSD_HEAD/sys/modules
--- pstree.o ---
ctfconvert -L VERSION -g pstree.o
--- modules-all ---
--- all_subdir_if_epair ---
ctfconvert -L VERSION -g if_epair.o
A failure has been detected in another branch of the parallel make

make[4]: stopped in /builds/FreeBSD_HEAD/sys/modules/if_epair
*** [all_subdir_if_epair] Error code 2

make[3]: stopped in /builds/FreeBSD_HEAD/sys/modules
3 errors

make[3]: stopped in /builds/FreeBSD_HEAD/sys/modules
*** [modules-all] Error code 2

make[2]: stopped in /builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC
1 error

make[2]: stopped in /builds/FreeBSD_HEAD/obj/builds/FreeBSD_HEAD/sys/GENERIC
*** [buildkernel] Error code 2

make[1]: stopped in /builds/FreeBSD_HEAD
1 error

make[1]: stopped in /builds/FreeBSD_HEAD
*** [buildkernel] Error code 2

make: stopped in /builds/FreeBSD_HEAD
1 error

make: stopped in /builds/FreeBSD_HEAD
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
IRC notifier plugin: Sending notification to: #freebsd-commits
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Received on Wed Nov 25 2015 - 19:11:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC