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

2011-11-15 Thread Brandon Gooch
On Nov 15, 2011 2:25 PM, "Alexander Best" wrote: > > hi there, > > one of the things i'm missing is an easy way to determine, whether a stream or > fd is seekable. i checked the dd(1) and hd(1) sources and those tools are > performing so much stuff just to find out if this is the case, and they st

Re: kldload dtraceall exec format error

2011-09-01 Thread Brandon Gooch
On Thu, Sep 1, 2011 at 12:27 PM, Charlie Martin wrote: > > > On 2011-09-01 11:23, Garrett Cooper wrote: >> >> On Thu, Sep 1, 2011 at 9:56 AM, Charlie Martin  wrote: >>> >>> Okay, I'll grant this is probably a horrid noob question, but then on the >>> Free kernel I'm a horrid noob so I guess it mak

Re: Where to ask about a 7.2 bug, and debugging sys/queue.h errors

2011-08-25 Thread Brandon Gooch
2011/8/25 Kostik Belousov : > On Thu, Aug 25, 2011 at 05:12:09PM -0500, Brandon Gooch wrote: >> On Thu, Aug 25, 2011 at 4:53 PM, Kostik Belousov wrote: >> > On Thu, Aug 25, 2011 at 03:16:09PM -0600, Charlie Martin wrote: >> >> We're having a crash in some i

Re: Where to ask about a 7.2 bug, and debugging sys/queue.h errors

2011-08-25 Thread Brandon Gooch
On Thu, Aug 25, 2011 at 4:53 PM, Kostik Belousov wrote: > On Thu, Aug 25, 2011 at 03:16:09PM -0600, Charlie Martin wrote: >> We're having a crash in some internal code running on FreeBSD 7.2 >> (specifically  7.2-PRERELEASE FreeBSD 7.2-PRERELEASE and yeah, I know >> it's quite a bit behind) in whi

Re: [PATCH] draft patch to make usr.bin/kdump WARNS?= 6 clean

2011-05-02 Thread Brandon Gooch
On Mon, May 2, 2011 at 11:10 AM, Garrett Cooper wrote: >    I wanted to do something different this weekend, and I picked > usr.bin/kdump as a likely 'victim' for converting from WARNS?= 0 to > WARNS?= 6. I'm curious as to whether or not this is on the right > track, but here's the reasoning I use

Re: Puzzled about VFS sysctl OIDs -- signed vs. unsigned

2011-03-03 Thread Brandon Gooch
On Thu, Mar 3, 2011 at 3:34 PM, Matthew Fleming wrote: > On Thu, Mar 3, 2011 at 1:03 PM, Brandon Gooch > wrote: >> On Thu, Mar 3, 2011 at 11:49 AM, David Wolfskill >> wrote: >>> I'm using a little shell script to capture selected sysctl OID >>> va

Re: Puzzled about VFS sysctl OIDs -- signed vs. unsigned

2011-03-03 Thread Brandon Gooch
On Thu, Mar 3, 2011 at 11:49 AM, David Wolfskill wrote: > I'm using a little shell script to capture selected sysctl OID > values periodically, in an attempt to get a better idea how the > resources of a system are being used during a long-running (usually > measured in hours), mission-critical wo

Re: DTrace: Sending ^C while running script produces no output

2010-12-04 Thread Brandon Gooch
On Sat, Dec 4, 2010 at 3:27 PM, Brandon Gooch wrote: > On Sat, Dec 4, 2010 at 2:32 PM, Andriy Gapon wrote: >> on 03/12/2010 07:20 Brandon Gooch said the following: >>> I've been tinkering with DTrace a bit, and I've notice something >>> peculiar on each sys

Re: DTrace: Sending ^C while running script produces no output

2010-12-04 Thread Brandon Gooch
On Sat, Dec 4, 2010 at 2:32 PM, Andriy Gapon wrote: > on 03/12/2010 07:20 Brandon Gooch said the following: >> I've been tinkering with DTrace a bit, and I've notice something >> peculiar on each system I've tried it on. >> >> Sending ^C from the keyboar

Re: DTrace: Sending ^C while running script produces no output

2010-12-03 Thread Brandon Gooch
On Thu, Dec 2, 2010 at 11:48 PM, Artem Belevich wrote: > On Thu, Dec 2, 2010 at 9:46 PM, Artem Belevich wrote: >> On Thu, Dec 2, 2010 at 9:20 PM, Brandon Gooch >> wrote: >>> I've been tinkering with DTrace a bit, and I've notice something >>&g

DTrace: Sending ^C while running script produces no output

2010-12-02 Thread Brandon Gooch
I've been tinkering with DTrace a bit, and I've notice something peculiar on each system I've tried it on. Sending ^C from the keyboard in the terminal (console, XTerm, Konsole) produces no output [1]. For example, while trying out a one-liner (from http://www.brendangregg.com/DTrace/dtrace_oneli

Re: [CFT+RFC] patch to buildworld with heimdal from ports

2010-11-16 Thread Brandon Gooch
On Tue, Nov 16, 2010 at 2:49 AM, Joerg Pulz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Content-ID: > > On Mon, 15 Nov 2010, Brandon Gooch wrote: > >> On Mon, Nov 15, 2010 at 9:37 PM, Garrett Cooper >> wrote: >>> >>> On Mon

Re: [CFT+RFC] patch to buildworld with heimdal from ports

2010-11-15 Thread Brandon Gooch
On Mon, Nov 15, 2010 at 9:37 PM, Garrett Cooper wrote: > On Mon, Nov 15, 2010 at 7:09 PM, Brandon Gooch > wrote: >> On Mon, Nov 15, 2010 at 7:17 PM, Benjamin Lee wrote: >>> On 11/15/2010 02:08 PM, Joerg Pulz wrote: >>>> Hi, >>>> >>>> a

Re: [CFT+RFC] patch to buildworld with heimdal from ports

2010-11-15 Thread Brandon Gooch
On Mon, Nov 15, 2010 at 7:17 PM, Benjamin Lee wrote: > On 11/15/2010 02:08 PM, Joerg Pulz wrote: >> Hi, >> >> after the security/heimdal port was updated to the current heimdal >> release and i added one missing function from base it is now possible to >> completely buildworld src/ using the port

Re: sysconf -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-06 Thread Brandon Gooch
On Wed, Oct 6, 2010 at 3:45 PM, Devin Teske wrote: > Hello fellow freebsd-hackers, > > Long-time hacker, first-time poster. > > I'd like to share a shell script that I wrote for FreeBSD system > administration. > > The attached shell script works similar to sysctl(8), but rather than > querying or

Re: One-shot-oriented event timers management

2010-09-01 Thread Brandon Gooch
On Wed, Sep 1, 2010 at 2:16 PM, Alexander Motin wrote: > Brandon Gooch wrote: >> This latest patch causes an interrupt storm with the HPET timer on my >> system. The machine took about 8 minutes to boot and bring me to a >> login prompt. System interactivity (i.e. input

Re: One-shot-oriented event timers management

2010-09-01 Thread Brandon Gooch
On Wed, Sep 1, 2010 at 5:44 AM, Alexander Motin wrote: > Alexander Motin wrote: >> Gary Jennejohn wrote: >>> On Mon, 30 Aug 2010 12:11:48 +0200 >>> OK, this is purely anecdotal, but I'll report it anyway. >>> >>> I was running pretty much all day with the patched kernel and things >>> seemed to be

Re: One-shot-oriented event timers management

2010-08-31 Thread Brandon Gooch
On Tue, Aug 31, 2010 at 3:48 AM, Alexander Motin wrote: > Gary Jennejohn wrote: >> On Mon, 30 Aug 2010 12:11:48 +0200 >> Gary Jennejohn wrote: >> >>> On Mon, 30 Aug 2010 13:07:38 +0300 >>> Alexander Motin wrote: >>> Gary Jennejohn wrote: > Hmm.  I applied your patches and am now running

Re: One-shot-oriented event timers management

2010-08-29 Thread Brandon Gooch
2010/8/29 Alexander Motin : > Hi. > > I would like to present my new work on timers management code. > > In my previous work I was mostly orienting on reimplementing existing > functionality in better way. The result seemed not bad, but after > looking on perspectives of using event timers in one-s

Re: Hello!

2010-04-28 Thread Brandon Gooch
On Wed, Apr 28, 2010 at 4:04 PM, Stanislav wrote: > Hello! I am accepted for the google summer of code. I just wanted to > introduce myself to the community. I will be working on "BSNMP enhancement: > A new module". I will be very thankful to anyone who have ideas to share. I > am still newbie and

Re: netstat count option

2010-04-21 Thread Brandon Gooch
On Wed, Apr 21, 2010 at 4:01 AM, Dmitry Banschikov wrote: > Hello, > > I wrote small patch to the netstat utility. > The patch allows to specify how many times, the display output should be > continue, > in case of option -w. > Usage: > # ./netstat -w2 -c2 >            input        (Total)      

Re: vdso and shared page patch

2010-04-20 Thread Brandon Gooch
On Tue, Apr 20, 2010 at 2:57 PM, Giuseppe Cocomazzi wrote: > Hi, > I've written a huge patch which implements vdso support and shared page > subsystem for freebsd. Unfortunately, I've been waiting for a review > for quite a long time and, after some positive responses, silence overcame, > so the c