Re: DEVFS

2000-07-17 Thread Chris Costello
On Sunday, July 16, 2000, Coleman Kane wrote: > This is a great idea. We need a good, well drawn out description of > what DEVFS is supposed to accomplish and how we'd like it to work. I > will be glad to help out, and perhaps we can get some movement on this. > Personally, I'd like to see DEVFS c

Re: 160/m support...

2000-07-17 Thread Essenz Consulting
Marc, Do you know anyone who has tried the support of AIC-7899 chips? That chipset is used on some quad and dual XEON boards. -john v.e. On Sun, 16 Jul 2000, Marc Veldman wrote: > On Tue, 11 Jul 2000, Kenneth D. Merry wrote: > > > > Is Adaptec aic-7892 and 7899 160/m SCSI support in the pipel

Re: different clocks in FreeBSD

2000-07-17 Thread Song Li
Could somebody give me suggestion? I believe many people know about this question. But I did not recieve any reply until now. If you think my question is not clear or can be solve by simply reading some man page/source code, please tell me. I am a newbie here. So please do not hesitate to give me

Re: rfork(RFMEM) behaviour

2000-07-17 Thread Matt Dillon
:I am getting strange behaviour with rfork(RFMEM) on a ~2 week old :kernel. The following code illustrates it. For all the world, the :stack appears to be shareable after the fork. This is clearly wrong, :since pid was at some point different in parent and child for them :to take the right case. :

Re: /etc/security -> /etc/periodic/security ?

2000-07-17 Thread Alexander Langer
Thus spake James Howard ([EMAIL PROTECTED]): > fairings? Why does it matter what color the bikeshed is? What does What is this thing with the bikesheds??? It appears on every place I am, on IRC, now here. As a non-native English-speaker, I'd like to know what's up with the poor bikesheds. T

panic: vm_map_entry_create: kernel resources exhausted

2000-07-17 Thread Gergely EGERVARY
hello all, I have to set up a box able to run >5000 processes. I have the hardware for it (i386 architecture, lots of RAM, lots of CPU power) I'm playing with VM parameters, tuning everything possible, but can't get more than 3800 - 4000 processes without getting the box unstable. I need some h

Re: sysctl interface for apm?

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> Wes Peters writes: : Poul-Henning Kamp wrote: : > : > In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wri : > tes: : > : > >So what does everyone think? Is it suitable to add a read only : > >sysctl 'machdep.apm_powerstate' that reports either AC, nn%, : > >or N/

Re: gcc 2.95.2, placement new hassles.

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Dave Preece (KB Group)" writes: : Possibly off topic, but here goes. : : I'm trying to use placement new with gcc 2.95.2 on FBSD4.0-Release and can't : get it to go with an error: : : :11: too many arguments to function `void * operator new(unsigned : int)' : :

Re: gcc 2.95.2, placement new hassles - solved.

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Dave Preece (KB Group)" writes: : Panic over, #include solved that. You learn something new every day. : No pun intended. : : Apologies for offtopicness. 50 lines of "I will look on deja next time". You don't need to include new.h, and you shouldn't generally.

Re: /etc/security -> /etc/periodic/security ?

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> Alexander Langer writes: : What is this thing with the bikesheds??? Summary: phk sent out a long message about how one can do huge things w/o anybody complaining because they don't feel they are quailified to. One cannot do small things without getting bogg

Re: sysctl interface for apm?

2000-07-17 Thread Nick Sayer
Warner Losh wrote: > In message <[EMAIL PROTECTED]> Wes Peters writes: > : Poul-Henning Kamp wrote: > : > > : > In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wri > : > tes: > : > > : > >So what does everyone think? Is it suitable to add a read only > : > >sysctl 'machdep.apm_powerstate' that

Re: sysctl interface for apm?

2000-07-17 Thread Hajimu UMEMOTO
> On Mon, 17 Jul 2000 11:15:18 -0700 > Nick Sayer <[EMAIL PROTECTED]> said: nsayer> The "why bother" is easy -- one should not have to belong to group nsayer> operator to determine the current battery state. Too many things nsayer> already have to be sgid (at least) without making this an

Re: sysctl interface for apm?

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> Nick Sayer writes: : The "why bother" is easy -- one should not have to belong to group : operator to determine the current battery state. Too many things : already have to be sgid (at least) without making this another reason. You should already be a member of grou

Re: sysctl interface for apm?

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> Hajimu UMEMOTO writes: : nsayer> The "why bother" is easy -- one should not have to belong to group : nsayer> operator to determine the current battery state. Too many things : nsayer> already have to be sgid (at least) without making this another reason. : I love th

Re: sysctl interface for apm?

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> Warner Losh writes: : Yes. The right answer isn't to kludge this through a sysctl, but : instead it is to fix apm to that it is safe to make it world read : only. Is there a way inside a ioctl to see if you have something open : for write access? OK. I found the

Re: sysctl interface for apm?

2000-07-17 Thread Hajimu UMEMOTO
> On Mon, 17 Jul 2000 13:14:24 -0600 > Warner Losh <[EMAIL PROTECTED]> said: imp> In message <[EMAIL PROTECTED]> Hajimu UMEMOTO writes: imp> : nsayer> The "why bother" is easy -- one should not have to belong to group imp> : nsayer> operator to determine the current battery state. Too man

Re: sysctl interface for apm?

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> Hajimu UMEMOTO writes: : Indeed, I wish to have a method to obtain required information without : extra privilege. We need safety way. : Currentry, GKrellM opens /dev/apm with O_RDWR. I just tried to open : with O_RDONLY and see it is sufficient for APMIO_GETINFO.

Re: sysctl interface for apm?

2000-07-17 Thread Hajimu UMEMOTO
> On Mon, 17 Jul 2000 13:45:29 -0600 > Warner Losh <[EMAIL PROTECTED]> said: imp> It is sufficient for APMIO_GETINFO, but it will introduce a security imp> hole as the apm ioctls aren't careful enough about their sanity imp> checking. I've added such sanity checking in my local copy of a

Re: sysctl interface for apm?

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> Hajimu UMEMOTO writes: : ports/sysutils/gkrellm/ :-) ah. ok. I feel dumb now... :-) thank you umemoto-san. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

-stable message... Which param

2000-07-17 Thread Jaye Mathisen
newsfeed-inn2# Jul 17 10:14:07 newsfeed-inn2 /kernel: pmap_collect: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC Don't see this one in LINT. Anybody have any wild guesses as to good values? newsfeed-inn2# sysctl -a | grep shm kern.ipc.shmmax: 4194304 kern.ipc.shmmin: 1 kern.ip

KLD, kernel threads, zone allocator

2000-07-17 Thread Zhihui Zhang
I am writing a KLD that gives me kernel fault each time I run 'ps' command after 'make unload'. The KLD has a system call to create several kernel threads by calling kthread_create(). During unload, I set flags to each threads so that they will call exit1() upon wakeup (sleep on a timeout). Be

Re: /etc/security -> /etc/periodic/security ?

2000-07-17 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Alexander Langer writ es: >Thus spake James Howard ([EMAIL PROTECTED]): > >> fairings? Why does it matter what color the bikeshed is? What does > >What is this thing with the bikesheds??? > >It appears on every place I am, on IRC, now here. > >As a non-native Engl

Re: panic: vm_map_entry_create: kernel resources exhausted

2000-07-17 Thread Bernd Walter
On Mon, Jul 17, 2000 at 07:52:01PM +0200, Gergely EGERVARY wrote: > hello all, > > I have to set up a box able to run >5000 processes. I have the hardware > for it (i386 architecture, lots of RAM, lots of CPU power) > > I'm playing with VM parameters, tuning everything possible, but can't get >

Re: sysctl interface for apm?

2000-07-17 Thread Cyrille Lefevre
Nick Sayer <[EMAIL PROTECTED]> writes: > Cyrille Lefevre wrote: > > > Nick Sayer <[EMAIL PROTECTED]> writes: > > > > > Cyrille Lefevre wrote: > > > > > > > Poul-Henning Kamp <[EMAIL PROTECTED]> writes: > > > > > > > > > In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >wri > > > > > tes: > > >

Re: sysctl interface for apm?

2000-07-17 Thread Cyrille Lefevre
Nick Sayer <[EMAIL PROTECTED]> writes: > Warner Losh wrote: > > > In message <[EMAIL PROTECTED]> Wes Peters writes: > > : Poul-Henning Kamp wrote: > > : > > > : > In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wri > > : > tes: > > : > > > : > >So what does everyone think? Is it suitable to ad

Re: sysctl interface for apm?

2000-07-17 Thread Warner Losh
In message <[EMAIL PROTECTED]> Cyrille Lefevre writes: : well. as you said before, you just want a read-only sysctl. if the driver is not : secure. it's not my fault. it shouldn't be so complicated to secure it. : do you now if the permissions sets using make_dev() in i386/apm/apm.h are : used at