`SA_SIGINFO | SA_RESETHAND` fix backport (DUP)

2015-03-20 Thread Fedor Indutny
Hello people! While trying to fix node.js/io.js issue with signal handling on FreeBSD 10.1, I have found that the problem was due to a kernel bug. Luckily that bug is fixed in: https://github.com/freebsd/freebsd/commit/4501dadd00cece6d06392c42e5fc6af07731e451 But it looks like the fix wasn't bac

clang/tblgen: undefined reference to `futimens' c++: error: linker command failed with exit

2015-03-20 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Running 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r277382: Mon Jan 19 16:10:34 CET 2015 amd64 with source tree at revision >>> Updating /usr/src using Subversion - -- Updating '.': At revisio

Build failed in Jenkins: FreeBSD_HEAD-tests2 #855

2015-03-20 Thread jenkins-admin
See -- [...truncated 3430 lines...] lib/libc/string/strspn:strspn -> passed [0.016s] lib/libc/string/swab:swab_basic -> passed [0.016s] lib/libc/sys/access_test:access_access -> passed [0.02

Re: Build failed in Jenkins: FreeBSD_HEAD-tests2 #854

2015-03-20 Thread Konstantin Belousov
On Fri, Mar 20, 2015 at 03:20:26AM +0100, Mateusz Guzik wrote: > On Fri, Mar 20, 2015 at 02:08:23AM +, jenkins-ad...@freebsd.org wrote: > > lib/libc/sys/setrlimit_test:setrlimit_nproc -> maxproc limit exceeded by > > uid 977 (pid 29170); see tuning(7) and login.conf(5) > > passed [0.551s] >

Re: Build failed in Jenkins: FreeBSD_HEAD-tests2 #854

2015-03-20 Thread Mateusz Guzik
On Fri, Mar 20, 2015 at 11:34:51AM +0200, Konstantin Belousov wrote: > On Fri, Mar 20, 2015 at 03:20:26AM +0100, Mateusz Guzik wrote: > > On Fri, Mar 20, 2015 at 02:08:23AM +, jenkins-ad...@freebsd.org wrote: > > > lib/libc/sys/setrlimit_test:setrlimit_nproc -> maxproc limit exceeded > > > b

SA_SIGINFO | SA_RESETHAND fix backport

2015-03-20 Thread Fedor Indutny
Hello people! While trying to fix node.js/io.js issue with signal handling on FreeBSD 10.1, I have found that the problem was due to a kernel bug. Luckily that bug is fixed in: https://github.com/freebsd/freebsd/commit/4501dadd00cece6d06392c42e5fc6af07731e451 But it looks like the fix wasn't bac

Re: Build failed in Jenkins: FreeBSD_HEAD-tests2 #854

2015-03-20 Thread Konstantin Belousov
On Fri, Mar 20, 2015 at 10:52:06AM +0100, Mateusz Guzik wrote: > On Fri, Mar 20, 2015 at 11:34:51AM +0200, Konstantin Belousov wrote: > > On Fri, Mar 20, 2015 at 03:20:26AM +0100, Mateusz Guzik wrote: > > > On Fri, Mar 20, 2015 at 02:08:23AM +, jenkins-ad...@freebsd.org wrote: > > > > lib/libc/

cant use Xorg after r277486 on Asus Zenbook

2015-03-20 Thread Stefan Parvu
Hi, Im currently running 11.0-CURRENT #0 r277486 on Asus Zenbook laptop [1]. Im happy, there are some issues with iwn driver but it does work enough stable. Xorg, Sound, Networking functional. Even power management works enough decent to get 3hrs or so without a power adapter connected. Now I ha

Use of chunksize before initialization

2015-03-20 Thread Ivan A. Kosarev
Hello everybody, The malloc_init_hard() function defined in jemalloc_jemalloc.c, FreeBSD 11 r277486 reads: static bool malloc_init_hard(void) { ... if (base_boot()) { malloc_mutex_unlock(&init_lock); eturn (true); } if (chunk_boot()) { malloc_mutex_unlo

Re: Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy"

2015-03-20 Thread Miguel Clara
On Thu, Feb 26, 2015 at 2:52 AM, Garrett Cooper wrote: > > On Feb 25, 2015, at 18:08, Kevin Oberman wrote: > > On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper > wrote: > >> On Feb 25, 2015, at 14:19, Miguel Clara wrote: >> >> ... >> >> > I noticed this too, but in that case why doesn't it affe

Re: SA_SIGINFO | SA_RESETHAND fix backport

2015-03-20 Thread Allan Jude
On 2015-03-20 01:00, Fedor Indutny wrote: > Hello people! > > While trying to fix node.js/io.js issue with signal handling > on FreeBSD 10.1, I have found that the problem was due to a kernel > bug. Luckily that bug is fixed in: > > https://github.com/freebsd/freebsd/commit/4501dadd00cece6d06392c

Re: SA_SIGINFO | SA_RESETHAND fix backport

2015-03-20 Thread Fedor Indutny
Allan, Thank you for reply! And sorry, I didn't seen it. How long do you think it may take to get it released and will it be included in 10.2? Thank you, Fedor. On Friday, March 20, 2015, Allan Jude wrote: > On 2015-03-20 01:00, Fedor Indutny wrote: > > Hello people! > > > > While trying to f

Re: SA_SIGINFO | SA_RESETHAND fix backport

2015-03-20 Thread Allan Jude
On 2015-03-20 12:14, Fedor Indutny wrote: > Allan, > > Thank you for reply! And sorry, I didn't seen it. > > How long do you think it may take to get it released and will it be > included in 10.2? > > Thank you, > Fedor. > > On Friday, March 20, 2015, Allan Jude wrote: > >> On 2015-03-20 01:0

Build failed in Jenkins: FreeBSD_HEAD-tests2 #856

2015-03-20 Thread jenkins-admin
See -- [...truncated 3009 lines...] lib/libc/string/strspn:strspn -> passed [0.015s] lib/libc/string/swab:swab_basic -> passed [0.016s] lib/libc/sys/access_test:access_access -> passed [0.02

Atheros AR9460 and Acer Aspire V17 Nitro on FreeBSD 11 not working

2015-03-20 Thread Anders Bolt-Evensen
Hello! Recently I had to buy a new computer as my Mac broke down. I ended up with an Acer Aspire V17 Nitro, which, except for a couple of problems, is all good. One of the problems is that wifi does not work. The wifi driver is an Atheros AR9460. The problem is that when I attempt to scan for m

Re: Atheros AR9460 and Acer Aspire V17 Nitro on FreeBSD 11 not working

2015-03-20 Thread Adrian Chadd
On 20 March 2015 at 09:52, Anders Bolt-Evensen wrote: > Hello! > > Recently I had to buy a new computer as my Mac broke down. > I ended up with an Acer Aspire V17 Nitro, which, except for a couple of > problems, is all good. > One of the problems is that wifi does not work. The wifi driver is an >

Re: Atheros AR9460 and Acer Aspire V17 Nitro on FreeBSD 11 not working

2015-03-20 Thread Miguel Clara
On Fri, Mar 20, 2015 at 6:01 PM, Adrian Chadd wrote: > On 20 March 2015 at 09:52, Anders Bolt-Evensen > wrote: > > Hello! > > > > Recently I had to buy a new computer as my Mac broke down. > > I ended up with an Acer Aspire V17 Nitro, which, except for a couple of > > problems, is all good. > >

Re: Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy"

2015-03-20 Thread Kevin Oberman
On Fri, Mar 20, 2015 at 7:47 AM, Miguel Clara wrote: > > On Thu, Feb 26, 2015 at 2:52 AM, Garrett Cooper > wrote: > >> >> On Feb 25, 2015, at 18:08, Kevin Oberman wrote: >> >> On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper >> wrote: >> >>> On Feb 25, 2015, at 14:19, Miguel Clara wrote: >>> >

Re: Atheros AR9460 and Acer Aspire V17 Nitro on FreeBSD 11 not working

2015-03-20 Thread Adrian Chadd
compile in IEEE80211_DEBUG, then "wlandebug +scan", then do the scan. I wonder if you're hitting some scan bug where the sheer amount of traffic going on is causing problems. Also, seeing RX'ed frames at -130dB is .. oddly wrong for this NIC. Something odd is going on. -a On 20 March 2015 at

Build failed in Jenkins: FreeBSD_HEAD-tests2 #857

2015-03-20 Thread jenkins-admin
See -- [...truncated 987 lines...] lib/libc/string/strspn:strspn -> passed [0.013s] lib/libc/string/swab:swab_basic -> passed [0.013s] lib/libc/sys/access_test:access_access -> passed [0.019

Re: clang/tblgen: undefined reference to `futimens' c++: error: linker command failed with exit

2015-03-20 Thread Dimitry Andric
On 20 Mar 2015, at 08:33, O. Hartmann wrote: > > Running > > 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r277382: Mon Jan 19 16:10:34 CET 2015 > amd64 > > with source tree at revision > >>> Updating /usr/src using Subversion > -- > Updating '

Re: Atheros AR9460 and Acer Aspire V17 Nitro on FreeBSD 11 not working

2015-03-20 Thread Anders Bolt-Evensen
IEEE_80211_DEBUG is compiled into the kernel. When I ran "wlandebug +scan", I got the following output: net.wlan.0.debug: 0x0 => 0x20 Then I ran "ifconfig wlan0 up" and then "ifconfig wlan0 scan". The scan now took a few seconds, but still nothing shows up. Then I took a look at dmesg -a whic

Re: Atheros AR9460 and Acer Aspire V17 Nitro on FreeBSD 11 not working

2015-03-20 Thread Adrian Chadd
Hm, ok. either interrupts arne't working, or the thing is deaf. :( can you do that and then in another screen run vmstat -ia | grep ath0 ? I'd like to see if it's at least posting interrupts. -a On 20 March 2015 at 15:19, Anders Bolt-Evensen wrote: > > IEEE_80211_DEBUG is compiled into the

What's the official method to test the build now?

2015-03-20 Thread Ryan Stone
"make tinderbox" has been broken for weeks, so I presume it's not what I'm supposed to be using to test my commits anymore. What's the officially supported make target that I'm supposed to use? ___ freebsd-current@freebsd.org mailing list http://lists.fr

Build failed in Jenkins: FreeBSD_HEAD-tests2 #858

2015-03-20 Thread jenkins-admin
See -- [...truncated 2462 lines...] lib/libc/string/strspn:strspn -> passed [0.071s] lib/libc/string/swab:swab_basic -> passed [0.051s] lib/libc/sys/access_test:access_access -> passed [0.07

[PATCH 1/3] fork: assign refed credentials earlier

2015-03-20 Thread Mateusz Guzik
From: Mateusz Guzik Prior to this change the kernel would take p1's credentials and assign them tempororarily to p2. But p1 could change credentials at that time and in effect give us a use-after-free. --- sys/kern/kern_fork.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-)

[PATCH 2/3] cred: add proc_set_cred_init helper

2015-03-20 Thread Mateusz Guzik
From: Mateusz Guzik proc_set_cred_init can be used to set first credentials of a new process. Update proc_set_cred assertions so that it only expects already used processes. This fixes panics where p_ucred of a new process happens to be non-NULL. --- sys/kern/init_main.c | 2 +- sys/kern/kern

[PATCH 3/3] proc: use MTX_NEW flag in proc_init

2015-03-20 Thread Mateusz Guzik
From: Mateusz Guzik This allows us to get rid of bzero which was added specifically to make mtx_init on p_mtx reliable. This also fixes a potential problem where mtx_init on other mutexes could trip over on unitialized memory and fire an assertion. --- sys/kern/kern_proc.c | 11 +-- 1 f

[PATCH 0/3] fix up some recent proc fallout and more

2015-03-20 Thread Mateusz Guzik
From: Mateusz Guzik Patches in this series fix a bug introduced in r280130 and deal with additional issues. I'm not happy with how sutff is being done at the moment. In particular we zero out various fields on process exit, which puts it into a state state which is not guaranteed when we deal wh

Re: Use of chunksize before initialization

2015-03-20 Thread Konstantin Belousov
On Fri, Mar 20, 2015 at 03:59:52PM +0200, Ivan A. Kosarev wrote: > Hello everybody, > > The malloc_init_hard() function defined in jemalloc_jemalloc.c, FreeBSD > 11 r277486 reads: > > static bool > malloc_init_hard(void) > { > ... > if (base_boot()) { > malloc_mutex_unlock(&in

Re: What's the official method to test the build now?

2015-03-20 Thread NGie Cooper
On Fri, Mar 20, 2015 at 4:52 PM, Ryan Stone wrote: > "make tinderbox" has been broken for weeks, so I presume it's not what I'm > supposed to be using to test my commits anymore. What's the officially > supported make target that I'm supposed to use? It should work. If it doesn't, then we need t

Re: [PATCH 1/3] fork: assign refed credentials earlier

2015-03-20 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 02:00:38AM +0100, Mateusz Guzik wrote: > From: Mateusz Guzik > > Prior to this change the kernel would take p1's credentials and assign > them tempororarily to p2. But p1 could change credentials at that time > and in effect give us a use-after-free. In which way could it

Re: [PATCH 1/3] fork: assign refed credentials earlier

2015-03-20 Thread Mateusz Guzik
On Sat, Mar 21, 2015 at 03:51:51AM +0200, Konstantin Belousov wrote: > On Sat, Mar 21, 2015 at 02:00:38AM +0100, Mateusz Guzik wrote: > > From: Mateusz Guzik > > > > Prior to this change the kernel would take p1's credentials and assign > > them tempororarily to p2. But p1 could change credential

Re: Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy"

2015-03-20 Thread Miguel Clara
On Fri, Mar 20, 2015 at 7:01 PM, Kevin Oberman wrote: > On Fri, Mar 20, 2015 at 7:47 AM, Miguel Clara > wrote: > >> >> On Thu, Feb 26, 2015 at 2:52 AM, Garrett Cooper >> wrote: >> >>> >>> On Feb 25, 2015, at 18:08, Kevin Oberman wrote: >>> >>> On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper >

Re: Atheros AR9460 and Acer Aspire V17 Nitro on FreeBSD 11 not working

2015-03-20 Thread Kevin Oberman
On Fri, Mar 20, 2015 at 4:31 PM, Adrian Chadd wrote: > Hm, ok. either interrupts aren't working, or the thing is deaf. :( > > can you do that and then in another screen run vmstat -ia | grep ath0 ? > > I'd like to see if it's at least posting interrupts. > Could a bad antenna connection (loose p

Re: Atheros AR9460 and Acer Aspire V17 Nitro on FreeBSD 11 not working

2015-03-20 Thread Rui Paulo
It's worth noting that some laptops have special keys to enable/disable WiFi and sometimes that just kills the radio. Do you have that function key and does toggling it have any effect? -- Rui Paulo ___ freebsd-current@freebsd.org mailing list htt

Re: Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy"

2015-03-20 Thread Kevin Oberman
On Fri, Mar 20, 2015 at 7:14 PM, Miguel Clara wrote: > > On Fri, Mar 20, 2015 at 7:01 PM, Kevin Oberman > wrote: > >> On Fri, Mar 20, 2015 at 7:47 AM, Miguel Clara >> wrote: >> >>> >>> On Thu, Feb 26, 2015 at 2:52 AM, Garrett Cooper >>> wrote: >>> On Feb 25, 2015, at 18:08, Kevin Obe