Re: Search a symbol in the source tree

1999-10-12 Thread W Gerald Hicks
I find it ironic that nobody has suggested global yet; That sure would make a nice port, especially since we could easily recommend gozilla as a nice way to browse and search the source tree. Cheers, Jerry Hicks [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscrib

--enable-haifa

1999-10-12 Thread W Gerald Hicks
Just curious what effect using the --enable-haifa flag for building gcc-2.95.1/x86 would have so I did a comparison using the Dhrystone benchmark from /usr/ports/benchmarks/bytebench. This was run on a Ziatech 200Mhz Pentium cPCI system. I don't know if this is really worth further testing but

RE: Isa Ether Devices (ne2000)

1999-10-12 Thread Daniel O'Connor
On 12-Oct-99 visi0n wrote: > Hi, Im studying the network part of the kernel and trying to found > where's the function which do the interruption in the ne2000 isa card when > a packet is in the "wire", and what function of the kernel initialize the > ne2000 isa card. Look in /usr/src/sy

Isa Ether Devices (ne2000)

1999-10-12 Thread visi0n
Hi, Im studying the network part of the kernel and trying to found where's the function which do the interruption in the ne2000 isa card when a packet is in the "wire", and what function of the kernel initialize the ne2000 isa card. Thanx

Re: Search a symbol in the source tree

1999-10-12 Thread Victor Ivanov
> >Can anyone suggest me a way of searching symbols in the entire /usr/src >tree? I normally use grep */*. But grep does not work recursively, right? >Something like a small shell script may do this. Thanks a lot. > >-Zhihui > find . -name '*' | xargs grep expression ...or something :) rega

vm_map.h and C++ warnings

1999-10-12 Thread Arun Sharma
The following patch fixes it. -Arun # diff -u vm_map.h- vm_map.h --- vm_map.h- Tue Oct 12 22:52:10 1999 +++ vm_map.hTue Oct 12 22:54:58 1999 @@ -229,7 +229,7 @@ #if defined(MAP_LOCK_DIAGNOSTIC) printf("locking map LK_EXCLUPGRADE: 0x%x\n", map); #endif - error = lock

Re: alpha scheduling needs some tuning

1999-10-12 Thread Jason Thorpe
On Tue, 12 Oct 1999 23:37:53 -0400 (EDT) Andrew Gallatin <[EMAIL PROTECTED]> wrote: > Has anybody noticed that scheduling appears to be broken on the alpha? > > On both i386 & alpha, try: > > echo "main(){for(;;);}" > foo.c > cc foo.c > /usr/bin/nice -20 ./a.out & ; ./a.out & FWIW, Ro

alpha scheduling needs some tuning

1999-10-12 Thread Andrew Gallatin
Has anybody noticed that scheduling appears to be broken on the alpha? On both i386 & alpha, try: echo "main(){for(;;);}" > foo.c cc foo.c /usr/bin/nice -20 ./a.out & ; ./a.out & & watch the programs run in top. You'll notice that on the i386, the non-niced job will get about 2/3 of the cpu &

Re: FreeBSD CVS mirror

1999-10-12 Thread Bill Fumerola
On Tue, 12 Oct 1999, John Polstra wrote: > > For the set up of mirrors, send your request to: [EMAIL PROTECTED] > > That mailing list doesn't exist any more. For CVSup mirrors, send the > request to [EMAIL PROTECTED] or [EMAIL PROTECTED] It still exists in some documentation, if I recall. /me

Re: FreeBSD CVS mirror

1999-10-12 Thread John Polstra
In article <[EMAIL PROTECTED]>, Sameh Ghane <[EMAIL PROTECTED]> wrote: > On Tue, Oct 12, 1999 at 04:36:39PM +0700, Max Khon wrote: > > hi, there! > > > > maybe i'm posting into wrong list, but how is FreeBSD > > CVS repository mirrored? > > We probably will have an opportunity to set up local Fr

Re: Search a symbol in the source tree

1999-10-12 Thread Greg Lehey
On Tuesday, 12 October 1999 at 10:32:00 -0400, Zhihui Zhang wrote: > > Can anyone suggest me a way of searching symbols in the entire /usr/src > tree? I normally use grep */*. But grep does not work recursively, right? > Something like a small shell script may do this. Thanks a lot. I use etags

Re: aio_read kills machine

1999-10-12 Thread Brian F. Feldman
On Tue, 12 Oct 1999, Daniel C. Sobral wrote: > "Brian F. Feldman" wrote: > > > > I'd like everyone to note that for now, if you are providing user-access > > to a 4.0 box (and you don't absolutely trust your users), you should be > > using the RLIMIT_SBSIZE for limiting network memory usage just

Re: threaded applications on freebsd 3.3

1999-10-12 Thread Kip Macy
On Tue, 12 Oct 1999, Rohit Dube wrote: > Hi, > > Looking through the mailing list archives, support for threaded > applications wasn't quite clear to me so I ask here. I have a > threaded application working on Red Hat Linux 6.0 which uses pthreads. > I was trying to port it over to FreeBSD

threaded applications on freebsd 3.3

1999-10-12 Thread Rohit Dube
Hi, Looking through the mailing list archives, support for threaded applications wasn't quite clear to me so I ask here. I have a threaded application working on Red Hat Linux 6.0 which uses pthreads. I was trying to port it over to FreeBSD 3.3 on a 2 processor intel machine. Not having done

Re: Search a symbol in the source tree

1999-10-12 Thread Kris Kennaway
On Tue, 12 Oct 1999, bush doctor wrote: > Have you taken a look at global, gtags, or htags. They are part of > the base system. Also 'http://lxr.linux.no/freebsd/source' is rather > helpful ... or the glimpse port. or grep -R, which is recursive grep. Kris XOR for AES -- join the campa

Re: Search a symbol in the source tree

1999-10-12 Thread Daniel C. Sobral
Zhihui Zhang wrote: > > Can anyone suggest me a way of searching symbols in the entire /usr/src > tree? I normally use grep */*. But grep does not work recursively, right? > Something like a small shell script may do this. Thanks a lot. find /usr/src -name \*.\[ch] -print | xargs grep pattern

Re: file system system calls

1999-10-12 Thread Daniel C. Sobral
Gustavo V G C Rios wrote: > > May anyone here point me where in the source tree i can see file system > API implemented, like open, write, close, etc. I strongly suggest you start by buying The Design and Implementation of 4.4 BSD, and reading it. You'll make *much* more progress this way.

Re: aio_read kills machine

1999-10-12 Thread Daniel C. Sobral
"Brian F. Feldman" wrote: > > I'd like everyone to note that for now, if you are providing user-access > to a 4.0 box (and you don't absolutely trust your users), you should be > using the RLIMIT_SBSIZE for limiting network memory usage just as > you use other RLIMITs for memory limiting, etc. A

Symbols and klds

1999-10-12 Thread Warner Losh
How does one tell ddb about dynamic modules? I've had a couple of crashes in my code where I've needed symbols from things dynamically loaded... Does gdb grok them any better? Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

paper on fine-grained OS timers

1999-10-12 Thread Mohit Aron
Hi, I'd like to tell the BSD community about my paper entitled "Soft timers: efficient microsecond software timer support for network processing" that's going to appear in SOSP 1999. The abstract for the paper is attached below. The gzip'd postcript for the paper can be downloaded from:

Re: Search a symbol in the source tree

1999-10-12 Thread bush doctor
Out of da blue Zhihui Zhang aka ([EMAIL PROTECTED]) said: > > Can anyone suggest me a way of searching symbols in the entire /usr/src > tree? I normally use grep */*. But grep does not work recursively, right? > Something like a small shell script may do this. Thanks a lot. Have you taken a loo

Re: Search a symbol in the source tree

1999-10-12 Thread Dan Nelson
In the last episode (Oct 12), Zhihui Zhang said: > Can anyone suggest me a way of searching symbols in the entire /usr/src > tree? I normally use grep */*. But grep does not work recursively, right? > Something like a small shell script may do this. Thanks a lot. If you use zsh, it has a "recur

Re: aio_read kills machine

1999-10-12 Thread Wes Peters
"Matthew D. Fuller" wrote: > > On Tue, Oct 12, 1999 at 11:04:50AM +0930, a little birdie told me > that Greg Lehey remarked > > > > What mailer are you using? It didn't quote the "From " at the > > beginning of the message, so David's message appeared as a separate > > message. If you're lookin

Search a symbol in the source tree

1999-10-12 Thread Zhihui Zhang
Can anyone suggest me a way of searching symbols in the entire /usr/src tree? I normally use grep */*. But grep does not work recursively, right? Something like a small shell script may do this. Thanks a lot. -Zhihui To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-h

Re: FreeBSD CVS mirror

1999-10-12 Thread Sameh Ghane
On Tue, Oct 12, 1999 at 04:36:39PM +0700, Max Khon wrote: > hi, there! > > maybe i'm posting into wrong list, but how is FreeBSD > CVS repository mirrored? > We probably will have an opportunity to set up local FreeBSD mirror here > (we do not have space for full mirror but some parts, including

Re: SMP + fxp0 wierdness

1999-10-12 Thread David Greenman
>David Greenman wrote: >> >> >> So if this problem is NOT related to specific hardware, how can we get >> >> the driver fixed? >> > >> >Talk to the maintainer (David). We've offered him cores and kernels >> >before. Alternatively, you'll need to experiment with your setup to >> >determine what

Re: FreeBSD CVS mirror

1999-10-12 Thread Josef Karthauser
On Tue, Oct 12, 1999 at 04:36:39PM +0700, Max Khon wrote: > hi, there! > > maybe i'm posting into wrong list, but how is FreeBSD > CVS repository mirrored? > We probably will have an opportunity to set up local FreeBSD mirror here > (we do not have space for full mirror but some parts, including

FreeBSD CVS mirror

1999-10-12 Thread Max Khon
hi, there! maybe i'm posting into wrong list, but how is FreeBSD CVS repository mirrored? We probably will have an opportunity to set up local FreeBSD mirror here (we do not have space for full mirror but some parts, including CVS repository is desired) /fjoe To Unsubscribe: send mail to [EMA

Re: getsockopt not working??

1999-10-12 Thread Sharad Joshi
On Tue, 12 Oct 1999, S.RadhaKrishna wrote: + hi, + I'm using getsockopt to get IP_MULTICAST_TTL. But it always returns ttl + as 0. It doesn't fail either. + Here is the call I'm using : + --- + int get_ttl=0; + u_char ttlSize=0; ^ 'Coz of this i presume. Should'nt this