Re: [head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread Navdeep Parhar
On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote: > I don't get why this is dying. any ideas? Maybe because sparc64's ucontext.h is getting pulled in, and it has this: #define mc_flagsmc_global[0] Regards, Navdeep > > > > adrian > > On 10 July 2013 21:18, FreeBSD Tinderb

Re: [head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread Adrian Chadd
On 11 July 2013 00:05, Navdeep Parhar wrote: > On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote: >> I don't get why this is dying. any ideas? > > Maybe because sparc64's ucontext.h is getting pulled in, and it has > this: > > #define mc_flagsmc_global[0] Ugh, we should fix thi

Re: [head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread Navdeep Parhar
On Thu, Jul 11, 2013 at 12:07:33AM -0700, Adrian Chadd wrote: > On 11 July 2013 00:05, Navdeep Parhar wrote: > > On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote: > >> I don't get why this is dying. any ideas? > > > > Maybe because sparc64's ucontext.h is getting pulled in, and it has

Re: ipv6_addrs_IF aliases in rc.conf(5)

2013-07-11 Thread Łukasz Wąsikowski
W dniu 2013-07-10 17:52, Kevin Oberman pisze: > On Wed, Jul 10, 2013 at 4:46 AM, Mark Felder wrote: > >> On Wed, 10 Jul 2013 06:44:12 -0500, Michael Grimm < >> trash...@odo.in-berlin.de> wrote: >> >> Will that patch make it into 9.2? If I am not mistaken, that patch isn't >>> in stable yet. >>>

Re: Improved SYN Cookies: Looking for testers

2013-07-11 Thread Andre Oppermann
On 10.07.2013 15:18, Fabian Keil wrote: Andre Oppermann wrote: We have a SYN cookie implementation for quite some time now but it has some limitations with current realities for window scaling and SACK encoding the in the few available bits. This patch updates and improves SYN cookies mainly

Re: hacking - aio_sendfile()

2013-07-11 Thread Adrian Chadd
Hiya, I'm more interested in the API than the implementation at the moment. Yes, you're right - it should eventually be driven using disk io completion upcalls which triggers the push of data into the socket buffer. I totally agree. I'm hacking up some libevent-ish looking thing that uses kqueue

Re: CURRENT: CLANG 3.3 and -stad=c++11 and -stdlib=libc++: isnan()/isninf() oddity

2013-07-11 Thread David Chisnall
Hi Bruce, You're joining in this discussion starting in the middle, so you probably missed the earlier explanation. On 11 Jul 2013, at 05:21, Bruce Evans wrote: > I don't see how any conforming program can access the isnan() function > directly. It is just as protected as __isnan() would be.

Re: hacking - aio_sendfile()

2013-07-11 Thread Konstantin Belousov
On Thu, Jul 11, 2013 at 01:37:19AM -0700, Adrian Chadd wrote: > Hiya, > > I'm more interested in the API than the implementation at the moment. > > Yes, you're right - it should eventually be driven using disk io > completion upcalls which triggers the push of data into the socket > buffer. I tot

Re: hacking - aio_sendfile()

2013-07-11 Thread Adrian Chadd
On 11 July 2013 02:36, Konstantin Belousov wrote: > No, it is not disk I/O which is problematic there. It is socket I/O > e.g. wait for the socket buffers lomark in the kern_sendfile() which > causes unbounded sleep. Look for the sbwait() call, both in the > kern_sendfile() itself, and in the pru

Re: CURRENT: CLANG 3.3 and -stad=c++11 and -stdlib=libc++: isnan()/isninf() oddity

2013-07-11 Thread Tijl Coosemans
On 2013-07-11 06:21, Bruce Evans wrote: > On Wed, 10 Jul 2013, Garrett Wollman wrote: >> < said: >>> I think isnan(double) and isinf(double) in math.h should only be >>> visible if (_BSD_VISIBLE || _XSI_VISIBLE) && __ISO_C_VISIBLE < 1999. >>> For C99 and higher there should only be the isnan/isinf

Re: hacking - aio_sendfile()

2013-07-11 Thread Konstantin Belousov
On Thu, Jul 11, 2013 at 02:39:00AM -0700, Adrian Chadd wrote: > On 11 July 2013 02:36, Konstantin Belousov wrote: > > > No, it is not disk I/O which is problematic there. It is socket I/O > > e.g. wait for the socket buffers lomark in the kern_sendfile() which > > causes unbounded sleep. Look for

Re: hacking - aio_sendfile()

2013-07-11 Thread Gleb Smirnoff
Adrian, On Wed, Jul 10, 2013 at 04:36:23PM -0700, Adrian Chadd wrote: A> I've started writing an aio_sendfile() syscall. A> A> http://people.freebsd.org/~adrian/ath/20130710-aio-sendfile-3.diff A> A> Yes, the diff is against -HEAD and not stable/9. A> A> It's totally horrible, hackish and lik

Re: Filesystem wedges caused by r251446

2013-07-11 Thread Ian FREISLICH
John Baldwin wrote: > On Thursday, July 04, 2013 5:03:29 am Ian FREISLICH wrote: > > Konstantin Belousov wrote: > > > > > > Care to provide any useful information ? > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers- > handbook/kerneldebug-deadlocks.html > > > > Well, the sy

Re: [head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread Jackson Donadel
I think it´s in your kernel config file LINT. In your log we can read this Kernel build for LINT started on Thu Jul 11 04:07:01 UTC 2013 I had the same issue with current yesterday. 2013/7/11 Navdeep Parhar > On Thu, Jul 11, 2013 at 12:07:33AM -0700, Adrian Chadd wrote: > > On 11 July 2

Re: CURRENT: CLANG 3.3 and -stad=c++11 and -stdlib=libc++: isnan()/isninf() oddity

2013-07-11 Thread Bruce Evans
On Thu, 11 Jul 2013, David Chisnall wrote: You're joining in this discussion starting in the middle, so you probably missed the earlier explanation. I was mainly addressing a C99 point. I know little about C++ or C11. On 11 Jul 2013, at 05:21, Bruce Evans wrote: I don't see how any conf

Re: CURRENT: CLANG 3.3 and -stad=c++11 and -stdlib=libc++: isnan()/isninf() oddity

2013-07-11 Thread David Chisnall
On 11 Jul 2013, at 13:11, Bruce Evans wrote: > is also not required to be conforming C code, let alone C++ code, > so there is only a practical requirement that it works when included > in the C++ implementation. Working with the C++ implementation is the problem that we are trying to solve. >

Re: Filesystem wedges caused by r251446

2013-07-11 Thread John Baldwin
On Thursday, July 11, 2013 6:54:35 am Ian FREISLICH wrote: > John Baldwin wrote: > > On Thursday, July 04, 2013 5:03:29 am Ian FREISLICH wrote: > > > Konstantin Belousov wrote: > > > > > > > > Care to provide any useful information ? > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/book

Re: CURRENT: CLANG 3.3 and -stad=c++11 and -stdlib=libc++: isnan()/isninf() oddity

2013-07-11 Thread Bruce Evans
On Thu, 11 Jul 2013, Tijl Coosemans wrote: On 2013-07-11 06:21, Bruce Evans wrote: On Wed, 10 Jul 2013, Garrett Wollman wrote: < said: I think isnan(double) and isinf(double) in math.h should only be visible if (_BSD_VISIBLE || _XSI_VISIBLE) && __ISO_C_VISIBLE < 1999. For C99 and higher there

Re: CURRENT: CLANG 3.3 and -stad=c++11 and -stdlib=libc++: isnan()/isninf() oddity

2013-07-11 Thread David Chisnall
On 11 Jul 2013, at 13:11, Bruce Evans wrote: > The error message for the __builtin_isnan() version is slightly better up > to where it says more. > > The less-unportable macro can do more classification and detect problems > at compile time using __typeof(). The attached patch fixes the related

Re: hacking - aio_sendfile()

2013-07-11 Thread Adrian Chadd
I reference the source/dest FDs in the queue method. Is that not good enough? -adrian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@fr

Re: hacking - aio_sendfile()

2013-07-11 Thread Gleb Smirnoff
On Thu, Jul 11, 2013 at 07:45:19AM -0700, Adrian Chadd wrote: A> I reference the source/dest FDs in the queue method. Is that not good enough? I see. Should probably work, but needs testing. -- Totus tuus, Glebius. ___ freebsd-current@freebsd.org maili

Re: hacking - aio_sendfile()

2013-07-11 Thread Adrian Chadd
On 11 July 2013 07:51, Gleb Smirnoff wrote: > On Thu, Jul 11, 2013 at 07:45:19AM -0700, Adrian Chadd wrote: > A> I reference the source/dest FDs in the queue method. Is that not good > enough? > > I see. Should probably work, but needs testing. It's terrible - I'd think I should pass the file re

Re: CURRENT: CLANG 3.3 and -stad=c++11 and -stdlib=libc++: isnan()/isninf() oddity

2013-07-11 Thread Bruce Evans
On Thu, 11 Jul 2013, David Chisnall wrote: On 11 Jul 2013, at 13:11, Bruce Evans wrote: is also not required to be conforming C code, let alone C++ code, so there is only a practical requirement that it works when included in the C++ implementation. Working with the C++ implementation is t

[head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-11 14:27:18 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-11 14:27:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

fix for SVN r253208 breaking buildkernel with gcc

2013-07-11 Thread Michael Butler
Seems gcc is rather fussy about propagating 'const' and fails to compile /usr/src/sys/crypto/siphash/siphash.c after SVN r253208. I believe the attached patch is correct but please review .. imb ___ freebsd-current@freebsd.org mailing list http:

Re: fix for SVN r253208 breaking buildkernel with gcc

2013-07-11 Thread Michael Butler
On 07/11/13 12:07, Michael Butler wrote: > Seems gcc is rather fussy about propagating 'const' and fails to compile > /usr/src/sys/crypto/siphash/siphash.c after SVN r253208. > > I believe the attached patch is correct but please review .. > > imb grr .. missing attachment :-( Index: /usr

Re: fix for SVN r253208 breaking buildkernel with gcc

2013-07-11 Thread Andre Oppermann
On 11.07.2013 18:09, Michael Butler wrote: On 07/11/13 12:07, Michael Butler wrote: Seems gcc is rather fussy about propagating 'const' and fails to compile /usr/src/sys/crypto/siphash/siphash.c after SVN r253208. I believe the attached patch is correct but please review .. imb grr .

Re: [head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread John Baldwin
On Thursday, July 11, 2013 3:07:33 am Adrian Chadd wrote: > On 11 July 2013 00:05, Navdeep Parhar wrote: > > On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote: > >> I don't get why this is dying. any ideas? > > > > Maybe because sparc64's ucontext.h is getting pulled in, and it has > >

Re: CURRENT: CLANG 3.3 and -stad=c++11 and -stdlib=libc++: isnan()/isninf() oddity

2013-07-11 Thread Bruce Evans
On Thu, 11 Jul 2013, David Chisnall wrote: On 11 Jul 2013, at 13:11, Bruce Evans wrote: The error message for the __builtin_isnan() version is slightly better up to where it says more. The less-unportable macro can do more classification and detect problems at compile time using __typeof().

Re: hacking - aio_sendfile()

2013-07-11 Thread Scott Long
On Jul 10, 2013, at 11:17 PM, Konstantin Belousov wrote: > On Wed, Jul 10, 2013 at 04:36:23PM -0700, Adrian Chadd wrote: >> Hiya, >> >> I've started writing an aio_sendfile() syscall. >> >> http://people.freebsd.org/~adrian/ath/20130710-aio-sendfile-3.diff >> >> Yes, the diff is against -HEAD

Re: hacking - aio_sendfile()

2013-07-11 Thread Konstantin Belousov
On Thu, Jul 11, 2013 at 11:44:32AM -0700, Scott Long wrote: > > On Jul 10, 2013, at 11:17 PM, Konstantin Belousov wrote: > > > On Wed, Jul 10, 2013 at 04:36:23PM -0700, Adrian Chadd wrote: > >> Hiya, > >> > >> I've started writing an aio_sendfile() syscall. > >> > >> http://people.freebsd.org/

Re: hacking - aio_sendfile()

2013-07-11 Thread Scott Long
On Jul 11, 2013, at 2:56 AM, Konstantin Belousov wrote: > On Thu, Jul 11, 2013 at 02:39:00AM -0700, Adrian Chadd wrote: >> On 11 July 2013 02:36, Konstantin Belousov wrote: >> >>> No, it is not disk I/O which is problematic there. It is socket I/O >>> e.g. wait for the socket buffers lomark in

Re: hacking - aio_sendfile()

2013-07-11 Thread Scott Long
On Jul 11, 2013, at 11:48 AM, Konstantin Belousov wrote: > On Thu, Jul 11, 2013 at 11:44:32AM -0700, Scott Long wrote: >> >> On Jul 10, 2013, at 11:17 PM, Konstantin Belousov >> wrote: >> >>> On Wed, Jul 10, 2013 at 04:36:23PM -0700, Adrian Chadd wrote: Hiya, I've started wri

Re: hacking - aio_sendfile()

2013-07-11 Thread Konstantin Belousov
On Thu, Jul 11, 2013 at 12:04:57PM -0700, Scott Long wrote: > > On Jul 11, 2013, at 11:48 AM, Konstantin Belousov wrote: > > > On Thu, Jul 11, 2013 at 11:44:32AM -0700, Scott Long wrote: > >> > >> On Jul 10, 2013, at 11:17 PM, Konstantin Belousov > >> wrote: > >> > >>> On Wed, Jul 10, 2013 a

[head tinderbox] failure on i386/i386

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-11 17:00:18 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-11 17:00:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on amd64/amd64

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-11 17:00:18 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-11 17:00:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

Re: NFS panic: newnfs_copycred: negative nfsc_ngroups (client HEAD r253033, server 9.1-R)

2013-07-11 Thread Rick Macklem
Bryan Drewery wrote: > I received this panic on the client while doing heavy parallel > reads/writes over NFS. I only recently moved these files to NFS, so I > don't know whether or not it's a recent regression. > > Client: HEAD r253033 > Server: 9.1-R > > core.txt: http://people.freebsd.org/~bdr

Re: hacking - aio_sendfile()

2013-07-11 Thread David Xu
On 2013/07/11 14:17, Konstantin Belousov wrote: On Wed, Jul 10, 2013 at 04:36:23PM -0700, Adrian Chadd wrote: Hiya, I've started writing an aio_sendfile() syscall. http://people.freebsd.org/~adrian/ath/20130710-aio-sendfile-3.diff Yes, the diff is against -HEAD and not stable/9. It's totally

[head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 01:00:05 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 01:00:05 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

Re: ipv6_addrs_IF aliases in rc.conf(5)

2013-07-11 Thread Hiroki Sato
Kevin Oberman wrote in : rk> On Wed, Jul 10, 2013 at 4:46 AM, Mark Felder wrote: rk> rk> > On Wed, 10 Jul 2013 06:44:12 -0500, Michael Grimm < rk> > trash...@odo.in-berlin.de> wrote: rk> > rk> > Will that patch make it into 9.2? If I am not mistaken, that patch isn't rk> >> in stable yet. rk>

Re: ipv6_addrs_IF aliases in rc.conf(5)

2013-07-11 Thread Kevin Oberman
On Thu, Jul 11, 2013 at 9:56 PM, Hiroki Sato wrote: > Kevin Oberman wrote > in : > > rk> On Wed, Jul 10, 2013 at 4:46 AM, Mark Felder wrote: > rk> > rk> > On Wed, 10 Jul 2013 06:44:12 -0500, Michael Grimm < > rk> > trash...@odo.in-berlin.de> wrote: > rk> > > rk> > Will that patch make it int

[head tinderbox] failure on armv6/arm

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 04:10:19 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 04:10:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on arm/arm

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 04:10:19 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 04:10:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on amd64/amd64

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 04:10:19 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 04:10:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on i386/i386

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 04:10:19 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 04:10:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on mips/mips

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 05:45:02 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 05:45:02 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on mips64/mips

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 05:45:37 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 05:45:37 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on ia64/ia64

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 05:40:17 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 05:40:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on sparc64/sparc64

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 06:09:25 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 06:09:25 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on powerpc/powerpc

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 06:07:51 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 06:07:51 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

[head tinderbox] failure on powerpc64/powerpc

2013-07-11 Thread FreeBSD Tinderbox
TB --- 2013-07-12 06:08:25 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 06:08:25 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013

Re: ipv6_addrs_IF aliases in rc.conf(5)

2013-07-11 Thread Michael Grimm
On 2013-07-12 6:56, Hiroki Sato wrote: Kevin Oberman wrote in : rk> On Wed, Jul 10, 2013 at 4:46 AM, Mark Felder wrote: rk> rk> > On Wed, 10 Jul 2013 06:44:12 -0500, Michael Grimm < rk> > trash...@odo.in-berlin.de> wrote: rk> > rk> > Will that patch make it into 9.2? If I am not mistaken,