Re: #include question: netinet/in.h requires sys/socket.h

2000-07-13 Thread Alfred Perlstein
* Wilbert de Graaf [EMAIL PROTECTED] [000713 15:59] wrote: Alfred Perlstein wrote: somewhere in the top of netinet/in.h. I want to verify if this is indeed the best way to solve it ? No, the proper solution is to do a forward struct declaration like so: struct something

Re: #include question: netinet/in.h requires sys/socket.h

2000-07-12 Thread Alfred Perlstein
want to verify if this is indeed the best way to solve it ? No, the proper solution is to do a forward struct declaration like so: struct something; struct bigger_something { struct something foo; } -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the

Re: POSIX Real time extensions

2000-07-11 Thread Alfred Perlstein
* Shane Nay [EMAIL PROTECTED] [000711 14:41] wrote: Curiousity strikes me: Is there any present plans to implement the posix realtime signal queues in the freeBSD kernel? I fear I'm not too up on this portion of developement, but I've been looking around to see if it's implemented and it

Re: mbuf re-write(s), v 0.1

2000-07-03 Thread Alfred Perlstein
* David Greenman [EMAIL PROTECTED] [000703 01:32] wrote: .. response to mbuf rewrite I'm not trying to 'frown upon evolution', unless the particular form of evolution is to make the software worse than it was. I *can* be convinced that your proposed changes are a good thing and I'm asking

Re: mbuf re-write(s), v 0.1

2000-07-03 Thread Alfred Perlstein
* Jeroen C. van Gelderen [EMAIL PROTECTED] [000703 08:52] wrote: Alfred Perlstein wrote: Sacrificing performance to fix the small occurances where this is not the case is not worth it, the general case will always be there and will be more important. You seem to imply that you have

Re: name cache size

2000-07-02 Thread Alfred Perlstein
* Sitaram Iyer [EMAIL PROTECTED] [000702 12:32] wrote: Hi, for the purposes of an experiment, how can I increase the size of freebsd's name cache? Currently, find -type f on a tree with more than 40,000 files refuses to cache the results, and increasing desiredvnodes and the size of

Re: Re[2]: mbuf re-write(s), v 0.1

2000-06-29 Thread Alfred Perlstein
* Joe McGuckin [EMAIL PROTECTED] [000629 15:23] wrote: What about a slab allocator (e.g. http://www.cnds.jhu.edu/~jesus/418/SlabAllocator.pdf) Which completely fails to address the concepts behind mbufs. -Alfred To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

freebsd design model

2000-06-19 Thread Alfred Perlstein
ogether as something better. Don't worry too much about overlap, just do what you want to and submit it, the chances of collision are so small that the system you're suggesting would be too heavyweight for most of my needs. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the

big patch: rlimits, accept filters and kblob.

2000-06-13 Thread Alfred Perlstein
ter commit. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

getting the kernel environment?

2000-06-11 Thread Alfred Perlstein
How does one get the environment passed from the loader to the kernel from userland? Yes, I see the sysctl_kernenv in kern_environment.c, but I'm having trouble decyphering as how to use it. thanks, -Alfred To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in

Re: uidinfo has many race conditions.

2000-06-10 Thread Alfred Perlstein
* Brian Fundakowski Feldman [EMAIL PROTECTED] [000610 09:13] wrote: On Fri, 9 Jun 2000, Alfred Perlstein wrote: * Alfred Perlstein [EMAIL PROTECTED] [000609 16:45] wrote: hi, Is it just me or does the fact that uidinfo structures (see kern/kern_proc.c) are allocated

uidinfo has many race conditions.

2000-06-09 Thread Alfred Perlstein
hi, Is it just me or does the fact that uidinfo structures (see kern/kern_proc.c) are allocated with M_WAITOK after finding them fails and then inserted into the uidhash structure a race condition? There's also a problem with sbsize checking because of races going on here, what needs to happen

Re: uidinfo has many race conditions.

2000-06-09 Thread Alfred Perlstein
* Alfred Perlstein [EMAIL PROTECTED] [000609 16:45] wrote: hi, Is it just me or does the fact that uidinfo structures (see kern/kern_proc.c) are allocated with M_WAITOK after finding them fails and then inserted into the uidhash structure a race condition? Index: kern_proc.c

Re: How do I get port inside kernel....

2000-06-05 Thread Alfred Perlstein
-- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: kerneld for FreeBSD

2000-06-05 Thread Alfred Perlstein
* Coleman Kane [EMAIL PROTECTED] [000605 16:19] wrote: Well, it would be nice to auto-load or unload any module that is needed. not just ethernet and fs types. That's basically the idea. Say, if you load a driver that uses some resources that another one can use while the first one is off...

Re: Optimization

2000-06-05 Thread Alfred Perlstein
* Daniel C. Sobral [EMAIL PROTECTED] [000605 16:47] wrote: Can someone discuss the performance trade-offs of the following two alternative codes (and maybe suggest alternatives)? Problem: I need to retrieve two values from a table. Alternative A: x = table[i].x; y =

Re: kerneld for FreeBSD

2000-06-05 Thread Alfred Perlstein
... that's what I'm talking about. "Some resources?" Er, no offence, but you're not making any sense. non shareable ISA irqs? -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe:

Re: DoS

2000-06-04 Thread Alfred Perlstein
] --- Forwarded message not yet posted to bugtrack --- From [EMAIL PROTECTED] Fri Jun 2 14:43:02 2000 Date: Fri, 2 Jun 2000 14:49:54 -0700 From: Alfred Perlstein [EMAIL PROTECTED] To: Ussr Labs [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Local FreeBSD, Openbsd, NetBSD, DoS Vulnerability Message-ID

Re: kerneld for FreeBSD

2000-06-04 Thread Alfred Perlstein
into the mainstream for all components. I'd like to do what I can to help with it. I thought Linux did away with thier kerneld concept. Afaik we can currently load a kld from within kernel context, can you please explain further what you want to do? -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED

Re: Assembly programming under FreeBSD

2000-06-03 Thread Alfred Perlstein
I'm pretty certain that FreeBSD will still honor any program that uses the lcall interface. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: How do I time in kernel...

2000-05-29 Thread Alfred Perlstein
* G.B.Naidu [EMAIL PROTECTED] [000529 04:58] wrote: On Mon, 29 May 2000, Alfred Perlstein wrote: It depends on how you call it, look at the sendfile implementation and see how it has to call writev(), userland_writev() != kernel_writev(), you need to munge with the arguements

Re: Erroneous mmap() behaviour?

2000-05-27 Thread Alfred Perlstein
. FreeBSD doesn't function as a crutch, you must use mmap() properly. You must use ftruncate() to extend the file before you try to write to an invalid area of the mmap(). -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my

Re: Proper uses for MFS?

2000-05-25 Thread Alfred Perlstein
oot anyway. Our installer. :) However with softupdates and the shared vm/buffercache MFS is less useful nowadays. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: Proper uses for MFS?

2000-05-25 Thread Alfred Perlstein
* Matthew Dillon [EMAIL PROTECTED] [000525 13:58] wrote: :You, Matthew Dillon, were spotted writing this on Thu, May 25, 2000 at 10:57:33AM -0700: : : I don't particularly like to use MFS for 'large' partitions, mainly : because cached data blocks wind up in core memory twice

Re: Proper uses for MFS?

2000-05-25 Thread Alfred Perlstein
-backed vn. Unfortunatly we're out of mount flags. Mike Smith had some interesting ideas to extend the mount structure, I'll see what works. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe:

Re: please hellllllllllllp me!

2000-05-22 Thread Alfred Perlstein
* Shadi Fazelian [EMAIL PROTECTED] [000522 02:31] wrote: Hello. please guide me: 1- how I can see a hidden file (not dot file) and how I can hidden a file ? my mean: I want make a file that ls -al can't see it. impossible(*) afaik. 2- how I can write somthing in a file that nobody can

Re: please hellllllllllllp me!

2000-05-22 Thread Alfred Perlstein
* Aleksandr A.Babaylov [EMAIL PROTECTED] [000522 08:30] wrote: Alfred Perlstein writes: 2- how I can write somthing in a file that nobody can see them my mean: in crontab adding some command that this is hidden. impossible(*) afaik. possible if use similar to linux emulator method

Re: please hellllllllllllp me!

2000-05-22 Thread Alfred Perlstein
* David Scheidt [EMAIL PROTECTED] [000522 14:30] wrote: On Mon, 22 May 2000, Alfred Perlstein wrote: * Shadi Fazelian [EMAIL PROTECTED] [000522 02:31] wrote: Hello. please guide me: 1- how I can see a hidden file (not dot file) and how I can hidden a file ? my mean: I want

Re: Question about file write????

2000-05-17 Thread Alfred Perlstein
an ordinary write which copies from user space to the disk cache. any explanations??? What are you using for your kernel to kernel copy? (copyin and friends are hand optimized for great speed when copying from/to userspace) -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I

Re: Question about file write????

2000-05-17 Thread Alfred Perlstein
* Joy Ganguly [EMAIL PROTECTED] [000517 11:19] wrote: Alfred Perlstein wrote: * Joy Ganguly [EMAIL PROTECTED] [000517 09:41] wrote: hi all, i have written a special ioctl which writes data into a file from a buffer in kernel memory. it invokes fo-fo_write() and involves one

Re: How to make system Sync

2000-05-17 Thread Alfred Perlstein
* Jin Guojun [EMAIL PROTECTED] [000517 12:34] wrote: I had a couple of system out of sync problems. (1) PCI sync problem: ATM adapter updates a buffer return pointer and generates intr, but when driver pulls out the information that updated by adapter, some memory in the

Re: mktemp() vs. mkstemp()

2000-05-15 Thread Alfred Perlstein
to not be such a security hole. Do common programs that use mktemp depend on side effects? The side effect they depend on is that the char * returned is unique, but since no file was created it's not garanteed so. You can't fix it. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread Alfred Perlstein
hey change the interface to be more like other mmap() interfaces. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread Alfred Perlstein
* [EMAIL PROTECTED] [EMAIL PROTECTED] [000513 00:41] wrote: Alfred Perlstein wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [000512 21:54] wrote: I know that this was discussed in the past but I can't find out what to do ? In Linux if I have to resize a mmap 'ed object I can just

Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-13 Thread Alfred Perlstein
on Solaris and other commercial systems. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Why this works?

2000-05-12 Thread Alfred Perlstein
at the moment. Afaik several Unix standards mandate this behavior, Linux doesn't follow this standard though. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with &q

Re: Why this works?

2000-05-12 Thread Alfred Perlstein
* Sergey Babkin [EMAIL PROTECTED] [000512 15:23] wrote: Alfred Perlstein wrote: * Ville-Pertti Keinonen [EMAIL PROTECTED] [000511 22:49] wrote: [EMAIL PROTECTED] (FengYue) writes: loop. Now, the third program reads 4K of data from /tmp/pagetest and exit if the 4K data does

Re: [ Global Filesystem ] a thought to mull over ...

2000-05-10 Thread Alfred Perlstein
heterogenous hosts. No offence, the way I read it, it looks like an exportable vn device, hardly state-of-the-art clustering technology. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail

Re: Can NMI drop a hanging FreeBSD kernel into DDB?

2000-05-05 Thread Alfred Perlstein
extreme. hit ctrl+alt+esc on the console, or send a serial break if using a serial console, make sure you have BREAK_TO_DEBUGGER if you're using a serial console. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my

Re: Can NMI drop a hanging FreeBSD kernel into DDB?

2000-05-05 Thread Alfred Perlstein
* Alfred Perlstein [EMAIL PROTECTED] [000505 12:21] wrote: * Jin Guojun [EMAIL PROTECTED] [000505 12:03] wrote: Hi, I am currently experimenting kernel hanging problem even through I have compiled the kernel with DDB enabled. How can I make a hanging kernel into DDB

Re: Using the boot loader to set maximum memory size?

2000-04-26 Thread Alfred Perlstein
exclusively for hardware's use (I'm thinking of Utah-GLX's DMA buffers for G400 cards here). Use the undocumented hw.physmem variable in the loader. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe:

Re: Using the boot loader to set maximum memory size?

2000-04-26 Thread Alfred Perlstein
quot;documented hw.physmem" variable. Ah, it's in loader.help, but not the manpage, I'll patch it asap. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] wit

Re: Turning on a relay.

2000-04-25 Thread Alfred Perlstein
* Leif Neland [EMAIL PROTECTED] [000425 12:24] wrote: I'd like to turn on a relay to the power for my laserprinter 3 rooms away where the server is located. I have an i/o board with a 8255 24 bit i/o port.(IIRC) So I wrote a simple userland program to do inb/outb, but it dumped core with

Re: Double buffered cp(1)

2000-04-22 Thread Alfred Perlstein
this is where the bottleneck is, correct? extend (using truncate) and then mmap() the destination file, then read() directly into the mmap()'d portion. I'd like to see what numbers you get. :) -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I

Re: efficiency of maxproc hardlimit

2000-04-11 Thread Alfred Perlstein
* Bjoern Fischer [EMAIL PROTECTED] [000411 10:06] wrote: On Mon, Apr 10, 2000 at 01:31:39AM -0700, Alfred Perlstein wrote: [...] main(){fork();main();} leaves the machine in an unusable state (it does ping back, one may break into the kernel debugger, but no io). Any

Re: efficiency of maxproc hardlimit

2000-04-10 Thread Alfred Perlstein
and you still get problems then let us know. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Determining traffic on a socket

2000-04-10 Thread Alfred Perlstein
/sys/kern/uipc_socket.c, you should be able to add a "transmitted" feild to the struct sockbuf and keep track of it with minimal effort. I think you could then use an ioctl to retrieve the information. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the hear

Re: somewhat random mostly-lockups in 5.0

2000-04-09 Thread Alfred Perlstein
with a traceback because they just mean that most likely the kernel is stuck in an infinite loop somewhere. In otherwords, unplug your palm pilot and attach a console. thanks, -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my

Re: FreeBSD 3.3 fork/Exec bug?

2000-04-08 Thread Alfred Perlstein
assume that this is OS related, does anyone know anything about, or can help me with this? Without some example code to demostrate the problem there's not much we can do to address this. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in

Re: FreeBSD 3.3 fork/Exec bug?

2000-04-08 Thread Alfred Perlstein
(void)close(sock); return TCP_CONNECT_NONE; } Pick up a copy of Unix Netork Programming vol I, see page 411, it has a very good example on how to do non-blocking connects properly. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I ke

Re: Is traditional unixes kernel really stable ?

2000-04-06 Thread Alfred Perlstein
* Gustavo V G C Rios [EMAIL PROTECTED] [000406 19:12] wrote: Considering the current kernel design approach used by traditional system, what happens if a drive were wrongly coded ? Would the entiry system crash ? please define "wrongly coded". -- -Alfred Perlstein - [[EMAIL

Re: Is traditional unixes kernel really stable ?

2000-04-06 Thread Alfred Perlstein
driver under any OS has the potential to lock up or crash the entire system, I'm pretty sure I read that incorrect accesses to some devices may cause them to wedge system busses, at that point there's not much one can do besideds panic. So it's not just unix. :) -- -Alfred Perlstein - [[EMAIL

Re: Is traditional unixes kernel really stable ?

2000-04-06 Thread Alfred Perlstein
* Gustavo V G C Rios [EMAIL PROTECTED] [000406 20:23] wrote: Alfred Perlstein wrote: * Gustavo V G C Rios [EMAIL PROTECTED] [000406 19:12] wrote: Considering the current kernel design approach used by traditional system, what happens if a drive were wrongly coded ? Would

Re: reducing the number of NFSv3 commit ops

2000-04-04 Thread Alfred Perlstein
's caching forcing sever commits on thier behalf. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: reducing the number of NFSv3 commit ops

2000-04-04 Thread Alfred Perlstein
* Andrew Gallatin [EMAIL PROTECTED] [000404 14:25] wrote: Alfred Perlstein writes: Can anybody tell me if doing something like this is fundamentally broken? Is it worth pursuing? http://www.freebsd.org/~alfred/nfs_supercommit_broken.diff only grab as many adjacent

Re: FTP server

2000-03-31 Thread Alfred Perlstein
unt should also be set up as for an anonymous account. it's in the ftpd manpage. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child, I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with "un

Re: FreeBSD USB stack Class Drivers

2000-03-24 Thread Alfred Perlstein
* svatsa vs [EMAIL PROTECTED] [000324 02:40] wrote: Hello, This mail is from Srivatsa , a member of USB developers in bsd-usb e-group .I would like to know the information about the FreeBSD USB stack Class Drivers , basically what it contains from which versions onwards it is

Re: shell issue

2000-03-24 Thread Alfred Perlstein
* Dungeonkeeper [EMAIL PROTECTED] [000324 10:03] wrote: Hi there, First of all: I want to apologise for my poor english. Today me and a few friends of mine discussed the shells' (well, shell is actualy one of: sh/bash/csh/tcsh... not tested for ksh) command line expansion routines,

Re: How a normal user can crash any linux system (fwd)

2000-03-22 Thread Alfred Perlstein
? eww. No i don't get the idea, login.conf in FreeBSD is able to limit a user to a maximum amount of processes, I think even cputime limitations work but I haven't tried them. Yes, and one shouldn't give accounts out to irresponcible/thoughtless people. 'rmuser' is your friend. -- -Alfred

Re: How a normal user can crash any linux system (fwd)

2000-03-22 Thread Alfred Perlstein
to setup limits. If you want to know why random processes are sometimes killed then you need to buy and read an OS book. thanks, -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" i

Re: How to read a file from a device driver?

2000-03-17 Thread Alfred Perlstein
and the fs code to figure out how this is done, one subsystem that manipulates files from kernel space is the quota system. d) ? :) good luck, -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hacke

Re: How to read a file from a device driver?

2000-03-17 Thread Alfred Perlstein
clue... You're just going to have to grovel through the code somewhat, sendfile is sort of useful but you must have an already open file handle. There's other code you can get to do that, like the quota system (i'm pretty sure). -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Un

Re: changing probe order for scsi controllers (ncr0/ahc0)

2000-03-15 Thread Alfred Perlstein
* Danny Howard [EMAIL PROTECTED] [000315 02:21] wrote: hi. i have a production system with an ncr0 SCSI controller that's pretty weak. I would like to add an adaptec, which comes in as ahc0. The problem is that when I add the ahc0 in to the system, it comes up ahead of the ncr0, and so the

Re: Why not gzip iso images?

2000-03-15 Thread Alfred Perlstein
-r--r-- 1 bright staff 625839147 Dec 28 19:23 3.4-install.iso.gz that's not gzip -9, but I think I've done that in the past to the disks and it still didn't help all that much. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED

Re: Why not gzip iso images?

2000-03-15 Thread Alfred Perlstein
* Paul Robinson [EMAIL PROTECTED] [000315 06:14] wrote: On Wed, 15 Mar 2000, Alfred Perlstein wrote: And not that much even with that: -rw-r--r-- 1 bright staff 647815168 Dec 28 19:23 3.4-install.iso -rw-r--r-- 1 bright staff 625839147 Dec 28 19:23 3.4-install.iso.gz I never

Re: Buffer Problems and hangs in 4.0-CURRENT..

2000-03-12 Thread Alfred Perlstein
o increase NMBCLUSTERS they've had other problems because the kernel's network buffers wired down all the machine's memory. Yes, increasing NMBLCUSTERS is a good thing, but without your configuration it's hard to say how much to increase it. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL

Re: Buffer Problems and hangs in 4.0-CURRENT..

2000-03-12 Thread Alfred Perlstein
it. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] Sorry, thought you were asking about the kernel configs, not the hardware configs. Here is my current running config via dmesg, as I think that covers it all.. Copyright (c) 1992-2000 The FreeBSD Project. ... real memory

Re: Buffer Problems and hangs in 4.0-CURRENT..

2000-03-12 Thread Alfred Perlstein
) in the future, they are definetly my favorite. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] I'll let you know how things pan out, but I just did a cvsup to the current code as of today, and also changed the MAXUSERS to 256, and the NMBCLUSTERS to 20480

Re: Buffer Problems and hangs in 4.0-CURRENT..

2000-03-12 Thread Alfred Perlstein
* Howard Leadmon [EMAIL PROTECTED] [000312 12:51] wrote: Hello, I am getting the following errors out of FreeBSD 4.0-CURRENT trying to run an IRC server, and was wondering if anyone had any ideas or recommended tunables I should set?? Mar 9 22:32:03 u

Re: Is FreeBSD dead?

2000-03-11 Thread Alfred Perlstein
* Kevin M Geraci [EMAIL PROTECTED] [000311 03:54] wrote: Maybe FreeBSD needs to "spin off" like Slackware is doing and let Walnut Creek merge with BSDi with out FreeBSD. We'd be better off if people making suggestions like this would "spin off". -- -Alfred Perlstein

Re: Any interest in 3c905c driver for 2.2.8?

2000-03-10 Thread Alfred Perlstein
it avalable, I'll commit it to the 2.2.x branch if no one else does. thanks, -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: inner workings of the C compiler

2000-03-10 Thread Alfred Perlstein
* Oscar Bonilla [EMAIL PROTECTED] [000310 15:19] wrote: On Thu, Mar 09, 2000 at 05:20:31PM -0800, Kris Kennaway wrote: On Wed, 8 Mar 2000, Alfred Perlstein wrote: I'm pretty sure this can be done a hell of a lot easier by using shared libraries and using the enviornment variables

Re: inner workings of the C compiler

2000-03-10 Thread Alfred Perlstein
* Oscar Bonilla [EMAIL PROTECTED] [000310 16:00] wrote: On Fri, Mar 10, 2000 at 03:27:37PM -0800, Alfred Perlstein wrote: I think you'll want LD_LIBRARY_PATH to be: /home/obonilla/freebsd/nss/libc/:/usr/lib:/usr/local/lib I don't see why since the only library I use is libc. Anyway, I

Re: inner workings of the C compiler

2000-03-10 Thread Alfred Perlstein
* Oscar Bonilla [EMAIL PROTECTED] [000310 17:08] wrote: On Fri, Mar 10, 2000 at 04:35:18PM -0800, Alfred Perlstein wrote: It seems to be working just fine, I suspect that there's something wrong with your code and you're referencing a function that somehow is not being compiled into libc

Re: inner workings of the C compiler

2000-03-08 Thread Alfred Perlstein
* Oscar Bonilla [EMAIL PROTECTED] [000308 13:37] wrote: i'm working on the C library, and to make debuggin easy i've copied /usr/src/lib/libc to another directory and only build libc.a. i've also copied /usr/src/lib/csu/i386-elf to another directory and have enabled debug symbols on both

Re: Sysinstall 'A'uto partitioning

2000-03-07 Thread Alfred Perlstein
* Luke Hollins [EMAIL PROTECTED] [000307 17:49] wrote: 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 wd0s1bswap 651MB SWAP wd0s1e/var20MB UFS Y wd0s1f

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

2000-02-28 Thread Alfred Perlstein
* 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 memory segment that was created user read/write read-only. It works

Re: kernel

2000-02-21 Thread Alfred Perlstein
* José Luís Faria [EMAIL PROTECTED] [000221 03:25] wrote: Hello I'm creating a litle update to a freebsd 3.4 kernel. My program is for account some data: number of packets by class, number of packets dropped by class, etc. Now I need to pass this values to another program wich in X-Window

Re: Help me understand dlopen/dlsy

2000-02-14 Thread Alfred Perlstein
* Pradesh Chanderpaul [EMAIL PROTECTED] [000214 06:33] wrote: This message was sent from Geocrawler.com by "Pradesh Chanderpaul" [EMAIL PROTECTED] Be sure to reply to that address. Hello All I know that this question is more suited to the general questions mailing group, but I tried,

Re: pthread problem (long and difficult)

2000-02-09 Thread Alfred Perlstein
* Russ Pagenkopf [EMAIL PROTECTED] [000209 02:58] wrote: Hiya folks! You've become my last hope for resolving my problem. I'm attempting to install CommuniGatePro and I've got a problem no one has the answer to. I've posted these questions to -questions and the CGPro list with no luck

Re: Summary: FreeBSD, posix, pthread problems

2000-02-09 Thread Alfred Perlstein
: /usr/libexec/ld-elf.so.1: ./CGServer: Undefined symbol "pthread_attr_setscope" The Solution: Alfred Perlstein wrote: snip the symlinks are set properly for you to use the 3 version of the library (you may want to copy libc_r.so.4 over libc_r.so.3). So, chflags noschg

Syncing a vector of fileoffsets and lengths?

2000-02-07 Thread Alfred Perlstein
according to the manpage. thanks, -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Syncing a vector of fileoffsets and lengths?

2000-02-07 Thread Alfred Perlstein
? There is no way to do this currently. :It seems that msync with MS_ASYNC would work (a bit kludgy), but :it's not implemented according to the manpage. : :thanks, :-- :-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] The man page is wrong. It is implemented, but it doesn't

Re: Syncing a vector of fileoffsets and lengths?

2000-02-07 Thread Alfred Perlstein
* Wes Peters [EMAIL PROTECTED] [000207 15:02] wrote: Alfred Perlstein wrote: I asked this question because of a problem that Postgresql has, basically multiple processes will be updating a file, they may do scattered IO to multiple offsets into the file, at the end of a transaction

(forw) Re: readdir_r thread safe?

2000-02-05 Thread Alfred Perlstein
greatly simplify the code and actually fix the readdir_r problem. -Alfred - Forwarded message from "Richard Seaman, Jr." [EMAIL PROTECTED] - Date: Mon, 29 Nov 1999 15:32:50 -0600 From: "Richard Seaman, Jr." [EMAIL PROTECTED] To: Alfred Perlstein [EMAIL PROTECTED]

Re: porting linux app. Syscalls

2000-02-02 Thread Alfred Perlstein
* Marco van de Voort [EMAIL PROTECTED] [000202 20:02] wrote: I'm new to the list (and to BSD development in general), and I'm developper of the FreePascal project (www.freepascal.org) which is a bootstrapping compiler, completely written in Pascal. Currently I started preparations for a

Re: freebsd specific search?

2000-02-01 Thread Alfred Perlstein
* Dave McKay [EMAIL PROTECTED] [000201 13:54] wrote: As you may or may not be aware, google.com has a linux specific search engine at http://www.google.com/linux. I have expressed interest in possibly creating a freebsd specific search engine. I need support from the BSD community for this.

Re: how to catch a wildrunning pointer

2000-01-28 Thread Alfred Perlstein
* Thomas Klein [EMAIL PROTECTED] [000128 02:42] wrote: Hi My Problem: Within a kernel timeout routine I allocate memory and fill it with data. After a while I lock at this data again and realize that it it was modifyted (but not by me). How can I set a kernel mode watch point to that

downed IP addresses/redundancy

2000-01-28 Thread Alfred Perlstein
around with routing otherwise you can't talk to the machine who's IP you're holding for replacement. thanks, -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: downed IP addresses/redundancy

2000-01-28 Thread Alfred Perlstein
* Jack Rusher [EMAIL PROTECTED] [000128 07:42] wrote: Alfred Perlstein wrote: Does anyone particularly like/hate this idea? Just wanted to share, and possibly get better suggestions. I usually do that like this: HostA - Address1, Alias1 HostB - Address2 ...where Host A and Host

Re: downed IP addresses/redundancy

2000-01-28 Thread Alfred Perlstein
* Jack Rusher [EMAIL PROTECTED] [000128 15:04] wrote: Alfred Perlstein wrote: You have multiple customers on two boxes, each customer gets 2 IP address and you lolad balance between the two. Ah! I see your difficulty. I was thinking about availability; you were thinking about load

Re: aio_read crashing certain kernels.

2000-01-26 Thread Alfred Perlstein
* Scott Hess [EMAIL PROTECTED] [000126 10:08] wrote: Since nobody here seems to be able to figure it out... I wrote a program to play around with aio_read(), and it ran stellarly well on my FreeBSD3.4-release system using EIDE hard drives. But, when I tried to run it on a system using our

Re: Performance issue with rfork() and single socketpairs versus multiple socketpairs.

2000-01-25 Thread Alfred Perlstein
* Matthew Dillon [EMAIL PROTECTED] [000125 11:51] wrote: :OK, so let's say I did spend some time implementing it in terms of semget() :and semop(). Would you be totally apalled if the performance turned out to :be about the same as using a single socketpair? Do you have a very strong

Re: kern/13644

2000-01-24 Thread Alfred Perlstein
* Mikhail Teterin [EMAIL PROTECTED] [000124 12:35] wrote: David Schwartz once wrote: The man page is correct and the implementation is correct. Several people, said the man pages are broken: Bruce Evans on Dec 28: If timeout is a non-nil pointer, it

Re: kern/13644

2000-01-24 Thread Alfred Perlstein
if it's the only change. 'nil' doesn't cut it for me either. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: kern/13644

2000-01-23 Thread Alfred Perlstein
be fixing the manpage shortly, you should contact other vendors. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: ioctl(... TUNSLMODE ...)

2000-01-20 Thread Alfred Perlstein
it as an excercise to implement something in the manpages. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Reading the kernel sources

2000-01-12 Thread Alfred Perlstein
* Michael Lucas [EMAIL PROTECTED] [000112 14:35] wrote: I find myself in a contract where I sit for eight hours a day and wait for something to break. It pays obscenely well, so I'm putting up with the tedium. So, if I was to sit down and start reading /usr/src/sys, where's the logical

Re: Practical limit for number of TCP connections?

1999-12-18 Thread Alfred Perlstein
On Sat, 18 Dec 1999, Kevin Day wrote: The _clean_ way of doing it would be to write your multi-user server using threads, and to assign one thread to each connection. If you can do that, then the logic in the program becomes quite simple. Each thread just sits there, blocked on a call

Re: technical info needed

1999-12-12 Thread Alfred Perlstein
On Sun, 12 Dec 1999, Julian Elischer wrote: On Mon, 13 Dec 1999, Chris Costello wrote: On Mon, Dec 13, 1999, Ilia Chipitsine wrote: Is it called once an year or 50 times a second ? Is there a way how can I determine it by myself ? Add a statement like

<    3   4   5   6   7   8   9   10   >