Re: "include" directive in config(8) (was: Two Junior Kernel Hacker tasks..)

2001-06-27 Thread Warner Losh
In message <[EMAIL PROTECTED]> Dima Dorfman writes: : I thought about this, too. Right now there isn't a way to do that, : and neither OpenBSD nor NetBSD have one AFAIK. That said, I think it : would be trivial to implement. The list of options and devices is a : simple linked list (mind you, i

Re: fastforwarding?

2001-06-27 Thread Wes Peters
Ruslan Ermilov wrote: > > On Mon, Jun 25, 2001 at 06:47:41PM -0400, Deepak Jain wrote: > > sysctl -A |grep forward > > net.inet.ip.forwarding: 1 > > net.inet.ip.fastforwarding: 0 > > machdep.forward_irq_enabled: 1 > > machdep.forward_signal_enabled: 1 > > machdep.forward_roundrobin_enabled: 1 > >

Re: Query: How to tell if Microsoft is using BSD TCP/IP code?

2001-06-27 Thread Wes Peters
Rik van Riel wrote: > > On Tue, 26 Jun 2001, Wes Peters wrote: > > Rik van Riel wrote: > > > On Sun, 24 Jun 2001, Rahul Siddharthan wrote: > > > > Wes Peters said on Jun 23, 2001 at 23:28:42: > > > > > > Plenty of GNU stuff there, though it doesn't say so explicitly. > > > > > > Of course, they s

Re: Status of encryption hardware support in FreeBSD

2001-06-27 Thread Mike Meyer
Steve Ames <[EMAIL PROTECTED]> types: > On Wed, Jun 27, 2001 at 09:51:47PM -0500, Mike Meyer wrote: > > The crucial bottleneck for this kind of thing is the doubling > > time. Unless your special purpose hardware doubles in speed as fast or > > faster than general purpose CPUs, then eventually it'

Re: Status of encryption hardware support in FreeBSD

2001-06-27 Thread Steve Ames
On Wed, Jun 27, 2001 at 09:51:47PM -0500, Mike Meyer wrote: > The crucial bottleneck for this kind of thing is the doubling > time. Unless your special purpose hardware doubles in speed as fast or > faster than general purpose CPUs, then eventually it's going to be > slow, then expensive, and fina

Re: Status of encryption hardware support in FreeBSD

2001-06-27 Thread Soren Kristensen
Hi, That's not really the point here, I was talking about lowest end hardware compared to high end CPU. If we compare with high end hardware, then we're talking about factor >50 faster than software There are chips out that can do >1Gbit 3-DES, given a 64bit/66Mhz PCI bus. I'm just starting

Re: Status of encryption hardware support in FreeBSD

2001-06-27 Thread Mike Meyer
Soren Kristensen <[EMAIL PROTECTED]> types: > I'm not claiming any specific numbers, just that the chip I'm using, the > lowest end hi/fn 7951, is said to be faster than your typical highend > >1Ghz CPU doing 3-DES. [ ... ] > I'm only talking about this specific case of doing computing intensive

Re: does data overflow in pipes

2001-06-27 Thread Zhihui Zhang
I guess the kernel will block the process trying to write more data than that can be accommodated. Or if you are using non-blocking I/O, it will return an error. -Zhihui On Wed, 27 Jun 2001, Manas Bhatt wrote: > hi all, > pipes uses only direct blocks to store data. so > depending on the

does data overflow in pipes

2001-06-27 Thread Manas Bhatt
hi all, pipes uses only direct blocks to store data. so depending on the blocksize , a total data of 10*blocksize can be written in one go but what happens if a writer process tries to write more 10*blocksize of data in one go. Does the kernel overwrites the data in pipe or not ? if yes, wh

trace a library call

2001-06-27 Thread Zhihui Zhang
Suppose I write a program that calls sbrk(). How can I trace into the function sbrk()? In this particular case, I want to know whether sbrk() calls the function in file lib/libstand/sbrk.c or sys/sbrk.S. Sometimes it is nice to see what system call is eventually called as well. I know dynamic lin

Re: ifmcstat(8) setgidness

2001-06-27 Thread Dima Dorfman
Ruslan Ermilov <[EMAIL PROTECTED]> writes: > On Wed, Jun 27, 2001 at 01:29:28AM -0700, Dima Dorfman wrote: > > Ruslan Ermilov <[EMAIL PROTECTED]> writes: > > > On Tue, Jun 26, 2001 at 03:04:07PM -0700, Dima Dorfman wrote: > > > > Hi folks, > > > > > > > > Is there a particular reason, other than

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 t

Re: Status of encryption hardware support in FreeBSD

2001-06-27 Thread Soren Kristensen
[EMAIL PROTECTED] wrote: > > In a message dated 06/24/2001 2:53:32 PM Eastern Daylight Time, > [EMAIL PROTECTED] writes: > > > And btw, hardware beats software anytime. The fastest PC processor right > > now is about the same speed as the slowest hardware. > > what are the numbers? Are you ac

Re: HP9000/L1000

2001-06-27 Thread scanner
On Wed, 27 Jun 2001, Michael C . Wu wrote: > On Wed, Jun 27, 2001 at 03:10:38PM +0100, daniel lawrence scribbled: > | This is probably a long shot, but I'll ask anyway. We have 3 HP9000/L1000 > | machines which we may be able to make available (serial console and network) > | for some kind of BSD

Re: accessing files from kld module

2001-06-27 Thread Terry Lambert
"Eugene L. Vorokov" wrote: > probably this question was asked here many times before, > but I'm new to kernel mode hacks ... Is it somehow possible > to access files from my kld module ? I have seen functions > like printf(), MALLOC() for kernel mode, but nothing like > open() ... using open() sys

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: Linux Emulation Problems

2001-06-27 Thread John Merryweather Cooper
On 2001.06.27 10:00 Stefan Hoffmeister wrote: > : On Wed, 27 Jun 2001 12:10:48 +0100, John Toon wrote: > > >./setup: error in loading shared libraries: > >/usr/X11R6/lib/libxalflaunch.so.0: ELF file OS ABI invalid. > > You somewhere have an LD_PRELOAD variable set for that library. This > is a >

Re: swapping bytes, fpos_t

2001-06-27 Thread Terry Lambert
Marc van Woerkom wrote: > > Hi, > > while porting the ogle dvd player I faced the > problem of needing fast byte swap routines for > 16, 32 and 64 bit words. > > After grepping through the -CURRENT sources > I came up with at least three different > assembler implementations. The networking im

Re: Linux Emulation Problems

2001-06-27 Thread Stefan Hoffmeister
: On Wed, 27 Jun 2001 12:10:48 +0100, John Toon wrote: >./setup: error in loading shared libraries: >/usr/X11R6/lib/libxalflaunch.so.0: ELF file OS ABI invalid. You somewhere have an LD_PRELOAD variable set for that library. This is a "busy cursor" library and it is popular with Gnome. A truss

Re: Linux Emulation Problems

2001-06-27 Thread John Merryweather Cooper
On 2001.06.27 08:01 Dan Nelson wrote: > In the last episode (Jun 27), John Toon said: > > I'm experiencing Linux emulation issues on my FreeBSD-4.1 setup. > > Whenever I attempt to run a Linux binary, they try to access my > > FreeBSD library /usr/X11R6/lib/libxalflaunch.so.0 - even for > programs

accessing files from kld module

2001-06-27 Thread Eugene L. Vorokov
Hi, probably this question was asked here many times before, but I'm new to kernel mode hacks ... Is it somehow possible to access files from my kld module ? I have seen functions like printf(), MALLOC() for kernel mode, but nothing like open() ... using open() syscall directly seems impossible t

Re: HP9000/L1000

2001-06-27 Thread Michael C . Wu
On Wed, Jun 27, 2001 at 03:10:38PM +0100, daniel lawrence scribbled: | This is probably a long shot, but I'll ask anyway. We have 3 HP9000/L1000 | machines which we may be able to make available (serial console and network) | for some kind of BSD porting project. | | I know it is probably off the

HP9000/L1000

2001-06-27 Thread daniel lawrence
This is probably a long shot, but I'll ask anyway. We have 3 HP9000/L1000 machines which we may be able to make available (serial console and network) for some kind of BSD porting project. I know it is probably off the beaten track a little, but would there be any interest in this, or are resourc

Re: what #define for thread-safeness?

2001-06-27 Thread Daniel Eischen
On Wed, 27 Jun 2001, Will Andrews wrote: > On Tue, Jun 26, 2001 at 11:43:02PM -0400, David Petrou ([EMAIL PROTECTED]) wrote: > > Hi. On linux, I know that when compiling threaded code I need to > > #define _REENTRANT. What's the right thing to do on FreeBSD? I've > > searched around the FreeBSD

Linux Emulation Problems

2001-06-27 Thread John Toon
Hi, I'm experiencing Linux emulation issues on my FreeBSD-4.1 setup. Whenever I attempt to run a Linux binary, they try to access my FreeBSD library /usr/X11R6/lib/libxalflaunch.so.0 - even for programs that apparently have *no* need of this library (Linux version or otherwise). In particular, ne

Linux Emulation Problems

2001-06-27 Thread John Toon
Hi, I'm experiencing Linux emulation issues on my FreeBSD-4.1 setup. Whenever I attempt to run a Linux binary, they try to access my FreeBSD library /usr/X11R6/lib/libxalflaunch.so.0 - even for programs that apparently have *no* need of this library (Linux version or otherwise). In particular, ne

Re: what #define for thread-safeness?

2001-06-27 Thread Will Andrews
On Tue, Jun 26, 2001 at 11:43:02PM -0400, David Petrou ([EMAIL PROTECTED]) wrote: > Hi. On linux, I know that when compiling threaded code I need to > #define _REENTRANT. What's the right thing to do on FreeBSD? I've > searched around the FreeBSD pages and have come up empty. I googled > aroun

Re: ifmcstat(8) setgidness

2001-06-27 Thread Ruslan Ermilov
On Wed, Jun 27, 2001 at 01:29:28AM -0700, Dima Dorfman wrote: > Ruslan Ermilov <[EMAIL PROTECTED]> writes: > > On Tue, Jun 26, 2001 at 03:04:07PM -0700, Dima Dorfman wrote: > > > Hi folks, > > > > > > Is there a particular reason, other than the desire for more setgid > > > programs, that ifmcsta

Re: ifmcstat(8) setgidness

2001-06-27 Thread Dima Dorfman
Ruslan Ermilov <[EMAIL PROTECTED]> writes: > On Tue, Jun 26, 2001 at 03:04:07PM -0700, Dima Dorfman wrote: > > Hi folks, > > > > Is there a particular reason, other than the desire for more setgid > > programs, that ifmcstat(8) is setgid kmem? It seems that there's no > > reason anyone but root

Re: ifmcstat(8) setgidness

2001-06-27 Thread Ruslan Ermilov
On Tue, Jun 26, 2001 at 03:04:07PM -0700, Dima Dorfman wrote: > Hi folks, > > Is there a particular reason, other than the desire for more setgid > programs, that ifmcstat(8) is setgid kmem? It seems that there's no > reason anyone but root would want to use it, anyway. OpenBSD and > NetBSD alr