jenkins-admin | 25 Nov 21:11 2015

FreeBSD_HEAD - Build #3564 - Still Failing

FreeBSD_HEAD - Build #3564 - Still Failing:

Build information:
Full change log:
Full build log:

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.
(Continue reading)

O. Hartmann | 25 Nov 18:15 2015

r291302: f_enc.c:104:43: error: use of undeclared identifier 'IPSEC_ENC_BEFORE' static

The recent CURRENT (r291302) sources won't build anymore due to the error shown below:

--- if_enc.o ---
cc  -c -O3 -pipe -fno-strict-aliasing -march=native  -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fwrapv -fstack-protector -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  /usr/src/sys/net/if_enc.c --- if_mib.o --- ctfconvert -L
VERSION if_mib.o ERROR: ctfconvert: if_mib.o doesn't have type data to convert ---
if_vlan.o --- cc  -c -O3 -pipe -fno-strict-aliasing -march=native  -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -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  /usr/src/sys/net/if_vlan.c --- modules-all --- --- all_subdir_aac --- ===> aac
(all) --- if_enc.o --- /usr/src/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;
(Continue reading)

jenkins-admin | 25 Nov 11:25 2015

FreeBSD_HEAD_i386 - Build #1760 - Failure

FreeBSD_HEAD_i386 - Build #1760 - Failure:

Build information:
Full change log:
Full build log:

Change summaries:

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.

The end of the build log:

(Continue reading)

M&S - Krasznai András | 24 Nov 10:31 2015

freebsd-current compile with clang & ccache

Good morning!

I experience the following errors:

after setting up ccache according to the howto I tried to compile world and kernel.

make buildworld

runs correctly, takes appr. 3 hours to finish for the first run. Repeating it finishes in a little less than 1 hour.

Make -j5 buildworld

also finishes correctly and takes about 23 minutes.

After finishing the kernel compile

Make installkernel



make installworld

gives a lot of error messages:

ccache: error: Could not find compiler "cc" in PATH

but finishes, and the system appears to be working, but I think there must be some problem what I could not find.

(Continue reading)

Kurt Lidl | 23 Nov 21:39 2015

New LOR in zfs?

I installed a build of r291086 on a machine today
(previously, the machine had been running 10/stable).

I ran the following two commands just after rebooting
with the new user-land bits:

root <at> ton-95: df
Filesystem       1K-blocks    Used    Avail Capacity  Mounted on
sys/ROOT/default  18061924  804940 17256984     4%    /
devfs                    1       1        0   100%    /dev
tmpfs                65536       8    65528     0%    /tmp
sys/home          17257108     124 17256984     0%    /home
sys/local         17283924   26940 17256984     0%    /usr/local
sys/obj.4         19440624 2183640 17256984    11%    /usr/obj
sys/obj.1         19440440 2183456 17256984    11%    /usr/obj.1
sys/obj.2         19588696 2331712 17256984    12%    /usr/obj.2
sys/obj.3         19588636 2331652 17256984    12%    /usr/obj.3
sys/ports         17257080      96 17256984     0%    /usr/ports
sys/src           19740468 2483484 17256984    13%    /usr/src
sys/var           17358024  101040 17256984     1%    /var
root <at> ton-96: zfs set mountpoint=/usr/obj.4 sys/obj.4

I got a LOR (new to me, at any rate) on the console:
lock order reversal:
  1st 0xfffff8000612da38 zfs (zfs)  <at>  /usr/src/sys/kern/vfs_mount.c:1224
  2nd 0xfffff8000612d4b0 zfs_gfs (zfs_gfs)  <at>  
stack backtrace:
#0 0xc05b1e3c at __lockmgr_args???=?-~????+0xa3c
#1 0xc06a9118 at vop_std???=?-~????lock+0x38
(Continue reading)

Ed Maste | 23 Nov 21:25 2015

Does anyone use kgzip / kgzldr?

I disconnected kgzldr from the build in r291113 because I thought
kgzip was already disconnected. As it happens kgzip was disconnected
only from the release builds, in r281658.

kgzip / kgzldr only works on i386, and for quite some time the
recommended way to use a compressed kernel has been via loader(8). Is
there a compelling use case for kgzldr and loader(8)-less i386 boot?
I'll reconnect kgzldr (on i386 only) if it's useful, or otherwise
continue with the removal.
freebsd-current <at> mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at>"

David Wolfskill | 23 Nov 14:23 2015

Panic: GPF in kernel mode in fork_exit() (prior to FS mouont)

This was the "smoke test" boot after building:

FreeBSD  11.0-CURRENT FreeBSD 11.0-CURRENT #253  r291193M/291193:1100090: Mon Nov 23 04:43:34 PST 2015    
root <at>  amd64

and (as noted), it happened fairly early in the boot sequence --
before the file systems were mounted, but after the device probes.

It also affected my build machine (same source revision) the same way.

The most recent successful head built & booted on the machine was:

FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #252  r291159M/291159:1100090: Sun
Nov 22 05:16:34 PST 2015     root <at> localhost:/common/S4/obj/usr/src/sys/CANARY  amd64

I was able to capture a crash dump (by issuing "panic" at the "db>
" prompt); I've copied the vmcore.8 & core.txt.8 to
<>.  Here's an excerpt from
the core.txt.8:

SMP: passed TSC synchronization test
TSC timecounter discards lower 1 bit(s)
Timecounter "TSC-low" frequency 1396804168 Hz quality 1000
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
Expensive timeout(9) function: 0xffffffff808830d0(0xffffffff81761898) 0.004704835 s
battery0: battery initialization done, tried 1 times
GEOM: new disk cd0
GEOM_PART: partition 1 on (diskid/DISK-W200TLZD, MBR) is not aligned on 4096 bytes
(Continue reading)

José Pérez | 23 Nov 13:12 2015

Aheros AR9565: buffer error messages from ath_edma_rxbuf_alloc and ath_edma_rxfifo_alloc

I am the (happy?) owner of an Atheros AR9565 which used to work just 

I recently updated an old -current, and a flood of these messages bumped 
Nov 13 17:47:16 test kernel: ath0: ath_edma_rxbuf_alloc: nothing on 
Nov 13 17:47:16 test kernel: ath0: ath_edma_rxfifo_alloc: Q1: alloc 
failed: i=24, nb

# pciconf -lv | relevant_part
ath0 <at> pci0:1:0:0:        class=0x028000 card=0x064211ad chip=0x0036168c 
rev=0x01 hdr=0x00
     vendor     = 'Qualcomm Atheros'
     device     = 'QCA9565 / AR9565 Wireless Network Adapter'
     class      = network

# dmesg | relevant_part
ath0: <Qualcomm Atheros AR9565> mem 0xf0800000-0xf087ffff irq 32 at 
device 0.0 on pci1
ath0: WB335 2-ANT card detected
ar9300_attach: calling ar9300_hw_attach
ar9300_hw_attach: calling ar9300_eeprom_attach
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
Restoring Cal data from EEPROM
Restoring Cal data from Flash
Restoring Cal data from Flash
(Continue reading)

O. Hartmann | 22 Nov 10:22 2015

graphics/blender: fails on CURRENT amd64 due to LLVM assertion

Running most graphics/blender on CURRENT, I receive a nasty error all the time I try to
access UserPreference/System to setup things the right way or within blender, when it
crashes randomly. I catch this on the console I've started blender from:

Assertion failed: (findOption(Name) == Values.size() &&
"Option already exists!"), function addLiteralOption,
file /usr/ports/devel/llvm37/work/llvm-3.7.0.src/include/llvm/Support/CommandLine.h, line

The ports are up to date as of today, the operating system is CURRENT as of FreeBSD
11.0-CURRENT #14 r291142: Sat Nov 21 21:38:53 CET 2015 amd64.

Is there any advice how to handle this bug?It prevents me from working with the software.

Please CC me, I'm not subsriing the list.

Thanks in advance,

kind regards,

dan_partelly | 21 Nov 11:10 2015

libxofication of FreeBSD kernel ? 201506DevSummit

Hi all,

At the following URL:

the listed agenda of libxo working group include the following topic of

---- Discussion: libxo in the kernel.  -----------------

Can someone please explain exactly what happens here ? Who pushed this
agenda , 
regarding libxo in kernel,  and what was discussed ? 

For me it is worrisome that such a topic of discussion even exists. It is
my opinion 
that engineers should strive to simplify a kernel, even reduce their size
LOC where possible, not adding complexity, especially totally unjustified

But I would like to hear the whole story before passing judgment on the


freebsd-current <at> mailing list
(Continue reading)

Sergey V. Dyatko | 20 Nov 09:05 2015

/bin/ls formatting broken for non-C(?) locales


it is on head <at> r290573:
env LC_ALL=uk_UA.UTF-8 ls -la /usr/ports/databases/ or env LC_ALL=ru_RU.UTF-8
ls -la /usr/ports/databases/

env LC_ALL=C ls -la /usr/ports/databases/ works fine
also on old stable/10 (r286868)  as I can see 'month' field length 3 symbols 

wbr, tiger

freebsd-current <at> mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at>"