Re: Is it possible to create a directory under /dev?

2008-05-22 Thread Andriy Gapon

Norberto Meijome <[EMAIL PROTECTED]> wrote:

On Thu, 22 May 2008 10:02:08 +0300
Andriy Gapon <[EMAIL PROTECTED]> wrote:

But, by the way, there is a (slightly) more valid reason to want to 
create a directory under /dev, I recently had it. For one non-standard 
third-party application I needed to create a link to existing device in 
a certain subdirectory. I.e.:

/dev/subdirX/device -> /dev/deviceX
And I couldn't do that.
Or maybe link operation for devfs just needs to be taught about creating 
subdirectories on demand. I don't know.


you can create links with devfs - man devfs.conf
[...]
linkThis action creates a symbolic link named arg that points to
 devname, the name of the device created by devfs(5).
[..]


I do know that.
Maybe I wasn't clear enough: "/dev/deviceX" was existing device node and 
I needed to create "/dev/subdirX/device" link, where directory 
"/dev/subdirX" didn't exist.

Any help on this?

--
Andriy Gapon
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is it possible to create a directory under /dev?

2008-05-22 Thread Norberto Meijome
On Thu, 22 May 2008 10:02:08 +0300
Andriy Gapon <[EMAIL PROTECTED]> wrote:

> But, by the way, there is a (slightly) more valid reason to want to 
> create a directory under /dev, I recently had it. For one non-standard 
> third-party application I needed to create a link to existing device in 
> a certain subdirectory. I.e.:
> /dev/subdirX/device -> /dev/deviceX
> And I couldn't do that.
> Or maybe link operation for devfs just needs to be taught about creating 
> subdirectories on demand. I don't know.

you can create links with devfs - man devfs.conf
[...]
linkThis action creates a symbolic link named arg that points to
 devname, the name of the device created by devfs(5).
[..]



B

_
{Beto|Norberto|Numard} Meijome

...using the internet as it was originally intended... for the further research 
of pornography and pipebombs.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BTX loader hangs after version info

2008-05-22 Thread Mark Kirkwood

James Seward wrote:

Hello,

Two days ago I csup'd my desktop at home, which was running RELENG_7
from about 7.0-RELEASE time, to bring it up-to-date (still on
RELENG_7). I followed my usual buildkernel/world procedure (the usual
one) which has worked fine all the way since 5.x. After installing
kernel and restarting in single user, it was working fine. However,
following installworld it will not boot.

It stops immediately after "BTX loader 1.00 BTX version 1.02", but
with the cursor on the line *above* the first "B". Nothing futher
happens, but the system responds to Ctrl-Alt-Del.

I have managed to start it using the install CD and csup'd back to a
version just before the commit to BTX that moved it to 1.02 (March
18th, I think). However, that version too hangs after "BTX loader 1.00
BTX version 1.01".

My desktop is currently building RELENG_7_0 to see if that will work,
but I won't know that until later as I'm at work and it is at home :)

The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my
system between the last successful boot and the unsuccessful one.

Any suggestions/advice for what I can try next, or what I can do to
help the troubleshooting process?

My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe board.
  
FWIW - I am seeing this too, on a Supermicro P3TDDE. 7-STABLE src from 
28-Feb is fine, but Mar, Apr, May code all hangs after printing "loading 
/boot/defaults/loader.conf" - presumably reading my /boot/loader.conf?


Interestingly I can usually get it to boot by escaping to the loader 
prompt and then just pressing return.


Oddly some other machines (Supermicro P3TDER and Asus PRO31J Laptop) 
behave normally with src from Mar->May.


In all cases the canonical procedure from UPDATING was used (buildworld, 
kernel, reboot single, mergemaster -p, installworld, delete-old, 
mergemaster, reboot).


I happy to help collect some debug info (how do you switch this on for 
the loader?), tho the machine exhibiting the problem is my workstation 
(of course)!


regards

Mark



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Core Dump?

2008-05-22 Thread Xin LI

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adam Stylinski wrote:
| I am experiencing the problem that I have found many people have in
archived mailing list (and perhaps even this one).  I have about 60-80
seconds of stability on my formerly stable freebsd7 installation before
it reboots with what appears to be a kernel panic.  I get the following
message "Panic: ffs_blkfree", it gives an error about my /usr partition,
and then it starts dumping physical memory before a reboot.  Any idea
how to fix this?

Try to have a manual 'fsck -fy' in single user mode should fix this I think.

Cheers,
- --
** Help China's quake relief at http://www.redcross.org.cn/
|>>
Xin LI <[EMAIL PROTECTED]>http://www.delphij.net/
FreeBSD - The Power to Serve!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkg2DLIACgkQi+vbBBjt66CZ6wCfUs36Nkk7vvGsYa0CHA2piurE
ZGkAmgJEXKbv11q6/kkhBnAU2NcABRDo
=7EdG
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Core Dump?

2008-05-22 Thread Adam Stylinski
I am experiencing the problem that I have found many people have in archived 
mailing list (and perhaps even this one).  I have about 60-80 seconds of 
stability on my formerly stable freebsd7 installation before it reboots with 
what appears to be a kernel panic.  I get the following message "Panic: 
ffs_blkfree", it gives an error about my /usr partition, and then it starts 
dumping physical memory before a reboot.  Any idea how to fix this?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


jail process limits

2008-05-22 Thread Vivek Khera
While we're on the topic of jail resource limits, I think I'll ask my  
question again...  I asked last month but got no response...



I've got a jail server (FreeBSD 6.3/amd64) which runs a bunch of web  
site development environments.  There is an apache or lighttpd running  
in each jail as user httpd (same UID on base system and each jail).


On the jail host, I counted 231 processes owned by httpd.

If I try to start an application server (or any process) as user httpd  
in one of the jails, it exits immediately with "Cannot fork: Resource  
temporarily unavailable".  Even if I "su httpd" I get the same error  
on any command I try to run such as "ls".  If I run the same on the  
jail host, it has no problems.  The jail itself only has 34 processes  
running.


On the jail host, the following is logged:

Apr 22 16:34:38 staging kernel: maxproc limit exceeded by uid 80,  
please see tuning(7) and login.conf(5).


tuning(7) and login.conf(5) have pretty much nothing to say about  
"maxproc".


The sysctl settings are all default on this box.

kern.maxproc: 6164
kern.maxprocperuid: 5547

The user httpd is of login class "daemon".  My login.conf is unchanged  
from the distributed version, which states "unlimited" for max  
processes.


Why am I getting the resource unavailable when I barely have 230  
processes, not even close to the limits.


Apache seems unaffected since the parent is run as root, so it can  
fork children willy-nilly and not be blocked by any limits.


Can anyone tell me where to look to find out what is limiting user  
httpd from creating new processes inside the jail, and what exactly  
that limit is?  More importantly, how to increase it.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Jail resource limits

2008-05-22 Thread Steven Hartland

This is something we're really looking forward to tbh a great
feature :) One of the reasons for this is hosting jails, with
the addition of multi IP support we will be able to enable
jails to connect to "backdoor" secure services such as a
mysql server.

- Original Message - 
From: "Bjoern A. Zeeb" <[EMAIL PROTECTED]>

I will have to go through all this again but it seems that there is
more interest from multiple people on this work.

As I am currently working on FreeBSD jails (see latetst status report
http://www.freebsd.org/news/status/report-2008-01-2008-03.html#Multi-IPv4/v6/no-IP-jails
and follow to my homepage to also find the slide from the BSDCan WIP
session) I should look into this for everyone running FreeBSD 7.

I'll try to get an overview on all the work out there based on the
pointers already posted and will see how I can integrate that with
whatever is going on in FreeBSD atm or come up with new patches..


This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Jail resource limits

2008-05-22 Thread Bjoern A. Zeeb

On Thu, 22 May 2008, Peter Ankerstål wrote:

Hi,

If the are somebody with skills and time to resurrect some mentioned 
projects, I am willing to help with testing.


I will also be happy to help in whatever way I can. I have no 
coding-experience to talk about. But testing in various env

and so on. (and help with docs/wiki)


I will have to go through all this again but it seems that there is
more interest from multiple people on this work.

As I am currently working on FreeBSD jails (see latetst status report
http://www.freebsd.org/news/status/report-2008-01-2008-03.html#Multi-IPv4/v6/no-IP-jails
and follow to my homepage to also find the slide from the BSDCan WIP
session) I should look into this for everyone running FreeBSD 7.

I'll try to get an overview on all the work out there based on the
pointers already posted and will see how I can integrate that with
whatever is going on in FreeBSD atm or come up with new patches..


Regards,
Bjoern

--
Bjoern A. Zeeb  Stop bit received. Insert coin for new game.___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Jail resource limits

2008-05-22 Thread Peter Ankerstål



If the are somebody with skills and time to resurrect some mentioned  
projects, I am willing to help with testing.


I will also be happy to help in whatever way I can. I have no coding- 
experience to talk about. But testing in various env

and so on. (and help with docs/wiki)
--
Peter Ankerstål
[EMAIL PROTECTED]


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BTX loader hangs after version info

2008-05-22 Thread Jeremy Chadwick
On Thu, May 22, 2008 at 02:50:38PM +0100, James Seward wrote:
> On Thu, May 22, 2008 at 1:24 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote:
> > http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues
> 
> My problem doesn't match the description of "screen continually
> scrolls registers or dumps registers then reboots"; it just freezes.
> 
> While looking at the code for btx/btxldr I did notice a debug knob in
> the Makefile; should I turn this on?

Probably not.

> (And do I have to rebuild all of
> world to encourage it to update BTX? Presumably I can build/install a
> subset of it to save time?)

cd /sys/boot && make clean && make && make install will build and
install new boot blocks in /boot, as well as /boot/loader.  It will not
apply new boot blocks to your disk (that's what bsdlabel does).

> > After installworld, did you happen to use bsdlabel -B?
> 
> No, my procedure was: make buildkernel buildworld, make installkernel,
> reboot (to single user), mergemaster -p, make installworld,
> mergemaster (installed everything but passwd/group), reboot. This is
> the point where it broke :)

My bad, sorry.

The problem you're experiencing is likely in /boot/loader, which is what
prints the "BTX version is x.xx" message.  /boot/loader doesn't require
your boot blocks be updated; it's updated during installworld.

BTX version 1.01 is what comes with 7.0-RELEASE, while a RELENG_7
snapshot or a recently-rebuilt world (of RELENG_7) would use 1.02.

I'm not sure what's breaking there for you; I'll have to dig through the
CVS commit logs to check.  Do you have anything in /boot/loader.conf?

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BTX loader hangs after version info

2008-05-22 Thread James Seward
On Thu, May 22, 2008 at 1:24 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote:
> http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues

My problem doesn't match the description of "screen continually
scrolls registers or dumps registers then reboots"; it just freezes.

While looking at the code for btx/btxldr I did notice a debug knob in
the Makefile; should I turn this on? (And do I have to rebuild all of
world to encourage it to update BTX? Presumably I can build/install a
subset of it to save time?)

> After installworld, did you happen to use bsdlabel -B?

No, my procedure was: make buildkernel buildworld, make installkernel,
reboot (to single user), mergemaster -p, make installworld,
mergemaster (installed everything but passwd/group), reboot. This is
the point where it broke :)

Thanks,
James
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is it possible to create a directory under /dev?

2008-05-22 Thread Vivek Khera


On May 21, 2008, at 11:18 PM, Carlos A. M. dos Santos wrote:

Assuming you're using a modern FreeBSD (version number would be  
useful),
/dev does not live on a file system.  It exists as its own file  
system,

controlled by devfs.  Check the man page for devfs for details.


I'm using 7.0-STABLE. I've read devfs(8), devfs(5) and did not find an
answer there.


perhaps if you state your goal rather than the difficulty you  
encounter using the mechanism you chose to reach that goal, we could  
help you better.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BTX loader hangs after version info

2008-05-22 Thread Jeremy Chadwick
On Thu, May 22, 2008 at 09:59:47AM +0100, James Seward wrote:
> Two days ago I csup'd my desktop at home, which was running RELENG_7
> from about 7.0-RELEASE time, to bring it up-to-date (still on
> RELENG_7). I followed my usual buildkernel/world procedure (the usual
> one) which has worked fine all the way since 5.x. After installing
> kernel and restarting in single user, it was working fine. However,
> following installworld it will not boot.
>
> It stops immediately after "BTX loader 1.00 BTX version 1.02", but
> with the cursor on the line *above* the first "B". Nothing futher
> happens, but the system responds to Ctrl-Alt-Del.

This sounds like a regression in the recent BTX fixes which were done by
John Baldwin on March 18th.  Strange, since those fixes addressed
booting issues lots of users were having with BTX.  See the very bottom
of the below page, "BTX crashes on start":

http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues

After installworld, did you happen to use bsdlabel -B?

> Any suggestions/advice for what I can try next, or what I can do to
> help the troubleshooting process?
> 
> My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe board.

I've CC'd John here, who might have some ideas.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Jail resource limits

2008-05-22 Thread Alexander Leidinger
Quoting Miroslav Lachman <[EMAIL PROTECTED]> (from Thu, 22 May 2008  
13:19:55 +0200):



Peter Ankerstål wrote:

http://wiki.freebsd.org/JailResourceLimits


If the are somebody with skills and time to resurrect some mentioned  
projects, I am willing to help with testing.


Also it will be good to have some up-to-date wiki page with "all the  
patches" (resource limits, SysV IPC, multiple IPs...) and status of  
this work, so people can easily find and try it.


Are you willing to update the existing wiki page? If yes register to  
the wiki (default style would be MiroslavLachman as the username) and  
I give you write access to the page.


Bye,
Alexander.

--
Please take note:

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Jail resource limits

2008-05-22 Thread Miroslav Lachman

Peter Ankerstål wrote:

http://wiki.freebsd.org/JailResourceLimits

Is this anthing people are working on? Is it on its way to RELENG_7?
Is there a 7-version of the patch or anything? This would be a _VERY_
useful feature.


Hi,
AFAIK nobody is working on it. A year ago there was newer release of the 
patch against CURRENT at that time (FreeBSD 7) [1] 
http://www.ualberta.ca/~cdjones/jail-cpumem-current.tgz
I never test this patch on current, only version for 6.x and if patch 
for current were made without improvements, it contains same bugs as 
patch for 6.x (eg.: not showing memory usage).


There are some other guys trying to do the same, but I never saw patches 
published.

Andrew Snow - Jails as a VPS [2]
Alex Lyashkov - Jail2 aka FreeVPS [3a][3b]

Or fixes for C.D. Jones work:
Chris Thunes - jtune not showing resource usage - fixed [4] (note - 
attached patch is reversed) [5]


So as you can see, there were some talks about Jail improvements for one 
year existence of this mailinglist ([EMAIL PROTECTED]), also it 
is two years from SoC [6] and we still don't have anything commited to 
7.x or to CURRENT. It is sad. There is little attention to jails, only 
few people are able to do some coding work etc.


If the are somebody with skills and time to resurrect some mentioned 
projects, I am willing to help with testing.


Also it will be good to have some up-to-date wiki page with "all the 
patches" (resource limits, SysV IPC, multiple IPs...) and status of this 
work, so people can easily find and try it.


Miroslav Lachman

[1] http://lists.freebsd.org/pipermail/freebsd-jail/2007-June/30.html

[2] http://lists.freebsd.org/pipermail/freebsd-jail/2008-January/000152.html

[3a] http://docs.freevps.com/doku.php?id=freebsd:index
[3b] http://lists.freebsd.org/pipermail/freebsd-arch/2006-June/005293.html

[4] http://lists.freebsd.org/pipermail/freebsd-jail/2007-August/60.html

[5] 
http://lists.freebsd.org/pipermail/freebsd-jail/2007-September/000101.html


[6] http://wiki.freebsd.org/JailResourceLimits

Other links:
jail services:
http://wiki.freebsd.org/AsiaBSDCon_2007_DevSummit?action=AttachFile&do=get&target=jail_services.pdf
kernel level virtualisation requirements:
http://lists.freebsd.org/pipermail/freebsd-arch/2007-October/006872.html
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What does system do after "Uptime: "?

2008-05-22 Thread Gavin Atkinson
On Thu, 2008-05-01 at 09:58 -0700, Xin LI wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Gavin Atkinson wrote:
> | FWIW, there have been probably around 10 PRs in in the last few months
> | about this behaviour.  I'd vote for it as an errata candidate.
> 
> FWIW I have written to re@ indicating some changes I wanted for
> RELENG_7_0 as candidates.  Could you please let me know if I have missed
> something important?
> 
> http://www.delphij.net/errata-20080430.xml

Did you get anywhere with this request?  PRs are still coming in about
the "hang after Uptime:" issue.

If the errata candidates were turned down, I think we need to have an
entry in the release notes errata...

Thanks,

Gavin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


BTX loader hangs after version info

2008-05-22 Thread James Seward
Hello,

Two days ago I csup'd my desktop at home, which was running RELENG_7
from about 7.0-RELEASE time, to bring it up-to-date (still on
RELENG_7). I followed my usual buildkernel/world procedure (the usual
one) which has worked fine all the way since 5.x. After installing
kernel and restarting in single user, it was working fine. However,
following installworld it will not boot.

It stops immediately after "BTX loader 1.00 BTX version 1.02", but
with the cursor on the line *above* the first "B". Nothing futher
happens, but the system responds to Ctrl-Alt-Del.

I have managed to start it using the install CD and csup'd back to a
version just before the commit to BTX that moved it to 1.02 (March
18th, I think). However, that version too hangs after "BTX loader 1.00
BTX version 1.01".

My desktop is currently building RELENG_7_0 to see if that will work,
but I won't know that until later as I'm at work and it is at home :)

The install CD (BTX 1.00/1.01) boots fine. Nothing else changed on my
system between the last successful boot and the unsuccessful one.

Any suggestions/advice for what I can try next, or what I can do to
help the troubleshooting process?

My desktop is an Athlon64 but I am using i386, on an Asus A8V-E Deluxe board.

/JMS
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sched_ule performance on single CPU

2008-05-22 Thread Unga

--- Oliver Fromme <[EMAIL PROTECTED]> wrote:

> Sorry for the late reply, but I think there's a
> technical
> detail that should be mentioned ...
> 
> Unga <[EMAIL PROTECTED]> wrote:
>  > My earlier test shows processes in the normal
> category
>  > can starve processes in real-time category.
> That's
>  > alarming. It should be get fixed.
> 
> Note that FreeBSD does not support "hard real time"
> processing.  Strictly speaking no OS does that on PC
> standard hardware.
> 
> FreeBSD's idprio/rtprio implementation only affects
> the decisions of the scheduler, i.e. the assignment
> of CPU time slices to processes.  However, there are
> other resources beside CPU that influence the
> execution
> of processes.  For example disk I/O.
> 
> In other words, if an idle-prio process performs a
> lot
> of disk accesses, it creates an I/O bottleneck, and
> even realtime-prio processes will have to wait
> because
> the hardware (disk) is blocked.  This problem can be
> alleviated by using faster and better hardware, e.g.
> a SCSI RAID-0 disk subsystem or whatever.  Besides,
> for professional audio recording you will also need
> professional audio hardware (which should include
> its
> own buffer memory, among other things), not a
> consumer
> card or an el'cheapo USB dongle.
> 
> Best regards
>Oliver
> 
> PS:  My notebook at home (Pentium-M, UP, 3 years
> old)
> works very well with FreeBSD/i386 RELENG_7 +
> SCHED_ULE.
> 

Idle-prio process which generates lot of I/O is
understandable.

But when you either record or playback audio as
realtime-prio and you opened up a pdf document as
normal-prio, can the pdf rendering in normal-prio
breaks down the realtime audio process? I don't think
pdf rendering is I/O intensive.

Using a faster processor or multi-core may solve this
problem, but my question is, can smart scheduling
solve it without buying more processors?

Kind regards
Unga


  
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Jail resource limits

2008-05-22 Thread Peter Ankerstål

http://wiki.freebsd.org/JailResourceLimits

Is this anthing people are working on? Is it on its way to RELENG_7?
Is there a 7-version of the patch or anything? This would be a _VERY_
useful feature.

--
Peter Ankerstål
[EMAIL PROTECTED]


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is it possible to create a directory under /dev?

2008-05-22 Thread Andriy Gapon

Carlos A. M. dos Santos wrote:

On Wed, May 21, 2008 at 2:06 PM, Oliver Fromme <[EMAIL PROTECTED]> wrote:

Carlos A. M. dos Santos <> wrote:
 > I attempted this:
 >
 >  # mkdir /dev/foo
 >  mkdir: /dev/foo: Operation not supported

DEVFS is a "virtual" filesystem [...]


I already knew that. :-)


 > Any suggestions (besides creating it elsewhere, of course)?

That depends on the purpose.  *Why* do you want to create
a subdirectory in /dev?  What do you want to do with it?


I intended to use it as the mount point for a filesystem.


I think this is a quite weird idea. Why would you want another 
filesystem under /dev? /dev is for devices! Maybe you want something 
like /mnt or whatever, unless you are developing your own "sub-" devfs.


But, by the way, there is a (slightly) more valid reason to want to 
create a directory under /dev, I recently had it. For one non-standard 
third-party application I needed to create a link to existing device in 
a certain subdirectory. I.e.:

/dev/subdirX/device -> /dev/deviceX
And I couldn't do that.
Or maybe link operation for devfs just needs to be taught about creating 
subdirectories on demand. I don't know.


--
Andriy Gapon
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"