Re: pipe

2000-12-06 Thread Dag-Erling Smorgrav
"G. Adam Stanislav" [EMAIL PROTECTED] writes: On Tue, Dec 05, 2000 at 06:11:06PM +0100, Dag-Erling Smorgrav wrote: The second and third sentences of the second paragraph (the one that starts on line 23), as well as the entire eighth paragraph (that starts on line 45), address the questions

Re: pipe

2000-12-06 Thread Stephen McKay
On Wednesday, 6th December 2000, Dag-Erling Smorgrav wrote: "G. Adam Stanislav" [EMAIL PROTECTED] writes: I know it addresses it. Unfortunately, I didn't understand a word of it. MAP_ANONMap anonymous memory not associated with any specific file. The file descriptor

Re: vm_pageout_scan badness

2000-12-06 Thread News History File User
:The mlock man page refers to some system limit on wired pages; I get no :error when mlock()'ing the hash file, and I'm reasonably sure I tweaked :the INN source to treat both files identically (and on the other machines :I have running, the timestamps of both files remains pretty much

ATM broken in -current

2000-12-06 Thread Harti Brandt
Hi, the ATM stuff in /sys/dev/h{e,f}a and /sys/netatm seems to be seriously broken in current. A simple 'atm show config' command leads to a kernel panic. I have tracked down the problem (and had to learn, that bzero is a function pointer rather than a function on i386). I cannot track, how

It's all clear now

2000-12-06 Thread G. Adam Stanislav
I would like to thank everyone who has answered my recent question about memory allocation via mmap. I received many message via private e-mail in addition to those here. One of them sent me to an online sample chapter of one of Stevens' book (Interprocess Communication) which explains mmap.

free() not freing pagedirs pages.

2000-12-06 Thread Remy Nonnenmacher
Hello, I'm encountering a problem with the stardard libc malloc/free library. if a program allocates a huge (and temporary) amount of memory with small structures then free it, the library gives back only a few pages to the system. From the /usr/src/lib/libc/stdlib/malloc.c sources, it seems

Re: free() not freing pagedirs pages.

2000-12-06 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Remy Nonnenmacher wr ites: From the /usr/src/lib/libc/stdlib/malloc.c sources, it seems that this is due to not shrinking/relocating pagedir pages (free_pages(), comment around line 940). This means that returning pages stop at first allocated pagedir. That is

ptrace(PT_GETDBREGS) message in remote debugging

2000-12-06 Thread Zhiui Zhang
I tried remote debugging on FreeBSD 4.2 this morning. Everything was fine, except that I saw the following messages: (gdb) step ptrace(PT_GETDBREGS) failed: No such process ptrace(PT_GETDBREGS) failed: No such process ptrace(PT_GETDBREGS) failed: No such process 201 cred = p ?

Re: free() not freing pagedirs pages.

2000-12-06 Thread Remy Nonnenmacher
OK. In fact my problem was just a printf that allocated a buffer via __smakebuf at the very last moment (when all memory was allocated). This prevent free() to give back all previous pages up to this one. The problem was _not_ in malloc.c. Anyway, i learned a lot from hacking the source to catch

Re: free() not freing pagedirs pages.

2000-12-06 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Remy Nonnenmacher wr ites: OK. In fact my problem was just a printf that allocated a buffer via __smakebuf at the very last moment (when all memory was allocated). This prevent free() to give back all previous pages up to this one. The problem was _not_ in malloc.c.

Support for Syba pci multi i/o card?

2000-12-06 Thread John Hay
Does anyone know of patches or something to support these cards? The cards that I have is by Syba Tech and is a 4 x serial and 2 x parallel port pci card. It has 2 winbond W83877TF 2 x serial + 1 x parallel port "superio" chips and some pci glue. The card has 0x400 bytes of io space, as big as

Re: free() not freing pagedirs pages.

2000-12-06 Thread Matt Dillon
: :OK. In fact my problem was just a printf that allocated a buffer via :__smakebuf at the very last moment (when all memory was allocated). :This prevent free() to give back all previous pages up to this one. The :problem was _not_ in malloc.c. : :Anyway, i learned a lot from hacking the source

Re: pipe

2000-12-06 Thread Wes Peters
"G. Adam Stanislav" wrote: On Mon, Dec 04, 2000 at 12:56:51PM +1000, Stephen McKay wrote: Using pipes for temporary storage is still a crazy idea. Pipes can be smaller than 8K, depending on the flavour of Unix. It was just a thought, and it did not work. :) Other flavors of Unix are not

No Subject

2000-12-06 Thread Michael Chong
I have a question about FreeBSD...is it possible to set acl's on commands? (eg..giving one specific user the abiltity to execute a command w/o putting them in a group) I'm talking about something like this: http://www.sunworld.com/swol-06-1998/swol-06-insidesolaris.html. Can we do something

4.2-RELEASE will not boot after install ?

2000-12-06 Thread Nathan Boeger
Don't know if I should post here but I just installed 4.2-RELEASE onto a ppro 200 (had linux) the install went without a hich. Then when I rebooted, the box just stopped. It seemed like it could not read the mbr. So I booted again off the floppies and I used the loader to switched the

PAM issues..

2000-12-06 Thread Chris
Hi, I have been writing a PAM module to do Kerberos 5 and AFS stuff, and have run across a couple of problems. First of all, the simple one. :) How do you set or modify an environment variable? Neither setenv, pam_misc_setenv, or pam_putenv seem to be work. From what I gather from the pam_ssh

Re: ptrace(PT_GETDBREGS) message in remote debugging

2000-12-06 Thread Brian Dean
On Wed, Dec 06, 2000 at 01:04:36PM -0500, Zhiui Zhang wrote: I tried remote debugging on FreeBSD 4.2 this morning. Everything was fine, except that I saw the following messages: (gdb) step ptrace(PT_GETDBREGS) failed: No such process ptrace(PT_GETDBREGS) failed: No such process

Re: Support for Syba pci multi i/o card?

2000-12-06 Thread Warner Losh
In message [EMAIL PROTECTED] John Hay writes: : Does anyone know of patches or something to support these cards? The cards : that I have is by Syba Tech and is a 4 x serial and 2 x parallel port pci : card. It has 2 winbond W83877TF 2 x serial + 1 x parallel port "superio" : chips and some pci

Re: 4.2-RELEASE will not boot after install ?

2000-12-06 Thread Louis A. Mamakos
I had the same problem on an old PPro box. The BIOS seemingly doesn't like the new (2 sector long) boot manager. If you fire up sysinstall again, and tell it to install the "standard bootblocks" (forgot the exact phrase), rather than the boot manager, you'll probably be OK. louie Don't know

Re: PAM issues..

2000-12-06 Thread Jacques A. Vidrine
On Thu, Dec 07, 2000 at 12:06:46AM +, Chris wrote: Hi, I have been writing a PAM module to do Kerberos 5 and AFS stuff, and have run across a couple of problems. Have you looked at ports/security/pam_krb5, by the way? This does Kerberos 5, but not AFS. The next is pam_setcred(). I've

Re: your mail

2000-12-06 Thread Roop Nanuwa
I think what you're looking for is something similar (or exactly like) 'sudo'.. You can get it under your ports tree: /usr/ports/security/sudo/ Or on-line: www.freebsd.org/ports/security.html RSN On Wed, 6 Dec 2000, Michael Chong wrote: I have a question about FreeBSD...is it possible to

Optimal UFS parameters

2000-12-06 Thread A G F Keahan
What parameters should I choose for a large (say, 60 or 80Gb) filesystem? I remember a while ago someone (phk?) conducted a survey, but nothing seems to have come of it. In the meantime, the capacity of an average hard drive has increased tenfold, and the defaults have become even less

HEADS UP - PCI code changes, review requested

2000-12-06 Thread Mike Smith
As people may have noticed, I've been working on a cleanup of parts of our PCI subsystem. The next round of changes are ready for review. In summary, the changes: - Break out our bridge support into separate PCI:PCI, PCI:EISA and PCI:ISA modules. - Move all PCI core code into

RE: Optimal UFS parameters

2000-12-06 Thread Matt Simerson
That's because any "consensus" would be inappropriate for mass consumtion. It really depends on a lot of fun things like the average file size and the number of files that the drives will be storing. For example, a mail server might want more inodes than a database server. The mail server will

Router Alert

2000-12-06 Thread Alwyn Goodloe
Folks, I need to use Router Alert (rfc2113) (http://www.phys-iasi.ro/Library/RFCs/rfc2113.htm) * Is there any documentation for using Router Alert in the FreeBSD environement. * Are there specific options that the Kernel must be compiled with? * I know in Linux there is a

Re: 4.2-RELEASE will not boot after install ?

2000-12-06 Thread nathan
"Louis A. Mamakos" wrote: I had the same problem on an old PPro box. The BIOS seemingly doesn't like the new (2 sector long) boot manager. If you fire up sysinstall again, and tell it to install the "standard bootblocks" (forgot the exact phrase), rather than the boot manager, you'll

Re: your mail

2000-12-06 Thread David Talkington
I think what you're looking for is something similar (or exactly like) 'sudo'.. sudo definitely helps if it's carefully administered, but it still grants root access to a file, which may not really be what you want. As a Unix advocate in general, I'm looking forward to seeing how well Sun does

sudo [was: Re: your mail]

2000-12-06 Thread Greg Black
David Talkington wrote: sudo definitely helps if it's carefully administered, but it still grants root access to a file, This is wrong -- sudo will grant access with whatever user privileges you wish to grant, maybe root and maybe some other user. It all depends on the way you set it up. It

Re: RE: Optimal UFS parameters

2000-12-06 Thread Matt Dillon
:That's because any "consensus" would be inappropriate for mass consumtion. :It really depends on a lot of fun things like the average file size and the :number of files that the drives will be storing. For example, a mail server :might want more inodes than a database server. The mail server

Re: Router Alert

2000-12-06 Thread Kenjiro Cho
Alwyn Goodloe wrote: I need to use Router Alert (rfc2113) (http://www.phys-iasi.ro/Library/RFCs/rfc2113.htm) * Is there any documentation for using Router Alert in the FreeBSD environement. * Are there specific options that the Kernel must be compiled with? * I know in Linux there is

Re: sudo [was: Re: your mail]

2000-12-06 Thread Drew Eckhardt
In message [EMAIL PROTECTED], [EMAIL PROTECTED] writes: David Talkington wrote: sudo definitely helps if it's carefully administered, but it still grants root access to a file, This is wrong -- sudo will grant access with whatever user privileges you wish to grant, maybe root and maybe some

Re: sudo [was: Re: your mail]

2000-12-06 Thread David Talkington
Greg Black wrote: sudo definitely helps if it's carefully administered, but it still grants root access to a file, This is wrong -- sudo will grant access with whatever user privileges you wish to grant, maybe root and maybe some other user. It all depends on the way you set it up. Wow, the

Re: PAM issues..

2000-12-06 Thread Chris Csanady
On Thu, Dec 07, 2000 at 12:06:46AM +, Chris wrote: Hi, I have been writing a PAM module to do Kerberos 5 and AFS stuff, and have run across a couple of problems. Have you looked at ports/security/pam_krb5, by the way? This does Kerberos 5, but not AFS. IIRC, this module will

Re: More on BTX halted / crashes trying to use -stable /boot/loader

2000-12-06 Thread Mike Smith
Ah ha! I think I found the culprit, but I'm not sure exactly where in the tftp code the problem is occuring. I have been setting LOADER_TFTP_SUPPORT in /etc/make.conf so my pxeboot file uses tftp to get the kernel rather then NFS (since NFS appears to only be able to

Re: More on BTX halted / crashes trying to use -stable /boot/loader

2000-12-06 Thread Matt Dillon
Ah ha! I think I found the culprit, but I'm not sure exactly where in the tftp code the problem is occuring. I have been setting LOADER_TFTP_SUPPORT in /etc/make.conf so my pxeboot file uses tftp to get the kernel rather then NFS (since NFS appears to only be able to get