Re: -current build failure

2012-07-25 Thread David Chisnall
On 24 Jul 2012, at 23:43, Konstantin Belousov wrote: As kan rightfully notes, the assumption that %fs:0 == *%fs:0 holds for userspace on amd64, and the same is true for %gs userspace on i386. The change you committed to clang/llvm/whatever it called just breaks useful optimization for

[head tinderbox] failure on powerpc64/powerpc

2012-07-25 Thread FreeBSD Tinderbox
TB --- 2012-07-25 08:21:33 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-07-25 08:21:33 - 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 ---

Re: -current build failure

2012-07-25 Thread Konstantin Belousov
On Wed, Jul 25, 2012 at 09:03:58AM +0100, David Chisnall wrote: On 24 Jul 2012, at 23:43, Konstantin Belousov wrote: As kan rightfully notes, the assumption that %fs:0 == *%fs:0 holds for userspace on amd64, and the same is true for %gs userspace on i386. The change you committed to

openssl upgrade, libcrypto, libssl confusion

2012-07-25 Thread Anton Shterenlikht
In /usr/src/UPDATING I see 20120712: The OpenSSL has been upgraded to 1.0.1c. Any binaries requiring libcrypto.so.6 or libssl.so.6 must be recompiled. Also, there are configuration changes. Make sure to merge /etc/ssl/openssl.cnf. Looking at this: # make -C /usr/src

Re: openssl upgrade, libcrypto, libssl confusion

2012-07-25 Thread Anton Shterenlikht
On Wed, Jul 25, 2012 at 12:30:29PM +0100, Anton Shterenlikht wrote: In /usr/src/UPDATING I see 20120712: The OpenSSL has been upgraded to 1.0.1c. Any binaries requiring libcrypto.so.6 or libssl.so.6 must be recompiled. Also, there are configuration changes. Make

machine freezes when using USB disk and X

2012-07-25 Thread Erich Dollansky
Hi, I have strange problem which I can reproduce. When I copy some 100GB to a disk via USB when X is not active, it works without any problems. When I copy some 100GB to a disk via USB when X is running, the machine freezes. It does not react to keyboard, mouse and network actions. When I use

Re: RFC: use EM_LEGACY_IRQ in if_lem.c ?

2012-07-25 Thread Andrew Boyer
lem is also used under VMware. Performance and stability should be tested there, too, before this change. -Andrew On Jul 24, 2012, at 4:20 PM, Luigi Rizzo wrote: if_lem.c (lem, one of the e1000 drivers) has 2 possible interrupt modes: EM_LEGACY_IRQ uses the standard dispatch mechanism,

Re: RFC: use EM_LEGACY_IRQ in if_lem.c ?

2012-07-25 Thread Luigi Rizzo
(and such accesses cost ~10K cycles each, even with hw support) Test case: - fetch http://info.iet.unipi.it/~luigi/netmap/20120725-netmap-picobsd-head-amd64.bin - start your favourite hypervisor, something equivalent to qemu-system-x86_64 -m 512 -hda 20120725-netmap-picobsd-head-amd64.bin - within

Re: machine freezes when using USB disk and X

2012-07-25 Thread Hans Petter Selasky
On Wednesday 25 July 2012 14:54:08 Erich Dollansky wrote: Hi, I have strange problem which I can reproduce. When I copy some 100GB to a disk via USB when X is not active, it works without any problems. When I copy some 100GB to a disk via USB when X is running, the machine freezes. It

Re: RFC: use EM_LEGACY_IRQ in if_lem.c ?

2012-07-25 Thread Adrian Chadd
On 24 July 2012 13:20, Luigi Rizzo ri...@iet.unipi.it wrote: if_lem.c (lem, one of the e1000 drivers) has 2 possible interrupt modes: EM_LEGACY_IRQ uses the standard dispatch mechanism, whereas FAST_INTR has a custom handler that signals a taskqueue to do the job. I have no idea which actual

Re: RFC: use EM_LEGACY_IRQ in if_lem.c ?

2012-07-25 Thread Luigi Rizzo
On Wed, Jul 25, 2012 at 07:48:57AM -0700, Adrian Chadd wrote: On 24 July 2012 13:20, Luigi Rizzo ri...@iet.unipi.it wrote: if_lem.c (lem, one of the e1000 drivers) has 2 possible interrupt modes: EM_LEGACY_IRQ uses the standard dispatch mechanism, whereas FAST_INTR has a custom handler that

[head tinderbox] failure on ia64/ia64

2012-07-25 Thread FreeBSD Tinderbox
TB --- 2012-07-25 13:31:49 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-07-25 13:31:49 - 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 ---

RFC: libkern version of inet_ntoa_r

2012-07-25 Thread Luigi Rizzo
During some ipfw/dummynet cleanup i noticed that the libkern version of inet_ntoa_r() is missing the buffer size argument that is present in the libc counterpart. Any objection if i fix it ? The change is trivial and the function is used only in a small number of places, see below (some of which

Re: openssl upgrade, libcrypto, libssl confusion

2012-07-25 Thread Garrett Cooper
On Wed, Jul 25, 2012 at 5:06 AM, Anton Shterenlikht me...@bristol.ac.uk wrote: On Wed, Jul 25, 2012 at 12:30:29PM +0100, Anton Shterenlikht wrote: In /usr/src/UPDATING I see 20120712: The OpenSSL has been upgraded to 1.0.1c. Any binaries requiring libcrypto.so.6 or

RE: openssl upgrade, libcrypto, libssl confusion

2012-07-25 Thread Oleg Moskalenko
Anton, I use mostly static openssl libraries, but I suppose it applies to the dynamic ones, too: with any OpenSSL version (including 1.0.1c), you need libcrypto and libssl. With the new OpenSSL version, you need the new library versions, and you must recompile your binary code to use the new

Re: openssl upgrade, libcrypto, libssl confusion

2012-07-25 Thread Anton Shterenlikht
On Wed, Jul 25, 2012 at 5:06 AM, Anton Shterenlikht me...@bristol.ac.uk wrote: On Wed, Jul 25, 2012 at 12:30:29PM +0100, Anton Shterenlikht wrote: In /usr/src/UPDATING I see 20120712: The OpenSSL has been upgraded to 1.0.1c. Any

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Steve Kargl
On Wed, Jul 25, 2012 at 06:29:18PM +0200, Rainer Hurling wrote: Many thanks to you three for implementing expl() with r238722 and r238724. I am not a C programmer, but would like to ask if the following example is correct and suituable as a minimalistic test of this new C99 function?

Re: MPSAFE VFS -- List of upcoming actions

2012-07-25 Thread Attilio Rao
On 7/21/12, Antony Mawer li...@mawer.org wrote: On Wed, Jul 18, 2012 at 6:45 PM, Attilio Rao atti...@freebsd.org wrote: 2012/7/18, Gustau Pérez i Querol gpe...@entel.upc.edu: Sorry fo the delay. About the ntfs support, I'd go with fuse and leave the most relevant filesystems in

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Rainer Hurling
On 11.07.2012 00:58 (UTC+2), David Schultz wrote: On Tue, Jul 10, 2012, Rainer Hurling wrote: On 10.07.2012 17:11 (UTC+2), David Schultz wrote: On Tue, Jul 10, 2012, Rainer Hurling wrote: On 10.07.2012 16:02 (UTC+2), Warner Losh wrote: On Jul 10, 2012, at 3:10 AM, Rainer Hurling wrote: As

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Stephen Montgomery-Smith
On 07/25/12 11:29, Rainer Hurling wrote: Many thanks to you three for implementing expl() with r238722 and r238724. I am not a C programmer, but would like to ask if the following example is correct and suituable as a minimalistic test of this new C99 function?

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Steve Kargl
On Wed, Jul 25, 2012 at 12:27:43PM -0500, Stephen Montgomery-Smith wrote: On 07/25/12 11:29, Rainer Hurling wrote: Many thanks to you three for implementing expl() with r238722 and r238724. I am not a C programmer, but would like to ask if the following example is correct and suituable as

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Rainer Hurling
On 25.07.2012 19:00 (UTC+2), Steve Kargl wrote: On Wed, Jul 25, 2012 at 06:29:18PM +0200, Rainer Hurling wrote: Many thanks to you three for implementing expl() with r238722 and r238724. I am not a C programmer, but would like to ask if the following example is correct and suituable as a

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Stephen Montgomery-Smith
On 07/25/12 12:31, Steve Kargl wrote: On Wed, Jul 25, 2012 at 12:27:43PM -0500, Stephen Montgomery-Smith wrote: On 07/25/12 11:29, Rainer Hurling wrote: Many thanks to you three for implementing expl() with r238722 and r238724. I am not a C programmer, but would like to ask if the following

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Steve Kargl
On Wed, Jul 25, 2012 at 07:33:07PM +0200, Rainer Hurling wrote: On 25.07.2012 19:00 (UTC+2), Steve Kargl wrote: If you actually want to test expl() to see if it is producing a decent result, you need a reference solution that contains a higher precision. I use mpfr with 256 bits of

Re: MPSAFE VFS -- List of upcoming actions

2012-07-25 Thread Garrett Cooper
On Wed, Jul 25, 2012 at 10:04 AM, Attilio Rao atti...@freebsd.org wrote: On 7/21/12, Antony Mawer li...@mawer.org wrote: On Wed, Jul 18, 2012 at 6:45 PM, Attilio Rao atti...@freebsd.org wrote: 2012/7/18, Gustau Pérez i Querol gpe...@entel.upc.edu: Sorry fo the delay. About the ntfs

Re: machine freezes when using USB disk and X

2012-07-25 Thread Erich Dollansky
Hi, On Wed, 25 Jul 2012 16:13:04 +0200 Hans Petter Selasky hsela...@c2i.net wrote: On Wednesday 25 July 2012 14:54:08 Erich Dollansky wrote: I have strange problem which I can reproduce. When I copy some 100GB to a disk via USB when X is not active, it works without any problems.

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Bruce Evans
On Wed, 25 Jul 2012, Rainer Hurling wrote: On 25.07.2012 19:00 (UTC+2), Steve Kargl wrote: On Wed, Jul 25, 2012 at 06:29:18PM +0200, Rainer Hurling wrote: Many thanks to you three for implementing expl() with r238722 and r238724. I am not a C programmer, but would like to ask if the

Re: Use of C99 extra long double math functions after r236148

2012-07-25 Thread Bruce Evans
On Wed, 25 Jul 2012, Stephen Montgomery-Smith wrote: On 07/25/12 12:31, Steve Kargl wrote: On Wed, Jul 25, 2012 at 12:27:43PM -0500, Stephen Montgomery-Smith wrote: Just as a point of comparison, here is the answer computed using Mathematica: N[Exp[2], 50]