RE: real time

2001-05-04 Thread Charles Randall

Here's one starting point,

http://www.rtmx.com/

They offer extensions to OpenBSD.

Charles

-Original Message-
From: Joao Carlos [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 11:59 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: real time


Does FreeBSD has any related work about it as an real time operating
system?
Where can i find information about that ??

---
Joao Carlos
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: real time

2001-05-04 Thread Wes Peters

Charles:
> 
> -Original Message-
> >  Joao Carlos <[EMAIL PROTECTED]> asked:
> > 
> > Does FreeBSD has any related work about it as an real time operating
> > system?
> > Where can i find information about that ??
>
> Here's one starting point,
> 
> http://www.rtmx.com/
> 
> They offer extensions to OpenBSD.

Used to.  RTMX contributed the RTMX code base to OpenBSD and stopped
distributing it themselves over a year ago.  Since then, it has
disappeared, with no mention of it on the OpenBSD web site.  Neither
OpenBSD.org, rtmx.com, nor rtmx.net has a "search" feature, so
looking for it is nearly impossible.  There is nothing in the OpenBSD
change logs mentioning RTMX, either.

You might want to ask Theo what happened to the RTMX code.

-- Wes


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: real time

2001-05-04 Thread James Housley

Wes Peters wrote:
> 
> Charles:
> >
> > -Original Message-
> > >  Joao Carlos <[EMAIL PROTECTED]> asked:
> > >
> > > Does FreeBSD has any related work about it as an real time operating
> > > system?
> > > Where can i find information about that ??
> >
> > Here's one starting point,
> >
> > http://www.rtmx.com/
> >
> > They offer extensions to OpenBSD.
> 
> Used to.  RTMX contributed the RTMX code base to OpenBSD and stopped
> distributing it themselves over a year ago.  Since then, it has
> disappeared, with no mention of it on the OpenBSD web site.  Neither
> OpenBSD.org, rtmx.com, nor rtmx.net has a "search" feature, so
> looking for it is nearly impossible.  There is nothing in the OpenBSD
> change logs mentioning RTMX, either.
> 

RTEMS, http://www.oarcorp.com, does compile and run on FreeBSD.  I have
been contacted/contacting one of their main people about closer ties. 
The tools are in the ports tree.

Jim
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -
[EMAIL PROTECTED]  http://www.FreeBSD.org The Power to Serve
[EMAIL PROTECTED]  http://www.TheHousleys.net
-
microsoft: "where do you want to go today?"
linux: "where do you want to go tomorrow?"
BSD:   "are you guys coming, or what?"

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: real time

2001-05-08 Thread Wes Peters

James Housley wrote:
> 
> Wes Peters wrote:
> >
> > Charles:
> > >
> > > -Original Message-
> > > >  Joao Carlos <[EMAIL PROTECTED]> asked:
> > > >
> > > > Does FreeBSD has any related work about it as an real time operating
> > > > system?
> > > > Where can i find information about that ??
> > >
> > > Here's one starting point,
> > >
> > > http://www.rtmx.com/
> > >
> > > They offer extensions to OpenBSD.
> >
> > Used to.  RTMX contributed the RTMX code base to OpenBSD and stopped
> > distributing it themselves over a year ago.  Since then, it has
> > disappeared, with no mention of it on the OpenBSD web site.  Neither
> > OpenBSD.org, rtmx.com, nor rtmx.net has a "search" feature, so
> > looking for it is nearly impossible.  There is nothing in the OpenBSD
> > change logs mentioning RTMX, either.
> >
> 
> RTEMS, http://www.oarcorp.com, does compile and run on FreeBSD.  I have
> been contacted/contacting one of their main people about closer ties.
> The tools are in the ports tree.

Tell Joel I said Hi.  I like everything about RTEMS except the GPL that
has infested it.  I wish we could convince OARcorp to shed this and come 
up with a license that allows binary distribution.  The licensing issue
is the primary advantage eCOS has over RTEMS at this time, doubly ironic
now that RootHack owns eCOS.

-- 
"Where am I, and what am I doing in this handbasket?"

Wes Peters Softweyr LLC
[EMAIL PROTECTED]   http://softweyr.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: real time

2001-06-21 Thread Joel Sherrill



Wes Peters wrote:
> 
> James Housley wrote:
> >
> > Wes Peters wrote:
> > >
> > > Charles:
> > > >
> > > > -Original Message-
> > > > >  Joao Carlos <[EMAIL PROTECTED]> asked:
> > > > >
> > > > > Does FreeBSD has any related work about it as an real time operating
> > > > > system?
> > > > > Where can i find information about that ??
> > > >
> > > > Here's one starting point,
> > > >
> > > > http://www.rtmx.com/
> > > >
> > > > They offer extensions to OpenBSD.
> > >
> > > Used to.  RTMX contributed the RTMX code base to OpenBSD and stopped
> > > distributing it themselves over a year ago.  Since then, it has
> > > disappeared, with no mention of it on the OpenBSD web site.  Neither
> > > OpenBSD.org, rtmx.com, nor rtmx.net has a "search" feature, so
> > > looking for it is nearly impossible.  There is nothing in the OpenBSD
> > > change logs mentioning RTMX, either.
> > >
> >
> > RTEMS, http://www.oarcorp.com, does compile and run on FreeBSD.  I have
> > been contacted/contacting one of their main people about closer ties.
> > The tools are in the ports tree.
> 
> Tell Joel I said Hi.  I like everything about RTEMS except the GPL that
> has infested it.  I wish we could convince OARcorp to shed this and come
> up with a license that allows binary distribution.  The licensing issue
> is the primary advantage eCOS has over RTEMS at this time, doubly ironic
> now that RootHack owns eCOS.

I am sorry for missing this.  I was out of town at the time
and just now cleaning my inbox down to that point.

RTEMS is not pure-GPL -- it does allow binary redistribution.  It also
has an exception that allows linking RTEMS with an application without
causing the application to be covered by the GPL.  

> --
> "Where am I, and what am I doing in this handbasket?"
> 
> Wes Peters Softweyr LLC
> [EMAIL PROTECTED]   http://softweyr.com/

-- 
Joel Sherrill, Ph.D. Director of Research & Development
[EMAIL PROTECTED] On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available(256) 722-9985

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: real time

2001-06-21 Thread Dag-Erling Smorgrav

Joel Sherrill <[EMAIL PROTECTED]> writes:
> RTEMS is not pure-GPL -- it does allow binary redistribution.

So does "pure GPL", as long as you make the sources available.  If you
mean that you can redistribute (potentially modified) RTEMS binaries
without providing the source code, then you've effectively got a
{BSD,MIT,Apache} license (except for a few details about attributions
and the naming of derivative software), and you might as well make the
change in name as well as in function.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: real time

2001-06-21 Thread Joel Sherrill



Dag-Erling Smorgrav wrote:
> 
> Joel Sherrill <[EMAIL PROTECTED]> writes:
> > RTEMS is not pure-GPL -- it does allow binary redistribution.
> 
> So does "pure GPL", as long as you make the sources available.  If you
> mean that you can redistribute (potentially modified) RTEMS binaries
> without providing the source code, then you've effectively got a
> {BSD,MIT,Apache} license (except for a few details about attributions
> and the naming of derivative software), and you might as well make the
> change in name as well as in function.

Let me just quote the exception.  We are focused on the impact of
the RTEMS license on the end user embedded application.  

"As a special exception, including RTEMS header files in a file,
instantiating RTEMS generics or templates, or linking other files
with RTEMS objects to produce an executable application, does not
by itself cause the resulting executable application to be covered
by the GNU General Public License. This exception does not
however invalidate any other reasons why the executable file might be
covered by the GNU Public License."

This exception is similar to that used by libgcc and gnat.

> DES
> --
> Dag-Erling Smorgrav - [EMAIL PROTECTED]

-- 
Joel Sherrill, Ph.D. Director of Research & Development
[EMAIL PROTECTED] On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available(256) 722-9985

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: real time

2001-06-25 Thread Wes Peters

Joel Sherrill wrote:
> 
> Wes Peters wrote:
> >
> > James Housley wrote:
> > >
> > > Wes Peters wrote:
> > > >
> > > > Charles:
> > > > >
> > > > > -Original Message-
> > > > > >  Joao Carlos <[EMAIL PROTECTED]> asked:
> > > > > >
> > > > > > Does FreeBSD has any related work about it as an real time operating
> > > > > > system?
> > > > > > Where can i find information about that ??
> > > > >
> > > > > Here's one starting point,
> > > > >
> > > > > http://www.rtmx.com/
> > > > >
> > > > > They offer extensions to OpenBSD.
> > > >
> > > > Used to.  RTMX contributed the RTMX code base to OpenBSD and stopped
> > > > distributing it themselves over a year ago.  Since then, it has
> > > > disappeared, with no mention of it on the OpenBSD web site.  Neither
> > > > OpenBSD.org, rtmx.com, nor rtmx.net has a "search" feature, so
> > > > looking for it is nearly impossible.  There is nothing in the OpenBSD
> > > > change logs mentioning RTMX, either.
> > > >
> > >
> > > RTEMS, http://www.oarcorp.com, does compile and run on FreeBSD.  I have
> > > been contacted/contacting one of their main people about closer ties.
> > > The tools are in the ports tree.
> >
> > Tell Joel I said Hi.  I like everything about RTEMS except the GPL that
> > has infested it.  I wish we could convince OARcorp to shed this and come
> > up with a license that allows binary distribution.  The licensing issue
> > is the primary advantage eCOS has over RTEMS at this time, doubly ironic
> > now that RootHack owns eCOS.
> 
> I am sorry for missing this.  I was out of town at the time
> and just now cleaning my inbox down to that point.
> 
> RTEMS is not pure-GPL -- it does allow binary redistribution.  It also
> has an exception that allows linking RTEMS with an application without
> causing the application to be covered by the GPL.

Which are the only two complaints I have about the GPL vis-a-vis embedded
code.  Thanks for clearing this up, Joel.  You will be (once again) featured
prominently in an upcoming Daemon's Advocate.  In fact, you may have come
up with an almost perfect license, and certainly an interesting point of
conversation.

And, I've decided this weekend, RTEMS will be featured in at least some 
part of my OpenSail project.  I'm leaning towards Linux or BSD on the
"main" processor, mostly to make it easy for relatively untrained programmers
to add applications to the system, but we will be making some interesting
LCD displays, which will need a good, fast, tight embedded OS.  Is there an
existing port of RTEMS to the DragonBall?  In particulary, we've been eye-
balling the Lineo uCsimm development board.


-- 
"Where am I, and what am I doing in this handbasket?"

Wes Peters Softweyr LLC
[EMAIL PROTECTED]   http://softweyr.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Real Time FreeBSD?!!!

2004-01-19 Thread anubis
Dude, could you rephrase that?
Its a bit hard to understand

On Sun, 18 Jan 2004 04:09 pm, sam Long wrote:
> I have a system FreeBSD 5.1-p11.
> How will develop further FreeBSD?
> How real time is possible to make from FreeBSD
> operational system?
> I know, that in FreeBSD there are expansions real time
> of standard POSIX.
>
> I have a small kernel of system due to modules, but on
> how many stably such
> kernel?
> What problems can be?I have born all modules for
> limits of a kernel.
>
> Thank you for the help Den.
>
> __
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


Re: Real Time FreeBSD?!!!

2004-01-20 Thread ogautherot

Hi Anubis and Den!

Anubis, I've "translated" the questions into what I understood.
Den, do not hesitate to complain if I had it wrong.

I would guess the original message was:
- what is the roadmap of FreeBSD (new features)?
  - (I let this one to authorized people :-) )

- How can a real-time system be designed around FreeBSD?
  - I've seen many people that knew what a real-time system
is but they had different views... It all depends on the
type of application and the allowed reaction time, in the
end. What do you want to do? If the POSIX extensions are
OK, then go for it. FreeBSD is a nice system!

- FreeBSD has a small kernel due to module support but
  how stable is this kernel?
  - let's say it's stable enough to serve as a secure Internet
backbone and file server (that must say pretty much...)

- What are the current issues?
  - See the release notes.


anubis écrit:

> Dude, could you rephrase that?
> Its a bit hard to understand
> 
> On Sun, 18 Jan 2004 04:09 pm, sam Long wrote:
> > I have a system FreeBSD 5.1-p11.
> > How will develop further FreeBSD?
> > How real time is possible to make from FreeBSD
> > operational system?
> > I know, that in FreeBSD there are expansions real time
> > of standard POSIX.
> >
> > I have a small kernel of system due to modules, but on
> > how many stably such
> > kernel?
> > What problems can be?I have born all modules for
> > limits of a kernel.
> >
> > Thank you for the help Den.
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> > http://hotjobs.sweepstakes.yahoo.com/signingbonus
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"



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


Re: Real time privileges for non-root users

2006-06-27 Thread Yar Tikhiy
On Thu, Jun 22, 2006 at 03:47:44PM +0100, mal content wrote:
> Hello.
> 
> Is it possible to grant real-time privileges to ordinary
> users (not root) under FreeBSD? I'm doing some audio
> work and I'd like to give real time privileges to my user id.

While I can't think of an existing user-friendly solution, you can
use available tools and interfaces to satisfy your needs.

The easiest, but not the smartest, way is to use rtprio(1).

>From rtprio(2):

Realtime and idle priority is inherited through fork() and exec().

That is, you can start a shell with higher real-time priority, and
it will hand its priority down to its children:

$ su
# rtprio 1 su yourself

A smarter way is to use login.conf(5).  Idle or real-time priority
can be set for a login class, but the feature doesn't seem to be
documented anywhere except in the code itself.  The respective block
from src/lib/libutil/login_class.c is as follows:

/* Set the process priority */
if (flags & LOGIN_SETPRIORITY) {
p = login_getcapnum(lc, "priority", LOGIN_DEFPRI, LOGIN_DEFPRI);

if(p > PRIO_MAX) {
rtp.type = RTP_PRIO_IDLE;
rtp.prio = p - PRIO_MAX - 1;
p = (rtp.prio > RTP_PRIO_MAX) ? 31 : p;
if(rtprio(RTP_SET, 0, &rtp))
syslog(LOG_WARNING, "rtprio '%s' (%s): %m",
pwd->pw_name, lc ? lc->lc_class : LOGIN_DEFCLASS);
} else if(p < PRIO_MIN) {
rtp.type = RTP_PRIO_REALTIME;
rtp.prio = abs(p - PRIO_MIN + RTP_PRIO_MAX);
p = (rtp.prio > RTP_PRIO_MAX) ? 1 : p;
if(rtprio(RTP_SET, 0, &rtp))
syslog(LOG_WARNING, "rtprio '%s' (%s): %m",
pwd->pw_name, lc ? lc->lc_class : LOGIN_DEFCLASS);
} else {
if (setpriority(PRIO_PROCESS, 0, (int)p) != 0)
syslog(LOG_WARNING, "setpriority '%s' (%s): %m",
pwd->pw_name, lc ? lc->lc_class : LOGIN_DEFCLASS);
}
}

Can you grok it? ;-)

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