another question

2013-07-01 Thread David Sanford
*setprogname*() is not necessary. I'm confused by how this is done. Where is this "start-up code" defined? Is this included in all executables compiled on FreeBSD? Even the programs released under the GNU GPL? Sincerely, David Lee

Re: bsd boot sequence

2013-06-28 Thread David Noel
ly be most useful) - As Warren suggested, read all the documentation you can find - Google - Take notes as you go, publish them on a blog, and share the URL with us! -David ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: FreeBSD 2013-Q2 status reports!

2013-06-17 Thread David Chisnall
nical details are right, we can fix the language for you, so please let us know about all of the interesting things that you're doing. David On 17 Jun 2013, at 18:14, Isabell Long wrote: > Hi all, > > It's that time again! On behalf of monthly@, I would like to inform > y

how do I build a single app?

2013-06-17 Thread david . lee . tn
ze and ask you to direct me to a mailing list that would be the appropriate place to ask this. Sincerely, David Lee from Tennessee ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, sen

Re: NUMA, cpuset and malloc

2013-04-21 Thread David Xu
something currently implemented in FreeBSD? Is this even a good idea? Do you mean linux like numactl ? AFAIK, there is no such feature in the FreeBSD. Regards, David Xu ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: base gcc and _GLIBCXX_USE_C99

2013-02-01 Thread David Chisnall
On 1 Feb 2013, at 13:31, Andriy Gapon wrote: > cstdlib would provide e.g. std::strtoull only when _GLIBCXX_USE_C99 is > defined. This is entirely consistent with the standard. strtoull() should only be visible when compiling in C++11 mode, it is not part of C++98 / C++03.

Fixing grep -D skip

2013-01-17 Thread David Xu
I am trying to fix a bug in GNU grep, the bug is if you want to skip FIFO file, it will not work, for example: grep -D skip aaa . it will be stucked on a FIFO file. Here is the patch: http://people.freebsd.org/~davidxu/patch/grep.c.diff2 Is it fine to be committed ? Regards, David Xu

Re: disadvantages of running 8.3 kernel on freebsd 8.2 system

2013-01-17 Thread David Wolfskill
an 8.3 kernel will panic the box consistently. Peace, david -- David H. Wolfskill da...@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. pgp5XwLJxt2NR.pgp Description: PGP signature

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread David Xu
On 2013/01/09 11:14, Daniel Eischen wrote: On Tue, 8 Jan 2013, Richard Sharpe wrote: [ ... ] Well, it turns out that your suggestion was correct. I did some more searching and found another similar suggestion, so I gave it a whirl, and it works. Now, my problem is that Jeremy Allison thinks

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread David Xu
On 2013/01/09 07:14, Richard Sharpe wrote: On Tue, 2013-01-08 at 08:14 -0800, Richard Sharpe wrote: On Tue, 2013-01-08 at 15:02 +0800, David Xu wrote: On 2013/01/08 14:33, Richard Sharpe wrote: On Tue, 2013-01-08 at 10:46 +0800, David Xu wrote: On 2013/01/08 09:27, Richard Sharpe wrote: Hi

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-07 Thread David Xu
On 2013/01/08 15:02, David Xu wrote: On 2013/01/08 14:33, Richard Sharpe wrote: On Tue, 2013-01-08 at 10:46 +0800, David Xu wrote: On 2013/01/08 09:27, Richard Sharpe wrote: Hi folks, I am running into a problem with AIO in Samba 3.6.x under FreeBSD 8.0 and I want to check if the assumptions

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-07 Thread David Xu
On 2013/01/08 14:33, Richard Sharpe wrote: On Tue, 2013-01-08 at 10:46 +0800, David Xu wrote: On 2013/01/08 09:27, Richard Sharpe wrote: Hi folks, I am running into a problem with AIO in Samba 3.6.x under FreeBSD 8.0 and I want to check if the assumptions made by the original coder are

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-07 Thread David Xu
it in ucontext.uc_sigmask. Regards, David Xu ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: postgres, initdb, FreeBSD bug?

2012-12-15 Thread David Noel
Ahh... the security.bsd. sysctl output had the answer: I had security.bsd.hardlink_check_gid and security.bsd.hardlink_check_uid set to 1 in sysctl.conf. Removing that fixed the problem. Many thanks, -David > Show the ktrace from the same error on UFS. 5179 postgres CALL unl

postgres, initdb, FreeBSD bug?

2012-12-14 Thread David Noel
rnel version you're using. As a short-term workaround, I'd suggest rebuilding with HAVE_WORKING_LINK disabled. (Just remove that #define from src/include/pg_config_manual.h and rebuild.) regards, tom lane ... Does this make any sense to anyone? -David ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: postgres, initdb, FreeBSD bug?

2012-12-14 Thread David Noel
I just compiled a generic kernel and tried it again.. same error. So no funny business going on with my kernel settings it seems. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send a

postgres, initdb, FreeBSD bug?

2012-12-14 Thread David Noel
either, it seems more than possible that it's a plain old bug in the specific kernel version you're using. As a short-term workaround, I'd suggest rebuilding with HAVE_WORKING_LINK disabled. (Just remove that #define from src/include/pg_config_manual.h and rebuild.)

Re: lib for working with graphs

2012-11-28 Thread David Wolfskill
een updated in quite some time -- but it still works). If neither of those suits your intent, perhaps you could expand a bit on what that intent is? Peace, david -- David H. Wolfskill da...@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old gir

Re: make -jN buildworld on < 512MB ram

2012-11-09 Thread David O'Brien
eeded I don't know if Clang/LLVM has something similar or not. -- -- David (obr...@freebsd.org) ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: ule+smp: small optimization for turnstile priority lending

2012-11-06 Thread David Xu
On 2012/11/07 14:17, Jeff Roberson wrote: On Wed, 7 Nov 2012, David Xu wrote: On 2012/11/06 19:03, Attilio Rao wrote: On 9/20/12, David Xu wrote: On 2012/09/18 22:05, Andriy Gapon wrote: Here is a snippet that demonstrates the issue on a supposedly fully loaded 2-processor system: 136794

Re: ule+smp: small optimization for turnstile priority lending

2012-11-06 Thread David Xu
On 2012/11/06 19:03, Attilio Rao wrote: On 9/20/12, David Xu wrote: On 2012/09/18 22:05, Andriy Gapon wrote: Here is a snippet that demonstrates the issue on a supposedly fully loaded 2-processor system: 136794 0 3670427870244462 KTRGRAPH group:"thread", id:"Xorg tid

Re: Threaded 6.4 code compiled under 9.0 uses a lot more memory?..

2012-10-31 Thread David Xu
On 2012/10/31 22:44, Karl Pielorz wrote: --On 31 October 2012 16:06 +0200 Konstantin Belousov wrote: Since you neglected to provide the verbatim output of procstat, nothing conclusive can be said. Obviously, you can make an investigation on your own. Sorry - when I ran it this morning the

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread David O'Brien
l is in releng/9.1, so it will also be in 9.1-RELEASE. -- -- David (obr...@freebsd.org) ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread David O'Brien
ot;works in freebsd 10" for "broken in every other environment". Ian, If you're using FreeBSD 9 after 2012-06-14, or FreeBSD 8 or 7 after 2012-10-09 you can use the Bmake spelling of ":U" and ":L" (:tu/:tl). I am not aruging against you, just giving some info

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread David O'Brien
t: this isn't a 2-knob problem by any stretch of the > imagination. I disagree. Before sending my mail, I ran this by sjg and his response was: "I have absolutely no objection". -- -- David (obr...@freebsd.org) ___ freebsd-hackers@f

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread David O'Brien
should be living in a branch and not in HEAD. But we're paying the price for checkout & build times, etc... See the recent 9.1-R thread and Peter Wemm (and others) comments in this regard. (this is why I hadn't committed the WIP I had - it wasn't ready for HEAD) thank

Re: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program)

2012-10-26 Thread David O'Brien
t of the current FreeBSD make in case there are folks that find bmake incompatible with their use of FreeBSD's make in their own projects. So picking a good name now would be helpful. -- -- David (obr...@freebsd.org) ___ freebsd-hackers@freebsd

Re: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program)

2012-10-26 Thread David O'Brien
se +.if defined(WANT_USRBIN_BMAKE) +SUBDIR+= bmake +.endif SUBDIR+= make .endif .endif -- -- David (obr...@freebsd.org) ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe,

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-25 Thread David O'Brien
ves one both the FreeBSD make as /usr/bin/make and Bmake as /usr/bin/bmake. thoughts, -- -- David (obr...@freebsd.org) ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: FreeBSD in Google Code-In 2012? You can help too!

2012-10-23 Thread David Magda
On Tue, October 23, 2012 10:39, Fbsd8 wrote: > > The subject is Google Code-In and all the posted tasks are directed at > creating documentation. Not one deals with coding any programs. If I was > 15-17 years old I sure would not be interested in writing documentation. > I would want to use and dev

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-04 Thread David Wolfskill
nce in effort in resurrecting testing@ vs. creating atf@. Peace, david (current hat: part of postmas...@freebsd.org) -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~

Re: ule+smp: small optimization for turnstile priority lending

2012-09-20 Thread David Xu
On 2012/09/18 22:05, Andriy Gapon wrote: Here is a snippet that demonstrates the issue on a supposedly fully loaded 2-processor system: 136794 0 3670427870244462 KTRGRAPH group:"thread", id:"Xorg tid 102818", state:"running", attributes: prio:122 136793 0 3670427870241000 KTRGRAPH group:"t

Re: system() using vfork() or posix_spawn() and libthr

2012-08-15 Thread David Xu
On 2012/08/16 01:49, Konstantin Belousov wrote: On Wed, Aug 15, 2012 at 07:40:04AM +0800, David Xu wrote: On 2012/08/15 05:09, Jilles Tjoelker wrote: On Tue, Aug 14, 2012 at 11:15:06PM +0800, David Xu wrote: But in real word, pthread atfork handlers are not async-signal safe, they mostly do

Re: system() using vfork() or posix_spawn() and libthr

2012-08-15 Thread David Xu
On 2012/08/16 07:57, David Xu wrote: On 2012/08/16 01:46, Konstantin Belousov wrote: On Tue, Aug 14, 2012 at 11:15:06PM +0800, David Xu wrote: You are requiring the thread library to implement such a mutex and other locks, that after vfork(), the mutex and other lock types must still work

Re: system() using vfork() or posix_spawn() and libthr

2012-08-15 Thread David Xu
On 2012/08/16 01:46, Konstantin Belousov wrote: On Tue, Aug 14, 2012 at 11:15:06PM +0800, David Xu wrote: You are requiring the thread library to implement such a mutex and other locks, that after vfork(), the mutex and other lock types must still work across processes, the

Re: system() using vfork() or posix_spawn() and libthr

2012-08-14 Thread David Xu
On 2012/08/15 05:09, Jilles Tjoelker wrote: On Tue, Aug 14, 2012 at 11:15:06PM +0800, David Xu wrote: But in real word, pthread atfork handlers are not async-signal safe, they mostly do mutex locking and unlocking to keep consistent state, mutex is not async-signal safe. The malloc prefork and

Re: system() using vfork() or posix_spawn() and libthr

2012-08-14 Thread David Xu
On 2012/08/14 17:41, Konstantin Belousov wrote: On Tue, Aug 14, 2012 at 05:16:56PM +0800, David Xu wrote: On 2012/08/14 16:18, Konstantin Belousov wrote: On Tue, Aug 14, 2012 at 12:42:15PM +0800, David Xu wrote: I simply duplicated idea from OpenSolaris, here is my patch which has similar

Re: system() using vfork() or posix_spawn() and libthr

2012-08-14 Thread David Xu
On 2012/08/14 16:18, Konstantin Belousov wrote: On Tue, Aug 14, 2012 at 12:42:15PM +0800, David Xu wrote: I simply duplicated idea from OpenSolaris, here is my patch which has similar feature as your patch, and it also tries to prevent vforked child from corrupting parent's data:

Re: system() using vfork() or posix_spawn() and libthr

2012-08-13 Thread David Xu
On 2012/08/09 18:56, Jilles Tjoelker wrote: On Mon, Aug 06, 2012 at 11:25:35AM +0300, Konstantin Belousov wrote: On Sun, Aug 05, 2012 at 11:54:32PM +0200, Jilles Tjoelker wrote: On Mon, Jul 30, 2012 at 01:53:03PM +0300, Konstantin Belousov wrote: On Mon, Jul 30, 2012 at 12:24:08PM +0200, Jille

Re: system() using vfork() or posix_spawn() and libthr

2012-08-13 Thread David Xu
On 2012/08/13 19:50, Konstantin Belousov wrote: On Sun, Aug 12, 2012 at 08:11:29AM +0800, David Xu wrote: On 2012/08/10 18:13, Konstantin Belousov wrote: On Thu, Aug 09, 2012 at 02:08:50PM +0300, Konstantin Belousov wrote: Third alternative, which seems to be even better, is to restore single

Re: system() using vfork() or posix_spawn() and libthr

2012-08-13 Thread David Xu
On 2012/08/11 21:10, Jilles Tjoelker wrote: On Fri, Aug 10, 2012 at 10:16:04AM +0800, David Xu wrote: On 2012/08/09 18:56, Jilles Tjoelker wrote: On Mon, Aug 06, 2012 at 11:25:35AM +0300, Konstantin Belousov wrote: On Sun, Aug 05, 2012 at 11:54:32PM +0200, Jilles Tjoelker wrote: On Mon, Jul

Re: system() using vfork() or posix_spawn() and libthr

2012-08-11 Thread David Xu
On 2012/08/10 18:13, Konstantin Belousov wrote: On Thu, Aug 09, 2012 at 02:08:50PM +0300, Konstantin Belousov wrote: Third alternative, which seems to be even better, is to restore single-threading of the parent for vfork(). single-threading is slow for large threaded process, don't know if it

Disabling ethernet link on an Intel nic?

2012-08-11 Thread David Duchscher
Greetings, I have a need to turn off the link of an ethernet port on a Intel nic. The issue is not a big deal but one we would like to solve. we have no way of signaling an upstream router that a path is down but via turning off the link of the ethernet port. This would only be used when so

Re: system() using vfork() or posix_spawn() and libthr

2012-08-09 Thread David Xu
On 2012/08/09 18:56, Jilles Tjoelker wrote: On Mon, Aug 06, 2012 at 11:25:35AM +0300, Konstantin Belousov wrote: On Sun, Aug 05, 2012 at 11:54:32PM +0200, Jilles Tjoelker wrote: On Mon, Jul 30, 2012 at 01:53:03PM +0300, Konstantin Belousov wrote: On Mon, Jul 30, 2012 at 12:24:08PM +0200, Jille

Re: On cooperative work [Was: Re: newbus' ivar's limitation..]

2012-08-02 Thread David Chisnall
of the actual decision making would take place in the pub after the official meetings, where it won't even be reported on the mailing lists until the commits start landing. David ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: On cooperative work [Was: Re: newbus' ivar's limitation..]

2012-08-02 Thread David Chisnall
the organisation. If your attitude is 'well, I'm not going to do anything, but it must be easy because no effort from me is involved so you should do it' then I find your attitude personally insulting and unproductive. David ___ freebsd-h

Re: On cooperative work [Was: Re: newbus' ivar's limitation..]

2012-08-02 Thread David Chisnall
On 2 Aug 2012, at 18:28, Doug Barton wrote: > Welcome to the 21st Century. :) There are widely available audio and > video conferencing solutions that easily scale into the thousands of > users, at minimal cost. > > Yes, "It takes effort." I get that. I've been part of the effort to > provide rem

Re: On cooperative work [Was: Re: newbus' ivar's limitation..]

2012-08-02 Thread David Chisnall
that the community isn't engaging with them, without making the effort to engage with the community. David ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: On cooperative work [Was: Re: newbus' ivar's limitation..]

2012-08-02 Thread David Chisnall
On 2 Aug 2012, at 05:30, Doug Barton wrote: > I used to ask the PTB to provide *some* form of remote participation for > even a fraction of the events at the dev summit. I don't bother asking > anymore because year after year my requests were met with any of: > indifference, hostility, shrugged sh

Re: Enumerating sleeping threads

2012-08-01 Thread David Xu
On 2012/8/2 10:12, Daniel Rudy wrote: Hello, What is the best way to enumerate the sleeping threads via sleepqueue(9)? Furthermore, when enumerating the threads that are on the run queue, what locks are needed, if any? sleepqueue hash bucket is private data structure in subr_sleepqueue.c, I th

Re: Pull in upstream before 9.1 code freeze?

2012-07-16 Thread David Brodbeck
f why the previous command failed. -- David Brodbeck System Administrator, Linguistics University of Washington ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: port devel/doxygen failing to test on -CURRENT and -STABLE

2012-07-08 Thread David Xu
On 2012/07/08 18:21, Chris Rees wrote: Hi all / David, doxygen has been failing for a while now on -CURRENT and apparently -STABLE too. The current fix is disabling one of the tests in the build, but obviously it points to a problem with our base system I've trussed [1] the failing

Re: Better error messages for command not found (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-05 Thread David Brodbeck
I haven't encountered that, at least on RedHat. I routinely override stuff in /etc/profile in my local .bash_profile. The bash manpage is pretty explicit that /etc/profile is read first. Are some distros doing something silly like sourcing /etc/profile in .bash_profile? -- David Br

Re: PORTS_MODULES in src.conf: make: don't know how to make instclean. Stop

2012-07-02 Thread David Wolfskill
the rest of the month, shall we? :-) (If it is, we will truly be blessed!) Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public ke

PORTS_MODULES in src.conf: make: don't know how to make instclean. Stop

2012-07-02 Thread David Wolfskill
e folks.) A quick look for the word "instclean" in /usr/share/mk, /usr/ports/Mk, and /usr/src came up empty. So: What's going on? What is "instclean" supposed to do for us? Was this an error on my part? What sort of evasive action should I be taking to avoid a recurrence

Re: Fast syscalls via sysenter

2012-06-22 Thread David Xu
.takatan.net/lxr/source/arch/um/os-Linux/elf_aux.c?a=x86_64#L40 Regards, David Xu ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread David Brodbeck
age if you're doing something pre-configured (like starting/stopping an existing service), but if you want to do something custom you have to do a *lot* of digging to figure out how to make it work. Some of the new stuff (like NWAM network configuration) is not even configurable without

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-20 Thread David Brodbeck
nit systems are quite confusing. I recently spent most of a day trying to figure out why Ubuntu wouldn't launch a new rc script I'd installed before realizing that the parallel init system it uses simply silently ignores scripts that don't indicate their dependencies in a way it un

Re: TeXLive merge into FreeBSD ports tree - FreeBSD project idea

2012-06-18 Thread David Naylor
Hi all, Summary of below. I have started an effort to get TeXLive into the FreeBSD ports. See github.com/DragonSA/texlive for details. Volunteers welcome. On Sunday, 17 June 2012 22:04:15 David Schultz wrote: > On Sun, Jun 17, 2012, Jan Henrik Sylvester wrote: > > Even with a kno

Re: TeXLive merge into FreeBSD ports tree - FreeBSD project idea

2012-06-17 Thread David Schultz
On Sun, Jun 17, 2012, Jan Henrik Sylvester wrote: > Even with a knob instead of checking if print/texlive-core is installed, > it would put a lot of mess into the ports tree. Some maintainers will > not agree to introduce these conditions, if there is no general > agreement that we want to trans

Re: TeXLive merge into FreeBSD ports tree - FreeBSD project idea

2012-06-17 Thread David Schultz
On Sun, Jun 17, 2012, Jan Henrik Sylvester wrote: > Quite a few conflicts and changes in dependencies are needed for > TeXLive. TeXLive does not just replace teTeX, but also ports like > freetype-tools, t1utils, jadetex, etc. I have patches for all ports I > use, which has been working for me fo

Re: TeXLive merge into FreeBSD ports tree - FreeBSD project idea

2012-06-16 Thread David Schultz
On Wed, May 30, 2012, Aldis Berjoza wrote: > On Sat, 26 May 2012 22:45:37 +1200 > Sam Lin wrote: > > > Hi FreeBSD fellows, > > > > Those who are using LaTeX on FreeBSD must know that tetex has been > > discontinued years ago and that TeXLive is now recommended, however > > TeXLive has never bee

Re: FreeBSD Boot Times

2012-06-13 Thread David Wolfskill
, if I'm running stable/9 or head at the time, I can suspend it & resume once I've arrived.) Granted, neither of the above may be especially common, but "diversity [in this case, of experience] is a wonderful thing." Let us not assume that others' experiences and pe

Re: ifconfig accepting hostname as ipv4 address

2012-06-08 Thread David Brodbeck
trouter, and the network address and netmask in /etc/netmasks. -- David Brodbeck System Administrator, Linguistics University of Washington ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To

Re: nvidia-driver-295.49 is highly unstable

2012-06-04 Thread David Wolfskill
508317 EndSection .... to get the font size I had when I was using the nv driver (and to which I had become accustomed). As shown above, though, I'm running FreeBSD/i386. Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. pgpMK2TBuZW79.pgp Description: PGP signature

Re: nvidia-driver-295.49 is highly unstable

2012-05-27 Thread David Wolfskill
'm running at the time. My graphics card is identified as: NVIDIA GPU Quadro FX 770M (G96GL). Recently, I "cloned" my stable/9 slice & rebuilt it using clang, and everything still works Just Fine -- including x11/nvidia-driver. So, at least in my case, I respectfully disagree with the

PID/UID namespaces

2012-05-21 Thread David Windsor
ails project of FreeBSD? Thanks, David PS: Excuse my ignorance of anything related to BSD, as I come from a Linux background. -- PGP: 6141 5FFD 11AE 9844 153E F268 7C98 7268 6B19 6CC9 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/m

Re: High-res Timers

2012-05-16 Thread David Xu
On 2012/5/17 4:59, Brandon Falk wrote: Does anyone have a quick list of high-resolution timer functions? Both user-land and kernel-land? It would be greatly appreciated (doing some performance timing for applications). -Brandon AFAIK, there is no high-resolution timer available. ___

FreeBSD IPSec adventures

2012-05-14 Thread David George
der half. Has anyone else noted SHA1 performance problems? Would be great to have some comments from FreeBSD gurus. Kind regards, David George ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To u

Re: NFS - slow

2012-05-09 Thread David Brodbeck
On Mon, Apr 30, 2012 at 10:00 PM, Wojciech Puchar wrote: > i tried nfsv4, tested under FreeBSD over localhost and it is roughly the > same. am i doing something wrong? I found NFSv4 to be much *slower* than NFSv3 on FreeBSD, when I benchmarked it a year or so ago. -- David Brodbeck

Re: CAM disk I/O starvation

2012-04-17 Thread David Wolfskill
As it is, the Perl script fork/execs a shell script to do the interval-sampling.) Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my pu

Re: Startvation of realtime piority threads

2012-04-04 Thread David Xu
On 2012/4/5 11:56, Konstantin Belousov wrote: On Wed, Apr 04, 2012 at 06:54:06PM -0700, Sushanth Rai wrote: I have a multithreaded user space program that basically runs at realtime priority. Synchronization between threads are done using spinlock. When running this program on a SMP system und

Re: Startvation of realtime piority threads

2012-04-04 Thread David Xu
ropagation, this is an issue. In userland, internal library mutexes are not priority-inherit, so starvation may happen too. If you know what you are doing, don't call such functions which uses internal mutexes, but this is rather difficult. Re

Re: mtree(8) reporting of file modes

2012-03-06 Thread David Wolfskill
mething fairly obvious that I had overlooked.... Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. pgpLbIzaGixtJ.pgp Description: PGP signature

mtree(8) reporting of file modes

2012-03-06 Thread David Wolfskill
if (keys & F_MODE) 208 output(indent, &offset, "mode=%#o", p->fts_statp->st_mode & MBITS); ... Another alternative, in case there are use cases for the existing behavior, would be to provide either another "key" or a command-

Re: [RFT][patch] Scheduling for HTT and not only

2012-02-06 Thread David Xu
On 2012/2/6 15:44, Alexander Motin wrote: On 06.02.2012 09:40, David Xu wrote: On 2012/2/6 15:04, Alexander Motin wrote: Hi. I've analyzed scheduler behavior and think found the problem with HTT. SCHED_ULE knows about HTT and when doing load balancing once a second, it does right t

Re: sem(4) lockup in python?

2012-02-05 Thread David Xu
On 2012/2/5 20:02, Ivan Voras wrote: On 5 February 2012 11:44, Garrett Cooper wrote: 'make MAKE_JOBS_NUMBER=1' is the workground used right now.. David Xu suggested that it is a bug in Python - it doesn't set process-shared attribute when it calls sem_init(), but i'

Re: strange printf(9) format specifier ("Z") in dev/drm code

2011-12-06 Thread David Schultz
On Sun, Dec 04, 2011, Alexander Best wrote: > ... i couldn't find a reference to an upercase "Z" in the printf(9) man page. > i talked to dinoex on #freebsd-clang (EFNet) and he said that the "Z" might > come from linux'es libc5 and is the equaivalent to glibc's "z". > > can we adjust those lines,

Re: easy way to determine if a stream or fd is seekable

2011-11-18 Thread David Brodbeck
y. You also still see tape used a lot for offsite backups, although as Internet speeds have gone up more and more of that is happening by sending bits across the network instead of tapes over the highway. The bandwidth of the proverbial station wagon full of tapes is no longer quite as impressi

Re: Does anyone use nscd?

2011-10-10 Thread David Brodbeck
On Mon, Oct 10, 2011 at 1:09 PM, Doug Barton wrote: > On 10/10/2011 11:55, David Brodbeck wrote: > > Is there any reason to cache negative hits? > > It's very important for DNS since there are a fairly large number of > misbehaving applications that don't stop queryin

Re: Does anyone use nscd?

2011-10-10 Thread David Brodbeck
of them except in some fairly specific circumstances, like extracting a tarball as the root user with invalid UIDs. Maybe I'm missing something, but it seems like turning off negative caching would avoid a lot of potential problems for not much cost. -- David Brodbeck System Administrator, L

Re: Does anyone use nscd?

2011-10-04 Thread David Brodbeck
amba creates an account for the new machine, then gets confused when a subsequent lookup of that account fails. -- David Brodbeck System Administrator, Linguistics University of Washington ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.o

Disk quota reporting for usage >2TB

2011-05-19 Thread David Wolfskill
ircumstances. Does anyone see a way to use the disk quota subsystem to track storage >2TB on a single (UFS2) file system? Thanks! Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.

Re: [RFC] Replacing our regex implementation

2011-05-09 Thread David Schultz
On Sun, May 08, 2011, Bakul Shah wrote: > On Sun, 08 May 2011 21:35:04 CDT Zhihao Yuan wrote: > > 1. This lib accepts many popular grammars (PCRE, POSIX, vim, etc.), > > but it does not allow you to change the mode. > > http://code.google.com/p/re2/source/browse/re2/re2.h > > The mode is decided

Re: Keeping /etc/localtime up-to-date

2011-03-28 Thread David Wolfskill
On Sun, Mar 27, 2011 at 09:38:29PM -0400, Ed Maste wrote: > On Sun, Mar 27, 2011 at 03:27:32PM -0700, David Wolfskill wrote: > > > There are other ways to do it, of course -- e.g., the first time the > > utility is run, it could actually ask, but then cache the information in &g

Re: Keeping /etc/localtime up-to-date

2011-03-27 Thread David Wolfskill
On Sun, Mar 27, 2011 at 01:31:22PM -0700, Doug Barton wrote: > On 03/27/2011 08:38, David Wolfskill wrote: > >It would (in principle) be possible to teach mergemaster(8) how to > >do this (possibly by including a cookie in ~/.mergemasterrc or > >/etc/mergemaster.rc to tell i

Keeping /etc/localtime up-to-date

2011-03-27 Thread David Wolfskill
ks who want to care about TZ stuff set their own personal TZ environment variables. :-} Still, even that approach leads to the existence of /etc/localtime as being somewhat of an "attractive nuisance" (in that if it exists, it is likely to lead to a degree of mischief). Thoughts

Re: Is pthread_cond_signal(3) man page correct?

2011-03-16 Thread David Xu
On 2011/03/16 23:23, Yuri wrote: > On 02/27/2011 18:00, David Xu wrote: >> I think in normal case, pthread_cond_signal will wake up one thread, >> but other events for example, UNIX signal and fork() may interrupt >> a thread sleeping in kernel, and cause pthread_cond_wait to

Puzzled about VFS sysctl OIDs -- signed vs. unsigned

2011-03-03 Thread David Wolfskill
values? [GSoC project, anyone?] Thanks! Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. pgpNidQUlZ8TR.pgp Description: PGP signature

Re: Is pthread_cond_signal(3) man page correct?

2011-02-27 Thread David Xu
al case, pthread_cond_signal will wake up one thread, but other events for example, UNIX signal and fork() may interrupt a thread sleeping in kernel, and cause pthread_cond_wait to return to userland, this is called spurious wakeup, and other events, I can not think of yet, but I believe they exist. Regards, David Xu ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Tracking down a problem with php on FreeBSD

2011-02-08 Thread David Xu
ght be correct but they may be using it wrong). In any case, this points to bugs in FPM. if so, unfortunately I can't help you further. If you really want to continue using FPM, I guess you should probably replace this hand-made lock implementation by sem(4) or see if "robust" pthr

Re: rtld optimizations

2011-01-27 Thread David Naylor
On Wednesday 26 January 2011 06:49:11 Alexander Kabaev wrote: > On Tue, 25 Jan 2011 21:40:42 -0500 > > Mark Saad wrote: > > Hello Hackers > > > > The NetBSD folks have a nice improvement with the rtld-elf subsystem, > > known as "Negative Symbol Cache" . > > > > http://blog.netbsd.org/tnf/entry

Re: best way to run -RELEASE and -CURRENT on the same machine

2011-01-14 Thread David Wolfskill
of an approach I used to use on IBM mainframes back in the 80s. It's plausible that some form of virtualization or the use of jails would do the job for me, but I'm fairly comfortable using what I'm familiar with.) Peace, david -- David H. Wolfskill da...@c

Re: fsync(2) manual and hdd write caching

2010-11-30 Thread David Schultz
On Thu, Oct 28, 2010, per...@pluto.rain.com wrote: > Ivan Voras wrote: > > > ... The problem is actually pretty hard - since AFAIK SoftUpdates > > doesn't have "checkpoints" in the sense that it groups writes and > > all data "before" can guaranteed to be on-disk, the problem is > > *when* to iss

python + build ports = failure (threading problem)

2010-11-10 Thread David Naylor
building lang/perl causes the same problem (although the stall happens much later on in the build). Using WITH_PTH when building python fixes the problem so I suspect libthr as the cause of the problem. I hope someone finds this information useful. David P.S. Should a PR be filed for this? P.S

Unnecessary reads on write load

2010-09-29 Thread David Cross
el I can see that its all in NAMI cache misses, and doing block fetches... but "why?" the only directories that exist are ones that it just created, and should therefore be in the cache, right? Any ideas? Give it a try yourself and tell me what you get. -- David E. Cross _

Re: clogf(3) (complex.h)

2010-09-28 Thread David Schultz
On Mon, Sep 27, 2010, PÁLI Gábor János wrote: > Hello, > > I would like to use the clogf(3) function from complex.h, but it seems > there is no such function implemented on FreeBSD (8.1-STABLE). Am I > missing something or is there any way to work this around? A simple workaround is something l

Re: [RFR] mtree improvements (take 2)

2010-08-30 Thread David Naylor
On Friday 25 June 2010 22:12:42 David Naylor wrote: > On Friday 25 June 2010 20:01:42 Garrett Cooper wrote: > > On Fri, Jun 25, 2010 at 9:52 AM, David Naylor > > wrote: > > > Hi, > > > > > > I've created a patch that increases the performance of m

When should "netstat -i" truncate output?

2010-08-10 Thread David Wolfskill
Of course, the general output of netstat(1) is fairly well entrenched in history, and I don't advocate change for its own sake. Anyone else think this is enough of a "problem" that it merits modifying the code (e.g., in netstat/if.c) a bit? Peace, david -- David H. Wolfskill

Re: Extended attributes for NFSv3 - possible Linux interop

2010-07-06 Thread David P. Quigley
On Mon, 2010-07-05 at 10:30 +0100, Robert N. M. Watson wrote: > On 5 Jul 2010, at 10:25, James Morris wrote: > > >> I'm happy to help contribute to the writing on an Internet Draft and/or > >> RFC -- the lack of NFS support for EAs (and the EA vs. file fork > >> confusion) have long caused me fr

  1   2   3   4   5   6   7   8   9   10   >