Re: Help with some makefile hackery

2010-06-28 Thread Brian Somers
: src-kernel-tools rm -f src-kernel-done { cd src; ./amd64-kernel.sh 2>&1 && touch src-kernel-done; } | tee build_amd64_kernel.log rm src-kernel-done You really want to catch all failures, including tee failures. -- Brian Somers

Re: NFSD lockup running ESXi 4

2010-06-09 Thread Brian Somers
e the freeze... Perhaps looking for changes that might might affect nfsd stability in the week prior to June 6 might discover a fix? -- Brian Somers Don't _EVER_ lose your sense of humour ! signature.asc Description: PGP signature

Re: head behaviour

2010-06-07 Thread Brian Somers
space... Well, leading $IFS $ ps | (IFS= read a; echo "$a"; grep zsh) works a lot better. -- Brian Somers Don't _EVER_ lose your sense of humour ! ___ freebsd-hackers@freebsd.org m

Re: Deprecating ps(1)s -w switch

2009-08-27 Thread Brian Somers
On Tue, 25 Aug 2009 03:40:54 -0700 Brian Somers wrote: > I recently closed bin/137647 and had second thoughts after Ivan (the > originator) challenged my reason for closing it. > > The suggestion is that ps's -w switch is a strange artifact that can > be safely deprecate

Deprecating ps(1)s -w switch

2009-08-25 Thread Brian Somers
th a note in the man page saying that it will be removed in a future release. Does anyone have any objections to doing this? I don't propose merging this back into stable/8. -- Brian Somers Don't _EVER_ lose your sense of humour ! signature.asc Description: PGP signature

Re: kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-22 Thread Brian Somers
On Fri, 21 Aug 2009 21:55:03 -0700 Brian Somers wrote: > On Fri, 21 Aug 2009 17:13:45 -0700 Kip Macy wrote: > > Try this: > > > > Index: sys/net/flowtable.c > > === > > --- sys/net/flowtable.c

Re: kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-22 Thread Brian Somers
On Fri, 21 Aug 2009 23:23:13 -0700 Brian Somers wrote: > On Fri, 21 Aug 2009 22:41:34 -0700 Brian Somers wrote: > > On Fri, 21 Aug 2009 21:55:03 -0700 Brian Somers wrote: > > > On Fri, 21 Aug 2009 17:13:45 -0700 Kip Macy wrote: > > > > Try this: > > >

Re: kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-21 Thread Brian Somers
On Fri, 21 Aug 2009 22:41:34 -0700 Brian Somers wrote: > On Fri, 21 Aug 2009 21:55:03 -0700 Brian Somers wrote: > > On Fri, 21 Aug 2009 17:13:45 -0700 Kip Macy wrote: > > > Try this: > > > >

Re: kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-21 Thread Brian Somers
s increasing when I send from the -current box, although netstat -s doesn't seem to see any more icmps. Maybe this problem isn't a routing problem. I'll look into it further and figure out if the packet is getting to the tun driver and if so, what it thinks it's doing wit

kernel panics in in_lltable_lookup (with INVARIANTS)

2009-08-21 Thread Brian Somers
ening while setting up a temporary route for the first outbound packet. I haven't been able to do much investigation yet due to other patches in my tree that seem to have broken all my kernel symbols, but once I get a clean rebuild I should be back in business. If anyone has any suggesti

Re: How to signal a time zone change?

2009-08-10 Thread Brian Somers
e calling tzset() is the best way to make it work right now. If you really want to ensure that you're reading /etc/localtime, this bit of hackery works too: putenv("TZ=/dev/null"); tzset(); unsetenv("TZ"

Re: can we afford an extra column in iostat?

2009-07-14 Thread Brian Somers
63 428 4.45 0.00 0 0.00 14.44 137 1.93 32 0 51 0 17 > | ^C > > The patch that changes this is quite small: This should be fixed. Ironically, the only people that usually have problems with fixes like this are people that have seen the fields merge and h

make {,re}installkernel{,.debug}

2009-07-09 Thread Brian Somers
bsd.subdir.mk (revision 195516) +++ share/mk/bsd.subdir.mk (working copy) @@ -67,7 +67,7 @@ ${SUBDIR}: .PHONY .for __target in all all-man checkdpadd clean cleandepend cleandir \ depend distribute lint maninstall manlint \ -obj objlink realinstall regress tags

Re: My PPP timer PR [nag]

2007-05-11 Thread Brian Somers
> In general, I would suggest sending this sort of thing to current@ and/or > net@, but not [EMAIL PROTECTED] I'll have a look at it RSN - or at BSDCan next week at the latest. -- Brian Somers &l

Re: [PATCH2] PPP in -direct mode does not execute any chat scripts

2003-03-25 Thread Brian Somers
force-scripts >Default: Disabled. Forces execution of the configured chat >scripts in direct and dedicated modes. > > >>Please find attached patch that adds new option to the PPP. > >> > >>run-scripts-in-direct-mode > >>Default: Disabled.

Re: read a file from a driver

2002-04-11 Thread Brian Somers
There's an example of how to do this in the ``digi'' driver. It loads it's firmware module on-the-fly (if it can) and dumps it afterwards. As you can see, this saves a bunch of runtime space (digi is the base driver, digi_* are the firmware modules): $ ls -l /boot/kernel/digi* -r-xr-xr-x 1

Re: 'rm' incompatibility with Posix.2

2002-04-10 Thread Brian Somers
> Bogdan TARU <[EMAIL PROTECTED]> writes: > > On 10 Apr 2002, Dag-Erling Smorgrav wrote: > > > In my humble opinion, Solaris (and every other *nix) is broken in this > > > respect, and *BSD is correct. > > Except for OpenBDS. No NetBDS machine available, maybe some of you could > > try it on one a

Re: [Fwd: Jul 30 changes to ppp break my Telstra ADSL PPPoE connection]

2001-12-06 Thread Brian Somers
> Brian Somers wrote: > > > > Hi, > > > > Thanks for your report. Would you be able to grab me logs of the > > connection that doesn't work (the latest ppp) and the one that works > > (the pre-July 30 one) with the following set: > > > >

Re: [Fwd: Jul 30 changes to ppp break my Telstra ADSL PPPoE connection]

2001-12-05 Thread Brian Somers
Hi, Thanks for your report. Would you be able to grab me logs of the connection that doesn't work (the latest ppp) and the one that works (the pre-July 30 one) with the following set: set log tun chat lcp ipcp It may be possible to fix the problem by changing your ``set mru'' and ``set mt

Re: Checking changes to listening ports in /etc/security

2001-09-17 Thread Brian Somers
> From: Brian Somers <[EMAIL PROTECTED]> > Subject: Re: Checking changes to listening ports in /etc/security > Date: Fri, Sep 14, 2001 at 12:18:43PM +0100 > > > I think the attached patch makes things slightly better. We only run > > sockstat once, and remov

Re: Checking changes to listening ports in /etc/security

2001-09-14 Thread Brian Somers
> From: Brian Somers <[EMAIL PROTECTED]> > Subject: Re: Checking changes to listening ports in /etc/security > Date: Thu, Sep 13, 2001 at 10:25:02PM +0100 > > > I like this idea. I think It would be worth making it diff against > > /dev/null when netstat.today do

Re: Driver structures & alignment

2001-09-13 Thread Brian Somers
> Hi there, > > Is there a single blessed way to define packed structures > for use in drivers? I suspect that using "#pragma pack(1)" > will lead to alignment errors in non-Intel architectures. gcc deals with it, certainly on alpha anyway. However, I don't think anyone would ever bless using

Re: Checking changes to listening ports in /etc/security

2001-09-13 Thread Brian Somers
> I've been adding an extra check in my local version of /etc/security for quite > some time now. All it does is use 'netstat' to grab a list of the listening > tcp and udp ports of my machine and save it to /var/log/netstat.today > (and /var/log/netstat.yesterday). This way, when some service s

Re: IPv6 DAD avoidance

2001-08-20 Thread Brian Somers
> > brian> Can anybody tell me if it's possbile to tell a given interface > brian> not to do DAD ? > > There is a kernel MIB, 'net.inet6.ip6.dad_count'. See inet6(4) > manpage for more detail. > > However, there is no way to stop DAD for any given interfaces; only > we have two choices, 'do DA

IPv6 DAD avoidance

2001-08-19 Thread Brian Somers
Hi, Can anybody tell me if it's possbile to tell a given interface not to do DAD ? Specifically, when using the tun device for PPP, PPP negotiates it's own endpoint (link-local) addresses with the peer. However, it doesn't look possible to stop the kernel from doing DAD unless we already ha

Re: For review: Patch to ps(1) old-style option parsing.

2001-08-15 Thread Brian Somers
>This is pretty low-priority and I don't think it needs to be > MFC'd for the 4.4 release, but there is a small error in ps's > old-style option handling. An outstanding example of this is > when one runs `ps Uroot': This has irritated me in the past too :*) I've applied your patch to -cur

freebsd-hackers@freebsd.org

2001-08-03 Thread Brian Somers
> ,[ On Thu, Aug 02, at 05:57PM, Julian Elischer wrote: ]-- > | anyone had success watching a dvd? > `[ End Quote ]--- > > ok, first and foremost, please, anyone else replying, reply to the list > and not to me and please dont cc me, i am on the list. (

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Brian Somers
> In message <[EMAIL PROTECTED]> Brian Somers writes: > : > In message <[EMAIL PROTECTED]> Dima Dorfman writes: > : > : Does anybody know (remember?) why portmap_enable (the rc.conf knob) > : > : wasn't renamed to rpcbind_enable when portmap became rpcbind

Re: portmap_enable vs. rpcbind_enable

2001-07-31 Thread Brian Somers
> In message <[EMAIL PROTECTED]> Dima Dorfman writes: > : Does anybody know (remember?) why portmap_enable (the rc.conf knob) > : wasn't renamed to rpcbind_enable when portmap became rpcbind? It > : seems odd to have a knob called portmap_enable that actually starts > : something called rpcbind (

Re: Why install -C include files?

2001-07-25 Thread Brian Somers
> > > On Wed, 25 Jul 2001 08:58:02 CST, Warner Losh wrote: > > > The reason I'd like to see it isn't so that make world kills things > > automatically, but so that I could kill them (or at least find out > > what should be killed) on systems that had FreeBSD 1.0 installed on > > them, then upgr

Re: A full source-tour somewhere?

2001-07-23 Thread Brian Somers
> On Mon, Jul 23, 2001 at 12:56:04AM -0700, Julian Elischer wrote: > > Julian Elischer wrote: > > > > > > Dima Dorfman wrote: > > [...] > > > > * A cross reference of the FreeBSD kernel > > > > > > well I have the source code of course, but the second is what I'm > > > looking for except th

Re: interface cloning MFC

2001-07-20 Thread Brian Somers
> I plan to MFC the network interface cloning support and the gif > modularization early next week unless someone has objections. I'd like > to get it in before the code slush and since I'll be leaving for a week > on the 31st, that means sometime early to mid next week to allow for any > bug rep

Re: interface cloning MFC

2001-07-20 Thread Brian Somers
> I plan to MFC the network interface cloning support and the gif > modularization early next week unless someone has objections. I'd like > to get it in before the code slush and since I'll be leaving for a week > on the 31st, that means sometime early to mid next week to allow for any > bug rep

Re: Some questions about kernel programming

2001-07-13 Thread Brian Somers
> Have a look at the digi driver in -current where I did this. The > caveat is that the kernel code looks ugly. From the driver's ioctl > routine: > > case DIGIIO_IDENT: > return (copyout(sc->name, *(char **)data, > strlen(sc

Re: Some questions about kernel programming

2001-07-13 Thread Brian Somers
> > write() doesn't exist in the kernel. The simple answer is "you're > > going to have to read what the send() syscall does and emulate it". > > First, though, you need to answer the question "why do I want to do > > this in the kernel?" > > it actually exists, however the problem is that copyi

Re: mgetty+AutoPPP pointers?

2001-07-13 Thread Brian Somers
There's stuff in the ppp(8) man page about this -- although I've deprecated the mgetty stuff in favour of getty which is capable of doing the same thing. > Hello all, > > I want to configure a server machine I have at home to answer a phone line via > internal modem and setup a PPP connection

Re: FreeBSD Mall now BSDCentral

2001-07-08 Thread Brian Somers
> Poul-Henning Kamp wrote: > > | In message <[EMAIL PROTECTED]>, Brian Somers writes: > | > | >I'm not having a go at Cheapbytes. I'm just saying that their CDs > | >should be labeled official or unofficial based on their content. If > | >they

Re: FreeBSD Mall now BSDCentral

2001-07-07 Thread Brian Somers
> On Sat, 7 Jul 2001, Brian Somers wrote: > > > Richard Hodges <[EMAIL PROTECTED]> wrote: > > > And as far as distribution goes, if my vote counts, I would suggest > > > that anyone should have the right to sell (or give away) copies for > > > wh

Re: FreeBSD Mall now BSDCentral

2001-07-07 Thread Brian Somers
Josef Karthauser <[EMAIL PROTECTED]> wrote: > On Fri, Jul 06, 2001 at 02:28:18PM -0700, Kris Kennaway wrote: > >=20 > > In the past, the officially blessed CD distributor was kicking back > > money directly to FreeBSD; whatever happens in the future with respect > > to CD distribution, I think we

Re: C++ to C translator

2001-07-03 Thread Brian Somers
I requested the bug list for that ``compiler'' at one point and was given hundreds of sheets of ``known bugs'' (several bugs per sheet). At the time, I was looking for alternatives to g++ because of a bug I'd come across. Needless to say, the bug in question appeared in the cfront known-bugs

Re: Linux Applications Over PPP

2001-07-03 Thread Brian Somers
> Brian Somers wrote: > > > The only strange occurrence I've seen that sounds even vaguely > > similar is that if you leave out a nameserver line in > > /compat/linux/etc/hosts, it *doesn't* default to 127.1. > > > > Try adding a nameserver line

Re: Linux Applications Over PPP

2001-07-02 Thread Brian Somers
The only strange occurrence I've seen that sounds even vaguely similar is that if you leave out a nameserver line in /compat/linux/etc/hosts, it *doesn't* default to 127.1. Try adding a nameserver line (if you haven't already got one). > Hi, > > Six million *.rpm files later, I've finally got

Re: rman wildcard question

2001-06-27 Thread Brian Somers
> In the gif interface cloning code I used the resource management code > like Brian did in the tun cloning code to manage unit numbers. When the > user requests an arbitrary unit, they get the first one available, but > I'm not convinced that's what we want because that has the potential to > in

Re: cloning network interfaces

2001-06-10 Thread Brian Somers
> I went ahead and nuked the auto-creation and -D flag in favor of plumb > and unplumb in the patch at: > > http://www.one-eyed-alien.net/~brooks/FreeBSD/gif.diff > > This version includes a change to rc.network to plumb gif interfaces > before calling gifcreate. This will still trip up users w

Re: cloning network interfaces

2001-06-09 Thread Brian Somers
> Ok, I've got the quick and dirty way working for testing (a nine line > clone handler works great for that), but I think Brian's suggestion is > probably best for a real solution especialy since it's rather easier to > check for permissions before allowing creation this way. My current > patch

Re: cloning network interfaces

2001-06-07 Thread Brian Somers
> In message <[EMAIL PROTECTED]>, Brooks Davis writes: > > >With network devices that are also normal devices the way tun is, > >you do this by just implementing a dev_clone event handler so when the > >user attempts to open a non-existent instance it's created. The problem > >with gif is that t

Re: speeding up /etc/security

2001-06-04 Thread Brian Somers
As you suspect, mounting nosuid makes /etc/security skip the suid checks... good for giving the security-unconscious a reason to fix their system :) I was alway quite impressed with this :) > On Mon, Jun 04, 2001 at 12:07:19PM -0700, Matthew Jacob wrote: > > Does /etc/security take filesystem

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-25 Thread Brian Somers
> > : > :On Wed, 23 May 2001, Matt Dillon wrote: > : > :> Nice one! I'm going to be using this all over the place myself. > : > :I am missing something here. Is there a practical use for this? :) > : > :Jamie > > Many programs these days use unix-domain sockets as a rendezvous > fo

Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-23 Thread Brian Somers
> According to Brian Somers: > > Brett Glass (cc'd) has complained about a similar problem where it > > seems that the ng_pppoe node is locked up. I can't reproduce the > > problem here though :( > > Does the following help you : [.] Not really - I th

Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-23 Thread Brian Somers
t the peer is hung up trying to send a 1500+8 byte packet across an Ethernet that can only handle 1500 > According to Brian Somers: > > If pppctl is still working (ppp will talk to it), then it may be > > worth seeing what ``show physical'' and ``show timer''

Re: sysctl to disable reboot

2001-05-21 Thread Brian Somers
> > That's a good point. A more sophisticated sysctl again would be one that > > would prevent the loading of a new keymap which enabled rebooting where > > the previous one did not. > > > cons.keymap.protected perhaps? > > I could impliment a cons.keymap.securelevel which did: > > 0:

Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-21 Thread Brian Somers
Hi, I think it's important to quantify what a lockup is here. If pppctl is still working (ppp will talk to it), then it may be worth seeing what ``show physical'' and ``show timer'' say (is the link open, or is ppp waiting for something to happen via a timeout?). If pppctl isn't working it's

Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-16 Thread Brian Somers
Try reducing the interface MTU further. It's possible that there's a misconfigured router between you and the sites *and* a part of the route has an mtu of less than 1492. ``set mtu 1480'' or ``set mtu 1460'' may work. > I have been having problems with the the newer Windows machines, 2000 &

How to auto-boot from an alternate disk

2001-05-16 Thread Brian Somers
Hi, I have a machine with 3 IDE disks and 2 SCSI disks and I want to boot from the first SCSI disk *but* my BIOS won't boot it. How are you supposed to do this ? I've currently done # boot0cfg -v -t 10 -B -s 5 ad0 # boot0cfg -v -t 1 -B -s 5 -m 0 ad1 # boot0cfg -v -t 1 -B -s 5 -m 0 ad2 Wh

Re: xargs(1) "replstr" patch

2001-05-12 Thread Brian Somers
I'd suggest going ahead and committing it ASAP - before people start ``discussing'' it again :oI Feel free to blame me for reviewing it !!! > Folks, > > The attached patch adds a "replacement string" feature to xargs(1). > There's a full description in the man page update (also attached), but

Re: Writing device drivers (was: help me please)

2001-05-11 Thread Brian Somers
> hi, > Thanx Julian for pointing me to the tunnel pseudo-driver. > But my major concern was regarding linking the driver to the kernel( i > am trying to use static linking stuff). I am presently doing > a major grep on "tun" 8-) > It would be great if i could get some docs regding w

Re: Writing device drivers (was: help me please)

2001-05-10 Thread Brian Somers
> On Wednesday, 9 May 2001 at 10:40:50 +0530, Jayesh Krishna wrote: > > Hi guys... > > I am comfortable with Linux Device Drivers. Presently I am trying > > to write some pseudo-drivers in FreeBSD(4.2-Release). I tried out > > make_pseudo_driver.sh > > in the /usr/share/examples/drivers but it do

Re: pax(1) gzip functionality

2001-04-26 Thread Brian Somers
> On Thu, Apr 26, 2001 at 04:42:44PM +0100, Brian Somers wrote: > > > On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: > > > > Please review the following code from OpenBSD; it adds -z and -Z > > > > options to pax(1) to gzip(1) the archives cre

Re: pax(1) gzip functionality

2001-04-26 Thread Brian Somers
> On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: > > Please review the following code from OpenBSD; it adds -z and -Z > > options to pax(1) to gzip(1) the archives created. > > Sigh. They could have generalized this just a little and supported Bzip2 > at the same time. Please le

Re: VPN

2001-04-26 Thread Brian Somers
> no vpn or sloop labels in my 4.1 system ... when were they introduced ?? They were MFC'd on December 18 '00, 4.1 was released the August before. -- Brian <[EMAIL PROTECTED]> Don't _EVER_ lose your sense of humour !

Re: VPN

2001-04-26 Thread Brian Somers
> > > Actually ppp shouldn't be that hard to set up as a vpn server. > > exactly where to find config information suitable for a non-expert ?? /usr/share/examples/ppp - have a look at the vpn* and sloop* labels. -- Brian <[EMAIL PROTECTED]>

Re: vm fun

2001-04-19 Thread Brian Somers
> Hi, > > If inside a syscall, what is the proper way to find the physical address of > an arbitrary userland address of the current process ? Probably something like VM_PAGE_TO_PHYS - but you'll need a vm_page_t to use that. vm_page_list_find() looks promising, but I've never used it :-/

Modules with INVARIANTS

2001-04-18 Thread Brian Somers
Hi, Does anyone know of a clean way to have module builds detect that INVARIANTS is defined in opt_global.h ? -- Brian <[EMAIL PROTECTED]> Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to [EMAIL P

Re: Patch to make snp(4) devfs-friendly

2001-04-17 Thread Brian Somers
device that wasn't already opened, so the destroy_dev() looks ok here in practice. > Brian Somers <[EMAIL PROTECTED]> writes: > > I haven't actually tested the code, but looking at the patch, I think > > there's a problem with it... > > > > Specificall

Re: Patch to make snp(4) devfs-friendly

2001-04-17 Thread Brian Somers
I haven't actually tested the code, but looking at the patch, I think there's a problem with it... Specifically, on a non-devfs system - where the device nodes are created with mknod(1), snp_clone() isn't going to be called before snpopen(). I've (ab)used drv2 as a flag to say whether make_de

Re: ffs dirpref speedup

2001-04-06 Thread Brian Somers
Orlov <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Re: CVS: cvs.openbsd.org: src > > > > On Fri, Apr 06, 2001 at 10:27:55PM +0100, Brian Somers wrote: > > > > CVSROOT:/cvs > > > > Module name:src > > > >

Re: Vinum stripe size (was: tuning a VERY heavily (30.0) loaded server)

2001-03-27 Thread Brian Somers
> On Tuesday, 27 March 2001 at 9:39:36 +0100, Brian Somers wrote: > >> On Tuesday, 20 March 2001 at 11:11:44 -0600, Michael C . Wu wrote: > >>> [Lengthy email, bear with me please, it is quite interesting. > >>> This box averages 30.0 load with no problems.] &

Re: Control messages.

2001-03-27 Thread Brian Somers
I can't see where in the kernel we're *not* using CMSG_DATA(). This was fixed a while ago and tested ok on beast (for 3 descriptors AFAIR). Are we looking at the same code (I'm looking in /sys/kern) ? The only dodgy thing I see in there is the COMPAT_OLDSOCK stuff in uipc_syscalls.c, and tha

Re: Vinum stripe size (was: tuning a VERY heavily (30.0) loaded server)

2001-03-27 Thread Brian Somers
> On Tuesday, 20 March 2001 at 11:11:44 -0600, Michael C . Wu wrote: > > [Lengthy email, bear with me please, it is quite interesting. > > This box averages 30.0 load with no problems.] > > > > > > > > Average file size is about 4K. /home/bbsusers* is on a vinum > > stripe'd volume with 3 Ultra1

Re: PPPD!

2001-03-23 Thread Brian Somers
> Hi! > Does anybody know about support pppunit in the ppp conf files, or may be > can advice me where I can read about pppunit. > Thank you very much. I'm afraid I can't really help, but I believe ppp(8) can do the same thing with the -unit command line switch. -- Brian <[EMAIL PROTECTED]>

Re: Inheriting the nodump flag

2001-02-28 Thread Brian Somers
> Attached below is a port of NetBSD's patch to FreeBSD's dump(8). > dump's tree walker is a little weird, so the patch is a little more > complicated than calling fts_set with FTS_SKIP. For the technical > details of what it does, see: > http://lists.openresources.com/NetBSD/tech-kern/msg00453.h

Re: character device driver

2001-02-27 Thread Brian Somers
[.] > In my mind, it is important that (in the general case) we provide a struct > file state hook rather than having per-process state, to allow things like > threads, process teams, aio, file descriptor passing, etc, to work > properly. One advantage to tying VFS statefulness to device stat

Re: ADSL and PPPoE question

2001-02-15 Thread Brian Somers
[.] > I thought something like this: > > >[ISP] > | > | > - > Office [ADSL] > | > | > [FreeBSD Box] > | | | | > | | | | > [A][B][C][D] > > where A, B, C, D all have

Re: What's changed recently with vmware/linuxemu/file I/O

2001-02-08 Thread Brian Somers
> On Thu, Feb 08, 2001 at 04:58:17AM -0800, Julian Elischer wrote: > >=20 > > Looks like some way of clustering this might achieve a lot. > >=20 > > what does systat -vmstat or vmstat 1 > > show? > > Better still, I guess we could do a linux-truss > > and see what it's doing... > > I believe that

Re: What's changed recently with vmware/linuxemu/file I/O

2001-02-06 Thread Brian Somers
> Bruce Evans wrote: > > > > On Tue, 6 Feb 2001, Josef Karthauser wrote: > > > > > I'm wondering what's changed recently to cause vmware2 running on > > > the linuxemu to lose a lot of performance with disk I/O. > > > > Use of cmpxchg and possibly other SMP pessimizations. > > > > > A couple o

Re: PPPoE

2001-01-22 Thread Brian Somers
I think the best way to implement this is some sort of config message to the pppoe node (before the connect/listen). The NETGRAPH version of ppp(8) is capable of doing ``chat scripts'' with netgraph nodes, so it's fairly easy to configure the node configuration conversation... Hopefully now t

Re: PPP failures in 4.2-STABLE

2000-12-13 Thread Brian Somers
Hi, The only thing that comes to mind here is that perhaps you've got something like hylafax or mgetty running against the same port and something's gone wrong with the port locking code. It *looks* like something's writing fax commands to your modem at the same time as you're trying to dial.

Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)

2000-11-16 Thread Brian Somers
r/local/sbin > 01001 divert 1234 tcp from any to any out xmit tun0 setup > > The rule gets inserted, tcpmssd runs as root, and I feel like a dummy. Any > other ideas? > > Thanks for the help Brian, I'm not sure what the problem could be - can you confirm that everything

Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)

2000-11-15 Thread Brian Somers
> Maybe I'm just being boneheaded, but... > > > ! sudo ipfw add 4 divert 12345 all from any to any via INTERFACE > > ! sudo /usr/local/bin/tcpmssd -p 12345 -i INTERFACE > > I was under the (tested & confirmed) impression that programs executed by > ppp are run under uid 0. Eg. I don't us

Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)

2000-11-14 Thread Brian Somers
> > On Tue, 14 Nov 2000, Renaud Waldura wrote: > > ->Dear hackers, > -> > ->> What exactly does not work? > ->> What does the option -l do? > -> > ->When launched automatically by ppp, tcpmssd doesn't get any of the packets > ->and is useless. When I start it manually from the command line, it w

Re: PPPoE w/ nat auto fragmentation hack?

2000-11-12 Thread Brian Somers
> > Hi, Any of you happened to hack the PPPoE support on Fbsd 4.x to > automatically fragment the IP datagram if whatever device behind the > NAT refuses to adjust its MTU? There's a ``tcpmssd'' port. > Thanks -- Brian <[EMAIL PROTECTED]>

Re: PPP patch (CHAP81 + MPPE)

2000-10-29 Thread Brian Somers
Hi, Thanks for the patches. I've committed the changes although I'm having problems with MPPE. I suspect the problems are actually in the CCP stuff though - and I've suspected this for some time, something to do with running ppp back-to-back (and not over a tty). I'll look into this soon.

Re: Making /etc/defaults/rc.conf a configuration file.

2000-10-03 Thread Brian Somers
> Hi, > > With these patches, and the new tiny util 'sourceconf', we can make > /etc/defaults/rc.conf and /etc/defaults/periodic.conf configuration > files again, such that they can be parsed by things other than 'sh'. [.] Looks good to me ! -- Brian <[EMAIL PROTECTED]>

Re: mergemaster RFC (long)

2000-09-21 Thread Brian Somers
> > Another thing that would be very useful is that during a > merge of two files that it's possible to specify both > the left hand side and the right hand side. That would > fix cases like: > > Orig: > > # $FreeBSD: src/etc/shells,v 1.4 SOMEDATE$ > # > # List of acceptable shells for chpass(

Re: mergemaster RFC (long)

2000-09-20 Thread Brian Somers
> Brian Somers <[EMAIL PROTECTED]> wrote: > > > > First, the things I am definitely going to do. Christian "naddy" > > > Weisgerber has taken on the task of porting mm to openbsd. > > > > I think it would be nice to aim to keep the two sc

Re: mergemaster RFC (long)

2000-09-17 Thread Brian Somers
[.] > First, the things I am definitely going to do. Christian "naddy" > Weisgerber has taken on the task of porting mm to openbsd. He has made > some very reasonable requests that will make his life easier and reduce > gratuitous differences between versions. Also, several people have a

Re: Getting all the IP address for a machine from code...

2000-09-15 Thread Brian Somers
> I am looking for a way to get all the IP addresses that are configured a > machine. I need to do this in c source code, and without using DNS services > (ie: gethostname/gethostbyname won't work). I am hoping there are some > system calls I can use to get this information. Thanks in advance f

Re: Fdescfs updates--coming to a devfs near you!

2000-09-15 Thread Brian Somers
> The majority of these programs could be handled by adding knowledge > of "-" as a magic filename to fopen(3). [.] > I would argue that the programs and the scripts that call them are > already broken, but hey... So (just to add fuel to the mass opposition), do this without temporary files:

Re: Redirect stdout/stderr to syslog [OFF-TOPIC]

2000-09-01 Thread Brian Somers
> Hi, > > I wonder if it is possible to redirect stdout/stderr to syslog. > > Background: > I'm writing a program which starts (fork=>execvp) and observes > another program. I would like to redirect all output of the "execvped" > program to syslog. > > I know this is not really FBSD related but

Re: Critical (or equivalent) section in Userland?

2000-08-17 Thread Brian Somers
> In message <[EMAIL PROTECTED]> Karl Pielorz writes: > : I'm writing a program under FreeBSD 3.X that has been forced into having to > : make a number of rename() calls that must be completed atomically (i.e. all > : together) without the process being interrupted, or any other process being > :

Re: Does sio have a maintainer?

2000-08-14 Thread Brian Somers
> > Hi folks, > > Does the sio driver have a maintainer? There are two PR's open that > contain patches to provide support for new devices, but I can't find > anyone to pin them on. :-) I thought bde looked after sio.c... Dunno if he reads this list. -- Brian <[EMAIL PROTECTED]>

Re: Writing device drivers (ioctl issue)

2000-08-10 Thread Brian Somers
> I ran into this same problem when modifying the vmmon VMWare driver for > FreeBSD to support mulitple emulator instances. FreeBSD's VFS does not > have a concept of stateful file access: there are open's and close's, but > the VOP_READ/WRITE operations are not associated with sessions. This [.

Re: /etc/security -> /etc/periodic/security ?

2000-07-13 Thread Brian Somers
> > Brian Somers wrote: > > > > >> Well, "periodic security" will work as long as /etc/periodic/security > > >> exists, so I guess you just mean the docs need updating? I'll get to > > >> that if someone is actually planning on comm

Re: /etc/security -> /etc/periodic/security ?

2000-07-13 Thread Brian Somers
> Brian Somers wrote: > > >> Well, "periodic security" will work as long as /etc/periodic/security > >> exists, so I guess you just mean the docs need updating? I'll get to > >> that if someone is actually planning on committing this stuff. >

Re: /etc/security -> /etc/periodic/security ?

2000-07-04 Thread Brian Somers
[ x-posted to -arch to fish for complaints ] > James Howard wrote: > > > On Thu, 29 Jun 2000, Ben Smithurst wrote: > >=20 > >> Try the attached. They haven't been thoroughly tested, but that's what > >> -CURRENT is for, right? :-) I even remembered to update the manual page > >> this time... >

Re: /etc/security -> /etc/periodic/security ?

2000-06-29 Thread Brian Somers
> Will we be seeing a move in this direction towards a more configurable > security script? Is anyone planning it? > > I am porting the scripts to Linux and will hold off on security if > nothing is being planned or make the changes myself. I just do not want > to duplicate efforts. > > Also,

Re: PPPoE help me please!!

2000-06-24 Thread Brian Somers
> I can run tcpdump on my ethernet device ed1 and it is sending out a > PADI packet but it is not getting anything back. This is either because you have an incorrect :provider setting in your ``set device'' line, or because you were using a different NIC with your provider at one point, and th

Re: .core file reporting in daily report

2000-06-22 Thread Brian Somers
> I was trying to figureout how the periodic scripts were run when I > noticed that cron had coredumped back in October and left a core file in > /var/run/cron. I got to thinking, it would be nice if the daily scripts > would report when core files are found so they can be cleaned up. I'm about

Re: buildworld summary

2000-06-22 Thread Brian Somers
> Brian Somers wrote: > > >> A few months ago someone posted a script that summarizes make > >> buildworld as it progresses. I've searched the ports and the mailing > >> lists but I can't find it any more :-( so I'd be grateful if someone > &g

Re: buildworld summary

2000-06-22 Thread Brian Somers
> A few months ago someone posted a script that summarizes make > buildworld as it progresses. I've searched the ports and the mailing > lists but I can't find it any more :-( so I'd be grateful if someone > would tell me. Thanks. It was phk (cc'd), and yes, it seems to have evaporated. > Tony.

  1   2   >