Re: SMP Version of tar

2012-10-02 Thread Brandon Falk
Don't worry. I'm well known to over-optimize for both size and speed. I have an old Pentium 3 800MHz single core that I can use to simulate an embedded device (well, a decently powered one), to verify that I'm not killing the single-core performance (I could add CPU capability detection to

SMP Version of tar

2012-10-01 Thread Brandon Falk
I would be willing to work on a SMP version of tar (initially just gzip or something). I don't have the best experience in compression, and how to multi-thread it, but I think I would be able to learn and help out. Note: I would like to make this for *BSD under the BSD license. I am aware

Re: Random Hangs and Freezes

2012-09-01 Thread Brandon Falk
Try grabbing the latest nvidia driver off the nvidia site. Its not really a matter of fixing deadlocks with nvidia, its a matter of finding which driver verion deadlocks on stuff you never use. Deadlocks with nvidia are nearly as bad on Windows too (I get about 2 a day) On Sep 1, 2012 7:54 AM,

Pre-make and Post-make scripts

2012-07-25 Thread Brandon Falk
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 is to set up a script that prior to a build sends up a filesystem in ram (tmpfs)

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

2012-06-18 Thread Brandon Falk
As the original poster of this thread, I can also say that Doug is correct. The issue is not rc, it is the actual kernel boot process. Maybe I could see rc becoming an issue in a massive server environment where there are a lot of userland processes to start, but that delay would most likely

Re: FreeBSD Boot Times

2012-06-13 Thread Brandon Falk
On 6/13/2012 10:19 AM, Nathan Whitehorn wrote: On 06/12/12 18:00, Richard Yao wrote: On 06/11/12 18:51, Garrett Cooper wrote: On Mon, Jun 11, 2012 at 3:21 PM, Brandon Falkbfalk_...@brandonfa.lk wrote: Greetings, I was just wondering what it is that FreeBSD does that makes it take so long

Re: FreeBSD Boot Times

2012-06-12 Thread Brandon Falk
Ill do some profiling tonight and get back to you then. On Jun 12, 2012 3:27 AM, Hans Petter Selasky hsela...@c2i.net wrote: On Tuesday 12 June 2012 08:23:33 Andriy Gapon wrote: on 12/06/2012 01:21 Brandon Falk said the following: Greetings, I was just wondering what

FreeBSD Boot Times

2012-06-11 Thread Brandon Falk
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 FreeBSD takes about 10-20 seconds. I'm not sure if anything could be

High-res Timers

2012-05-16 Thread Brandon Falk
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 ___ freebsd-hackers@freebsd.org mailing list

Re: Graphical Terminal Environment

2012-04-09 Thread Brandon Falk
I'm still avidly trying to work on this idea, but right now the issue seems to be with AMD and NVIDIA not documenting their protocols. Intel does a good job, but I don't have any Intel chips with graphics laying around. Right now I've targeted what I think is the main issue, and that is the

Re: Reverse engineering; How to...

2012-03-28 Thread Brandon Falk
Reverse engineering a whole driver could take a very long time, even with the proper tools. If it's possible, return the adapter, and buy a new one and verify that the chipset is supported before you buy it. Last time I bought a wireless card I sat in the store looking at the Wireless support list

De-warning...ing clang Kernel Builds

2012-03-08 Thread Brandon Falk
Is there anyone actively working on cleaning up the codebase to not throw warnings when built with clang. I realize these warnings do not matter, but I generally prefer to get rid of warnings if possible. I can't imagine it would take too long, although I could see an issue with developers not

Re: Graphical Terminal Environment

2012-03-07 Thread Brandon Falk
On 3/7/2012 2:06 PM, Peter Jeremy wrote: If you're looking for something minimal, vector support should be one of the first things to go. At small sizes (in terms of dots), the best fonts are all bitmaps, rather than vector descriptions. One of the features of TrueType and Postscript is that

Re: Graphical Terminal Environment

2012-03-06 Thread Brandon Falk
On 3/6/2012 11:05 AM, per...@pluto.rain.com wrote: Brandon Falk bfalk_...@brandonfa.lk wrote: I havent tried tmux yet, but on my system im only able to get 80x40 with vidcontrol on one monitor. But with xterm in xorg i can get 319x89 per monitor ... To get higher resolution than what

Re: Graphical Terminal Environment

2012-03-06 Thread Brandon Falk
On 3/6/2012 10:49 AM, Ian Lepore wrote: With that model and your statement that the driver should support only primitive functions to draw lines and dots, that leaves the non-trivial problem of font rendering to the app. Given your original goal, font rendering is pretty much the bulk of

Re: Graphical Terminal Environment

2012-03-06 Thread Brandon Falk
On 3/6/2012 11:19 AM, Adam Vande More wrote: On Tue, Mar 6, 2012 at 9:55 AM, Brandon Falk bfalk_...@brandonfa.lk mailto:bfalk_...@brandonfa.lk wrote: I'd plan to have it do more than just lines and dots. Pretty much anything you'd need to set up a basic interface with text

Re: Graphical Terminal Environment

2012-03-06 Thread Brandon Falk
On 3/6/2012 12:30 PM, Tom Evans wrote: On Tue, Mar 6, 2012 at 4:27 PM, Brandon Falk bfalk_...@brandonfa.lk wrote: SDL is massive to what I plan on doing, and SDL is dependent on X11. Incorrect. SDL has no dependency upon X. Linux users can run SDL applications directly on a framebuffer device

Re: Graphical Terminal Environment

2012-03-06 Thread Brandon Falk
On 3/6/2012 1:39 PM, Mike Meyer wrote: On Mon, 5 Mar 2012 23:39:57 -0500 Brandon Falk bfalk_...@brandonfa.lk wrote: I've been thinking for a while about possibly making an extremely lightweight environment that supports full monitor resolution, custom fonts, and terminals... that's about

Re: Graphical Terminal Environment

2012-03-06 Thread Brandon Falk
On 3/6/2012 2:52 PM, b. f. wrote: Brandon Falk bfalk_bsd at brandonfa.lk wrote: I've been thinking for a while about possibly making an extremely lightweight environment that supports full monitor resolution, custom fonts, and terminals... that's about it. You may also want to look at our

Re: Graphical Terminal Environment

2012-03-06 Thread Brandon Falk
I want to learn but at the same time I want to create this graphical terminal under the BSD license so I would be able to have an entire system under the BSD license, with a bit better interface than 80x25 or 90x30 for that matter. Xorg has such a large dependency base that I bet somewhere down

Graphical Terminal Environment

2012-03-05 Thread Brandon Falk
I've been thinking for a while about possibly making an extremely lightweight environment that supports full monitor resolution, custom fonts, and terminals... that's about it. Essentially, an x11 that only supports tiling xterms all over the place. I do everything through terminals, and I think

Re: Graphical Terminal Environment

2012-03-05 Thread Brandon Falk
and no graphics (and really, I just want to learn, I understand that I'm 'reinventing the wheel'). On Tue, Mar 6, 2012 at 12:30 AM, matt sendtom...@gmail.com wrote: On 03/05/12 20:39, Brandon Falk wrote: I've been thinking for a while about possibly making an extremely lightweight environment

Re: Graphical Terminal Environment

2012-03-05 Thread Brandon Falk
I havent tried tmux yet, but on my system im only able to get 80x40 with vidcontrol on one monitor. But with xterm in xorg i can get 319x89 per monitor. Until i get about half of that, i wont be convinced to use something existing. Anyways, I'm off to sleep. Night, Brandon

Re: [clang] Build error on r232474 (and a few before, don't know exactly which)

2012-03-04 Thread Brandon Falk
On 3/3/2012 9:29 PM, Brandon Falk wrote: On 3/3/2012 9:13 PM, Joshua Isom wrote: On 3/3/2012 6:30 PM, Dimitry Andric wrote: Huh, that's weird. I see no reason that it wouldn't install cc during the cross-tools stage, unless you have WITHOUT_GCC in your src.conf (and aren't using

[clang] Build error on r232474 (and a few before, don't know exactly which)

2012-03-03 Thread Brandon Falk
I'm trying to build r232474 with clang (build environment is 10.0-CURRENT r231589 amd64 with clang), and I fail on `make -j16 buildworld`. I've tried with and without threads. I've built so many builds of clang that I can't even count, so I'm confident my environment is set up properly. I'm

Re: [clang] Build error on r232474 (and a few before, don't know exactly which)

2012-03-03 Thread Brandon Falk
On 3/3/2012 6:40 PM, Dan Nelson wrote: In the last episode (Mar 03), Brandon Falk said: I'm trying to build r232474 with clang (build environment is 10.0-CURRENT r231589 amd64 with clang), and I fail on `make -j16 buildworld`. I've tried with and without threads. I've built so many builds

Re: [clang] Build error on r232474 (and a few before, don't know exactly which)

2012-03-03 Thread Brandon Falk
On 3/3/2012 6:49 PM, Brandon Falk wrote: On 3/3/2012 6:40 PM, Dan Nelson wrote: In the last episode (Mar 03), Brandon Falk said: I'm trying to build r232474 with clang (build environment is 10.0-CURRENT r231589 amd64 with clang), and I fail on `make -j16 buildworld`. I've tried

Re: [clang] Build error on r232474 (and a few before, don't know exactly which)

2012-03-03 Thread Brandon Falk
On 3/3/2012 7:30 PM, Dimitry Andric wrote: On 2012-03-04 00:52, Brandon Falk wrote: ... I was trying to navigate the log in `edit`. Now that I'm in vim I quickly found the error. lint: cannot exec /usr/obj/root/src/tmp/usr/bin/cc: No such file or directory *** [llib-lposix.ln] Error code 1

Re: [clang] Build error on r232474 (and a few before, don't know exactly which)

2012-03-03 Thread Brandon Falk
...@freebsd.org Built the code until it failed. Then did a `ln -s /usr/obj/root/src/tmp/usr/bin/clang /usr/obj/root/src/tmp/usr/bin/cc` and a `make -DNO_CLEAN -j12 buildworld` and it finished just fine. Thanks for the help, although we've got to sort this hardcode out somewhere :P -Brandon Falk

Re: OS support for fault tolerance

2012-02-14 Thread Brandon Falk
On 2/14/2012 12:05 PM, Jason Hellenthal wrote: On Tue, Feb 14, 2012 at 08:57:10AM -0800, Julian Elischer wrote: On 2/14/12 6:23 AM, Maninya M wrote: For multicore desktop computers, suppose one of the cores fails, the FreeBSD OS crashes. My question is about how I can make the OS tolerate

Re: cdparanoia stuck in cbwait

2011-11-06 Thread Brandon Falk
On Mon, Nov 07, 2011 at 04:58:53AM +0800, Denise H. G. wrote: Hi. Are you running FreeBSD 9.0? If yes, it seems that cdparanoia is broken because of some changes inside kernel, specifically, changes in scsi interfaces. If you have your system upgraded to 9.0, but not recompiled

cdparanoia stuck in cbwait

2011-11-05 Thread Brandon Falk
for, or to look in the kernel? Perhaps cdparanoia or the kernel should have some sort of a timeout? Currently it looks like the only fix is a full reboot. Regards, Brandon Falk ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: cdparanoia stuck in cbwait

2011-11-05 Thread Brandon Falk
On Sat, Nov 05, 2011 at 12:48:02PM -0400, Mark Johnston wrote: On Sat, Nov 05, 2011 at 12:42:12PM -0400, Brandon Falk wrote: Hello, I was got some read errors when I was reading from my disk, which is fine. But then cdparanoia starting to no longer respond. Now it's zombied and sitting

Re: cdparanoia stuck in cbwait

2011-11-05 Thread Brandon Falk
On Sat, Nov 05, 2011 at 01:47:03PM -0400, Mark Johnston wrote: On Sat, Nov 05, 2011 at 01:09:40PM -0400, Brandon Falk wrote: On Sat, Nov 05, 2011 at 12:48:02PM -0400, Mark Johnston wrote: On Sat, Nov 05, 2011 at 12:42:12PM -0400, Brandon Falk wrote: Hello, I was got some read

Issue building pango on FreeBSD 10.0 amd64 (r226893) with clang

2011-10-29 Thread Brandon Falk
]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.4' gmake: *** [all] Error 2 *** Error code 1 Any ideas? Perhaps it's just some crazy temporary issue? I'll look into it tomorrow, but I gotta catch some sleep. Thanks in advance, Brandon Falk

Re: Issue building pango on FreeBSD 10.0 amd64 (r226893) with clang

2011-10-29 Thread Brandon Falk
On 10/29/2011 1:51 AM, Brandon Falk wrote: I'm currently getting this issue building pango (everything, including world and kernel, have been built with clang): /usr/ports/x11-toolkits/pango/work/pango-1.28.4/pango/pango-color-table.h:762: syntax error, unexpected identifier in 'guint16

Re: 9-beta1 installer - partition editor

2011-08-31 Thread Brandon Falk
Original Message Subject:Re: 9-beta1 installer - partition editor Date: Wed, 31 Aug 2011 10:19:32 -0400 From: Brandon Falk falk...@gamozo.org To: Ivan Voras ivo...@freebsd.org On 8/31/2011 6:19 AM, Ivan Voras wrote: On 31/08/2011 02:40, Nathan Whitehorn

Re: 9-beta1 installer - partition editor

2011-08-30 Thread Brandon Falk
to have an issue with the partitioner. As for your second question, where did you create the root mount point prior to the editor? Or was it still on the editor that you made it? -Brandon Falk ___ freebsd-hackers@freebsd.org mailing list http

Re: Issue with 'Unknown Error: -512'

2011-07-25 Thread Brandon Falk
no issues. -Brandon Falk ___ 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: Issue with 'Unknown Error: -512'

2011-07-20 Thread Brandon Falk
On 7/19/2011 10:31 AM, Brandon Falk wrote: On 7/19/2011 5:14 AM, Dimitry Andric wrote: On 2011-07-18 16:53, Brandon Falk wrote: In recent branches (confirmed with 224119) builds compiled with clang happen to throw 'Unknown error: -512' in a lot of places, making the system unusable. (Untested

Re: Issue with 'Unknown Error: -512'

2011-07-19 Thread Brandon Falk
On 7/19/2011 7:31 AM, Garrett Cooper wrote: On Tue, Jul 19, 2011 at 4:58 AM, Garrett Cooperyaneg...@gmail.com wrote: On Mon, Jul 18, 2011 at 5:19 PM, Brandon Falkfalk...@gamozo.org wrote: On 7/18/2011 10:18 AM, Andriy Gapon wrote: on 18/07/2011 17:53 Brandon Falk said the following: Hello

Re: Issue with 'Unknown Error: -512'

2011-07-19 Thread Brandon Falk
On 7/19/2011 5:14 AM, Dimitry Andric wrote: On 2011-07-18 16:53, Brandon Falk wrote: In recent branches (confirmed with 224119) builds compiled with clang happen to throw 'Unknown error: -512' in a lot of places, making the system unusable. (Untested on gcc compiled systems). I have never

Issue with 'Unknown Error: -512'

2011-07-18 Thread Brandon Falk
? Otherwise I'll be looking into this today myself. -Brandon Falk ___ 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: Issue with 'Unknown Error: -512'

2011-07-18 Thread Brandon Falk
On 7/18/2011 10:18 AM, Andriy Gapon wrote: on 18/07/2011 17:53 Brandon Falk said the following: Hello, In recent branches (confirmed with 224119) builds compiled with clang happen to throw 'Unknown error: -512' in a lot of places, making the system unusable. (Untested on gcc compiled systems

Re: System Fails to Boot (Deadlock?)

2011-07-13 Thread Brandon Falk
On 7/13/2011 10:58 AM, John Baldwin wrote: On 7/13/11 9:37 AM, Brandon Falk wrote: On 7/13/2011 6:49 AM, John Baldwin wrote: On Tuesday, July 12, 2011 6:10:05 pm Brandon Falk wrote: Hello, My machine somehow fails to boot into FreeBSD (off the cd, since it fails to boot, I can't install

Re: System Fails to Boot (Deadlock?)

2011-07-13 Thread Brandon Falk
On 7/13/2011 8:14 PM, Brandon Falk wrote: On 7/13/2011 10:58 AM, John Baldwin wrote: On 7/13/11 9:37 AM, Brandon Falk wrote: On 7/13/2011 6:49 AM, John Baldwin wrote: On Tuesday, July 12, 2011 6:10:05 pm Brandon Falk wrote: Hello, My machine somehow fails to boot into FreeBSD (off the cd

System Fails to Boot (Deadlock?)

2011-07-12 Thread Brandon Falk
will probably not care about fixing this problem, as I'd be replacing it. So this is more of an overnight deal that I'd like to look into. System: Intel i7 970 24GB ram Asus Sabertooth X58 motherboard If you need more system info, I'd be glad to give it. -Brandon Falk

Leaks in libc?

2010-01-27 Thread Brandon Falk
The simple program: #include stdlib.h #include stdio.h int main() { puts(Apple cider); return 0; } Yields the following result in valgrind: ==4703== Memcheck, a memory error detector ==4703== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==4703== Using