Jenkins build is back to normal : FreeBSD_HEAD_sparc64 #79

2016-05-21 Thread jenkins-admin
See 

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Jenkins build is back to normal : FreeBSD_HEAD #303

2016-05-21 Thread jenkins-admin
See 

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


FreeBSD_HEAD_i386 - Build #3177 - Fixed

2016-05-21 Thread jenkins-admin
FreeBSD_HEAD_i386 - Build #3177 - Fixed:

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

Change summaries:

300377 by pfg:
ndis(4): Avoid overflow.

This is a long standing problem: our random() function returns an
unsigned integer but the rand provided by ndis(4) returns an int.
Scale it down.

MFC after:  2 weeks

300376 by pfg:
ndis(4): Better mimic the behavior of rand() on Windows.

In ndis(4) we expose a rand() function that was constantly reseeding
with a time depending function every time it was called. This
essentially broke the reasoning behind seeding, and rendered srand()
a no-op.

Keep it simple, just use random() and srandom() as it's meant to work.
It  would have been tempting to just go for arc4random() but we
want to mimic Microsoft, and we don't need crypto-grade randomness
here.

PR: 209616
MFC after:  2 weeks

300375 by ian:
Adjust _ALIGNBYTES to the proper value for arm and armv6 arches.  Modern
compilers can emit arm instructions that require 8-byte alignment.  The
alignment-sensitive instructions were added in armv5, which has to be
supported by our combined v4/v5 kernels, so the value is set uncoditionally
for all arm architecture versions.

Also adjust the comment to explain in more detail why the macros have the
form and values they do.

Per advice from bde@, maintain the unsignedness of the value of _ALIGNBYTES
(but do so using his second choice of allowing sizeof() to supply the
unsignedness, rather than just hardcoding '8U', which in my mind would
require an even more verbose comment to explain why it's right).  Also
explain in the comment that the resulting type of _ALIGN() is equivelent
to uinptr_t on arm (32-bit unsigned int), but it's purposely spelled as
"unsigned" to avoid problems with including other header files.  Even
including machine/_types.h to allow use of __uintptr_t causes compilation
failures because of this header being included (indirectly) in asm code.

The discussion that led to this change (albeit at a glacial pace) is at
https://lists.freebsd.org/pipermail/svn-src-head/2014-November/064593.html

300374 by emaste:
elftoolchain: backwards compatability for ELFOSABI_CLOUDABI definition

It is not provided by sys/elf_common.h on older releases or -current
before March 2015.

Reported by:Jenkins

300372 by avg:
fix loss of taskqueue wakeups (introduced in r300113)

Submitted by:   kmacy
Tested by:  dchagin

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: CURRENT: ipfw: problems with timeouts and worse network performance

2016-05-21 Thread O. Hartmann
Am Sat, 21 May 2016 12:28:42 +0200
"O. Hartmann"  schrieb:

> Am Fri, 20 May 2016 17:41:39 +0300
> "Andrey V. Elsukov"  schrieb:
> 
> > On 20.05.16 17:23, O. Hartmann wrote:  
> > > The problem is simpel to trigger: have firewall type "WORKSTATION" 
> > > configured, IPFW
> > > active (I have IPFW statically in-kernel-compiled, no modules so far). 
> > > Have /usr/src
> > > as a svn+https repository and try a svn update of the source tree.
> > 
> > Hi,
> > 
> > it looks like r300143 broke it. I'm looking now why.
> >   
> 
> The update to the recommended revision and beyond solved the described 
> problem for me.
> My thank you.
> 
> oh

... but the "broken pipe" problemacy with ipfw enabled is still present and 
beyond
anoying :-(


pgpvQMHJpZ2dD.pgp
Description: OpenPGP digital signature


FreeBSD_HEAD_i386 - Build #3176 - Still Failing

2016-05-21 Thread jenkins-admin
FreeBSD_HEAD_i386 - Build #3176 - Still Failing:

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

Change summaries:

300371 by kib:
Same as for UFS, remove drop/reacquire of Giant, and use si_mountpt as
the mount semaphore.

Sponsored by:   The FreeBSD Foundation
MFC after:  2 weeks

300370 by trasz:
Properly reset session state when using proxy and fail_on_disconnection=1.
Without it the reconnection would fail due to mismatched sequence numbers.

MFC after:  1 month
Sponsored by:   The FreeBSD Foundation



The end of the build log:

[...truncated 21185 lines...]
--- lexsup.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include  
-DTARGET=\"i386-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_i386_fbsd\" 
-DSCRIPTDIR=\"/usr/obj/usr/src/tmp/usr/libdata\" 
-DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/usr/obj/usr/src/tmp\" 
-DTOOLBINDIR=\"/usr/obj/usr/src/tmp//usr/bin/libexec\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -g -MD -MP 
-MF.depend.lexsup.o -MTlexsup.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/lexsup.c -o 
lexsup.o
--- mri.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include  
-DTARGET=\"i386-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_i386_fbsd\" 
-DSCRIPTDIR=\"/usr/obj/usr/src/tmp/usr/libdata\" 
-DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/usr/obj/usr/src/tmp\" 
-DTOOLBINDIR=\"/usr/obj/usr/src/tmp//usr/bin/libexec\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -g -MD -MP 
-MF.depend.mri.o -MTmri.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/mri.c -o mri.o
--- all_subdir_gnu/usr.bin/binutils/as ---
--- obj-elf.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/as -I/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/include  
-DDEFAULT_ARCH=\"i386\" -DTARGET_CPU=\"i386\" -DTARGET_OS=\"freebsd\" 
-DTARGET_CANONICAL=\"i386-unknown-freebsd\" 
-DTARGET_ALIAS=\"i386-unknown-freebsd\" -DVERSION=\""2.17.50 [FreeBSD] 
2007-07-03"\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/bfd 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils 
-I/usr/src/gnu/usr.bin/binutils/as 
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd -g -MD -MP -MF.depend.obj-elf.o 
-MTobj-elf.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/as/../../..
 /../contrib/binutils/gas/config/obj-elf.c -o obj-elf.o
--- all_subdir_gnu/usr.bin/binutils/libbinutils ---
--- stabs.o ---
cc  -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/libbinutils 
-I/usr/src/gnu/usr.bin/binutils/libbinutils/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/libbinutils/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/include
 -DTARGET=\"i386-unknown-freebsd\" -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 
2007-07-03"\" -D_GNU_SOURCE -DYY_NO_INPUT 
-I/usr/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/binutils
 -I/usr/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/bfd  
-MD -MP -MF.depend.stabs.o -MTstabs.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/binutils/stabs.c
 -o stabs.o
--- all_subdir_gnu/usr.bin/binutils/ld ---
--- ld.bfd.full ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include 

Build failed in Jenkins: FreeBSD_HEAD #302

2016-05-21 Thread jenkins-admin
See 

--
[...truncated 57442 lines...]
--- all_subdir_gnu/usr.bin/binutils/libbinutils ---
--- rename.o ---
cc  -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=64 -I. 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../libbfd 
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../libbfd
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/include
 -DTARGET=\"x86_64-unknown-freebsd\" -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 
2007-07-03"\" -D_GNU_SOURCE -DYY_NO_INPUT 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/binutils
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/bfd
  -MD  -MF.depend.rename.o -MTrename.o -std=gnu99  -Qunused-arguments  
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/legacy/usr/include
 -c /builds/workspace/FreeBSD_HEAD/src/gnu/usr.b
 in/binutils/libbinutils/../../../../contrib/binutils/binutils/rename.c -o 
rename.o
--- stabs.o ---
cc  -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=64 -I. 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../libbfd 
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../libbfd
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/include
 -DTARGET=\"x86_64-unknown-freebsd\" -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 
2007-07-03"\" -D_GNU_SOURCE -DYY_NO_INPUT 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/binutils
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/libbinutils/../../../../contrib/binutils/bfd
  -MD  -MF.depend.stabs.o -MTstabs.o -std=gnu99  -Qunused-arguments  
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/legacy/usr/include
 -c /builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin
 /binutils/libbinutils/../../../../contrib/binutils/binutils/stabs.c -o stabs.o
--- all_subdir_gnu/usr.bin/binutils/ld ---
--- ldver.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=64 -I. 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../libbfd
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include
  -DTARGET=\"x86_64-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_x86_64_fbsd\" 
-DSCRIPTDIR=\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/usr/libdata\"
 -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp\"
 
-DTOOLBINDIR=\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp//usr/bin/libexec\"
 -D_GNU_SOURCE 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld
 -I/builds/w
 
orkspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd
 -g -MD  -MF.depend.ldver.o -MTldver.o -std=gnu99  -Qunused-arguments  
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/legacy/usr/include
 -c 
/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldver.c
 -o ldver.o
--- ldwrite.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=64 -I. 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../libbfd
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include
  -DTARGET=\"x86_64-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_x86_64_fbsd\" 
-DSCRIPTDIR=\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/usr/libdata\"
 -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp\"
 
-DTOOLBINDIR=\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp//usr/bin/libexec\"
 -D_GNU_SOURCE 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld
 -I/builds/w
 
orkspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd
 -g -MD  -MF.depend.ldwrite.o 

Re: newcons splash screen

2016-05-21 Thread Thomas Mueller
Is the newcons nonsupport for console screensaver related to the nonsupport for 
newcons splash screen?

Situation is the same in NetBSD 7.0_RELEASE and STABLE, and current/head, no 
support for screensaver.  DRMKMS is NetBSD's equivalent/counterpart of 
FreeBSD's newcons.  Boot to console comes up into 250x67, like in FreeBSD after 
exiting X.

Tom

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


FreeBSD_HEAD_i386 - Build #3175 - Still Failing

2016-05-21 Thread jenkins-admin
FreeBSD_HEAD_i386 - Build #3175 - Still Failing:

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

Change summaries:

300369 by trasz:
Provide a way for ICL modules to declare they support PIM_UNMAPPED.

MFC after:  1 month
Sponsored by:   The FreeBSD Foundation

300368 by trasz:
Pass maxtags value to the ICL module.  iSER needs it.

MFC after:  1 month
Sponsored by:   The FreeBSD Foundation

300366 by kib:
Stop dropping and reacquiring Giant around geom calls in UFS.

Sponsored by:   The FreeBSD Foundation

300365 by kib:
Remove zero assignments in the cdev allocator.  cdp memory is
requested with M_ZERO.

Sponsored by:   The FreeBSD Foundation
MFC after:  2 weeks

300364 by kib:
Improve handling of rdev->si_mountpt on mount and unmount of FFS
volumes.  Treat the field as a semaphore protecting availability of
the device for mounting.  Do no access devvp->v_rdev without the vnode
lock owned.

Protect change of the devvp->v_bufobj bo_ops vector with the vnode
lock.

Reviewed by:bde
Sponsored by:   The FreeBSD Foundation
MFC after:  2 weeks



The end of the build log:

[...truncated 21127 lines...]
--- obj-elf.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/as -I/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/include  
-DDEFAULT_ARCH=\"i386\" -DTARGET_CPU=\"i386\" -DTARGET_OS=\"freebsd\" 
-DTARGET_CANONICAL=\"i386-unknown-freebsd\" 
-DTARGET_ALIAS=\"i386-unknown-freebsd\" -DVERSION=\""2.17.50 [FreeBSD] 
2007-07-03"\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/bfd 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils 
-I/usr/src/gnu/usr.bin/binutils/as 
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd -g -MD -MP -MF.depend.obj-elf.o 
-MTobj-elf.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/as/../../..
 /../contrib/binutils/gas/config/obj-elf.c -o obj-elf.o
--- all_subdir_gnu/usr.bin/binutils/ld ---
--- ldwrite.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include  
-DTARGET=\"i386-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_i386_fbsd\" 
-DSCRIPTDIR=\"/usr/obj/usr/src/tmp/usr/libdata\" 
-DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/usr/obj/usr/src/tmp\" 
-DTOOLBINDIR=\"/usr/obj/usr/src/tmp//usr/bin/libexec\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -g -MD -MP 
-MF.depend.ldwrite.o -MTldwrite.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldwrite.c -o 
ldwrite.o
--- lexsup.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include  
-DTARGET=\"i386-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_i386_fbsd\" 
-DSCRIPTDIR=\"/usr/obj/usr/src/tmp/usr/libdata\" 
-DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/usr/obj/usr/src/tmp\" 
-DTOOLBINDIR=\"/usr/obj/usr/src/tmp//usr/bin/libexec\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -g -MD -MP 
-MF.depend.lexsup.o -MTlexsup.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/lexsup.c -o 
lexsup.o
--- all_subdir_gnu/usr.bin/binutils/as ---
--- output-file.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/as -I/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/include  
-DDEFAULT_ARCH=\"i386\" -DTARGET_CPU=\"i386\" -DTARGET_OS=\"freebsd\" 
-DTARGET_CANONICAL=\"i386-unknown-freebsd\" 
-DTARGET_ALIAS=\"i386-unknown-freebsd\" -DVERSION=\""2.17.50 [FreeBSD] 
2007-07-03"\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas 

Re: CURRENT: ipfw: problems with timeouts and worse network performance

2016-05-21 Thread O. Hartmann
Am Fri, 20 May 2016 17:41:39 +0300
"Andrey V. Elsukov"  schrieb:

> On 20.05.16 17:23, O. Hartmann wrote:
> > The problem is simpel to trigger: have firewall type "WORKSTATION" 
> > configured, IPFW
> > active (I have IPFW statically in-kernel-compiled, no modules so far). Have 
> > /usr/src
> > as a svn+https repository and try a svn update of the source tree.  
> 
> Hi,
> 
> it looks like r300143 broke it. I'm looking now why.
> 

The update to the recommended revision and beyond solved the described problem 
for me.
My thank you.

oh


pgp31nXTdvHML.pgp
Description: OpenPGP digital signature


Build failed in Jenkins: FreeBSD_HEAD #301

2016-05-21 Thread jenkins-admin
See 

--
[...truncated 56789 lines...]
--- all_subdir_gnu/usr.bin/binutils/as ---
--- sb.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=64 -I. 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../libbfd 
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../libbfd
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/include
  -DDEFAULT_ARCH=\"x86_64\" -DTARGET_CPU=\"x86_64\" -DTARGET_OS=\"freebsd\" 
-DTARGET_CANONICAL=\"x86_64-unknown-freebsd\" 
-DTARGET_ALIAS=\"x86_64-unknown-freebsd\" -DVERSION=\""2.17.50 [FreeBSD] 
2007-07-03"\" -D_GNU_SOURCE 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/bfd
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config
 -I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../.
 ./../contrib/binutils 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/amd64-freebsd -g 
-MD  -MF.depend.sb.o -MTsb.o -std=gnu99  -Qunused-arguments  
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/legacy/usr/include
 -c 
/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/sb.c
 -o sb.o
--- all_subdir_gnu/usr.bin/binutils/ld ---
--- ldver.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=64 -I. 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../libbfd
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include
  -DTARGET=\"x86_64-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_x86_64_fbsd\" 
-DSCRIPTDIR=\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/usr/libdata\"
 -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp\"
 
-DTOOLBINDIR=\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp//usr/bin/libexec\"
 -D_GNU_SOURCE 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld
 -I/builds/w
 
orkspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd
 -g -MD  -MF.depend.ldver.o -MTldver.o -std=gnu99  -Qunused-arguments  
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/legacy/usr/include
 -c 
/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldver.c
 -o ldver.o
--- all_subdir_gnu/usr.bin/binutils/as ---
--- stabs.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=64 -I. 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../libbfd 
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../libbfd
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/include
  -DDEFAULT_ARCH=\"x86_64\" -DTARGET_CPU=\"x86_64\" -DTARGET_OS=\"freebsd\" 
-DTARGET_CANONICAL=\"x86_64-unknown-freebsd\" 
-DTARGET_ALIAS=\"x86_64-unknown-freebsd\" -DVERSION=\""2.17.50 [FreeBSD] 
2007-07-03"\" -D_GNU_SOURCE 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/bfd
 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config
 -I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../.
 ./../contrib/binutils 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/amd64-freebsd -g 
-MD  -MF.depend.stabs.o -MTstabs.o -std=gnu99  -Qunused-arguments  
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/legacy/usr/include
 -c 
/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/stabs.c
 -o stabs.o
--- all_subdir_gnu/usr.bin/binutils/ld ---
--- ldwrite.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=64 -I. 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld 
-I/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/builds/workspace/FreeBSD_HEAD/src/gnu/usr.bin/binutils/ld/../libbfd
 

Re: em(4) broken in HEAD?

2016-05-21 Thread Chagin Dmitry
On Sat, May 21, 2016 at 02:00:09AM -0700, K. Macy wrote:
> Much to my chagrin, this too is my fault. Please apply the attached
> patch if it hasn't yet been committed to -CURRENT.
> 

thanks, it fixes em for me.





> On Fri, May 20, 2016 at 11:28 PM, Joel Dahl  wrote:
> > On Fri, May 20, 2016 at 07:32:30PM -0700, K. Macy wrote:
> >> I'm seeing watchdog resets on em(4) in my VMWare as of the last day or two.
> >>
> >> >
> >> >
> >> > I don't use ipfw, aliases or anything other than stock networking. I
> >> > was unable to copy a large image off the VM without getting an
> >> > unending stream of watchdog resets which could only be fixed by a
> >> > reboot. Fortunately a subsequent IFC fixed it  as of ~15 hours ago.
> >> >
> >>
> >> I take that back. It's still happening.
> >
> > OK - good to know. I'm going to be travelling for a few days so I won't have
> > time to do a binary search to find the commit that broke it.
> >
> > --
> > Joel

> diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c
> index 2ef5a3c..00cb46f 100644
> --- a/sys/kern/subr_taskqueue.c
> +++ b/sys/kern/subr_taskqueue.c
> @@ -68,7 +68,6 @@ struct taskqueue {
>   TAILQ_HEAD(, taskqueue_busy) tq_active;
>   struct mtx  tq_mutex;
>   struct thread   **tq_threads;
> - struct thread   *tq_curthread;
>   int tq_tcount;
>   int tq_spin;
>   int tq_flags;
> @@ -222,7 +221,7 @@ taskqueue_enqueue_locked(struct taskqueue *queue, struct 
> task *task)
>* Count multiple enqueues.
>*/
>   if (task->ta_pending) {
> - if (task->ta_pending < UCHAR_MAX)
> + if (task->ta_pending < USHRT_MAX)
>   task->ta_pending++;
>   TQ_UNLOCK(queue);
>   return (0);
> @@ -465,8 +464,7 @@ taskqueue_run_locked(struct taskqueue *queue)
>  
>   TQ_LOCK(queue);
>   tb.tb_running = NULL;
> - if ((task->ta_flags & TASK_SKIP_WAKEUP) == 0)
> - wakeup(task);
> + wakeup(task);
>  
>   TAILQ_REMOVE(>tq_active, , tb_link);
>   tb_first = TAILQ_FIRST(>tq_active);
> @@ -481,9 +479,7 @@ taskqueue_run(struct taskqueue *queue)
>  {
>  
>   TQ_LOCK(queue);
> - queue->tq_curthread = curthread;
>   taskqueue_run_locked(queue);
> - queue->tq_curthread = NULL;
>   TQ_UNLOCK(queue);
>  }
>  
> @@ -716,7 +712,6 @@ taskqueue_thread_loop(void *arg)
>   tq = *tqp;
>   taskqueue_run_callback(tq, TASKQUEUE_CALLBACK_TYPE_INIT);
>   TQ_LOCK(tq);
> - tq->tq_curthread = curthread;
>   while ((tq->tq_flags & TQ_FLAGS_ACTIVE) != 0) {
>   /* XXX ? */
>   taskqueue_run_locked(tq);
> @@ -730,7 +725,6 @@ taskqueue_thread_loop(void *arg)
>   TQ_SLEEP(tq, tq, >tq_mutex, 0, "-", 0);
>   }
>   taskqueue_run_locked(tq);
> - tq->tq_curthread = NULL;
>   /*
>* This thread is on its way out, so just drop the lock temporarily
>* in order to call the shutdown callback.  This allows the callback
> @@ -754,8 +748,7 @@ taskqueue_thread_enqueue(void *context)
>  
>   tqp = context;
>   tq = *tqp;
> - if (tq->tq_curthread != curthread)
> - wakeup_one(tq);
> + wakeup_one(tq);
>  }
>  
>  TASKQUEUE_DEFINE(swi, taskqueue_swi_enqueue, NULL,
> diff --git a/sys/sys/_task.h b/sys/sys/_task.h
> index 4cfa171..ce89781 100644
> --- a/sys/sys/_task.h
> +++ b/sys/sys/_task.h
> @@ -45,8 +45,7 @@ typedef void task_fn_t(void *context, int pending);
>  
>  struct task {
>   STAILQ_ENTRY(task) ta_link; /* (q) link for queue */
> - uint8_t ta_pending; /* (q) count times queued */
> - uint8_t ta_flags;   /* (q) flags */
> + uint16_t ta_pending;/* (q) count times queued */
>   u_short ta_priority;/* (c) Priority */
>   task_fn_t *ta_func; /* (c) task handler */
>   void*ta_context;/* (c) argument for handler */
> diff --git a/sys/sys/taskqueue.h b/sys/sys/taskqueue.h
> index bc01088..4c4044f 100644
> --- a/sys/sys/taskqueue.h
> +++ b/sys/sys/taskqueue.h
> @@ -98,7 +98,6 @@ voidtaskqueue_set_callback(struct taskqueue *queue,
>  
>  #define TASK_INITIALIZER(priority, func, context)\
>   { .ta_pending = 0,  \
> -   .ta_flags = 0,\
> .ta_priority = (priority),\
> .ta_func = (func),\
> .ta_context = (context) }
> @@ -114,7 +113,6 @@ void  taskqueue_thread_enqueue(void *context);
>   */
>  #define TASK_INIT(task, priority, func, context) do {\
>   (task)->ta_pending = 0; \
> - (task)->ta_flags = 0;   \
>   (task)->ta_priority = (priority);   \
>   

FreeBSD_HEAD_i386 - Build #3174 - Still Failing

2016-05-21 Thread jenkins-admin
FreeBSD_HEAD_i386 - Build #3174 - Still Failing:

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

Change summaries:

300360 by dchagin:
Regen after r300359 (struct l_sched_param removal).

MFC after:  1 week

300359 by dchagin:
Correct an argument param of linux_sched_* system calls as a struct 
l_sched_param
does not defined due to it's nature.

MFC after:  1 week



The end of the build log:

[...truncated 20942 lines...]
--- ldver.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include  
-DTARGET=\"i386-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_i386_fbsd\" 
-DSCRIPTDIR=\"/usr/obj/usr/src/tmp/usr/libdata\" 
-DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/usr/obj/usr/src/tmp\" 
-DTOOLBINDIR=\"/usr/obj/usr/src/tmp//usr/bin/libexec\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -g -MD -MP 
-MF.depend.ldver.o -MTldver.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldver.c -o 
ldver.o
--- ldwrite.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include  
-DTARGET=\"i386-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_i386_fbsd\" 
-DSCRIPTDIR=\"/usr/obj/usr/src/tmp/usr/libdata\" 
-DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/usr/obj/usr/src/tmp\" 
-DTOOLBINDIR=\"/usr/obj/usr/src/tmp//usr/bin/libexec\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -g -MD -MP 
-MF.depend.ldwrite.o -MTldwrite.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldwrite.c -o 
ldwrite.o
--- lexsup.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/ld/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include  
-DTARGET=\"i386-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_i386_fbsd\" 
-DSCRIPTDIR=\"/usr/obj/usr/src/tmp/usr/libdata\" 
-DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" 
-DTARGET_SYSTEM_ROOT=\"/usr/obj/usr/src/tmp\" 
-DTOOLBINDIR=\"/usr/obj/usr/src/tmp//usr/bin/libexec\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld 
-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -g -MD -MP 
-MF.depend.lexsup.o -MTlexsup.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/lexsup.c -o 
lexsup.o
--- all_subdir_gnu/usr.bin/binutils/as ---
--- output-file.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/as -I/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/include  
-DDEFAULT_ARCH=\"i386\" -DTARGET_CPU=\"i386\" -DTARGET_OS=\"freebsd\" 
-DTARGET_CANONICAL=\"i386-unknown-freebsd\" 
-DTARGET_ALIAS=\"i386-unknown-freebsd\" -DVERSION=\""2.17.50 [FreeBSD] 
2007-07-03"\" -D_GNU_SOURCE 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/bfd 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils 
-I/usr/src/gnu/usr.bin/binutils/as 
-I/usr/src/gnu/usr.bin/binutils/as/i386-freebsd -g -MD -MP 
-MF.depend.output-file.o -MToutput-file.o -std=gnu99  -Qunused-arguments  
-I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/binutils/as/
 ../../../../contrib/binutils/gas/output-file.c -o output-file.o
--- read.o ---
cc -O2 -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. 
-I/usr/src/gnu/usr.bin/binutils/as -I/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils/as/../libbfd 
-I/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/include  
-DDEFAULT_ARCH=\"i386\" -DTARGET_CPU=\"i386\" -DTARGET_OS=\"freebsd\" 

Re: em(4) broken in HEAD?

2016-05-21 Thread K. Macy
Much to my chagrin, this too is my fault. Please apply the attached
patch if it hasn't yet been committed to -CURRENT.

On Fri, May 20, 2016 at 11:28 PM, Joel Dahl  wrote:
> On Fri, May 20, 2016 at 07:32:30PM -0700, K. Macy wrote:
>> I'm seeing watchdog resets on em(4) in my VMWare as of the last day or two.
>>
>> >
>> >
>> > I don't use ipfw, aliases or anything other than stock networking. I
>> > was unable to copy a large image off the VM without getting an
>> > unending stream of watchdog resets which could only be fixed by a
>> > reboot. Fortunately a subsequent IFC fixed it  as of ~15 hours ago.
>> >
>>
>> I take that back. It's still happening.
>
> OK - good to know. I'm going to be travelling for a few days so I won't have
> time to do a binary search to find the commit that broke it.
>
> --
> Joel
diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c
index 2ef5a3c..00cb46f 100644
--- a/sys/kern/subr_taskqueue.c
+++ b/sys/kern/subr_taskqueue.c
@@ -68,7 +68,6 @@ struct taskqueue {
 	TAILQ_HEAD(, taskqueue_busy) tq_active;
 	struct mtx		tq_mutex;
 	struct thread		**tq_threads;
-	struct thread		*tq_curthread;
 	int			tq_tcount;
 	int			tq_spin;
 	int			tq_flags;
@@ -222,7 +221,7 @@ taskqueue_enqueue_locked(struct taskqueue *queue, struct task *task)
 	 * Count multiple enqueues.
 	 */
 	if (task->ta_pending) {
-		if (task->ta_pending < UCHAR_MAX)
+		if (task->ta_pending < USHRT_MAX)
 			task->ta_pending++;
 		TQ_UNLOCK(queue);
 		return (0);
@@ -465,8 +464,7 @@ taskqueue_run_locked(struct taskqueue *queue)
 
 		TQ_LOCK(queue);
 		tb.tb_running = NULL;
-		if ((task->ta_flags & TASK_SKIP_WAKEUP) == 0)
-			wakeup(task);
+		wakeup(task);
 
 		TAILQ_REMOVE(>tq_active, , tb_link);
 		tb_first = TAILQ_FIRST(>tq_active);
@@ -481,9 +479,7 @@ taskqueue_run(struct taskqueue *queue)
 {
 
 	TQ_LOCK(queue);
-	queue->tq_curthread = curthread;
 	taskqueue_run_locked(queue);
-	queue->tq_curthread = NULL;
 	TQ_UNLOCK(queue);
 }
 
@@ -716,7 +712,6 @@ taskqueue_thread_loop(void *arg)
 	tq = *tqp;
 	taskqueue_run_callback(tq, TASKQUEUE_CALLBACK_TYPE_INIT);
 	TQ_LOCK(tq);
-	tq->tq_curthread = curthread;
 	while ((tq->tq_flags & TQ_FLAGS_ACTIVE) != 0) {
 		/* XXX ? */
 		taskqueue_run_locked(tq);
@@ -730,7 +725,6 @@ taskqueue_thread_loop(void *arg)
 		TQ_SLEEP(tq, tq, >tq_mutex, 0, "-", 0);
 	}
 	taskqueue_run_locked(tq);
-	tq->tq_curthread = NULL;
 	/*
 	 * This thread is on its way out, so just drop the lock temporarily
 	 * in order to call the shutdown callback.  This allows the callback
@@ -754,8 +748,7 @@ taskqueue_thread_enqueue(void *context)
 
 	tqp = context;
 	tq = *tqp;
-	if (tq->tq_curthread != curthread)
-		wakeup_one(tq);
+	wakeup_one(tq);
 }
 
 TASKQUEUE_DEFINE(swi, taskqueue_swi_enqueue, NULL,
diff --git a/sys/sys/_task.h b/sys/sys/_task.h
index 4cfa171..ce89781 100644
--- a/sys/sys/_task.h
+++ b/sys/sys/_task.h
@@ -45,8 +45,7 @@ typedef void task_fn_t(void *context, int pending);
 
 struct task {
 	STAILQ_ENTRY(task) ta_link;	/* (q) link for queue */
-	uint8_t	ta_pending;		/* (q) count times queued */
-	uint8_t	ta_flags;		/* (q) flags */
+	uint16_t ta_pending;		/* (q) count times queued */
 	u_short	ta_priority;		/* (c) Priority */
 	task_fn_t *ta_func;		/* (c) task handler */
 	void	*ta_context;		/* (c) argument for handler */
diff --git a/sys/sys/taskqueue.h b/sys/sys/taskqueue.h
index bc01088..4c4044f 100644
--- a/sys/sys/taskqueue.h
+++ b/sys/sys/taskqueue.h
@@ -98,7 +98,6 @@ void	taskqueue_set_callback(struct taskqueue *queue,
 
 #define TASK_INITIALIZER(priority, func, context)	\
 	{ .ta_pending = 0,\
-	  .ta_flags = 0,\
 	  .ta_priority = (priority),			\
 	  .ta_func = (func),\
 	  .ta_context = (context) }
@@ -114,7 +113,6 @@ void	taskqueue_thread_enqueue(void *context);
  */
 #define TASK_INIT(task, priority, func, context) do {	\
 	(task)->ta_pending = 0;\
-	(task)->ta_flags = 0;\
 	(task)->ta_priority = (priority);		\
 	(task)->ta_func = (func);			\
 	(task)->ta_context = (context);			\
@@ -224,7 +222,6 @@ int	taskqgroup_adjust(struct taskqgroup *qgroup, int cnt, int stride);
 
 #define GTASK_INIT(task, priority, func, context) do {	\
 	(task)->ta_pending = 0;\
-	(task)->ta_flags = TASK_SKIP_WAKEUP;		\
 	(task)->ta_priority = (priority);		\
 	(task)->ta_func = (func);			\
 	(task)->ta_context = (context);			\
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

AHCI/ADA regression?

2016-05-21 Thread Gary Jennejohn
There appears to be a regression in AHCI/ADA behavior since r300207.

Starting a test kernel at r300293 results in extremely long timeouts
probing ahcich2 for non-existent multiplier ports.

Here some kernel output:
ahci0: 
port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,
0xfb00-0xfb0f mem 0xfe02f000-0xfe02f3ff irq 22 at device 17.0 on pci0

ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported

ahcich2:  at channel 2 on ahci0

ada1 at ahcich2 bus 0 scbus2 target 0 lun 0

/dev/ada1p1 on /home (ufs, local, journaled soft-updates)

An older kernel at r299170 does not exhibit this peculiar behavior and
mounts /home with no delays.

-- 
Gary Jennejohn
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


ATA? related trouble with r300299

2016-05-21 Thread Oleg V. Nauman

 I have faced the issue with fresh CURRENT stopped to boot on my old desktop 
after update to r300299
Verbose boot shows the endless cycle of 

ata2: SATA reset: ports status=0x05
ata2: reset tp1 mask=03 ostat0=50 ostat1=50
ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata2: stat1=0x50 err=0x01 lsb=0x00 msb=0x00
ata2: reset tp2 stat0=50 stat1=50 devices=0x3
messages logged to console.

Below is the relevant portion of ATA controller/devices probed/attached during 
the boot:

atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0:  at channel 0 on atapci0
atapci1:  port 0xd080-0xd087, 0xd000-0xd003, 
0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc80f irq 19 at device 31.2 on pci0
ata2:  at channel 0 on atapci1
ata3:  at channel 1 on atapci1
ada0 at ata2 bus 0 scbus1 target 0 lun 0
ada0:  ATA-7 SATA 2.x device
ada1 at ata2 bus 0 scbus1 target 1 lun 0
ada1:  ATA8-ACS SATA 3.x device
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <_NEC DVD_RW ND-3570A 1.11> Removable CD-ROM SCSI device


Thank you
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: em(4) broken in HEAD?

2016-05-21 Thread Joel Dahl
On Fri, May 20, 2016 at 07:32:30PM -0700, K. Macy wrote:
> I'm seeing watchdog resets on em(4) in my VMWare as of the last day or two.
> 
> >
> >
> > I don't use ipfw, aliases or anything other than stock networking. I
> > was unable to copy a large image off the VM without getting an
> > unending stream of watchdog resets which could only be fixed by a
> > reboot. Fortunately a subsequent IFC fixed it  as of ~15 hours ago.
> >
> 
> I take that back. It's still happening.

OK - good to know. I'm going to be travelling for a few days so I won't have
time to do a binary search to find the commit that broke it.

-- 
Joel
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"