Spurious witness warning when destroying spin mtx

2012-11-23 Thread Ryan Stone
Today I saw a spurious witness warning for "acquiring duplicate lock of same type". The root cause is that when running mtx_destroy on a spinlock that is held by the current thread, mtx_destroy calls spinlock_exit() before calling WITNESS_UNLOCK, which opens up a window in which the CPU can be int

Re: strange buildworld failure

2012-11-23 Thread Benjamin Kaduk
On Fri, 23 Nov 2012, Nikos Vassiliadis wrote: On 11/23/2012 1:34 PM, Sergey Kandaurov wrote: Also, my src.conf had WITHOUT_CLANG but I deleted it and then I also deleted /usr/obj when it failed for the first time. But that didn't work. I am building with -j3. Does it always fail there at usr.

Re: pkg - Shared object "libarchive.so.5" not found, required by "pkg"

2012-11-23 Thread Tim Kientzle
On Nov 23, 2012, at 2:13 PM, Christer Solskogen wrote: > 10-CURRENT was built (and installed) twice. I guess the library was > installed when I was at 9.1-RC3 but was deleted during make > delete-old. "delete-old" should not have deleted any libraries. I think you must have also done "delete-ol

Re: ath0: unable to attach hardware

2012-11-23 Thread Adrian Chadd
Thanks for this! I'm sorry it hasn't gotten any more attention. I've cc'ed john because he understands the PCI-PCI resource allocation stuff and I currently don't; I'm hoping he can stare at this and see what's going on. But yes, if it were an ath(4) problem, the NIC would be returning 0xdeadbeef

pkg - Shared object "libarchive.so.5" not found, required by "pkg"

2012-11-23 Thread Christer Solskogen
I just upgraded a machine from 9.1-RC3 to 10-CURRENT. pkg was installed on 9.1, but after an upgrade to 10-CURRENT pkg no longer runs due to missing shared library. 10-CURRENT was built (and installed) twice. I guess the library was installed when I was at 9.1-RC3 but was deleted during make delete

Re: ath0: unable to attach hardware

2012-11-23 Thread husyh
Hello everyone, since this problem hasn't got any attention in the last 14 days, I decided to file a bug report, so that this issue doesn't sink into oblivion: http://www.freebsd.org/cgi/query-pr.cgi?pr=173883 I'm still very glad for any attempt to help, and willing to provide more information

Re: strange buildworld failure

2012-11-23 Thread Nikos Vassiliadis
On 11/23/2012 1:34 PM, Sergey Kandaurov wrote: Also, my src.conf had WITHOUT_CLANG but I deleted it and then I also deleted /usr/obj when it failed for the first time. But that didn't work. I am building with -j3. Does it always fail there at usr.bin/ypwhich? It's likely that -j3 is the culprit

Re: prompt w/ uid 0 for cshrc

2012-11-23 Thread Tim Kientzle
On Nov 19, 2012, at 8:46 AM, jb wrote: > Eitan Adler eitanadler.com> writes: > >> >> On 18 November 2012 18:44, Mateusz Guzik gmail.com> wrote: >>> Just take user name from id -nu. >> >> While that does provide the $user value I want, id is in /usr/bin/ >> which may not be mounted. > > /res

Re: after upgrade, can't restart apache via cron

2012-11-23 Thread Michael W. Lucas
On Thu, Nov 22, 2012 at 09:33:34PM -0600, Adam Vande More wrote: >I would guess you need*/usr/sbin/ in cron's path. Thanks everyone. The real problem here was, I didn't know setfib was a command... ==ml -- Michael W. Lucas http://www.MichaelWLucas.com/, http://blather.MichaelWLuca

Re: after upgrade, can't restart apache via cron

2012-11-23 Thread Hiroki Sato
"Michael W. Lucas" wrote in <20121123031753.ga59...@bewilderbeast.blackhelicopters.org>: mw> eval: setfib: not found mw> /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22 mw> mw> If I run /usr/local/etc/rc.d/apache22 restart from the command line, I mw> can restart httpd without t

Re: after upgrade, can't restart apache via cron

2012-11-23 Thread Mateusz Guzik
On Thu, Nov 22, 2012 at 10:17:54PM -0500, Michael W. Lucas wrote: > > > FreeBSD bewilderbeast.blackhelicopters.org 10.0-CURRENT FreeBSD 10.0-CURRENT > #15: Thu Nov 8 14:02:45 EST 2012 > mwlu...@bewilderbeast.blackhelicopters.org:/usr/obj/usr/src/sys/GENERIC amd64 > > I can manually resta

Re: strange buildworld failure

2012-11-23 Thread Sergey Kandaurov
On 23 November 2012 12:34, Nikos Vassiliadis wrote: > Hi, > > I am trying to buildworld but it fails here: >> >> ===> usr.bin/ypwhich (all) >> cc -O2 -pipe -std=gnu99 -Qunused-arguments -fstack-protector >> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized - >> Wno-pointer-sign -W

strange buildworld failure

2012-11-23 Thread Nikos Vassiliadis
Hi, I am trying to buildworld but it fails here: ===> usr.bin/ypwhich (all) cc -O2 -pipe -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized - Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unu