Re[6]: perhaps one of phk's intern projects?

2001-07-27 Thread Igor Podlesny
You're being somewhat obtuse. Really? it's probably because I don't multiply apple * milk wishing to receive gasoline in answer. Complicated times such as 'teatime' and 'reboot' are explicitly allowed. It isn't a fact, what a pity... As I said before teatime is strictly defined in the

Re: Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-27 Thread Wilko Bulte
On Thu, Jul 26, 2001 at 10:46:24PM -0600, Warner Losh wrote: In message [EMAIL PROTECTED] James Howard writes: : A lot of people said this. Why? As near as I can tell, dump isn't that : great either. There is no way to exlude specific directories with dump : and it appears to be quite

Re: Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-27 Thread Daniel O'Connor
On 27-Jul-2001 Wilko Bulte wrote: On Thu, Jul 26, 2001 at 10:46:24PM -0600, Warner Losh wrote: In message [EMAIL PROTECTED] James Howard writes: : A lot of people said this. Why? As near as I can tell, dump isn't that : great either. There is no way to exlude specific directories

Re: Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-27 Thread Wilko Bulte
On Fri, Jul 27, 2001 at 04:18:11PM +0930, Daniel O'Connor wrote: On 27-Jul-2001 Wilko Bulte wrote: On Thu, Jul 26, 2001 at 10:46:24PM -0600, Warner Losh wrote: In message [EMAIL PROTECTED] James Howard writes: : A lot of people said this. Why? As near as I can tell, dump isn't

Re: Re[6]: perhaps one of phk's intern projects?

2001-07-27 Thread Matthew Jacob
Well, thank you for your contributions. Go off and play with RSTS or something equally suitable. On Fri, 27 Jul 2001, Igor Podlesny wrote: You're being somewhat obtuse. Really? it's probably because I don't multiply apple * milk wishing to receive gasoline in answer. Complicated

Re: Why two cards on the same segment...

2001-07-27 Thread Terry Lambert
Steven Ames wrote: I don't think the networking code knows/cares if something is private or public IP space. I might be off here but I think the real problem with two seperate networks on one card (or even on two cards) would be the default route (can't have two right?) and which IP address

Re: Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-27 Thread Daniel O'Connor
On 27-Jul-2001 Wilko Bulte wrote: ie selectivity is good :) Sure. [I love my DLT4000 ;-) ] DLT for all! I love my imaginary multi terabyte RAID too. (My point being the solution isn't bigger tapes but better tools..) --- Daniel O'Connor software and network engineer for Genesis

Re: Why two cards on the same segment...

2001-07-27 Thread Terry Lambert
Steven Ames wrote: You lost me. How what is being done? You can use ifconfig to assign as many blocks/netmasks as you feel the urge to. It'll do it. Actually, you'll get an address in use error; it will add the IP alias to the card, but in fact, it will not really dso the job: the ifconfig

Re[8]: perhaps one of phk's intern projects?

2001-07-27 Thread Igor Podlesny
Well, thank you for your contributions. Go off and play with RSTS or something equally suitable. :) thank you man... I wasn't intended to make you feel somewhat unpleasant, so I'm really going off this topic, wishing you good luck. -- Igor On Fri, 27 Jul 2001, Igor Podlesny wrote:

Re: Why two cards on the same segment...

2001-07-27 Thread Terry Lambert
Matt Dillon wrote: I wish it were that easy. If you have two interfaces on the same LAN segment, but one is configured with an internal IP and one is configured with an external IP, and the default route points out the interface configured with the external IP, then you are

RE: ARP cache problems....

2001-07-27 Thread Milon Papezik
-Original Message- From: Bernd Walter [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 19:12 To: Leo Bicknell Cc: [EMAIL PROTECTED] Subject: Re: ARP cache problems On Thu, Jul 26, 2001 at 11:35:59AM -0400, Leo Bicknell wrote: On Thu, Jul 26, 2001 at 10:01:05AM

how to share include files between kernel and userland?

2001-07-27 Thread Marco Molteni
Hi, 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 that the device prepends to the 802.11 frame, ie: aironet header |

Re: FEC on FreeBSD (was RE: ARP cache problems....)

2001-07-27 Thread Milon Papezik
If you are using a switch you should use FEC or VLANs. Yes I know there switches out there without that features but if you want more performance then use hardware that can do the job you need. Could you please point me to some howto for FEC on FreeBSD ? See the list archive

Re: Compaq DL380

2001-07-27 Thread Milon Papezik
Hi all, I finally got some time to do the simple MFC for ida driver. It enables the automatic drive rebuild on Integrated SmartArray controllers. I tested enclosed patch on DL380 (controller firmware 1.42) and it works fine. Could someone please have a look and commit this simple MFC into

natd passes inconsistent addresses to ipfw?

2001-07-27 Thread mikescott
(I've tried this already on the questions list already, but without success. I hope it's not too trivial for this list -- either I'm missing something glaringly obvious (probable), or there's a bug. Either way, I'm stuck :-( ) It looks to me as though natd and ipfw interact inconsistently

Thread problem in xmms

2001-07-27 Thread Bjoern Fischer
Hello, is it possible that xmms triggers a problem in FreeBSD's thread implementation? It happens often that xmms gets stuck in _thread_sys_poll(): (gdb) info threads 7 process 332, thread 7 0x28439d44 in _thread_kern_sched () from /usr/lib/libc_r.so.4 6 process 332, thread 6

-Wconversion and mode_t

2001-07-27 Thread Sheldon Hearn
Hi folks, How on earth is one supposed to shut up the -Wconversion warnings generated for all the functions that take mode_t arguments? I've tried every sane typecast I can think of to prove to the compiler that I know what I'm doing, but it won't shut up. /usr/src/usr.sbin/config is a good

Re: Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-27 Thread Mike Meyer
Daniel O'Connor [EMAIL PROTECTED] types: On 27-Jul-2001 Wilko Bulte wrote: On Thu, Jul 26, 2001 at 10:46:24PM -0600, Warner Losh wrote: In message [EMAIL PROTECTED] James Howard writes: : A lot of people said this. Why? As near as I can tell, dump isn't that : great either.

Wanted: swapped backed disk on a diskless machine

2001-07-27 Thread David Gilbert
I have somewhat of an interesting problem: I have applications that write arbitrarily large files (as much as 6 gig) and I find that the best performance for these disks is to use something like MFS. However, mfs has a maximum size of 512M. md appears to have a very small maximum size and only

Re: -Wconversion and mode_t

2001-07-27 Thread Assar Westerlund
Sheldon Hearn [EMAIL PROTECTED] writes: How on earth is one supposed to shut up the -Wconversion warnings generated for all the functions that take mode_t arguments? I've tried every sane typecast I can think of to prove to the compiler that I know what I'm doing, but it won't shut up.

Re: Downloads appear broked...but work...keep hitting reload...

2001-07-27 Thread Jim Bryant
Terry Lambert wrote: Jim Bryant wrote: Everybody and their dog must be downloading this. If you keep getting the java.lang.OutOfMemoryError, just keep hitting reload... I was just about to give up when it finally worked for me. Gee, garbage collection is special. I'm going to run

Re: Wanted: swapped backed disk on a diskless machine

2001-07-27 Thread Dima Dorfman
David Gilbert [EMAIL PROTECTED] writes: I have somewhat of an interesting problem: I have applications that write arbitrarily large files (as much as 6 gig) and I find that the best performance for these disks is to use something like MFS. However, mfs has a maximum size of 512M. md

Re: Wanted: swapped backed disk on a diskless machine

2001-07-27 Thread David Gilbert
Dima == Dima Dorfman [EMAIL PROTECTED] writes: Dima David Gilbert [EMAIL PROTECTED] writes: I have somewhat of an interesting problem: I have applications that write arbitrarily large files (as much as 6 gig) and I find that the best performance for these disks is to use something like MFS.

suscribe

2001-07-27 Thread Olivier Wulveryck
suscribe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: perhaps one of phk's intern projects?

2001-07-27 Thread Karsten W. Rohrbach
Matthew Emmerton([EMAIL PROTECTED])@2001.07.26 16:50:52 +: On Thu, 26 Jul 2001, Matthew Jacob wrote: It'd be nice if one could pass a time specification to at in the form of next reboot. -matt Why not just write a script for the command and stick it in /usr/local/etc/rc.d?

Re: perhaps one of phk's intern projects?

2001-07-27 Thread Louis A. Mamakos
Matthew Emmerton([EMAIL PROTECTED])@2001.07.26 16:50:52 +: On Thu, 26 Jul 2001, Matthew Jacob wrote: It'd be nice if one could pass a time specification to at in the form of next reboot. -matt Why not just write a script for the command and stick it in

Re: perhaps one of phk's intern projects?

2001-07-27 Thread Matthew Jacob
In my opinion- this looks pretty good! I'll give it a try later today! Thanks! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

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 that

Re: Invoking a userland function from kerne

2001-07-27 Thread y-carden
On Wed, 25 Jul 2001 Terry Lambert wrote: [EMAIL PROTECTED] wrote: I need pass asynchronously data from kernel to a userland process, include a quantity variable of data (void *opaque). The easiest way to do this is to have the user space process register a kevent, and then KNOTE() in the

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

2001-07-27 Thread Doug Ambrisko
Marco Molteni writes: | 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 | that the device prepends to the 802.11

Re: Thread problem in xmms

2001-07-27 Thread Brian O'Shea
It could also be a problem with xmms. You might start with the maintainer of the xmms port. The maintainer is listed in the top level Makefile for the port. Cheers, -brian On Fri, Jul 27, 2001 at 11:39:51AM +0200, Bjoern Fischer wrote: Hello, is it possible that xmms triggers a problem

Re: MPP and new processor designs.

2001-07-27 Thread Rik van Riel
On Thu, 26 Jul 2001, Hugh LaMaster wrote: - Since the mid-70's (that is 25 years now), logic/gates/real-estate are no longer (economically) scarce - Therefore, the key to the value/efficiency of any computer architecture is how well it uses memory - There are two key components to

libcurl in the base distribution of FreeBSD

2001-07-27 Thread Patrick Bihan-Faou
Hi, I was looking at a way to do some downloads over HTTPS from inside a C program, and I realized that libfetch (which is a fine piece of code BTW) can not do it easily. I looked for alternatives and found cURL (http://curl.haxx.se/). In the same spirit as fetch/libfetch, this comes with both

Re: libcurl in the base distribution of FreeBSD

2001-07-27 Thread Louis A. Mamakos
FYI, curl is already available as a port: /usr/ports/ftp/curl even if it's not part of the base system. louie To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: -Wconversion and mode_t

2001-07-27 Thread Garance A Drosihn
At 2:45 PM +0200 7/27/01, Assar Westerlund wrote: Sheldon Hearn [EMAIL PROTECTED] writes: How on earth is one supposed to shut up the -Wconversion warnings generated for all the functions that take mode_t arguments? I've tried every sane typecast I can think of to prove to the compiler

kernel stack size

2001-07-27 Thread Weiguang SHI
A closer look at the code /usr/src/sys/i386/i386/locore.s astonished me with the fact that the kernel stack size for a process, at least for process 0, is 2*4096-sizeof(struct user) = 3988 bytes, less than even one page. Anyone to verify this, please? BTW, I am looking at the 4.3-stable code.

Re: libcurl in the base distribution of FreeBSD

2001-07-27 Thread Patrick Bihan-Faou
FYI, curl is already available as a port: /usr/ports/ftp/curl even if it's not part of the base system. 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

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

custom release / custom install.cfg

2001-07-27 Thread crg
hackers: I built my own custom release and created a custom install.cfg file. The file is good because I tested with a FreeBSD 4.3Release. And it partitions my disk and installs the a custom bin distro. Now for my custom release, I deleted all bin.?? files and inserted some of my own files and

Collecting System Statistics Programatically

2001-07-27 Thread Tabor Kelly
I have found how to collect limited system statistics with sysctlbyname(), but I need to know how to do more. In specific I need to know how much memory is being used, and what percentage of processor cycles are being used. Any help is greatly appreciated, Thank You. Tabor Kelly To

Re: Why two cards on the same segment...

2001-07-27 Thread Fred Clift
On Thu, 26 Jul 2001, Steven Ames wrote: public IP space. I might be off here but I think the real problem with two seperate networks on one card (or even on two cards) would be the default route (can't have two right?) and which IP address gets used as the 'source IP' on packets leaving the

Re: natd passes inconsistent addresses to ipfw?

2001-07-27 Thread Daniel C. Sobral
[EMAIL PROTECTED] wrote: With the following ipfw config fragment, Which happens not to include the rule that is denying your packets... # divert packets through the tunnel interface $fwcmd add divert natd all from any to any via tun0 ... # allow anything I start up (OK) # allow

KNOTE()

2001-07-27 Thread y-carden
Dear Jonathan I want ask a favor to you. I have try to get help in hackers list, but it was unsuccessful. Days ago, I asked : I need pass asynchronously data from kernel to a userland process, include a quantity variable of data (void *opaque). And Terry Lambert wrote: The easiest

Re: Collecting System Statistics Programatically

2001-07-27 Thread Doug White
On Fri, 27 Jul 2001, Tabor Kelly wrote: I have found how to collect limited system statistics with sysctlbyname(), but I need to know how to do more. In specific I need to know how much memory is being used, and what percentage of processor cycles are being used. You can get memory

Re: KNOTE()

2001-07-27 Thread Daniel Eischen
On Fri, 27 Jul 2001 [EMAIL PROTECTED] wrote: Dear Jonathan I want ask a favor to you. I have try to get help in hackers list, but it was unsuccessful. Days ago, I asked : I need pass asynchronously data from kernel to a userland process, include a quantity variable of data

Re: cluster size

2001-07-27 Thread Zhihui Zhang
I thought doing a memory free is always safe in an interrupt context. Now it seems doing an allocation of memory is safe too. Does MCLGET() call vm_page_alloc() or malloc() eventually? If so, it might block. -Zhihui On Thu, 26 Jul 2001, Terry Lambert wrote: Bosko Milekic wrote: Er,

Re: Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-27 Thread Sergey Babkin
Warner Losh wrote: In message [EMAIL PROTECTED] James Howard writes: : Both tar and cpio seem to have problems doing backups on my : server. Looking at the pax manpage, we see this: Use dump. Otherwise, you will lose. Don't use dump. Or you'll never be able to restore these backups on

Re: Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-27 Thread Warner Losh
In message [EMAIL PROTECTED] Sergey Babkin writes: : Use dump. Otherwise, you will lose. : : Don't use dump. Or you'll never be able to restore these backups : on a non-FreeBSD machine. Unless it runs NetBSD, OpenBSD, Solaris, Linux or SunOS. ufsrestore is pretty universal. Warner To

[PATCH] reduce text(code) size and improve clarity of pkg_add

2001-07-27 Thread David O'Brien
I'd like to apply this patch to pkg_add which reduces the amount of code the compiler generates, and improves the clarity of the code. 1. s_strl* is obvious some form of safe strl{cpy,cat}. But *WHAT* does it make safe? Isn't obvious w/o having to track down the s_strl{cat,cpy} function

inet_aton

2001-07-27 Thread Anjali Kulkarni
Hi, I want to use the function inet_aton() in the kernel code. However, I found no kernel equivalent of this function int the freebsd sources. I could find inet_ntoa(), but not inet_aton(). Is it named by some other name or how can I locate it? Thanks, Anjali

Re: Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-27 Thread Jim Bryant
Warner Losh wrote: In message [EMAIL PROTECTED] Sergey Babkin writes: : Use dump. Otherwise, you will lose. : : Don't use dump. Or you'll never be able to restore these backups : on a non-FreeBSD machine. Unless it runs NetBSD, OpenBSD, Solaris, Linux or SunOS. ufsrestore is pretty

Re: kernel stack size

2001-07-27 Thread Gersh
The kernel will grow the size of the userland stack if need be. Look for vm_map_growstack(). Also just a FYI that size sounds about right for the kernel stack. Be very careful not to use function recursion or to many on the stack large sized variables or else youll blow yourself into double

Re: Collecting System Statistics Programatically

2001-07-27 Thread Gersh
As for memory look at the output of a vmstat -m. That will show you your kernel memory useage. For processor cycles build a profiling kernel (config -p). Look at the man pages for kgmon and gprof to see how to use the profiler. On Fri, 27 Jul 2001, Tabor Kelly wrote: I have found how to