jail + mount_union problem

2002-03-25 Thread Victor Polyakov
      We have a system with some jails. First jail's home directory is /data/jails/ref. Then, we are running script "crash" under root:   ---   #! /usr/local/bin/bash   SRC="/data/jails/refDEST=/data/jails/$1 mkdir $DEST   mkdir $DEST/usrmount_union -b $SRC/usr $DEST/usr   mkdir $DEST

Re: jail + mount_union problem

2002-03-25 Thread Attila Nagy
Hello, > We have a system with some jails. First jail's home directory is > /data/jails/ref. Then, we are running script "crash" under root: > May be anybody knows solution for this problem? Try NULLFS. It works for me. See my previous post on this. (NULLFS was in the subject) [ Free

Re: unionfs and getcwd problem.

2002-03-25 Thread BOUWSMA Beery
> > The only obvious `problem' is when a non-r00t user attempts to > > access the union-mounted fs when the shadow directories have not > > yet been created, and `permission denied' is returned for all > > directories that exist below, but not in the unionfs fs. E.g.: > Yes, it is because of fe

Re: D-Link device ste tx underrun

2002-03-25 Thread Ian
> From: "David O'Brien" <[EMAIL PROTECTED]> > On Sat, Mar 23, 2002 at 02:16:21PM -0800, Lucky Green wrote: >> Hi there, >> I just installed a new D-Link DFE-550TX NIC on my machine running >> FreeBSD 4.5-RELEASE-p2. I am seeing the following errors in the log >> file: >> >> Mar 23 15:01:05 paka

pcm unable to map IO port

2002-03-25 Thread jogegabsd
Hello all, I'm trying to make my sound card work on a compaq 1700 laptop with FreeBSD 4.5-RELEASE. AFAIK and from advice from people in this list my sound card uses the maestro3 module. I add the following lines to my kernel configuration. device pcm0 at isa? irq 10 drq 1 flags 0x0 # for non-PnP

Re: Missing PT_READ_U

2002-03-25 Thread Bakul Shah
> }> As the culprit behind PT_READ_U's demise, I'm willing to dive in > }> and help here if needed. > }Thanks but Julian sent me a patch for 4.5 that seems to work > }with no changes in ups. Would be nice if PT_READ_U is put > }back in 4.x. > > As a followup to this old thread (and as the poster

Re: Thanks, and Distributed Folding Client for FreeBSD available!!

2002-03-25 Thread Yo Yu
--- Rayson Ho <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks to the people on this list, the DistributedFolding client is > available on FreeBSD. People with spare CPU cycles can install this > (P2P seti@home like software) to help the world to fight/cure all kinds > of diseases!! > > http://www.d

Re: Open bug reports with no action?

2002-03-25 Thread Ted Cabeen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii In message <[EMAIL PROTECTED]>, Matthew Dillon wri tes: >:I submitted a bug report (PR# bin/31933) in November that's never been looked >:at. I even enclosed a patch that fixes the bug. Is there anything t

Re: Thanks, and Distributed Folding Client for FreeBSD available!!

2002-03-25 Thread Julian Elischer
On Mon, 25 Mar 2002, Yo Yu wrote: > > Runs with nice +20 though. Of course.. don't want it to interfere with real work To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Thanks, and Distributed Folding Client for FreeBSD available!!

2002-03-25 Thread Rayson Ho
The client already has an option to control the priority: Distributed Foldtraj v2002.03.21 arguments: -f Input Trajectory Distribution File (NO EXTENSION) [File In] -n Native structure filename (NO EXTENSION) [File In] -q Quiet? [T/F] Optional default = FALSE -d Use small buff

Re: Missing PT_READ_U

2002-03-25 Thread callum . gibson
[EMAIL PROTECTED] writes: }Julian Elischer's diff as applied to the 4.5-RELEASE included }below. With this change ups-3.37-beta4 compiled unchanged. } }But note that you still can't change any registers. If }PT_WRITE_U is added back to the FreeBSD-4.x branch, no change }is necessary to ups. So

Re: Thanks, and Distributed Folding Client for FreeBSD available!!

2002-03-25 Thread Terry Lambert
Rayson Ho wrote: > > The client already has an option to control the priority: [ ... ] > -p Priority (-20=aggressive, 20=passive) [Integer] Optional > default = 20 > range from -20 to 20 You may also want to consider "idleprio". -- Terry To Unsubscribe: send mail to [EMAIL PROTECTE

Re: idprio

2002-03-25 Thread Ian
>> >> The client already has an option to control the priority: > [ ... ] >> -p Priority (-20=aggressive, 20=passive) [Integer] Optional >> default = 20 >> range from -20 to 20 > > You may also want to consider "idleprio". > Speaking of idprio... I liked the good old days (3.x) when you did

Re: Open bug reports with no action?

2002-03-25 Thread Matthew Dillon
: :The user should never use '--'. The code just assigns the initial username or :uid to the '--' argument so that it is associated with an argument. I wanted :an argument that wouldn't be accidentially tried by the user thus causing :inconsistencies if they used both the '--' argument and a le

Help with getting load information

2002-03-25 Thread Ron Chen
Hi all, Is there a set of APIs that I can use to get the system information like the memory size, swap size, # of CPUs? Also, I want to get the information about the load, and also process information. thanks for your help in advance, -Ron __

Re: Help with getting load information

2002-03-25 Thread Brooks Davis
On Mon, Mar 25, 2002 at 05:16:26PM -0800, Ron Chen wrote: > Hi all, > > Is there a set of APIs that I can use to get the > system information like the memory size, swap size, # > of CPUs? For some globus GRIS scripts, I'm using the sysctls vm.stats.vm.v_page_size and vm.stats.vm.v_page_count to

Re: Help with getting load information

2002-03-25 Thread Rayson Ho
Does "top" use those calls?? Rayson --- Brooks Davis <[EMAIL PROTECTED]> wrote: > On Mon, Mar 25, 2002 at 05:16:26PM -0800, Ron Chen wrote: > > Hi all, > > > > Is there a set of APIs that I can use to get the > > system information like the memory size, swap size, # > > of CPUs? > > For some g

Re: Help with getting load information

2002-03-25 Thread Jon Mini
Rayson Ho [[EMAIL PROTECTED]] wrote : > Does "top" use those calls?? No. > Rayson > > --- Brooks Davis <[EMAIL PROTECTED]> wrote: > > On Mon, Mar 25, 2002 at 05:16:26PM -0800, Ron Chen wrote: > > > Hi all, > > > > > > Is there a set of APIs that I can use to get the > > > system information li

freebsd newmidi and microtimeout patches; is microtimeout neededanymore with 4.5-RELEASE and newer

2002-03-25 Thread John Utz
Hello; i am trying to pick up where http://www.r.dl.itc.u-tokyo.ac.jp/~tanimura/freebsd-serialmidi/ leaves off. can anyone tell me if the microtimeout patch is still required? i ask this because i understand that freebsd has made progress in terms of realtime behavior, so wouldnt it be possi

Re: jail + mount_union problem

2002-03-25 Thread Victor Polyakov
Unfortunately, NULLFS filesystem does not permit users to modify files. We want do give each user a copy of /usr and to permit installation of software etc... Victor Polyakov ([EMAIL PROTECTED]) > Hello, > > > We have a system with some jails. First jail's home directory is > > /dat

UDP jail bug patch (was Re: (PATCH) Re: jail bug with ircd-hybridin_pcbconnect()?)

2002-03-25 Thread Lamont Granquist
I previously posted a patch to fix this UDP-in-jail bug which I believe may have compromised the security of the jail. This patch shouldn't do that. It: 1. preserves the jail check in in_pcbconnect() 2. preserves the laddr+lport check in the beginning of in_pcbbind() 3. modifies no code out