Re: [PATCH] Re: Linksys PCM200

2004-10-21 Thread Brooks Davis
On Thu, Oct 21, 2004 at 10:34:56AM -0700, Brooks Davis wrote: > On Wed, Oct 20, 2004 at 10:59:50PM -0600, [EMAIL PROTECTED] wrote: > > @@ -1978,6 +1982,7 @@ > > case DC_DEVICEID_3CSOHOB: > > case DC_DEVICEID_MSMN120: > > case DC_DEVICEID_MSMN130_F

Re: [PATCH] Re: Linksys PCM200

2004-10-21 Thread Brooks Davis
On Thu, Oct 21, 2004 at 10:34:56AM -0700, Brooks Davis wrote: > On Wed, Oct 20, 2004 at 10:59:50PM -0600, [EMAIL PROTECTED] wrote: > > > > [got no answer on [EMAIL PROTECTED] > > > > I've tested this on 5.3-BETA7 - works OK, no more watchdog timeouts. > >

Re: [PATCH] Re: Linksys PCM200

2004-10-22 Thread Brooks Davis
On Fri, Oct 22, 2004 at 02:16:54AM -0600, [EMAIL PROTECTED] wrote: > > > Could some people with dc(4) devices please test the following patch? > > It compiles for me and is trivial, but a quick test is probalby in order > > before I commit it. > > It's rather necessary to test it well, because I

interface cloning MFC

2001-07-20 Thread Brooks Davis
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 reports. I d

Re: interface cloning MFC

2001-07-20 Thread Brooks Davis
On Fri, Jul 20, 2001 at 08:37:50PM +0100, Brian Somers wrote: > > A diff is available at: > > > > http://people.freebsd.org/~brooks/patches/gif-stable.diff > > You forgot: > > Index: LINT > === > RCS file: /home/ncvs/src/sys/i386/c

Re: interface cloning MFC

2001-07-20 Thread Brooks Davis
On Sat, Jul 21, 2001 at 12:29:13AM +0100, Brian Somers wrote: > This works nicely on my -stale box. Thanks. > > One niggle though :) It's probably worth changing > ``$FreeBSD: $'' to ``$FreeBSD$'' in your patched version. > Without this, mergemaster assumes that the new version in /u

review request: ng_split cleanup

2001-07-24 Thread Brooks Davis
Please review the following diff for the ng_split netgraph node. It cleans up a number of style issues, removes some functions that just did that the default functions did, and renames the node to split from ng_split to follow the normal convention. In addition to this diff, I plan to commit a M

Re: review request: ng_split cleanup

2001-07-24 Thread Brooks Davis
On Tue, Jul 24, 2001 at 02:42:43PM -0700, John Baldwin wrote: > > > --- ng_split.c2001/02/22 17:14:34 1.1 > > +++ ng_split.c2001/07/24 21:37:28 > > @@ -1,5 +1,4 @@ > > -/*- > > - * > > +/* > > * Copyright (c) 1999-2000, Vitaly V Belekhov > > * All rights reserved. > > *

Re: review request: ng_split cleanup

2001-07-24 Thread Brooks Davis
On Tue, Jul 24, 2001 at 05:04:53PM -0700, Julian Elischer wrote: > On Tue, 24 Jul 2001, Brooks Davis wrote: > > > Index: ng_split.c > > === > > RCS file: /home/ncvs/src/sys/netgraph/ng_split.c,v >

Re: how to share include files between kernel and userland?

2001-07-27 Thread Brooks Davis
On Fri, Jul 27, 2001 at 10:55:49AM +0200, Marco Molteni wrote: > I am writing a program to parse frames dumped to bpf by an, the > aironet driver. > > I am using the latest patches by Doug Ambrisko, that allow the driver > to dump not only the 802.11 frame but also the special Aironet header > th

Re: libcurl in the base distribution of FreeBSD

2001-07-27 Thread Brooks Davis
On Fri, Jul 27, 2001 at 04:00:41PM -0400, Patrick Bihan-Faou wrote: > Yes I fully realize that. My point though is that libfetch to me seems a bit > limited in its feature set, while there exists other tools that implement > what libfetch does and much more. Using curl/libcurl from the base system

review request: vlan cloning and modularization patch

2001-07-30 Thread Brooks Davis
Please review and test the following patch. It adds cloning support to vlan devices and allows loading and unloading of VLAN support. The downside of the this loadability is that it currently appears to require enabling VLAN support on NICs that support it all the time which I am concerned may h

Re: review request: vlan cloning and modularization patch

2001-07-31 Thread Brooks Davis
I've updated the patch to fix a bug in ether_input and wrap vlan_input(_tag) in marcos to enable locking later. This patch also reflects the latest fixes to the txp driver. I've included it below or you can find it at: http://people.freebsd.org/~brooks/patches/vlan.diff Apply the patch as befo

Re: review request: vlan cloning and modularization patch

2001-07-31 Thread Brooks Davis
On Tue, Jul 31, 2001 at 11:46:09AM -0700, Brooks Davis wrote: > I've updated the patch to fix a bug in ether_input and wrap > vlan_input(_tag) in marcos to enable locking later. This patch also > reflects the latest fixes to the txp driver. I've included it below or &

Re: zoom modem

2001-08-13 Thread Brooks Davis
On Sun, Aug 12, 2001 at 02:13:55PM -0700, Dan Cox wrote: > I am trying to get my internal pci zoom fax modem installed on freebsd. This > modem is not a "winmodem". My problem is that the only instructions I have > are either for windows or Linux. I will include the linux instructions > below. As

Fwd: error in ip_checkinterface code?

2001-08-13 Thread Brooks Davis
I sent the following to net a while back and got a whole one responce. Anyone else have any thoughts? Unless someone has a good reason not to, I'd like to commit the attached patch. -- Brooks - Forwarded message from Brooks Davis <[EMAIL PROTECTED]> ----- From: Brooks Da

Re: Fwd: error in ip_checkinterface code?

2001-08-14 Thread Brooks Davis
On Tue, Aug 14, 2001 at 11:00:40AM -0400, Robert Watson wrote: > > Well, the BPF code relies on the ifnet pointer being set or not to > determine if a packet is "locally sourced". This permits userland > programs to differentiate packets targeted at a local ethernet address but > remotely source

Re: Cisco AIR-PCI 352

2001-08-16 Thread Brooks Davis
On Thu, Aug 16, 2001 at 04:17:37PM +0300, Vladimir Terziev wrote: > The FreeBSD an driver (for Cisco Aironet cards) supports 340 series cards. > I want to know if the an driver supports Cisco Aironet 350 series cards. Yes they are, though the PCI cards require a two line MFC before they will wo

Re: Cisco AIR-PCI 352

2001-08-16 Thread Brooks Davis
On Thu, Aug 16, 2001 at 11:39:28AM -0700, Julian Elischer wrote: > What is the MFC? > will it be in 4.4? > If not it might be a good thing to try get it in.. It adds a PCI id. I just sent a request to MFC the change. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP

Re: Cisco AIR-PCI 352

2001-08-16 Thread Brooks Davis
On Thu, Aug 16, 2001 at 11:08:11AM -0700, Brooks Davis wrote: > On Thu, Aug 16, 2001 at 04:17:37PM +0300, Vladimir Terziev wrote: > > The FreeBSD an driver (for Cisco Aironet cards) supports 340 series cards. > > I want to know if the an driver supports Cisco Aironet 350 series

tunable support for ata interrupt sharing

2001-08-21 Thread Brooks Davis
Attached it a patch to make sharing of the main ata control interrupts dependent on a tunable, hw.ata.shared_irqs. This is required for my new HP Omnibook 500 to use the CMD 648 in the expansion base to work as it appears hardwired to interrupt 15 (which is fairly logical given that there is no w

Re: tunable support for ata interrupt sharing

2001-08-22 Thread Brooks Davis
On Tue, Aug 21, 2001 at 09:41:50PM +0200, Søren Schmidt wrote: > I have just today committed always sharing all irq's to -current, > the consensus is that if the BIOS allows sharing it should work. > This makes sense, the MB maker is the only one that knows if > this is working, if they blow it i

proposed change to pci_pci.c

2001-09-05 Thread Brooks Davis
I'd like to propose committing the following change which adds a new undocumented option in the spirit of PCI_ENABLE_IO_MODES. The new option (PCI_ALLOW_UNSUPPORTED_IO_RANGE) allows me to boot my old HP Omnibook 4150 while docked. Since I've seen a couple other people need this fix, I figure it

Re: Question about what programs to use in /etc/rc*

2001-09-10 Thread Brooks Davis
On Mon, Sep 10, 2001 at 09:35:24AM -0700, Ulf Zimmermann wrote: > > Come to think of it, it might be as easy as: [**UNTESTED**] > > > > case ${ifconfig_args}; in > > [Dd][Hh][Cc][Pp]*) > > set $ifconfig_args > > shift > > ifconfig_add_args="$*" > >

Re: 802.11 with best Apple compatibility?

2001-09-14 Thread Brooks Davis
On Fri, Sep 14, 2001 at 10:30:37AM -0400, Leo Bicknell wrote: > On Fri, Sep 14, 2001 at 03:02:03PM +0100, Rasputin wrote: > > Is there any difference between Gold and Silver cards from > > a compatibility standpoint (with the usual Apple Airport cards)? > > With WEP encryption turned off they bot

Re: 802.11 with best Apple compatibility?

2001-09-14 Thread Brooks Davis
On Fri, Sep 14, 2001 at 03:10:48PM -0400, Leo Bicknell wrote: > On Fri, Sep 14, 2001 at 10:15:48AM -0700, Brooks Davis wrote: > > Unless Apple is mangling the firmware or someone screwed up the driver, > > this is false. Gold Lucent cards are capable of 40-bit crypto. > >

Re: 802.11 with best Apple compatibility?

2001-09-17 Thread Brooks Davis
On Mon, Sep 17, 2001 at 09:48:10AM +0100, Rasputin wrote: > I take it the PCI PCMCIA adapters are still unsupported? > (on 4-STABLE) They should be working. That was one of the primary points of the work Warner has been doing on PC Card. -- Brooks -- Any statement of the form "X is the one, t

Re: dump/restore and DIRPREF

2001-10-02 Thread Brooks Davis
On Tue, Oct 02, 2001 at 11:05:00AM -0600, Nate Williams wrote: > If I do a backup of my FS, wipe the disk, will the 'restore' cause the > same (ineffecient) directory layout to appear on disk? > > I wouldn't think so since the directory layout is controlled by the > kernel, but I do know that dump

Re: wake up on lan driver support

2001-11-12 Thread Brooks Davis
On Sun, Nov 11, 2001 at 04:38:50PM -0800, matt wrote: > any clue to find the tech doc regarding the format of > the packet. I'd code such thing. It's a very good > feature for FreeBSD. ports/net/wakeonlan I'd really like to see some driver support for WOL for support of dynamic power control on

Re: Intel gigabit driver

2001-11-29 Thread Brooks Davis
On Thu, Nov 29, 2001 at 08:04:45AM -0800, John Baldwin wrote: > > Yes, it's called the mini-iso and is basically the first CD w/o any ports or > packages. The last one I built for current that didn't include Xfree86 was > about 200 Meg. That also didn't include the ports collection or any of th

Re: splx() overhead.

2001-10-08 Thread Brooks Davis
On Mon, Oct 08, 2001 at 12:08:14PM -0400, [EMAIL PROTECTED] wrote: > In doing some kernel profiling analysis it seems that splx is taking up big > chunks of time. > > The mbuf macros call splimp()..splx() explicitly..are they required at > interrupt time? Is there a higher performance way of pr

Re: device major number

2001-11-30 Thread Brooks Davis
On Fri, Nov 30, 2001 at 10:02:56AM +0200, Danny Braniss wrote: > stupid question, but could'nt (yet) find an answer, im writing a driver, > so i need a major device number (for -stable), is there a list of assigned > numbers, and if so where? what's the procedure to 'assigne' one? The list is in

Re: PCI device file. /dev/xxxx

2001-12-01 Thread Brooks Davis
On Sat, Dec 01, 2001 at 10:12:27AM -0500, Dragon Fire wrote: > > I have created a PCI device driver but I have a problem. The core code was > developed using the current make_device_driver.sh then modified to fill in > the details of the device. > > The problem is the make_dev call in attach is

marking disks

2001-12-04 Thread Brooks Davis
I'm building a cluster where the nodes will boot using PXE, but they have disks on them which will be used for things like scratch space, swap, crash dumps, etc. Once of the issues I'm facing is that I'd like to be able to detect if the disks have been partioned to the latest standard on boot and

Re: marking disks

2001-12-05 Thread Brooks Davis
On Wed, Dec 05, 2001 at 12:11:55AM -0800, Terry Lambert wrote: > Brooks Davis wrote: > > What I'd been thinking was that I could write a magic string over the > > beginning of the MBR since I'm never going to try and boot these disks. > > That would let me detect

Re: kld VM pager

2001-12-06 Thread Brooks Davis
On Thu, Dec 06, 2001 at 01:13:55PM -0500, Brian S. Julin wrote: > > > I'll take a shot at qualifying what is is that KGI wants: > > Yes, we definitely want page-fault handlers if we can possibly > get them: > > 1) For fossil cards where the aperture is smaller than the VRAM, >with impossi

Re: Newbie: Driver for PLX9050

2001-12-08 Thread Brooks Davis
On Sat, Dec 08, 2001 at 06:21:55PM +1030, David Rowe wrote: > Hello, > > I am new to FreeBSD and am attempting to write a device driver for a > Computer Telephony card, that uses the PLX9050 bridge chip. > > I started with the KLD sample in section 22.1 of the FreeBSD Developers > Handbook. How

Re: Newbie: Driver for PLX9050

2001-12-08 Thread Brooks Davis
On Sun, Dec 09, 2001 at 08:30:34AM +1030, David Rowe wrote: > > > The chip driver is entierly bogus and only claims things that nothing > > else does. This generally means that your probe code isn't working > > correctly because if it were your driver would have claimed this device. > > As I am

Re: Newbie: Driver for PLX9050

2001-12-08 Thread Brooks Davis
On Sun, Dec 09, 2001 at 09:35:58AM +1030, David Rowe wrote: > > No, you can claim PCI devices after boot. It works fine. Stick some > > printfs in your probe code to be sure it's being called correctly and > > what it's being called on. I stand partialy correctly, as Mike points out, you need t

Re: kern/40611 linux compatibility fix

2003-02-28 Thread Brooks Davis
On Fri, Feb 28, 2003 at 11:47:42AM -0800, Luoqi Chen wrote: > > Dear Hackers, > > > > Is there any chance that the patch given in kern/40611 could be > > committed to the 4-STABLE tree? It has the desirable effect of making > > eg. the linux-sun-jdk14 port usable as a non-root user. This would >

review request: making fdisk support hog slices

2003-03-03 Thread Brooks Davis
I've made some trivial changes to fdisk's config file parsing code to allow the user to specify -1 as the length of a slice to force it to run to the end of the disk. This allows you to create a set of fixed sized slices and then one that fills the disk without having to worry about the actual siz

Re: long long sysctl possible?

2003-03-11 Thread Brooks Davis
On Tue, Mar 11, 2003 at 04:25:10PM -0500, Zhihui Zhang wrote: > > I notice that the SYSCTL_INT() only support integer. Is there a support of > things like 64-bit SYSCTL_LONGLONG()? If so, where is the sample code? > Thanks. A quick look at sys/sysctl.h shows that there's a type CTLTYPE_QUAD, but

rc.diskless1/initdiskless change for review

2003-05-27 Thread Brooks Davis
The following patch (against rc.diskless1 on STABLE, but the code is identical in rc.d/initdiskless) simplifies the likely common case for remounts in the /conf hierarchy. It allows you to specify a path (i.e. /etc) in the diskless_remount file rather then having to record the path to the NFS root

doing things around rc.d/diskless

2003-05-27 Thread Brooks Davis
On some diskless 4.x systems, I've got the following patch in place to let me do things before and after rc.diskless2 does it's stuff: Index: rc.diskless2 === RCS file: /usr/cvs/src/etc/Attic/rc.diskless2,v retrieving revision 1.5.2.1

Re: Quota consistency/races

2003-06-04 Thread Brooks Davis
On Tue, Jun 03, 2003 at 07:43:01PM -0700, Sean Hamilton wrote: > What measures are in place to ensure disk quota consistency? For instance, > if a part of the filesystem changes while running quotacheck, I imagine that > does not get accounted for. There are none, don't do that if it matters. In

remote gdb through terminal server?

2003-06-11 Thread Brooks Davis
Does anyone know if it's possiable to run remote GDB through a terminal server? Connections to the terminal server are via SSH to portslave. I've got some boxes I upgraded fom 4.6-STABLE to 4.8-STABLE which now reliably crash under heavy FS load that I'm trying to debug and my easiest acess is via

Re: TODO list?

2003-06-27 Thread Brooks Davis
On Fri, Jun 27, 2003 at 04:10:13PM -0700, Joshua Oreman wrote: > Hi -hackers, > > I currently have a lot of free time and I was wondering whether there was > a TODO list of some sort for bugs that need fixing in FreeBSD. I really > want to help the project, and I think such a list would make it mu

[PATCH] add -n to repquota

2003-07-01 Thread Brooks Davis
Does anyone object to this patch adding a -n option to repquota? A student admin on a RedHat system I help administer was running into problems with their repquota truncating usernames[1] and I realized that repquota really ought to have a -n option since that would be handy for some scripts and w

Re: failed freebsd 5.1 install

2003-07-09 Thread Brooks Davis
On Tue, Jul 08, 2003 at 10:56:52PM -0700, Greg Kutzbach wrote: > Motherboard > Intel® VS440FX Motherboard > http://www.intel.com/support/motherboards/desktop/VS440FX/ > 84MB RAM > IBM 40GP Hard drive > removed all PCI cards except video > Running Matrox MGA 4MB video > Pentium Pro 200 > IDE Generi

Re: Why is ATAPI DMA disabled by default ?

2003-08-14 Thread Brooks Davis
On Thu, Aug 14, 2003 at 01:45:45AM +0300, Alexander Serkov wrote: > I use 5.1-current and have found that by default FreeBSD disables ATAPI's > support for DMA transfers and thus uses CPU hungry PIO modes. > It even makes sysctl used to change this read-only. > I had changed the default value of a

Re: Minimalist FreeBSD 4.8

2003-08-26 Thread Brooks Davis
On Tue, Aug 26, 2003 at 01:28:14PM -0500, Tyler Kellen wrote: > Tim, > > I've been pointed in the direction of the delete-and-reboot method a few > times before. I'd really like some pointers for trimming down quickly > that doesn't involve hours of trial and error. You might take a look at m0n0

Re: 20TB Storage System (fsck????)

2003-09-03 Thread Brooks Davis
[Please, please, please fix your mailer to quote properly. It's very difficult to read your messages.] On Wed, Sep 03, 2003 at 11:08:28AM -0700, Max Clark wrote: > Ohh, that's an interesting snag. I was under the impression that 5.x w/ PAE > could address more than 4GB of Ram. > > - The PAE supp

Re: FW: 20TB Storage System

2003-09-02 Thread Brooks Davis
[This isn't really a performance issue so I trimmed it.] On Tue, Sep 02, 2003 at 12:48:29PM -0700, Max Clark wrote: > I need to attach 20TB of storage to a network (as low cost as possible), I > need to sustain 250Mbit/s or 30MByte/s of sustained IO from the storage to > the disk. > > I have foun

Re: sshd source code

2003-10-16 Thread Brooks Davis
On Thu, Oct 16, 2003 at 07:08:38PM -0400, Adil Katchi wrote: > I'm looking for the sshd source code for freebsd 4.7. Any idea where I can > find it in the CVS tree? src/crypto/openssh/ -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2

Re: 5.x kernel config changes?

2003-10-30 Thread Brooks Davis
On Thu, Oct 30, 2003 at 02:40:53PM -0500, Leo Bicknell wrote: > > 3) There seems to be no more LINT or other listing of all the options. >Why? In particular I needed "options NETATALK" but couldn't remember >the name and there was no file to quickly grep. Has the list of >options be

Re: Linux vs FreeBSD clusters (was: how are the Redhat product changes affecting existing and future plans?)

2003-11-06 Thread Brooks Davis
On Thu, Nov 06, 2003 at 11:04:15PM -0500, Craig Rodrigues wrote: > Not quite the same as an HPC cluster, but take > a look at the University of Utah's Emulab: > > http://www.emulab.net > > It is heavily based on FreeBSD (i.e. makes use of FreeBSD routing, > Dummynet, etc.). The Emulab is a remot

Re: Does anyone know if the Broadcom BCM5700 has problems with HW csum?

2001-12-14 Thread Brooks Davis
On Sat, Dec 15, 2001 at 04:45:58PM +1030, Richard Sharpe wrote: > Hi, > > I am playing with a driver for the Broadcom 5700/5701. > > It recognizes the 5700 in my 3Com cards OK, but seems to screw up the > TCP checksum. > > Switching off hardware checksum capability fixes it. > > Does anyone k

Re: Macronix MX98315

2001-12-27 Thread Brooks Davis
On Thu, Dec 27, 2001 at 12:10:32PM -0700, Chad David wrote: > I got a PCI based 802.11b card that is not recognized by FreeBSD. They > claim the card used to have a MX98713, and that the newer cards have a > MX98315, but I cannot find a thing (even on the Macronix site) about the > MX98315, does

Re: Overriding ARG_MAX

2002-01-04 Thread Brooks Davis
On Fri, Jan 04, 2002 at 09:50:45PM -0500, David Miller wrote: > Apologies if this belongs on -questions. I couldn't find what I needed in > the archives or handbook. It almost certaintly did. > I have a system where I need/want to handle lots of files in a single > directory. Lots as in 100-20

Re: Overriding ARG_MAX

2002-01-04 Thread Brooks Davis
On Fri, Jan 04, 2002 at 07:53:52PM -0800, Terry Lambert wrote: > Brooks Davis wrote: > > > I have a system where I need/want to handle lots of files in a single > > > directory. Lots as in 100-200K files. ls | wc -l breaks because the > > > value of ARG_MAX in sys

Re: Project idea: Put PVM in /usr/bin/make

2002-01-21 Thread Brooks Davis
On Mon, Jan 21, 2002 at 12:32:04PM +0100, Poul-Henning Kamp wrote: > > /usr/bin/make already have hooks for remote execution of jobs when > running parallel. All that is missing before we can do distributed > parallel make worlds is that somebody writes the necessary hooks > based on PVM... > >

Re: Project idea: Put PVM in /usr/bin/make

2002-01-21 Thread Brooks Davis
On Mon, Jan 21, 2002 at 06:01:20PM +0100, Poul-Henning Kamp wrote: > Adding PVM to /usr/bin/make is a simple task, less than 1000 lines of > code. > > What you suggest is not going to happen in any of the next couple of > years unless $BIGCORP pays somebody to do it. I doubt it's nearly as compl

cpu info in userland

2002-01-22 Thread Brooks Davis
I'm working on a port of Globus to FreeBSD and some of the monitoring tools want to publish info about each CPU in the system. On the i386 the most info I need is generally found at the top of dmesg: CPU: Pentium III/Pentium III Xeon/Celeron (996.85-MHz 686-class CPU) Origin = "GenuineIntel"

bge + hardware checksum hangs

2002-01-28 Thread Brooks Davis
It looks like the TCP recieve checksum issues weren't the only ones we had to contend with. I've got a couple of new iXsystems 2650's with 3Com 3C996-T's in them and while running cvsup I get long hangs usually resulting in a lost connection. When the machines recover I see watchdog timeout mess

Re: Berkeley Packet Filter question

2002-03-07 Thread Brooks Davis
On Thu, Mar 07, 2002 at 03:29:44PM -0800, David Boggs wrote: > Attached below is some BPF code. As I read it, bpfattach() is passed > an ifp (struct ifnet *). It mallocs a 'bpf_if' (1) and installs the ifp > in it (2). Then it uses this pointer to ZERO a pointer in the ifp named > if_bpf (3) (p

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-13 Thread Brooks Davis
On Wed, Mar 13, 2002 at 04:25:00PM -0800, Terry Lambert wrote: > This was actually discussed a while back (a month or two ago). > > It got really bogged down when someone pointed out that > they were running CPUs with different clock rates in their > SMP box, just to see what the net effect would

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-15 Thread Brooks Davis
On Fri, Mar 15, 2002 at 10:08:53AM +, Josh Paetzel wrote: > This is a perfect example of, "Just because you can do something, > doesn't mean you should." > > I wouldn't see anything wrong with grabbing the clock frequency of the > first cpu in the system and noting in the man page that if y

problems PXE booting with 3C996B-T

2002-03-18 Thread Brooks Davis
Hi, I'm trying to PXE boot a cluster of machines using 3Com 3C996B-T gigabit Ethernet NICs and appear to be running into driver problems specific to PXE booting. Here's what I know: - The system boots just fine off of an Intel card with PXE support. - The 3Com NIC basicly works (some phy issues

Re: can I do this with a KLD?

2002-03-19 Thread Brooks Davis
On Tue, Mar 19, 2002 at 10:00:00AM +0100, Marco Molteni wrote: > Hi, > > in netinet/in_proto.c there is struct ipprotosw inetsw[], which > contains the entry points for the various Internet protocols. If one > wants to add a new protocol he has to add the entry points in that > array. > > Would

Re: Help with getting load information

2002-03-25 Thread Brooks Davis
On Mon, Mar 25, 2002 at 05:16:26PM -0800, Ron Chen wrote: > Hi all, > > Is there a set of APIs that I can use to get the > system information like the memory size, swap size, # > of CPUs? For some globus GRIS scripts, I'm using the sysctls vm.stats.vm.v_page_size and vm.stats.vm.v_page_count to

Re: vlan traffic over ipsec tunnel

2002-04-20 Thread Brooks Davis
On Fri, Apr 19, 2002 at 01:18:16PM -0700, Julian Elischer wrote: > failing that, I have just had "contributed" > some code that produces an actual "vlan" netgraph node. > You attach it to the ethernet node.. I'm still > reading it to work out what it does.. One thing worth noting. I'm pretty sur

Re: Difference between RELENG_* and RELENG_*_BP

2002-05-02 Thread Brooks Davis
On Thu, May 02, 2002 at 03:15:53PM -0700, Drew Tomlinson wrote: > I'm just trying to understand. :) How is RELENG_X_Y_BP different from > RELENG_X_Y_RELEASE? RELENG_X_Y_BP is the point on RELENG_X where the RELENG_X_Y branch was created. RELENG_X_Y_0_RELEASE is the point on the RELENG_X_Y branc

Re: Difference between RELENG_* and RELENG_*_BP

2002-05-02 Thread Brooks Davis
On Thu, May 02, 2002 at 08:44:02PM -0700, Dave Hayes wrote: > Terry Lambert <[EMAIL PROTECTED]> writes: > > -STABLE is called -STABLE these days, but RELENG_X -STABLE is > > really RELENG_X_Y + changes pending RELENG_X_(Y+1). Way back > > when, I think we had a long knock-down drag-out fight abou

Re: Difference between RELENG_* and RELENG_*_BP

2002-05-02 Thread Brooks Davis
On Thu, May 02, 2002 at 10:03:24PM -0700, Michael Sierchio wrote: > Brooks Davis wrote: > > >>I'm sure you folks hashed this all over before, but really...calling a > >>branch "-stable" when it really isn't is not good semantic practice > >&g

Re: Adding diffs to commit-mail on the fly

2002-05-31 Thread Brooks Davis
On Fri, May 31, 2002 at 09:32:26PM -0500, Brandon D. Valentine wrote: > On Sat, 1 Jun 2002, Giorgos Keramidas wrote: > > >Indeed. Brain cells shutting down already. I shouldn't read procmail > >rules after I get sleepy. The 'f' flag of procmail seems like, aw mee > >gods, so fine ;-))) > > Co

Re: projects?

2002-06-20 Thread Brooks Davis
On Wed, Jun 19, 2002 at 10:09:07PM -0400, David E. Cross wrote: > He is however "quite sick" of networking, and was originally looking at > the VM code as a potential area (he is gaining an interest in > parallelization and synchronization). Something I'd like to see which is unfortunatly networ

Re: projects?

2002-06-21 Thread Brooks Davis
On Fri, Jun 21, 2002 at 08:37:15AM +0200, Mark Santcroos wrote: > On Thu, Jun 20, 2002 at 01:21:30PM -0700, Julian Elischer wrote: > > I've been considereing this as a fun project. The difficult comes at the > > interface/IP boundary.. we'd need am ng_route node to multiplex > > the packets to th

Re: projects?

2002-06-21 Thread Brooks Davis
On Sat, Jun 22, 2002 at 01:03:34AM +0200, Mark Santcroos wrote: > On Fri, Jun 21, 2002 at 11:04:36AM -0700, Brooks Davis wrote: > > For my purposes, it would need to be seperate so you could copy the > > module and hack in a new TCP without changing the existing one. > >

Re: PCI4800

2002-06-25 Thread Brooks Davis
On Tue, Jun 25, 2002 at 11:34:12PM +0600, Dmitry A. Bondareff wrote: >Last 3 days I was trying to connect an Aironet card PCI4800 with Cisco >Aironet series 340. What EXACTLY did you try to do and what didn't work? -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE.

Re: FSCK/current and dump errors

2002-06-29 Thread Brooks Davis
On Sat, Jun 29, 2002 at 01:09:26PM +0200, [EMAIL PROTECTED] wrote: > > Not sure if I should blame current - but see the errors below. I've tried > an fsck and an fsck -f from single user mode on each of the affected disks > (7 disk, mix of ide/scsi give this). > > FSCK comes through clean. Prior

odd idiom in _attach functions

2002-07-24 Thread Brooks Davis
I was poking around in various nic drivers and I noticed that several of them have what seems to be an odd idiom in their generic attach functions. For instance in sys/dev/ed/if_ed.c in ed_attach(), filling in the interface fields and attaching the interface is protected by and "if (!ifp->if_name

Re: Increasing size of if_flags field in the ifnet structure [patch for review]

2002-08-15 Thread Brooks Davis
On Thu, Aug 15, 2002 at 09:43:01PM +0300, Maxim Sobolev wrote: > > When implementing ability to switch interface into promisc mode using > ifconfig(8) I've stumbled into the problem with already exhausted > space in the `short if_flags' field in the ifnet structure. I need to > allocate one new f

Re: bridge(4)

2002-08-27 Thread Brooks Davis
On Tue, Aug 27, 2002 at 06:24:29PM -0400, Mark wrote: > > Greets. I'm using bridge(4) for some slightly unintended purposes, and > need some insight or alternative suggestions. > > I have a FreeBSD 4.6.2 box with six NICs. :) I want to use bridge to > mirror traffic from xl1 to xl2 and xl3 (a

Re: bridge(4)

2002-08-27 Thread Brooks Davis
On Tue, Aug 27, 2002 at 11:10:07PM -0400, [EMAIL PROTECTED] wrote: > > Is NG_ONE2MANY_XMIT_ALL an algorithm available in FreeBSD 5.0? It doesn't > seem to be around in 4.6.2? Oops, it's only in current at this point. I'd expect it's trivial to backport. -- Brooks -- Any statement of the for

Re: bridge(4)

2002-08-27 Thread Brooks Davis
On Tue, Aug 27, 2002 at 11:54:30PM -0400, [EMAIL PROTECTED] wrote: > > I'm actually going to throw up a 5.0-current box and start > playing. By the time done what I need, there'll probably be a release of > it. :) > > It looks like a more than trivial backport, at least for my ability and > g

Re: AP #1 (PHY# 6) failed!

2002-09-12 Thread Brooks Davis
On Thu, Sep 12, 2002 at 12:54:11PM -0700, Doug White wrote: > On Thu, 12 Sep 2002, Danny Braniss wrote: > > > SE7500CW2, this motherboard arrived yesterday, so im not sure if its hardware > > or software so while i go and do the regular rounds -rtfm, install MS, etc, > > maybe someone can shed so

Re: Hey, is there space for a newbie? =)

2002-09-24 Thread Brooks Davis
On Tue, Sep 24, 2002 at 07:56:43PM +0200, Paolo Pisati wrote: > > Here there's a mini list of things i would like to work on, tell me > which one is available and fell free to add any other project you > think could help the FreeBSD community in general. > -a fs with journaling: some times ago

Re: Spark 5.

2002-09-25 Thread Brooks Davis
On Thu, Sep 26, 2002 at 12:09:47AM +0100, Josef Karthauser wrote: > Do we run on Spark 5? Someone's selling one and a monitor for 300 UK > pounds. Is it worth getting hold of? A Sparc 5 is a 32-bit machine (approximatly equivalent to a 90Mhz Pentium) so no. If you ment's an Ultra5, that's a PC

Re: proper printf fmt type for off_t?

2002-09-30 Thread Brooks Davis
On Mon, Sep 30, 2002 at 06:36:39PM -0700, Nate Lawson wrote: > What's the portable way of printing an off_t? It should work on Linux and > FreeBSD. Linux seems to recommend casting the off_t to intmax_t which > isn't present in FreeBSD. This is in usermode. In current, intmax_t is defined in s

Re: adding a delay before background fsck

2002-10-20 Thread Brooks Davis
On Sat, Oct 19, 2002 at 11:41:52PM -0700, Terry Lambert wrote: > Brooks Davis wrote: > > Please comment on the following patch to add a delay before starting > > background fsck. The issues this addresses is that it takes a long time > > to start X or other large apps

Re: malloc

2002-10-22 Thread Brooks Davis
On Tue, Oct 22, 2002 at 01:20:42AM -0700, Terry Lambert wrote: > The FreeBSD malloc would be lower performance than the Linux malloc, > if you allocate space in teeny, tiny chunks; it has much higher > performance for large allocations. Good programmers allocate their > resources up front, once, i

Re: malloc

2002-10-22 Thread Brooks Davis
On Tue, Oct 22, 2002 at 01:52:34PM -0500, Stephen Montgomery-Smith wrote: > Brooks Davis wrote: > > > The user may also see a performance gain on Linux if they use a less > > stupid allocation scheme. I ran into some code once that read strings > > one character at a t

[brooks@one-eyed-alien.net: [PATCH] switching to if_xname]

2002-11-01 Thread Brooks Davis
hat issue. I'd like to commit this prior to 5.0-R pending RE approval (post DP2 would be fine if that would help get it out the door). Thanks, Brooks - Forwarded message from Brooks Davis <[EMAIL PROTECTED]> - From: Brooks Davis <[EMAIL PROTECTED]> Date: Wed, 23 Oc

Re: [PATCH] switching to if_xname

2002-11-01 Thread Brooks Davis
On Fri, Nov 01, 2002 at 12:07:05PM -0800, Nate Lawson wrote: > Couple comments. > > * You interchangeably use strlcpy and snprintf(... "%s", ...) and even > strncpy/strcpy(!). You probably want to go with just strlcpy. I forgot to sweep for those again. I'll do another pass shortly. > * There

Re: [PATCH] switching to if_xname

2002-11-01 Thread Brooks Davis
On Fri, Nov 01, 2002 at 01:15:45PM -0800, Nate Lawson wrote: > On Fri, 1 Nov 2002, Brooks Davis wrote: > > The bigger deal is breaking > > the network interface API and ABI which in turn breaks a few user land > > programs that use libkvm ("netstat -r" for exmaple

Re: auto-definition of a single network interface

2002-11-19 Thread Brooks Davis
On Tue, Nov 19, 2002 at 12:27:33AM -0800, Terry Lambert wrote: > Doug Barton wrote: > > Pardon me if I'm being dense, but I don't understand what your proposal > > does that the existing interface config tools do not. Can you give a > > description (not code) of what you're trying to accomplish? >

Re: [brooks@one-eyed-alien.net: [PATCH] switching to if_xname]

2002-11-19 Thread Brooks Davis
On Fri, Nov 01, 2002 at 10:54:23AM -0800, Brooks Davis wrote: > I'm trying to get some review for the following patch. I realize it's > quite large, but most it is is trivial. The ipfw code is the only thing > that worries me significantly. I have promised Kris that I wi

Re: auto-definition of a single network interface

2002-11-19 Thread Brooks Davis
On Tue, Nov 19, 2002 at 11:24:10AM -0800, Rich Morin wrote: > At 10:37 AM -0800 11/19/02, Brooks Davis wrote: > >Once the if_xname patch is in, it will be exceedingly simple to add some > >code to ether_ifattach to do that if you really want. > > Well, _I_ really want F

Re: [brooks@one-eyed-alien.net: [PATCH] switching to if_xname]

2002-11-19 Thread Brooks Davis
On Tue, Nov 19, 2002 at 01:06:28PM -0800, Julian Elischer wrote: > why is this ent to hackers? it's a -current patch.. > should it not be sent to -current or -net? I initialy asked for review on -net, but didn't get any response. I sort of randomly chose as the place to try for wider review. IMO

Re: [brooks@one-eyed-alien.net: [PATCH] switching to if_xname]

2002-11-23 Thread Brooks Davis
On Tue, Nov 19, 2002 at 02:15:34PM -0800, Nate Lawson wrote: > On Tue, 19 Nov 2002, Brooks Davis wrote: > > On Fri, Nov 01, 2002 at 10:54:23AM -0800, Brooks Davis wrote: > > > I'm trying to get some review for the following patch. I realize it's > > > quite l

<    1   2   3   4   >