Re: [RFC] support -b baudrate when starting gdb

2013-01-16 Thread Garrett Cooper
On Jan 16, 2013, at 7:35 AM, Warner Losh i...@bsdimp.com wrote: How does 'set remotebaud' not do what you want? Warner On Jan 15, 2013, at 10:15 PM, Adrian Chadd wrote: Hi, There doesn't seem to be a blessed way to set the baudrate from inside gdb/kgdb. It seems to be set from '-b'

Re: off topic but no idea where to ask

2013-01-15 Thread Garrett Cooper
On Jan 15, 2013, at 10:18 AM, Wojciech Puchar wrote: does anyone know a PXE image (just like /boot/pxeboot) that can be placed on tftp server and the only thing it will do would be loading first sector from first local disk at 0x07c00 and booting as with normal hard drive. what i need is

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

2013-01-08 Thread Garrett Cooper
On Jan 8, 2013, at 9:20 AM, Adrian Chadd adr...@freebsd.org wrote: On 8 January 2013 08:15, Richard Sharpe rsha...@richardsharpe.com wrote: On Tue, 2013-01-08 at 07:36 -0800, Adrian Chadd wrote: .. or you could abstract it out a bit and use freebsd's aio_waitcomplete() or kqueue aio

Re: Cross Compiling of ports Makefiles.

2012-12-31 Thread Garrett Cooper
On Mon, Dec 31, 2012 at 6:33 AM, Michael Vale mas...@internode.on.net wrote: -Original Message- From: Simon J. Gerraty Sent: Friday, December 28, 2012 5:00 AM To: Michael Vale Cc: freebsd-hackers@freebsd.org ; freebsd-a...@freebsd.org ; freebsd-po...@freebsd.org Subject: Re: Cross

Re: cvs deprecated

2012-12-27 Thread Garrett Cooper
On Thu, Dec 27, 2012 at 1:18 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: but i can't find moron guide for using svn to update tree. I never used cvs or svn myself just want to 1) get latest FreeBSD 9-* sources 2) get latest HEAD sources. 1. Checkout the sources: cd /usr/src #

Re: cvs deprecated

2012-12-27 Thread Garrett Cooper
On Thu, Dec 27, 2012 at 2:30 AM, Chris Rees utis...@gmail.com wrote: On 27 Dec 2012 09:47, Garrett Cooper yaneg...@gmail.com wrote: On Thu, Dec 27, 2012 at 1:18 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: but i can't find moron guide for using svn to update tree. I never

Re: cvs deprecated

2012-12-27 Thread Garrett Cooper
On Thu, Dec 27, 2012 at 6:50 AM, Warren Block wbl...@wonkity.com wrote: ... I see a lot of people switching to the target directory first rather than just including it as an argument for svn. Is there an advantage there that I'm missing? I've always just used svn co

Re: cvs deprecated

2012-12-27 Thread Garrett Cooper
On Thu, Dec 27, 2012 at 7:28 AM, RW rwmailli...@googlemail.com wrote: On Thu, 27 Dec 2012 02:33:00 -0800 Garrett Cooper wrote: On Thu, Dec 27, 2012 at 2:30 AM, Chris Rees utis...@gmail.com wrote: I recall a cluster administrator advising use of svn protocol rather than http. Something

Re: cvs deprecated

2012-12-27 Thread Garrett Cooper
On Dec 27, 2012, at 8:37 AM, Sergey Matveychuk s...@freebsd.org wrote: 27.12.2012 20:29, Sam Fourman Jr. wrote: On Thu, Dec 27, 2012 at 4:18 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: but i can't find moron guide for using svn to update tree. I cant seem to find a way to

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Garrett Cooper
On Sun, Dec 23, 2012 at 8:26 AM, Ed Maste ema...@freebsd.org wrote: On 22 December 2012 23:13, Alfred Perlstein bri...@mu.org wrote: I have a patch for this. I am building world to see what happens, if you want to try it, or comment on it, please let me know. Changes are: base

Re: uart: add resume method

2012-12-23 Thread Garrett Cooper
On Sun, Dec 23, 2012 at 5:36 AM, Andriy Gapon a...@freebsd.org wrote: Guys, do you think that the following change is useful/needed? I needed it with UART emulated in qemu, but I have no experience with real hardware. I assume that you suspended the emulator and the UART didn't come

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Garrett Cooper
On Sun, Dec 23, 2012 at 5:24 PM, Eitan Adler li...@eitanadler.com wrote: On 23 December 2012 16:47, Garrett Cooper yaneg...@gmail.com wrote: I would probably setup things in such a way that the old default is kept though because I'm sure that there's someone out there that's using it (even

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Garrett Cooper
On Sat, Dec 22, 2012 at 8:13 PM, Alfred Perlstein bri...@mu.org wrote: On 12/22/12 6:14 PM, Jan Beich wrote: Ed Maste ema...@freebsd.org writes: When this knob is set standalone debug files for shared objects are built and installed in /usr/lib/debug/so pathname.debug. GDB searches this

Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files

2012-12-23 Thread Garrett Cooper
On Sat, Dec 22, 2012 at 9:42 PM, Alfred Perlstein bri...@mu.org wrote: ... Buildworld breaks with this for me using my patch, no idea what this all means yet. Will look into it: exer.c -o nslexer.So ctfconvert -L VERSION crypt_xdr.o ctfconvert -L VERSION crypt_clnt.o ctfconvert -L

Re: [PATCH] Shared library debug .symbols files

2012-12-13 Thread Garrett Cooper
On Thu, Dec 13, 2012 at 2:07 PM, Eric van Gyzen e...@vangyzen.net wrote: ... dot-SHLIB_NAME? I'm not aware of this magic. Looks like a typo: $ make -V.SHLIB_NAME $ make -VSHLIB_NAME libc.so.7 Thanks! -Garrett ___ freebsd-hackers@freebsd.org

Re: loader and ficl/Forth help

2012-12-07 Thread Garrett Cooper
On Fri, Dec 7, 2012 at 1:07 AM, Devin Teske devin.te...@fisglobal.com wrote: ... I've made some improvements to the supplied patch. Said improvements should address the previous issues that were preventing this from going in. Can someone test the newly-attached patch.txt and get back to me?

Re: loader and ficl/Forth help

2012-12-07 Thread Garrett Cooper
On Fri, Dec 7, 2012 at 12:07 PM, Devin Teske devin.te...@fisglobal.com wrote: ... I'll look into boot_multicons. However, w/respect to boot -D, I believe that would be after the menu, so is past the point at which we need the functionality (in drawing frames from frames.4th). Also, you

Re: kernel module parallel build?

2012-12-05 Thread Garrett Cooper
On Wed, Dec 5, 2012 at 8:42 AM, John Baldwin j...@freebsd.org wrote: On Tuesday, December 04, 2012 2:41:32 pm Ryan Stone wrote: On Tue, Dec 4, 2012 at 10:52 AM, John Baldwin j...@freebsd.org wrote: Hmm, I certainly see the module directories being built in parallel. Some of the make jobs

Re: kernel module parallel build?

2012-12-05 Thread Garrett Cooper
On Wed, Dec 5, 2012 at 3:51 PM, Damien Fleuriot m...@my.gd wrote: ... All trolling aside, I believe an awesome fix to be setting module override in /etc/make.conf to only build the 4-5 specific modules one needs. To be honest I think this configuration tweak should be advertised a bit more

Re: Missing quote in comment in 8.3 9.0 9.1RC2 etc/sendmail/freebsd.mc

2012-12-04 Thread Garrett Cooper
On Tue, Dec 4, 2012 at 7:03 PM, Eitan Adler li...@eitanadler.com wrote: On 4 December 2012 21:23, Julian H. Stacey j...@berklix.com wrote: Hi, Reference: From: Eitan Adler li...@eitanadler.com Date: Tue, 4 Dec 2012 20:58:20 -0500 Message-id:

Re: old style kernel configuration

2012-11-22 Thread Garrett Cooper
On Wed, Nov 21, 2012 at 5:58 PM, Eitan Adler li...@eitanadler.com wrote: I've been working on removing obsolete information various documents. While going through older articles I noticed a few references to the old style kernel configuration involving running config(1) manually. Is there any

Re: Give users a hint when their locate database is too small.

2012-11-13 Thread Garrett Cooper
On Nov 13, 2012, at 8:05 AM, Eitan Adler li...@eitanadler.com wrote: On 13 November 2012 10:58, Eitan Adler li...@eitanadler.com wrote: Okay... sorry for the spam. I remember there was a reason I used /etc/periodic/weekly/310.locate instead of /usr/libexec/locate.updatedb. The latter must

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-06 Thread Garrett Cooper
On Nov 6, 2012, at 8:55 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Tuning operating system for single benchmark is an example of that childish behaviour. LOL. That's what we did several years ago : http://people.freebsd.org/~kris/scaling/dfly.html i've seen that page some

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-06 Thread Garrett Cooper
On Nov 6, 2012, at 1:26 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: defaults) is sysctl/tunable variables set in the *BSD OSes (on DFly, FreeBSD, and NetBSD). Unfortunately (based on my experience) FreeBSD could be a lot better when it comes to defaults, and more tuning is

Re: pgbench performance is lagging compared to Linux and DragonflyBSD?

2012-11-05 Thread Garrett Cooper
On Mon, Nov 5, 2012 at 10:52 AM, Yuri y...@rawbw.com wrote: There is the post by DragonflyBSD folks that claims that Linux and DragonflyBSD are quite ahead of FreeBSD on pgbench test on 12 Core 2x Xeon X5650 with 24 threads. Here are their results with graphs: http://lists.dragonflybsd.org/**

Re: make -jN buildworld on 512MB ram

2012-10-31 Thread Garrett Cooper
On Wed, Oct 31, 2012 at 12:58 PM, Alfred Perlstein bri...@mu.org wrote: It seems like the new compiler likes to get up to ~200+MB resident when building some basic things in our tree. Unfortunately this causes smaller machines (VMs) to take days because of swap thrashing. Doesn't our

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

2012-10-31 Thread Garrett Cooper
On Wed, Oct 31, 2012 at 12:06 PM, Konstantin Belousov kostik...@gmail.com wrote: ... If not wired, swapout might cause a delay of the next pat, leading to panic. Yes. We need to write microbenchmarks and do more careful analysis to figure out where and why things have grown. Maybe a mock

Re: make -jN buildworld on 512MB ram

2012-10-31 Thread Garrett Cooper
On Wed, Oct 31, 2012 at 1:44 PM, Adrian Chadd adr...@freebsd.org wrote: On 31 October 2012 13:41, Peter Jeremy pe...@rulingia.com wrote: Another, more involved, approach would be for the scheduler to manage groups of processes - if a group of processes is causing memory pressure as a whole

Re: Porting patch(1) from NetBSD to FreeBSD (was Re: FreeBSD in Google Code-In 2012? You can help too!)

2012-10-28 Thread Garrett Cooper
On Sun, Oct 28, 2012 at 9:07 AM, Adrian Chadd adr...@freebsd.org wrote: On 28 October 2012 03:55, Gabor Kovesdan ga...@kovesdan.org wrote: Hi Hiren, good to hear that someone is working on this! However, porting these utilies is much tougher than it apparently seems. There are much more

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 Garrett Cooper
On Fri, Oct 26, 2012 at 9:34 AM, David O'Brien obr...@freebsd.org wrote: On Thu, Oct 25, 2012 at 03:00:21PM -0700, Garrett Cooper wrote: Here's an updated version of the workaround that works properly in all cases and installs bmake as make and links make to pmake when WITH_BMAKE=yes

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

2012-10-26 Thread Garrett Cooper
On Fri, Oct 26, 2012 at 9:54 AM, David O'Brien obr...@freebsd.org wrote: On Tue, Oct 02, 2012 at 07:19:55AM -0700, Garrett Cooper wrote: Hmmm... that's one of the 3 approaches I provided, but it turned out ... 1. Test programs live with the sources (this was the requested approach), e.g. 2

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

2012-10-26 Thread Garrett Cooper
Minor disambiguation: On Fri, Oct 26, 2012 at 12:27 PM, Garrett Cooper yaneg...@gmail.com wrote: ... There are some basic examples, but they're in my p4 branch and unfortunately they depend on atf.test.mk/bsd.test.mk/bsd.progs.mk existing before they can be built (please see the Examples

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

2012-10-26 Thread Garrett Cooper
On Fri, Oct 26, 2012 at 12:54 PM, Simon J. Gerraty s...@juniper.net wrote: On Fri, 26 Oct 2012 12:27:35 -0700, Garrett Cooper writes: There are some basic examples, but they're in my p4 branch and unfortunately they depend on atf.test.mk/bsd.test.mk/bsd.progs.mk Speaking of which. I notice

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

2012-10-25 Thread Garrett Cooper
On Thu, Oct 25, 2012 at 2:23 PM, Marcel Moolenaar mar...@xcllnt.net wrote: ... I think there are 2 reasons why not to: 1. The people working on ATF have not raised this concern and have expressed that using the WITH_BMAKE knob is but a small price to pay. So let's work the bmake

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-25 Thread Garrett Cooper
On Thu, Oct 25, 2012 at 2:32 PM, Garrett Cooper yaneg...@gmail.com wrote: ... The real issue is that I need to take the patch Simon developed, run with it, and in parallel he needs to -- and hopefully already is -- engage portmgr to get it through a number of exp- runs to make sure bmake

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

2012-10-25 Thread Garrett Cooper
On Thu, Oct 25, 2012 at 3:01 PM, Chris Rees cr...@freebsd.org wrote: ... Now you've terrified me, and probably most other ports people too. Is there a Wiki page where the actual benefits of moving to bmake are made clear? This is a major, *major* upheaval, and having two versions of

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

2012-10-13 Thread Garrett Cooper
On Sat, Oct 13, 2012 at 1:13 PM, Simon J. Gerraty s...@juniper.net wrote: On Sat, 13 Oct 2012 15:15:59 -0400, George Neville-Neil writes: It could be a while (many weeks) before we get to 4, so the question really is whether the people working on ATF are willing and able to build and install

Re: problem cross-compiling 9.1

2012-10-09 Thread Garrett Cooper
On Oct 9, 2012, at 3:46 AM, Daniel Braniss da...@cs.huji.ac.il wrote: [snip] any fix? You have found the fix. Remove the WITHOUT_ options from the build that keep it from completing. You'll be able to add them at installworld time w/o a hassle. nanobsd uses this to keep things down,

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

2012-10-04 Thread Garrett Cooper
On Tue, Oct 2, 2012 at 7:37 AM, John Baldwin j...@freebsd.org wrote: On Tuesday, October 02, 2012 10:29:49 am Garrett Cooper wrote: On Tue, Oct 2, 2012 at 4:50 AM, John Baldwin j...@freebsd.org wrote: ... This sounds like a superior approach. It doesn't break any current use cases while

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

2012-10-04 Thread Garrett Cooper
On Thu, Oct 4, 2012 at 9:29 AM, David Wolfskill da...@catwhisker.org wrote: On Thu, Oct 04, 2012 at 12:11:21PM -0400, George Neville-Neil wrote: ... But, I would like to drive this to a solution on arch@. We don't have an atf@, but we do have a test@ and testing@. We have too many mailing

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

2012-10-02 Thread Garrett Cooper
On Mon, Oct 1, 2012 at 5:00 PM, Simon J. Gerraty s...@juniper.net wrote: Not to mention the fact that bsd.prog.mk goes from being relatively simple, to unspeakably hard to read, and all for rather limited = return. This btw I think is the more important issue. I was looking at bsd.prog.mk in

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

2012-10-02 Thread Garrett Cooper
On Tue, Oct 2, 2012 at 4:50 AM, John Baldwin j...@freebsd.org wrote: ... This sounds like a superior approach. It doesn't break any current use cases while giving the ability to build multiple programs in the few places that need it. It sounds like there are a few places under gnu/ from

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

2012-10-01 Thread Garrett Cooper
Hi Simon! On Oct 1, 2012, at 3:31 PM, Simon J. Gerraty wrote: Hi Garrett, From: Garrett Cooper yaneg...@gmail.com Subject: [CFT/RFC]: refactor bsd.prog.mk to understand multiple = programs instead of a singular program Date: September 2, 2012 11:01:09 PM PDT To: freebsd-hackers

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

2012-09-24 Thread Garrett Cooper
On Sep 24, 2012, at 1:21 AM, Poul-Henning Kamp p...@phk.freebsd.dk wrote: In message cagh67wqty4krgwspa5jaht-4hqd4veykley-r3c6k9f5xaf...@mail.gmail.com , Garrett Cooper writes: No difference proven at 95.0% confidence This is the important bit of information... Yeah.. It's been a few

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

2012-09-23 Thread Garrett Cooper
On Sat, Sep 22, 2012 at 11:30 PM, Poul-Henning Kamp p...@phk.freebsd.dk wrote: In message cagh67wsux7zjrtb5gehqwhkqykog-atwkinw5csjlrzftzk...@mail.gmail.com , Garrett Cooper writes: Without the change: $ python calc_runtime.py bw.*_without.log | ministat -w 72 [...] $ python calc_runtime.py

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

2012-09-22 Thread Garrett Cooper
On Sun, Sep 2, 2012 at 11:01 PM, Garrett Cooper yaneg...@gmail.com wrote: Hello, I've been a bit busy working on porting over ATF from NetBSD, and one of the pieces that's currently not available in FreeBSD that's available in NetBSD is the ability to understand and compile multiple

Re: NDEBUG and assert()

2012-09-19 Thread Garrett Cooper
On Wed, Sep 19, 2012 at 3:18 AM, Erik Cederstrand e...@cederstrand.dk wrote: Den 19/09/2012 kl. 11.19 skrev Erik Cederstrand e...@cederstrand.dk: The below below patch will let the analyzer reason correctly about the code, and removes the report mentioned above (and a handful others in

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Garrett Cooper
On Mon, Sep 17, 2012 at 8:35 AM, Lorenzo Cogotti miciam...@hotmail.it wrote: Hi, ... Replying more to the Wayland comments, yes.. FreeBSD/NetBSD/OpenBSD need to implement the Wayland `protocol` because xorg-server development is slowly being killed over time, but unfortunately that work is

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Garrett Cooper
On Mon, Sep 17, 2012 at 11:09 AM, Zhihao Yuan lich...@gmail.com wrote: On Mon, Sep 17, 2012 at 1:05 PM, Poul-Henning Kamp p...@phk.freebsd.dk wrote: In message CAGsORuBqiodwt_EmVqB+fO=tgOVeZOERopSE2y=mla8jp6z...@mail.gmail.com , Zhihao Yuan writes: Well, let's make it more straightforward.

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Garrett Cooper
On Mon, Sep 17, 2012 at 12:01 PM, Lorenzo Cogotti miciam...@hotmail.it wrote: Il 17/09/2012 20:32, Garrett Cooper ha scritto: *gathers breath for really tangential/OT rant* joking Sounds like we have someone volunteering to write a chapter in the handbook and do some X11 development to make

Re: [RFC] Add *.orig/*.rej to svn:ignore in src?

2012-09-17 Thread Garrett Cooper
On Sun, Sep 16, 2012 at 8:02 AM, Chris Rees cr...@freebsd.org wrote: On 16 September 2012 10:11, Garrett Cooper yaneg...@gmail.com wrote: I noticed that we have a handful of patterns currently ignored in svn:ignore (at least at the top-level… the lower levels don't appear to be set

[RFC] Add *.orig/*.rej to svn:ignore in src?

2012-09-16 Thread Garrett Cooper
I noticed that we have a handful of patterns currently ignored in svn:ignore (at least at the top-level… the lower levels don't appear to be set in any particular manner): $ svn propget svn:ignore _.tinderbox.* _.amd64.* _.arm.* _.i386.* _.ia64.* _.mips.* _.pc98.* _.powerpc.*

Re: Why fdisk can't open root disk with MBR for writing?

2012-09-15 Thread Garrett Cooper
On Sat, Sep 15, 2012 at 11:49 AM, Benjamin Kaduk ka...@mit.edu wrote: On Sat, 15 Sep 2012, Julian H. Stacey wrote: I have been applying this diff to my man fdisk: http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/sbin/fdisk/ *** 8.0-RELEASE/src/sbin/fdisk/fdisk.8 Sat Mar 14 22:32:16

Re: Why fdisk can't open root disk with MBR for writing?

2012-09-14 Thread Garrett Cooper
On Fri, Sep 14, 2012 at 5:19 PM, Yuri y...@rawbw.com wrote: I am trying to change the active partition in MBR. This should be a matter of changing only two bits (clearing one in one byte and setting another one in another byte). However, fdisk complains: fdisk: Failed to write MBR. Try to

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

2012-09-03 Thread Garrett Cooper
Hello, I've been a bit busy working on porting over ATF from NetBSD, and one of the pieces that's currently not available in FreeBSD that's available in NetBSD is the ability to understand and compile multiple programs. In order to do this I had to refactor bsd.prog.mk (a lot). The attached

Re: [PATCH] head/Makefile.inc1: Fix 'make distributeworld' when defining WITHOUT_GAMES

2012-09-02 Thread Garrett Cooper
On Sun, Sep 2, 2012 at 2:46 PM, Glen Barber g...@freebsd.org wrote: Hi, Attached patch fixes 'make distributeworld' and our 'make release' scripts when WITHOUT_GAMES is set. Can someone please comment/test/commit? It should be `.if ${MK_GAMES} != no`. Other than that, LGTM! Thanks!

Re: [PATCH] head/Makefile.inc1: Fix 'make distributeworld' when defining WITHOUT_GAMES

2012-09-02 Thread Garrett Cooper
On Sun, Sep 2, 2012 at 3:05 PM, Garrett Cooper yaneg...@gmail.com wrote: On Sun, Sep 2, 2012 at 2:46 PM, Glen Barber g...@freebsd.org wrote: Hi, Attached patch fixes 'make distributeworld' and our 'make release' scripts when WITHOUT_GAMES is set. Can someone please comment/test/commit

Re: [PATCH] head/Makefile.inc1: Fix 'make distributeworld' when defining WITHOUT_GAMES

2012-09-02 Thread Garrett Cooper
On Sun, Sep 2, 2012 at 3:52 PM, Glen Barber g...@freebsd.org wrote: On Sun, Sep 02, 2012 at 03:12:01PM -0700, Garrett Cooper wrote: On Sun, Sep 2, 2012 at 3:05 PM, Garrett Cooper yaneg...@gmail.com wrote: On Sun, Sep 2, 2012 at 2:46 PM, Glen Barber g...@freebsd.org wrote: Hi, Attached

Re: syslog(3) issues

2012-09-02 Thread Garrett Cooper
On Sun, Sep 2, 2012 at 4:35 PM, Attilio Rao atti...@freebsd.org wrote: Hi, I was trying to use syslog(3) in a port application that uses threading , having all of them at the LOG_CRIT level. What I see is that when the logging gets massive (1000 entries) I cannot find some items within the

Re: freebsd.org git repositories and svn ids

2012-09-01 Thread Garrett Cooper
On Sat, Sep 1, 2012 at 4:28 PM, Daniel Hagerty h...@linnaean.org wrote: I use git://gitorious.org/freebsd/freebsd.git which has stable/releng/release branches and which does include git-svn-id This is what I'm using now, in fact. It lacks the 9.1 releng branch tho; I don't know if

Re: GPT boot from 2nd. disk fails

2012-08-15 Thread Garrett Cooper
On Wed, Aug 15, 2012 at 1:27 AM, Daniel Braniss da...@cs.huji.ac.il wrote: hi, this host has to disks: sa0 gpart show = 34 976773101 ada0 GPT (465G) 34128 1 freebsd-boot (64k) 1624194304 2 freebsd-ufs (2.0G) 4194466 33554432 3

Re: [maybe spam] Re: FreeBSD 1.x Binaries Work Except under Chroot

2012-08-15 Thread Garrett Cooper
On Wed, Aug 15, 2012 at 12:30 PM, Adrian Chadd adr...@freebsd.org wrote: On 15 August 2012 11:54, Poul-Henning Kamp p...@phk.freebsd.dk wrote: In message CAJ-Vmo=yzcz_jdhtvq3kyhgxdnutvzqzpp+sdsz+zwe7cym...@mail.gmail.com , Adrian Chadd writes: Holy. Crap. 17 seconds? Can we please go back to

Re: Consistent use of lex flags

2012-08-08 Thread Garrett Cooper
On Wed, Aug 8, 2012 at 1:59 PM, Dan McGregor danismostlik...@gmail.com wrote: Hi. I was just noticing that mkcsmapper doesn't build with clang. I saw two ways to do this, the first being to #define YY_NO_INPUT, and the other to use the %option noinput lex flag. While there, I decided to

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

2012-08-02 Thread Garrett Cooper
On Aug 2, 2012, at 9:20 AM, Scott Long wrote: On Aug 2, 2012, at 12:23 AM, Kevin Oberman kob6...@gmail.com wrote: Doug makes some good points. No, he doesn't. He and Arnould being argumentative and accusatory where none of that is warranted. I used to run the devsummits, and we did

Re: How to diagnose system freezes?

2012-08-01 Thread Garrett Cooper
On Tue, Jul 31, 2012 at 5:02 PM, Yuri y...@rawbw.com wrote: One of my 9.1-BETA1 systems periodically freezes. If sound was playing, it would usually cycle with a very short period. And system stops being sensitive to keyboard/mouse. Also ping of this system doesn't get a response. I would

Re: Pre-make and Post-make scripts

2012-07-25 Thread Garrett Cooper
On Wed, Jul 25, 2012 at 5:49 AM, Brandon Falk bfalk_...@brandonfa.lk wrote: I'm curious as to how the best way of having a script run before and after make would be done. Would this require modification of the FreeBSD make template, or is this functionality already built in? The goal of this

Re: kernel: abra-kadabra

2012-07-10 Thread Garrett Cooper
On Tue, Jul 10, 2012 at 7:36 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: On Tue, 10 Jul 2012, Damien Fleuriot wrote: On 10 Jul 2012, at 12:10, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: this is what i've got from kernel (same visible after dmesg of course) Jul

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

2012-07-05 Thread Garrett Cooper
On Thu, Jul 5, 2012 at 2:48 AM, Olivier Smedts oliv...@gid0.org wrote: 2012/7/5 Mike Meyer m...@mired.org: My objection was not due to misunderstanding about auto-install. I find the feature annoying - spewing a bunch of crap at me because of a typo. It annoys me far more often than it

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

2012-07-05 Thread Garrett Cooper
On Thu, Jul 5, 2012 at 7:36 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: mwm@IPGhosterCrawlerI:~$ mmap No command 'mmap' found, did you mean: Command 'jmap' from package 'openjdk-6-jdk' (main) Command 'jmap' from package 'openjdk-7-jdk' (universe) Command 'gmap' from package

Re: Training wheels for commandline (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-05 Thread Garrett Cooper
On Thu, Jul 5, 2012 at 10:18 AM, Warner Losh i...@bsdimp.com wrote: On Jul 5, 2012, at 10:45 AM, Damien Fleuriot wrote: On 7/5/12 6:38 PM, Wojciech Puchar wrote: inexperienced users. Having to enable it manually defeats its very purpose. so is FreeBSD future direction to be moron-OS just

Re: Training wheels for commandline (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-05 Thread Garrett Cooper
On Thu, Jul 5, 2012 at 10:31 AM, Garrett Cooper yaneg...@gmail.com wrote: On Thu, Jul 5, 2012 at 10:18 AM, Warner Losh i...@bsdimp.com wrote: On Jul 5, 2012, at 10:45 AM, Damien Fleuriot wrote: On 7/5/12 6:38 PM, Wojciech Puchar wrote: inexperienced users. Having to enable it manually

Re: Training wheels for commandline (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-05 Thread Garrett Cooper
On Thu, Jul 5, 2012 at 10:18 AM, Warner Losh i...@bsdimp.com wrote: On Jul 5, 2012, at 10:45 AM, Damien Fleuriot wrote: On 7/5/12 6:38 PM, Wojciech Puchar wrote: inexperienced users. Having to enable it manually defeats its very purpose. so is FreeBSD future direction to be moron-OS just

Re: nvidia-driver-295.49 is highly unstable

2012-07-04 Thread Garrett Cooper
On Jul 3, 2012, at 8:20 PM, Yuri y...@rawbw.com wrote: On 05/27/2012 13:08, Alexey Dokuchaev wrote: Perhaps you can try asking on official nVidia FreeBSD forum: http://www.nvnews.net/vbulletin/forumdisplay.php?f=47 I reported there 05-28-12, but got no response. Do you know if there

Re: How does bootinfo64.c find read_eflags() and write_eflags() on amd64?

2012-07-02 Thread Garrett Cooper
On Mon, Jul 2, 2012 at 2:40 AM, Richard Yao r...@gentoo.org wrote: /usr/src/sys/boot/i386/libi386/bootinfo64.c uses read_eflags() and write_eflags(), which live as inline functions in /usr/src/sys/i386/include/cpufunc.h. /usr/src/sys/boot/i386/libi386/bootinfo64.c also includes

Re: sysctl filesystem ?

2012-06-25 Thread Garrett Cooper
On Mon, Jun 25, 2012 at 5:03 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi folks, I find myself in a situation where I need to directly explore the sysctl(8) tree from my program. The tricky part is this: from `src/sbin/sysctl.c': /*  * These functions uses a presently undocumented

Re: libgeom documentation?

2012-06-25 Thread Garrett Cooper
On Mon, Jun 25, 2012 at 4:56 PM, Dave Hayes d...@jetcafe.org wrote: Libgeom has these functions geom_gettree() and geom_getxml but there is no documentation in the man page. Was this intentional? Is there a place these functions are documented other than their source code? :) I can't

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

2012-06-20 Thread Garrett Cooper
On Jun 20, 2012, at 12:45 AM, Doug Barton wrote: I was working on a reply along similar lines, but instead I'll say that i agree 100% with what Mark said, and thanks to him for saving me a lot of time. :) Richard, with all that said if you still are interested in specs for a test program,

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

2012-06-19 Thread Garrett Cooper
On Mon, Jun 18, 2012 at 10:04 PM, Richard Yao r...@gentoo.org wrote: On 06/19/2012 12:39 AM, Wojciech Puchar wrote: - delay at rc.d scripts - there are some delays inserted. The latter item is the only place where making changes to rc.d is going to help, and only then by parellelizing, and

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

2012-06-19 Thread Garrett Cooper
On Tue, Jun 19, 2012 at 10:51 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: grep sleep /etc/rc.d/* usr/local/etc/rc.d/* Sleeps in /etc tend to be there for good reasons, and new ones are vigorously scrutinized. If you see any that you think are dubious, feel free to mention them

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

2012-06-19 Thread Garrett Cooper
On Tue, Jun 19, 2012 at 11:12 AM, Richard Yao r...@gentoo.org wrote: On 06/19/2012 12:50 PM, Doug Barton wrote: On 6/18/2012 4:05 PM, Richard Yao wrote: Doug, we already have OpenRC implemented. You can install Gentoo FreeBSD in a jail, install regular FreeBSD in another jail and do your own

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

2012-06-19 Thread Garrett Cooper
On Tue, Jun 19, 2012 at 3:04 PM, Richard Yao r...@gentoo.org wrote: On 06/19/2012 04:12 PM, Garrett Cooper wrote: On Tue, Jun 19, 2012 at 11:12 AM, Richard Yao r...@gentoo.org wrote: On 06/19/2012 12:50 PM, Doug Barton wrote: On 6/18/2012 4:05 PM, Richard Yao wrote: Doug, we already have

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

2012-06-19 Thread Garrett Cooper
On Tue, Jun 19, 2012 at 3:45 PM, Richard Yao r...@funtoo.org wrote: On 06/19/2012 06:17 PM, Garrett Cooper wrote: On Tue, Jun 19, 2012 at 3:04 PM, Richard Yao r...@gentoo.org wrote: On 06/19/2012 04:12 PM, Garrett Cooper wrote: On Tue, Jun 19, 2012 at 11:12 AM, Richard Yao r...@gentoo.org

Re: BIO_DELETE equivalent for file on FFS filesystem

2012-06-16 Thread Garrett Cooper
On Sat, Jun 16, 2012 at 1:34 PM, Mike Meyer m...@mired.org wrote: On Sat, 16 Jun 2012 21:04:26 +0100 Chris Rees utis...@gmail.com wrote: On Jun 16, 2012 8:37 PM, Xin LI delp...@gmail.com wrote: On Sat, Jun 16, 2012 at 12:01 PM, Chris Rees utis...@gmail.com wrote: On Jun 14, 2012 5:49

Re: Upcoming release schedule - 8.4 ?

2012-06-15 Thread Garrett Cooper
On Fri, Jun 15, 2012 at 1:18 AM, Adrian Chadd adr...@freebsd.org wrote: 10.x will likely be more stable if 9.x gets stressed, and the bugs from there get fixed in -HEAD. I know this goes against what users expect, but as a software developer, QA is only as good as your testing and validation

Solving the great resource problem, take 42 (Re: Upcoming release schedule - 8.4 ?)

2012-06-14 Thread Garrett Cooper
On Wed, Jun 13, 2012 at 10:25 PM, Royce Williams royce.willi...@gmail.com wrote: On Wed, Jun 13, 2012 at 8:30 PM, Adrian Chadd adr...@freebsd.org wrote: On 13 June 2012 21:26, Mark Linimon lini...@lonesome.com wrote: On Wed, Jun 13, 2012 at 08:50:24AM -0700, Garrett Cooper wrote: The only way

Re: Import crt{begin,end}.S from NetBSD

2012-06-14 Thread Garrett Cooper
On Thu, Jun 14, 2012 at 7:39 PM, Richard Yao r...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/14/12 22:24, Alexander Kabaev wrote: On Thu, 14 Jun 2012 22:00:18 -0400 Richard Yao r...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/14/12

Re: Upcoming release schedule - 8.4 ?

2012-06-13 Thread Garrett Cooper
On Wed, Jun 13, 2012 at 5:53 AM, John Baldwin j...@freebsd.org wrote: On Tuesday, June 12, 2012 8:01:00 pm Adrian Chadd wrote: hi, You don't need to change the FreeBSD culture. We'd love to do an 8.4 release. And an 8.5 release, and 8.6 release, etc. The problem is one of resources and time,

Re: FreeBSD Boot Times

2012-06-11 Thread Garrett Cooper
On Mon, Jun 11, 2012 at 3:21 PM, Brandon Falk bfalk_...@brandonfa.lk wrote: Greetings, I was just wondering what it is that FreeBSD does that makes it take so long to boot. Booting into Ubuntu minimal or my own custom Linux distro, literally takes 0.5-2 seconds to boot up to shell, where

Re: ifconfig accepting hostname as ipv4 address

2012-06-09 Thread Garrett Cooper
On Sat, Jun 9, 2012 at 12:23 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: input. Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you can't set valid CIDR address using this notation. Classful era has ended more than 10 years ago, do we still want to keep this

Re: boot menu option to disable graphics mode

2012-06-07 Thread Garrett Cooper
On Thu, Jun 7, 2012 at 7:29 AM, Doug Barton do...@freebsd.org wrote: On 06/07/2012 02:57 AM, Gleb Kurtsou wrote: What do you think about adding generic support for overriding *_enable options in rc.conf? I'd like to be able to disable services at boot prompt, e.g. # set rc.slim_enable=no --

Re: boot menu option to disable graphics mode

2012-06-07 Thread Garrett Cooper
On Thu, Jun 7, 2012 at 2:57 AM, Gleb Kurtsou gleb.kurt...@gmail.com wrote: On (07/06/2012 11:56), Andriy Gapon wrote: on 07/06/2012 11:47 Konstantin Belousov said the following: On Thu, Jun 07, 2012 at 10:45:26AM +0300, Andriy Gapon wrote: It's long been a wish of mine to have an ability

Re: gnome start error?help me.

2012-05-13 Thread Garrett Cooper
On Sun, May 13, 2012 at 5:09 AM, cz li willing...@gmail.com wrote:    I installed FreeBSD9.0 to IBM R51.Gnome startup black screen, only to restart.My graphics card is 82852/855GM Integrated Graphics Device.Is there any solution?Can you give me a detailed step?        Thank you! That card

Thoughts about kenv emulating sysctl

2012-05-09 Thread Garrett Cooper
Hi Hackers, I've been asked to write up a script to analyze tunables via kenv for archival purposes an to establish a baseline set of static variables. In order to make life easier (and be able to do all the grunt work in a shell one-liner instead of introducing a bug prone tunable

Re: Thoughts about kenv emulating sysctl

2012-05-09 Thread Garrett Cooper
Hi Aleksandr! On Wed, May 9, 2012 at 3:02 PM, Aleksandr Rybalko r...@ddteam.net wrote: On Wed, 9 May 2012 09:05:47 -0700 Garrett Cooper yaneg...@gmail.com wrote: ... Hi Garret, I use it for embedded, kenv is good transport shared by loader, kernel and userland (since there is no RW

Re: Ways to promote FreeBSD?

2012-05-01 Thread Garrett Cooper
On Apr 30, 2012, at 10:09 PM, Wojciech Puchar wrote: Advertising that it exists and is used is more important than saying x sucks, use y instead. This is the tone I was getting from the previous response and this is what I discourage as well as others on the list. It was just an

Re: Ways to promote FreeBSD?

2012-04-30 Thread Garrett Cooper
On Apr 29, 2012, at 10:16 PM, Wojciech Puchar wrote: I prefer less advanced FreeBSD Ridiculing other projects is not a great way to show superiority. +1 Leave mudslinging to marketing and politicians :).. as for now you and few other people work hard to DE-promote FreeBSD from

Re: Ways to promote FreeBSD?

2012-04-29 Thread Garrett Cooper
On Apr 29, 2012, at 8:47 AM, Chris Rees utis...@gmail.com wrote: On 29 Apr 2012 16:33, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: FreeBSD installation and boot style are very nice . Personally I dislike very much Ubuntu-like installs ( nothing is displayed about what is going

Re: best possible GJOURNAL device?

2012-04-26 Thread Garrett Cooper
On Thu, Apr 26, 2012 at 10:16 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: http://www.vikingmodular.com/products/arxcis/ddr3/ddr3.html or ZFS ZIL device for ZFS fans. anyone know exactly how it is visible and how it works? In general devices like these that I've dealt with in

Re: best possible GJOURNAL device?

2012-04-26 Thread Garrett Cooper
On Thu, Apr 26, 2012 at 10:42 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: http://www.vikingmodular.com/products/arxcis/ddr3/ddr3.html In general devices like these that I've dealt with in the past are presented as SATA or SAS devices, but some devices require additional drivers

Re: Why make(1) doesn't support the internal macro $ ?

2012-04-21 Thread Garrett Cooper
On Apr 21, 2012, at 8:18 PM, Yuri wrote: When I run 'make' on the following makefile, $@ gets printed but $ doesn't. Why? Yuri --- Makefile --- file-out: file-in @echo target= $@ src= $; touch $@ You want `$`... .IMPSRC is something else… Cheers,

  1   2   3   4   5   6   7   >