Re: [proaudio] ebuild TODO-list |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [proaudio] ebuild TODO-list
- From: Dominique Michel <dominique.michel@xxxxxxxxxxxx>
- Date: Sun, 30 Jul 2006 21:48:38 +0200
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEXy8ubtkoXo7+b1+fbN cGKCeWDtamweFA8eMkmKPkPtvcWRoqyV0Pn7AAACbElEQVQ4jXXTMWvbQBQA4MOlizsdXEXp KAi09mKcLZ0EJxONDRJVkikg9AtqTm63gtHDmVJs1GsnC0JiaTMJGN2f67uzznJb+gZj9PFO 7717IqdtvCAmem4bxMLp/2BEyEBF1+U/0H8uhI6rv+BVLNrY/gH9T0L8yAxk2yMY3YuZxDCn TY/gpBByyTGktIcZOIvFjPNJmqYJDwrx3cIoBrE0zzG4FF8tfBAwM+DonKCYWjgROZ6Upjcm 5Qje58JAmlKKGfIAjzaDUuogZBY2Bjg14eDbywMIqZvwqgqFBcVFB0seYONLb00ZZlh4p0F6 FHNoUMyKAzxowJSQTyj+XloYs3MN3GeMpzyYSTMshLM00ODpWlPp4SDbqs4cViDcGAgmlK/a PsaOg7DvIQ3wzANMqB/iQW/XTkoTLO6XhSeHUoQKe+NLjyY/Ldx7CW2D4WTYhZ3V0GP64RpP Q/E66IUWMLj3+nDn4w2ejMACyXFeHZy6ETcZehc49bv1GQ/0bazNuzm97mDkhnoie9i30WYM w/YCnYT7Fx308s98n0IT//Jod1+aOzdzYXLVbftol+PC+REG3u+0AxdEtuSMB6G+DLGwMH4E vXGmJn8VCLM9LhmrOAMQYt5Wi/DFgIC52iFkUzMpDVmjAaDZRGC+JGwDqzJ/G5fUUcWZAaE7 YfvPLYtIU1Wb4A2IeS7uDMgcIFutiCr766qGfKHyuxvTIERKXVNSN27lDgCuBuojlpxIyJV6 ritS1uWWuHF2Ww7qcIKbqEFVNbmtmm3vGSCHbVXjikrY3SpVxwQWw2aIjwG+ueXTJDmHeK6a HfwGyU5ZSlGeSRQAAAAASUVORK5CYII=
Le Sun, 30 Jul 2006 21:04:23 +0200,
Dominique Michel <dominique.michel@xxxxxxxxxxxx> a écrit :
> Le Sun, 30 Jul 2006 19:04:57 +0200,
> Dominique Michel <dominique.michel@xxxxxxxxxxxx> a écrit :
>
> > Le Sun, 30 Jul 2006 18:38:39 +0200,
> > Frieder Bürzele <evermind@xxxxxxxxxxxxx> a écrit :
> >
> > > Dominique Michel wrote:
> > > > Le Sat, 29 Jul 2006 19:27:55 +0200,
> > > > Frieder Bürzele <evermind@xxxxxxxxxxxxx> a écrit :
> > > >
> > > >
> > > >> Dominique Michel wrote:
> > > >>
> > > >>> Le Sat, 29 Jul 2006 18:16:48 +0200,
> > > >>> Frieder Bürzele <evermind@xxxxxxxxxxxxx> a écrit :
> > > >>>
> > > >>>
> > > >>>
> > > >>>> Dominique Michel wrote:
> > > >>>>
> > > >>>>
> > > >>>>> Le Sat, 29 Jul 2006 14:55:50 +0200,
> > > >>>>> Frieder Bürzele <evermind@xxxxxxxxxxxxx> a écrit :
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>>>> -rt-exec ftp://ftp.compro.net/public/rt-exec/README
> > > >>>>>> > It can be downloaded from
> > > >>>>>> > ftp://ftp.compro.net/public/rt-exec/rt-exec-1.0.0.tar.bz2
> > > >>>>>> > # This software is intended to test the deterministic/real-time
> > > >>>>>> > # capabilities of your computer.
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>
> > > >>>>> I can take this one. I just downloaded it and compiled it.
> > > >>>>> The only problem I see for an ebuild is at it is no install script in the Makefile.
> > > >>>>> The README say at the program will just run where it have been compiled, and at it must be run as root.
> > > >>>>> So, I am not sure where to copy the files. I am thinking about /usr/share/rt-exec and making symlinks in /usr/sbin to the executables. But I must first test if it work.
> > > >>>>>
> > > >>>>> Best,
> > > >>>>> Dominique
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>> why don't you install it directly to /usr/sbin ?
> > > >>>>
> > > >>>>
> > > >>> It is *.o library files in .../rt-exec, and configurations files too. I thing at it will be better to use symlinks if the program work that way, so we only have executables and symlinks in /usr/sbin. I have allready symlinks in /usr/sbin, but no configuration files or library files.
> > > >>>
> > > >>> Dominique
> > > >>>
> > > >>>
> > > >>>
> > > >> ok, but the location should be /usr/lib/rt_exec I think.
> > > >> sure that *.o is needed -- it looks like an object files
> > > >>
> > > >> Frieder
> > > >>
> > > >>
> > > > The good news are at I have a working ebuild, the program work and my system don't crash.
> > > >
> > > > The bad news is at it doesn't work with the symlinks but must be started from the directory where ALL the files are.
> > > >
> > > > So, the question is where to install it, because both the program and the monitor must be started as root.
> > > > /usr/sbin is definitly not the right place because of all the object and configurations files. So maybe /usr/lib/rt-exec.
> > > >
> > > > Dominique
> > > >
> > > >
> > > I can write a wrapper script which solve this,
> > > Which binaries are the needed executables?
> > >
> > > Greetz
> > > Frieder
> > >
> > Hiya,
> >
> > The exe files are: crunchsys, exec, go, killtasks, mon, start and stop_exec.
> > Another problem is some of their names...
> >
> > When I run "/usr/sbin/start &" as explained in the readme, I only get an error message as what exec don't find sched. sched is the default config file.
> >
> > If I done a "cd /sr/lib/rt-exec", "start &" is just working fine.
> It is "cd /usr/lib/rt-exec"
> When I don't change to /usr/lib/rt-exec but run "/usr/lib/rt-exec/start &", the program fail to run with the same error as with the sysmlink.
> I try a simple script "rt-exec" in /usr/sbin:
>
> #!/bin/bash
> cd /usr/lib/rt-exec
> ./start &
>
> and it just work. start can take some parameters and options, so it will be needed to add those possibilities in the script.
For the parameter, I have done a new script:
#!/bin/bash
cd /usr/lib/rt-exec
if [ ! $0 ]
then ./start -s $0 &
else ./start &
fi
It seam to work. When runing "/usr/sbin/rt_exec sched_1". the script will run "./start -s sched_1"
But now, the srcipt don't show the output of the command in the console, and I don't know how it is possible to modify the script to do that. Any clue someone?
I know at it work because mon is working, but it will be really cool to have start's output in the console, it is some interesting output.
Best,
Dominique
>
> I think at the only needed symlinks are in fact for stop_exec and crunchsys. The other commands are not mandatory,
>
> Dominique
>
> > Another thing is at the crunchsys file must be run from /usr/src/linux, otherwise it will just generate a huge amount of 0 byte logfiles. It is possible to sed this file so at it change to /usr/src/linux, but I have not done it at this time.
> >
> > The ebuild with the sysmlinks is joint if you want to look at it.
> >
> > Cheers,
> > Dominique
>