Re: BSD tar broken file name parsing

2006-07-08 Thread Brooks Davis
On Sat, Jul 08, 2006 at 01:26:21AM +0100, Steven Hartland wrote: Just had a really strange one, on a fresh 6.1 install tar will not extract named files e.g. tar -xvzPf my.tar.gz /usr/local/etc/apache/httpd.conf The above fails to extract the file which quite clearly exists: tar -tvzPf

Re: disklabel differences FreeBSD, DragonFly

2006-07-27 Thread Brooks Davis
On Thu, Jul 27, 2006 at 09:49:48AM -0400, Steve Ames wrote: On Thu, Jul 27, 2006 at 02:21:59PM +0200, Joerg Sonnenberger wrote: On Thu, Jul 27, 2006 at 08:39:37AM +0200, Andreas Klemm wrote: Later I wanted to mount the dfly filesystems on FreeBSD 6.1, of course still my main Unix ;-) But

Re: SoC: help with LISTs and killing procs

2006-08-10 Thread Brooks Davis
On Thu, Aug 10, 2006 at 05:16:17PM +0200, Divacky Roman wrote: hi I am doing this: (pseudocode) LIST_FOREACH_SAFE(em, td_em-shared-threads, threads, tmp_em) { kill(em, SIGKILL); } kill(SIGKILL) calls exit() which calls my exit_hook() my exit_hook() does LIST_REMOVE(em,

Re: SoC: help with LISTs and killing procs

2006-08-10 Thread Brooks Davis
On Thu, Aug 10, 2006 at 05:35:43PM +0200, Divacky Roman wrote: On Thu, Aug 10, 2006 at 10:23:59AM -0500, Brooks Davis wrote: On Thu, Aug 10, 2006 at 05:16:17PM +0200, Divacky Roman wrote: hi I am doing this: (pseudocode) LIST_FOREACH_SAFE(em, td_em-shared-threads, threads

Re: SoC: help with LISTs and killing procs

2006-08-10 Thread Brooks Davis
On Thu, Aug 10, 2006 at 06:17:05PM +0200, Divacky Roman wrote: On Thu, Aug 10, 2006 at 10:43:05AM -0500, Brooks Davis wrote: On Thu, Aug 10, 2006 at 05:35:43PM +0200, Divacky Roman wrote: On Thu, Aug 10, 2006 at 10:23:59AM -0500, Brooks Davis wrote: On Thu, Aug 10, 2006 at 05:16:17PM

Re: The optimization of malloc(3): FreeBSD vs GNU libc

2006-08-14 Thread Brooks Davis
On Tue, Aug 15, 2006 at 07:10:47AM +0800, Intron wrote: One day, a friend told me that his program was 3 times slower under FreeBSD 6.1 than under GNU/Linux (from Redhat 7.2 to Fedora Core 5). I was astonished by the real repeatable performance difference on AMD Athlon XP 2500+ (1.8GHz, 512KB

Re: openvpn removing default route

2006-08-31 Thread Brooks Davis
On Thu, Aug 31, 2006 at 04:05:48PM -0400, Mike Meyer wrote: I recently upgraded a system from 5.5/i386 to 6.1/amd64. I'm running the same version of openvpn with the exact same config (bridged via tap) - except now, for some reason, when the vpn shuts down, the default route is removed as

Re: Compile Issue: cannot find -ldl

2006-10-31 Thread Brooks Davis
On Tue, Oct 31, 2006 at 02:07:05PM -0600, Shane wrote: Hi... What I'm on: FreeBSD/i386 version 6.1 What I'm doing: Trying to get PHP to compile against a Linux binary install of the Informix Client SDK, and I've been running into an issue I cannot correct. Compile Error: ...

Re: Java

2006-11-02 Thread Brooks Davis
On Thu, Nov 02, 2006 at 02:37:31PM -0700, [EMAIL PROTECTED] wrote: I need a jre to run a java app. The jre in the ports collection in the java directory is broken, I also tried grabbing it manually and it's still broken. I tried diablo, and that was a dead end too. Can I run java apps on

Re: sockstat tcp/udp switches

2006-11-02 Thread Brooks Davis
On Fri, Nov 03, 2006 at 04:46:21AM +0200, Giorgos Keramidas wrote: On 2006-11-02 18:34, Josh Carroll [EMAIL PROTECTED] wrote: Can we have something that doesn't need one option letter for each protocol, protocol family or socket type, please? :) I'd be willing to modify it to take a -P

Re: sockstat tcp/udp switches

2006-11-07 Thread Brooks Davis
On Mon, Nov 06, 2006 at 03:17:17PM -0800, Josh Carroll wrote: I suggest you use /etc/protocols rather than hard code the protocols. This will make the code future-proof. See getprotoent(3) for the correct way to read /etc/protocols. Thanks Peter, that's a great idea. Below is a new patch

Re: LDAP integration

2007-01-10 Thread Brooks Davis
On Wed, Jan 10, 2007 at 04:54:59PM -0600, Vulpes Velox wrote: On Wed, 10 Jan 2007 14:14:17 -0800 Doug Barton [EMAIL PROTECTED] wrote: Vulpes Velox wrote: There will be no massive patch for it, given it involves little more than the inclusion of a single rc.d file and a bit of

Re: diskless boot /usr/local/etc/rc.d/ scripts do not run, why?

2007-02-01 Thread Brooks Davis
On Thu, Feb 01, 2007 at 11:23:23AM +0900, Artem Kazakov wrote: Hello everyone, I'm using 6-stable on 4 amd64 machines. One of them has FreeBSD on its local hard drive and others are booted via network with PXE. But I encounter that /usr/local/etc/rc.d/* are not executed during the boot

Re: A few questions...

2007-07-24 Thread Brooks Davis
On Tue, Jul 24, 2007 at 12:37:53AM -0500, Ben Kaduk wrote: On 7/23/07, Darren Pilgrim [EMAIL PROTECTED] wrote: Daniel Molina Wegener wrote: Hello, I need information about few things, I hope someone can help me and thanks in advance. a) Is there any function or variable

Re: packages, libfetch, and SSL

2007-10-22 Thread Brooks Davis
On Sun, Oct 21, 2007 at 08:28:19PM -0700, David E. Thiel wrote: On Mon, Oct 22, 2007 at 10:07:33AM +0800, Adrian Chadd wrote: You can't (easily) cache data over SSL. Well, you can't use a HTTP proxy that doesn't break the SSL conversation and cache the updates. As someone who

Re: A file with holes - a bug?

1999-11-22 Thread Brooks Davis
On Mon, Nov 22, 1999 at 01:48:38PM -0500, Zhihui Zhang wrote: By the way, I also find out if you copy a file with holes into another file, the holes in the first file will be replaced with 0s in the second file, taking more disk space (check with du). Is there a better solution for this?

Re: CD-RW long filenames/rw filesystem.

1999-12-30 Thread Brooks Davis
[Redirected to -questions where it belonged.] On Thu, Dec 30, 1999 at 02:19:58PM -0500, Kenny Drobnack wrote: A couple weeks ago I got a CD-RW drive, and decided to try it out under all the different OS's I use. In FreeBSD, the only way (it seems) to use it, is grab a bunch of stuff you want

Re: FreBSD 3.3, power off and power button stuff

2000-01-21 Thread Brooks Davis
On Fri, Jan 21, 2000 at 03:43:16PM -0800, Ralph Seguin wrote: I'm having some difficulty getting APM and power control working in FreeBSD 3.3 I've built a kernel with APM enabled in the config file and enabled it in rc.conf, however apmd says it's starting up, but ps never shows it running.

Re: Filesystem size limit?

2000-02-15 Thread Brooks Davis
On Tue, Feb 15, 2000 at 11:24:30AM -0800, John Milford wrote: Is there any real interest in moving beyond 1TB? I think that it would incur a non-trival overhead as I believe that unsigned ints would not work and we would be looking at going to 64 bit values. Or I guess something

Re: Filesystem size limit?

2000-02-15 Thread Brooks Davis
On Tue, Feb 15, 2000 at 06:27:03PM -0800, John Milford wrote: Brooks Davis [EMAIL PROTECTED] wrote: On Tue, Feb 15, 2000 at 11:24:30AM -0800, John Milford wrote: Is there any real interest in moving beyond 1TB? I think that it would incur a non-trival overhead as I believe

mprotect(2) won't make shared memory read-only

2000-02-28 Thread Brooks Davis
On a -current system as of a week or two ago (as well as a 3.3-RC and a 2.2.8-STABLE box) I've found that mprotect fails with with EACCES when trying to make a shared memory segment that was created user read/write read-only. It works find if I malloc the memory instead and making the shm

Re: mprotect(2) won't make shared memory read-only

2000-02-28 Thread Brooks Davis
On Mon, Feb 28, 2000 at 01:36:08PM -0800, Alfred Perlstein wrote: * Brooks Davis [EMAIL PROTECTED] [000228 13:23] wrote: On a -current system as of a week or two ago (as well as a 3.3-RC and a 2.2.8-STABLE box) I've found that mprotect fails with with EACCES when trying to make a shared

Re: mprotect(2) won't make shared memory read-only

2000-02-28 Thread Brooks Davis
On Mon, Feb 28, 2000 at 12:50:13PM -0800, Brooks Davis wrote: On a -current system as of a week or two ago (as well as a 3.3-RC and a 2.2.8-STABLE box) I've found that mprotect fails with with EACCES when trying to make a shared memory segment that was created user read/write read-only

Re: Sysinstall 'A'uto partitioning

2000-03-07 Thread Brooks Davis
On Wed, Mar 08, 2000 at 04:06:24AM +0100, Oliver Fromme wrote: Luke Hollins [EMAIL PROTECTED] wrote in list.freebsd-hackers: I was using sysinstall the other day and hit Auto defaults just to see what it suggested, and got this on a 20GB disk: wd0s1a/ 50MB UFS Y

Re: Keeping using locally modified source

2000-03-02 Thread Brooks Davis
On Thu, Mar 02, 2000 at 07:59:39PM -0500, James Howard wrote: At a site I am working at, we need to be able to limit which users can bind a socket to an address under IPv4. Basically, bind() needs to check the caller's groups and if you are one of several allowable groups, let it pass,

Re: Copy-on-write filesystem

2000-03-03 Thread Brooks Davis
On Fri, Mar 03, 2000 at 01:39:54PM -0800, Julian Elischer wrote: David Scheidt wrote: On Fri, 3 Mar 2000, Michael Bacarella wrote: Upon reading of Microsoft's fabulous innovations in the filesystem arena, I started playing with some ideas of my own (not to be confused with

Re: Why StarOffice continuously restarted setup - the answer

2000-03-16 Thread Brooks Davis
[This is -questions material, not -hackers, redirecting] On Thu, Mar 16, 2000 at 08:24:51PM -0500, Sergey Babkin wrote: A while ago I tried to install StarOffice and had a problem that every time I tried to start it it went into setup again and again. I've asked about this in -hackers and

Re: WaveLAN/IEEE Turbo (Silver)

2000-03-20 Thread Brooks Davis
On Mon, Mar 20, 2000 at 06:32:49PM -0800, Bill Fenner wrote: The FreeBSD driver doesn't currently support encryption, correct. The Linux driver does, so perhaps it would be fairly easy to port the functionality, and the Linux driver is dual-licensed under GPL and BSD licenses so there's no

Re: NCR/FXP and coredumps

2000-03-22 Thread Brooks Davis
On Wed, Mar 22, 2000 at 10:50:47PM -0500, David Miller wrote: Two item: 1) I managed to crash an intel N440BX mobo with an fxp card and the onboard ncr drivers. Lots of network traffic (ping floods) and disk IO (rawio in parallel on two disks) took it down in something like two hours. I

Re: Shim Code #error needed

2000-03-25 Thread Brooks Davis
On Sat, Mar 25, 2000 at 01:43:12PM -0700, Warner Losh wrote: I've been burned about 6 times now by the shim device support becoming optional. Oh well, that's current. However, I was thinking that it would be nice if there was something simple to grep for to see what drivers still needed

Re: Shim Code #error needed

2000-03-25 Thread Brooks Davis
On Sat, Mar 25, 2000 at 05:04:11PM -0700, Warner Losh wrote: In message [EMAIL PROTECTED] Brooks Davis writes: : I like it. The new entry in UPDATING should help, but it's easy to : forget and the current errors aren't very obvious. Well, I *WROTE* the entry in UPDATING (or at least

Re: Onboard Intel Networking - i82559

2000-03-26 Thread Brooks Davis
On Sun, Mar 26, 2000 at 11:04:35PM -0500, John Von Essen wrote: What is the status of support for onboard Intel networking? Intel EtherExpress PRO/100 PCI Cards work fine with the fxp0 driver, but I am have having alot of problems with the onboard intel networking. For example, SuperMicro

Re: bad memory patch?

2000-04-06 Thread Brooks Davis
On Thu, Apr 06, 2000 at 04:41:15PM +0100, J McKitrick wrote: I saw this link recently... http://home.zonnet.nl/vanrein/badram/ Apparently, you make a floppy with the supplied image, boot with it to find the bad RAM addresses, and then those addresses are passed on as a kernel parameter

Re: bad memory patch?

2000-04-07 Thread Brooks Davis
On Fri, Apr 07, 2000 at 04:04:23PM -0600, Warner Losh wrote: In message [EMAIL PROTECTED] [EMAIL PROTECTED] writes: : Maybe I'm mis-understanding something, but isn't this situation : analagous to bad sectors on a hard drive? Isn't this similar, at : least in theory, to remapping dead

Re: mntent.h - what is it?

2000-04-10 Thread Brooks Davis
On Sun, Apr 09, 2000 at 06:30:55PM +0200, Christoph Kukulies wrote: I'm trying to port quicktime for Linux to FreeBSD (xmovie). I'm stumbling across the following code fragment: #include mntent.h! #include sys/stat.h #include stdlib.h [snip] is mntent a linux speciality? You

Re: mntent.h - what is it?

2000-04-10 Thread Brooks Davis
On Mon, Apr 10, 2000 at 02:23:21PM -0600, Wes Peters wrote: This is a SysV-ish way to get info about mounted filesystems, so the glibc manpage is completely stoned (imagine that). I know this existed in SVR2, at least. I did some more investigating. A similarly named, but almost entierly

Re: floating point exceptions

2000-04-25 Thread Brooks Davis
On Mon, Apr 24, 2000 at 11:44:59PM -0700, Nate Lawson wrote: I am running FreeBSD 4.0-RELEASE on x86 with gcc 2.95.2 and the httperf-0.6 port gives a SIGFPE and dumps core when run against a system that has no web server running. (The default behavior is to measure localhost when no

Re: GPS heads up

2000-05-03 Thread Brooks Davis
On Wed, May 03, 2000 at 01:57:08PM -0600, Nate Williams wrote: My former employer (SRI) has done lots of research, and have gotten a receiver good to 1cm, but it takes about 24 hours for it to 'synchronize' to that accuracy. With dual receivers, you can get 2-3 mm accuracy by comparing the

Re: GPS heads up

2000-05-03 Thread Brooks Davis
[Redirected to -chat where it belongs.] On Wed, May 03, 2000 at 10:25:55PM +0200, Alexander Langer wrote: Thus spake David Holloway ([EMAIL PROTECTED]): You are associating one persons accuracy numbers with someone elses experiments. Ah. So what are the prof's accuracy numbers? I

Proposed fix for DHCP and hostname

2000-05-10 Thread Brooks Davis
Hi, There's a long standing issue where you can either have a hardwired hostname and have it all the time or you can get your hostname from DHCP and not have one unless you set it manualy while not networked. I have hacked up a solution which I think avoids POLA violations. My only concern

Re: Bad Block scan

2000-05-16 Thread Brooks Davis
On Tue, May 16, 2000 at 04:59:11PM -0600, Nick Rogness wrote: I thought FreeBSD had an option on install to run a bad block scan on a drive? Just installed (4.0-RELEASE) and noticed it wasn't there. Any specific reason...or maybe a reference page that explains. Thanks in advance. Bad

Re: hardware memory question

2000-05-20 Thread Brooks Davis
On Sat, May 20, 2000 at 04:41:56AM -0400, Mike Nowlin wrote: This isn't really FBSD-related, but this seems like a good place to ask... I have a Linux dual P-II 333 that had the following memory config: bank 1 - 32M DIMM/100 bank 2 - 64M DIMM/100 bank 3 - 64M DIMM/100 Over the

Re: PCI changes break HP Docking Station

2001-01-26 Thread Brooks Davis
On Sat, Jan 27, 2001 at 07:21:05AM +0900, Takanori Watanabe wrote: Would you send me raw memory block,by executing acpidump -o omnibook.dsdt? Device docking can be handled by ACPI. It's now online at: http://www.one-eyed-alien.net/~brooks/FreeBSD/dock/omnibook.dsdt I'd be happy to test any

Re: Kernel Hacking (i tried not to make it lame)

2001-01-29 Thread Brooks Davis
On Fri, Jan 26, 2001 at 08:35:54AM -0700, Wes Peters wrote: Several others have made good replies to this, but here's another thought: The best way to learn something is to have a goal in mind. If you understand C pretty well, pick a PR out of the problem report database and start working on

Re: Cyclades Z under FreeBSD 4.2

2001-02-08 Thread Brooks Davis
On Thu, Feb 08, 2001 at 02:07:32PM -0800, Greg Wohletz wrote: What is the status of the Cyclades Z driver under 4.2. The cyclades site only has drivers for 3.2, NetBSD has a driver for NetBSD 1.5. I can't find any reference to a driver for freebsd 4.2. If you know of any please tell me.

Re: Handspring.

2001-02-09 Thread Brooks Davis
On Fri, Feb 09, 2001 at 07:51:00PM -0500, Paul Halliday wrote: What are the chances of porting to this baby? None what so ever. The processor on the Handsping (and all other current PalmOS based devices) doesn't have an MMU and most UNIX-like OSes assume you have one. There is a Linux

Re: pthread_exit proto

2001-03-04 Thread Brooks Davis
On Sun, Mar 04, 2001 at 11:58:11AM -0800, Alfred Perlstein wrote: using send-pr: http://www.freebsd.org/support.html#gnats Is '__dead2' a GNU C thing? or is in any sort of standard? Generally there's some resistance to putting GNU C specific code into the base system, is there a

Re: PCMCIA Network Adapter problems

2001-03-06 Thread Brooks Davis
[Please don't send HTML e-mail. Also, don't send questions like this to -hackers.] On Tue, Mar 06, 2001 at 02:55:53PM -0800, Louis Thompson wrote: I just started using Free-BSD, and am having some problems making it see my network adapter on my laptop. It sees the controller fine,

Re: technical docs

2001-03-25 Thread Brooks Davis
On Sun, Mar 25, 2001 at 11:48:46PM -0500, Arthur Munn wrote: hello, i was wondering if anyone knew where i could find some good documentation of freebsd internels, i am trying to get The Design and Implimentation of the 4.4BSD Operating System but for right now i am looking for some freely

Re: Orinoco MiniPCI

2001-04-23 Thread Brooks Davis
On Mon, Apr 23, 2001 at 08:07:43PM -0400, Brandon Fosdick wrote: A search of the archives revealed that PCI adapters for orinoco cards don't work yet. So I guess there's no hope of getting the MiniPCI card working either? Actually, that should be a different problem. The Orinoco PCI adaptors

Re: how to use netgraph?

2001-05-03 Thread Brooks Davis
On Thu, May 03, 2001 at 10:20:45AM +0200, Gunnar Olsson wrote: I have a process in user space, that wants to send a packet direct on the ethernet, not encapsulate the packet in IP. When I read about netgraph, it looks like it possible to do, or? When I hook to a upper or a lower hook, does

Re: How to disable software TCP checksumming?

2001-05-30 Thread Brooks Davis
On Tue, May 29, 2001 at 11:52:15PM -0500, Bob Willcox wrote: This is probably all well and good, but our adapter is a 10 Gb/s link and includes hardware CRC (actually two forms of this, LCRC on a per micropacket [32 byte] basis and ECRC over the entire message). Right now our goal is to see

Re: How to disable software TCP checksumming?

2001-05-30 Thread Brooks Davis
On Wed, May 30, 2001 at 10:04:08PM -0400, Louis A. Mamakos wrote: The TCP checksum protects more than just the contents of the packet on the wire; it's also a (somewhat) weak check on the contents of your packet sitting in memory, and as it's going over the bus in your computer between memory

Re: Does Oracle work OK under Linux comp. mode?

2001-06-05 Thread Brooks Davis
On Tue, Jun 05, 2001 at 04:15:02PM -0700, Rich Morin wrote: A friend of mine is becoming increasingly dissatisfied with Linux. He says, however, that he can only get a Linux port of Oracle and he is worried that it will not run properly under FreeBSD's Linux compatibility mode. Can anyone

cloning network interfaces

2001-06-06 Thread Brooks Davis
I'm working on a project that will be using a whole lot of gif(4) devices. Since I'd written an almost-clone patch for snp and gif's current lack of cloning annoyed me, I figured I'd take a look at writing a patch for it. Unfortunately, it appears to be rather more complicated then I had hoped.

Re: cloning network interfaces

2001-06-07 Thread Brooks Davis
On Thu, Jun 07, 2001 at 12:19:53PM +0100, Brian Somers wrote: The quick and dirty way: Make a clone handler despite the fact that there is no /dev entry needed. You don't actually have to create a dev entry in the clone handler, you could just create the gif_interface.

Re: sysKonnect dual gig adapter

2001-06-08 Thread Brooks Davis
On Fri, Jun 08, 2001 at 01:18:44PM -0400, [EMAIL PROTECTED] wrote: Looking at the description of the sysKonnect dual adapter, its not clear if this is a real 2 port nic or that the second port is only a failover port. I have 2 questions for anyone who has one: 1) Can this be used as a 2

Re: cloning network interfaces

2001-06-08 Thread Brooks Davis
Following Brian's suggestion, I've modified gif to create a /dev/if_gif device with is controlled by the IOCIFMANAGE ioctl which allows creation and deletion of specific devices and creation of wildcard devices. I've hacked ifconfig to support this in a general manner. If you know which one you

Re: cloning network interfaces

2001-06-09 Thread Brooks Davis
On Sat, Jun 09, 2001 at 09:24:22PM +0100, Brian Somers wrote: I think it'd be better to use the solaris ``plumb'' keyword. I can't recall how it works (something like ``ifconfig gif0 plumb'' - I haven't got a Solaris machine handy here), but it seemed cleaner, making it more obvious

Re: cloning network interfaces

2001-06-09 Thread Brooks Davis
On Sat, Jun 09, 2001 at 07:02:14PM -0700, Brooks Davis wrote: On Sat, Jun 09, 2001 at 09:24:22PM +0100, Brian Somers wrote: I think it'd be better to use the solaris ``plumb'' keyword. I can't recall how it works (something like ``ifconfig gif0 plumb'' - I haven't got a Solaris machine

Re: cloning network interfaces

2001-06-10 Thread Brooks Davis
On Sun, Jun 10, 2001 at 11:29:07PM +0900, Hajimu UMEMOTO wrote: I think it is not BSD network way. Recent NetBSD has network interface cloning. It uses SIOCIFCREATE and SIOCIFDESTROY. It may good to port it to FreeBSD. I'll take a look at it. I'm not convinced the /dev/if_gif way is

Re: cloning network interfaces

2001-06-11 Thread Brooks Davis
On Mon, Jun 11, 2001 at 08:27:37AM -0700, Peter Wemm wrote: Personally, I'd prefer create/destroy instead of plumb/unplumb. The Solaris plumb command is for doing 'STREAMS plumbing' - ie: connecting all the streams pipes and modules together. Creating/deleting interfaces on BSD systems IMHO

Re: cloning network interfaces

2001-06-11 Thread Brooks Davis
On Mon, Jun 11, 2001 at 02:40:54PM -0400, Robert Watson wrote: An advantage to also supporting the ioctl interface is that it permits interface cloning to be used on systems where devfs is not used, or where there are parts of the system where devfs is unavailable (i.e., various forms of

Re: cloning network interfaces

2001-06-11 Thread Brooks Davis
On Sun, Jun 10, 2001 at 11:29:07PM +0900, Hajimu UMEMOTO wrote: I think it is not BSD network way. Recent NetBSD has network interface cloning. It uses SIOCIFCREATE and SIOCIFDESTROY. It may good to port it to FreeBSD. I've looked it over and I generally like it. There is one problem

Re: multiple pccard_ifconfig statements in one rc.conf ? Problems.

2001-06-21 Thread Brooks Davis
On Thu, Jun 21, 2001 at 05:24:29PM -, list tracker wrote: So what you are saying is that there _is not_ any way to perform multiple pccard_ifconfig statements solely in /etc/rc.conf ? There's a method in -current, I'm not sure why it hasn't been MFC'd. I'll put it on my todo list of no

Re: cloning network interfaces

2001-06-22 Thread Brooks Davis
On Wed, Jun 13, 2001 at 04:07:16AM +0900, Hajimu UMEMOTO wrote: I like your idea. I'm serving tunnel broker using DTCP (Dynamic Tunnel Configuration Protocol) in our ISP. So, I'm grad if we have dynamic gif creation, too. Ok, after a week and a half of doing other things, I've got a patch

Re: cloning network interfaces

2001-06-25 Thread Brooks Davis
On Mon, Jun 25, 2001 at 01:31:06AM +0900, Hajimu UMEMOTO wrote: It seems fine to me. I just tried it on my box. You forget to include prototype change of in_gif_input() in sys/net/if_gif.h. It's defined in sys/netinet/in_gif.h and I forgot to include it in my diff. Sorry about that. BTW,

rman wildcard question

2001-06-26 Thread Brooks Davis
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 interfere

Re: rman wildcard question

2001-06-27 Thread Brooks Davis
On Wed, Jun 27, 2001 at 01:15:58PM -0400, Brian Somers wrote: Bear in mind though, starting with 0x7fff as an interface unit number will look pretty ugly when you ifconfig -a The other idea I had as to define some sort of first wildcard unit value to pass instead of 0 as the start of the

Re: ACPI project progress report

2000-06-19 Thread Brooks Davis
On Tue, Jun 20, 2000 at 10:16:08AM +1000, Andrew Reilly wrote: (*) Speaking of which: why are we considering doing process dumps into a _different_ swap-ish partition, instead of just ensuring that all processes are sleeping in the normal swap partition? If that was done, then they would

Re: ACPI project progress report

2000-06-19 Thread Brooks Davis
On Tue, Jun 20, 2000 at 10:49:24AM +1000, Andrew Reilly wrote: The issue isn't with the size of the disk storage required, but with the mechanism. Why dedicate 256M to a suspend partition, and invent a new process saving mechanism, instead of making your existing swap partition 256M larger

Re: PATCH src/etc/root : more-less

2000-07-11 Thread Brooks Davis
On Tue, Jul 11, 2000 at 03:13:06PM -0400, Robert Watson wrote: How about we don't :-). Let's just use whatever "more" is as the pager, the way it has always been. In new releases, more is less (or less is more, or something), so there shouldn't be a problem, right? Also more as a symlink

Re: Why isn't localhost used by talk?

2000-07-13 Thread Brooks Davis
On Wed, Jul 12, 2000 at 11:01:59PM -0400, Joseph Jacobson wrote: Local to local talk doesn't work if the hostname for the box doesn't match any an ip on any interface. Although this sounds wierd, consider a non-dedicated ppp link. Although you can get around this problem with 'talk

Re: weird rpc.statd memory behavior

2000-10-06 Thread Brooks Davis
On Fri, Oct 06, 2000 at 03:43:59PM +0300, Peter Pentchev wrote: On a RELENG_4 machine with the world rebuilt on Sep 27, 'top' gave me the following output after sorting by the 'SIZE' field.. last pid: 424; load averages: 0.17, 0.15, 0.10up 0+00:29:43 15:39:23 46 processes: 1

Re: netgraph help(?)

2000-10-08 Thread Brooks Davis
On Mon, Oct 09, 2000 at 11:59:44AM +1100, Tony Landells wrote: I'm trying to set up a multi-ethernet connection between two FreeBSD boxes so I can evaluate the performance of some of the network things (like IPSec) without bandwidth being an issue: No matter what you do that's going to add

Re: WEP keys for an driver

2000-10-09 Thread Brooks Davis
On Mon, Oct 09, 2000 at 11:42:32AM -0700, Dave Cornejo wrote: Some comments on your code: - WEP keysare variable length from 5-13 bytes, you should just check for =5 =13 (it seems odd, but I have seen networks that use the odd sizes). Since all the windows drivers I've looked at only allow

Re: cvs commit: src/lib/libc/sys mmap.2

2000-12-04 Thread Brooks Davis
On Sun, Dec 03, 2000 at 12:17:36PM -0800, Matt Dillon wrote: dillon 2000/12/03 12:17:36 PST Modified files: lib/libc/sys mmap.2 Log: Add warning on file-fragmentation issues related to MAP_NOSYNC I've got a (hopefully) quick question about this warning. If I'm

Re: keeping lots of systems all the same...

2000-12-21 Thread Brooks Davis
On Thu, Dec 21, 2000 at 01:45:29AM -0700, Wes Peters wrote: Figure 32MB RAM for FreeBSD X, 64MB for Netscape, and 64MB for StarOffice. If you want to run both Netscape and StarOffice at the same time, 128MB isn't enough. Sigh. Definatly true. :-( If your users have a "usual" work

Re: Setting default hostname to localhost

2001-01-11 Thread Brooks Davis
On Wed, Jan 10, 2001 at 09:35:38PM -0500, Donald J . Maddox wrote: On Wed, Jan 10, 2001 at 09:23:13PM -0500, Robert Watson wrote: /etc/default/rc.conf to change the default hostname to "localhost". If the user configures a hostname, or DHCP provides one, it will be overridden, of course,

Re: wicontrol: password - hex digits

2001-01-12 Thread Brooks Davis
On Fri, Jan 12, 2001 at 12:54:46PM -0500, Brian Reichert wrote: I'm trying to debug my interactions with a WAP. Could someone quickly explain the algorithm in wicontrol for converting a text key to a hex key, and vice-versa? Yes, I could go scrounge though the source, but I have my hands

ioctl question

2001-01-15 Thread Brooks Davis
I've got a probably stupid question about ioctls. I need to add a pair of them for network iterfaces and I've figured out how the _IO{R,W,RW} macros work, but I can't seem to figure out how you choose the unique number you pass to them. Is there a central table somewhere or do you actually have

Re: Clustering FreeBSD

2001-01-19 Thread Brooks Davis
On Thu, Jan 18, 2001 at 10:41:15PM -0700, Russell L. Carter wrote: Nowadays, you'd want to "globus ify" things, rather than use use PVM. For those who want a simple, stupid way to do this, making an MPI application is a convenient first step. MPI is pretty similar to PVM except that I don't

Re: inetd needs discard service in /etc/services

2004-03-24 Thread Brooks Davis
On Tue, Mar 23, 2004 at 10:26:19PM +, David Malone wrote: On Wed, Mar 24, 2004 at 02:20:26AM +0900, Hajimu UMEMOTO wrote: How about this patch? Looks good to me, if it fixes Brooks's problem. Assuming it compiles and runs, it should work for me since it removes the magic discard string.

Re: Pointers about CPU load measuring

2004-04-02 Thread Brooks Davis
On Fri, Apr 02, 2004 at 03:38:55PM +0200, Jose Marcio Martins da Cruz wrote: Someone can send some pointers on how to measure global CPU load under FreeBSD from a C program ? I'm looking for values for idle/kernel/user, in a similar way as does top. Is there any pointer or doc ?. I'd like

Re: FreeBSD book recommendation

2004-05-21 Thread Brooks Davis
On Sat, May 22, 2004 at 12:46:54AM +0300, Vlad GALU wrote: I'd like to buy a book about FreeBSD kernel internals: data structures, VM layout, reasons for various implementations, sort of a traver through the sourcecode, along with explaining each design decision that has been taken.

Re: simple, nay, elegant pop3 implementation?

2004-05-26 Thread Brooks Davis
On Wed, May 26, 2004 at 03:34:15PM -0700, Andrew Beals wrote: Why is there no default pop3 implementation included in the FreeBSD distribution? Is it for a lack of a suitably-licensed server, or does everyone believe APOP authentication is crackable? This isn't Linux. :-) POP servers are

Re: how many IP aliases

2004-05-27 Thread Brooks Davis
On Thu, May 27, 2004 at 04:03:58PM +0300, Anton Alin-Adrian wrote: Hi guys. Can anyone tell me what is the limit for how many IP aliases can be setup on the same ethernet card? Is there a global limit for the total number of aliases in the OS? To be clear: one needs 128 IPs (for irc

Re: ifconfig.c developer manual

2004-06-02 Thread Brooks Davis
On Wed, Jun 02, 2004 at 11:42:27AM +0800, Aldinson C. Esto wrote: Hello Everyone, I know most of you here already have extreme knowledge about freeBSD's ins and outs. I just want to ask specifically regarding FreeBSD's ifconfig.c's functions and what does each function do. No one can

Re: bugs with disk space

2004-06-09 Thread Brooks Davis
On Wed, Jun 09, 2004 at 10:33:34AM -0600, Jose Hidalgo Herrera wrote: There is something wrong here: srv0:~# uname -r 4.9-RELEASE-p4 srv0:~# df -hi / FilesystemSize Used Avail Capacity iused ifree %iused Mounted on /dev/ad0s1a 126M 125M -8.9M 108%1364 148908% /

Re: ZEROCOPY between kernel and userland

2004-07-06 Thread Brooks Davis
[Please don't top-post, it tends to lose context.] On Tue, Jul 06, 2004 at 03:36:40PM +0200, thefly wrote: could you point me pls to some code of that? To me read-only access is ok, userspace doesn't need to write anything on it, kernelspace does. But what about locking issues between

Re: Communication driver framework ?

2004-07-15 Thread Brooks Davis
On Thu, Jul 15, 2004 at 05:15:58PM +0100, Sifalakis, Manolis wrote: Hello all, I am new to the list as well as under the FreeBSD-hood and this is my first posting so pls forgive me if this has been asked 1000 times before (I did not manage to find it in the archive). We re planning to

Re: Next Generation kernel configuration?

2004-07-20 Thread Brooks Davis
On Tue, Jul 20, 2004 at 07:39:31PM -0500, Conrad J. Sabatier wrote: Just musing on an idea here: I've been thinking for a while now about trying to write a tool to make kernel configuration easier, sort of a make config (as in ports) for the kernel, similar to what's available on some of the

Re: error in linking librery's

2004-07-24 Thread Brooks Davis
On Fri, Jul 23, 2004 at 11:43:49PM -0700, pradeep reddy punnam wrote: Hi all, i am getting following error when i tried to link -lpthread, when i compile my program /user/libexec/elf/ld ; cannot find -lpthread, i made changes to my kernel and re compiled it, so i think may be i

Re: Kernel Configuration script [was Re: Next

2004-07-29 Thread Brooks Davis
On Thu, Jul 29, 2004 at 08:25:53AM -0700, William Kirkland wrote: On Tue, Jul 20, 2004 at 07:39:31PM -0500, Conrad J. Sabatier wrote: Just musing on an idea here: I've been thinking for a while now about trying to write a tool to make kernel configuration easier, sort of a make config

Re: make quickworld? (like in DragonFly)

2004-08-15 Thread Brooks Davis
On Sat, Aug 14, 2004 at 10:03:37AM +0200, Geert Hendrickx wrote: On Wed, Aug 11, 2004 at 02:47:14PM +0200, Simon L. Nielsen wrote: On 2004.08.11 00:36:06 +0200, Geert Hendrickx wrote: Hi, is there any way (or could it be implemented) to rebuild only the changes in world and kernel

Re: actual boot device

2004-08-17 Thread Brooks Davis
[Please don't top post, it breaks context. Post reformatted.] On Tue, Aug 17, 2004 at 07:25:52PM +0300, Sergey Lyubka wrote: On Tue, Aug 17, 2004 at 11:15:16AM -0500, Dan Nelson wrote: In the last episode (Aug 17), Sergey Lyubka said: How would one know the actual boot device after kernel

Re: sysctl

2004-08-30 Thread Brooks Davis
On Sat, Aug 28, 2004 at 03:22:29AM -0700, Sam Paior wrote: Dear Friends, I'm using the FreeBsd5.2.1 How do I do to activate the OID? It shows the message: root# sysctl security.jail.allow_raw_sockets sysctl: unknown oid 'security.jail.allow_raw_sockets' Upgrade to RELENG_5. This OID

Re: Editing and compiling FreeBSD source

2004-09-19 Thread Brooks Davis
[Please don't top post, it loses context.] On Mon, Sep 20, 2004 at 02:34:12AM +0300, Andrew Novikov wrote: Hi, Could someone please explan me the difference between: make buildkernel make installkernel This uses the tool chain build by buildworld. This may be required if config or the

Re: Global (non _KERNEL) place for sockaddr_union?

2004-09-19 Thread Brooks Davis
On Mon, Sep 20, 2004 at 02:50:40AM +0200, Max Laier wrote: Hi, http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/71836 is the symptom. Now I am looking for a clean solution to it. What is needed is an include file that defines union sockaddr_union in a way that is useable from kernel and

Re: Global (non _KERNEL) place for sockaddr_union?

2004-09-19 Thread Brooks Davis
On Mon, Sep 20, 2004 at 05:39:38AM +0200, Max Laier wrote: On Monday 20 September 2004 04:28, Brooks Davis wrote: On Mon, Sep 20, 2004 at 02:50:40AM +0200, Max Laier wrote: Hi, http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/71836 is the symptom. Now I am looking for a clean

  1   2   3   4   >