Rui Nuno Capela escribió:
Roman Muñoz wrote:
So you are getting no more xruns now? That is the
real point... After
reading it, I would say that rtirq is a much more polished script than
ours. However it does not look as setting the rtc irq frequency as
explained on Florian's website.
In short:
a) please download tarball linked from musix blog.
b) untar it.
c) mv rtirq.sh /etc/init.d/rtirq
d) mv rtirq.conf /etc/default/rtirq
e) update-rc.d rtirq start 99 2 3 4 5 . stop 0 1 6 .
f) it should work at startup on any debian distro
all of the above is probably correct, but there's one important thing
missing: as the configuration file is there located in
/etc/sdefault/rtirq instead of the original /etc/sysconfig/rtirq,
one has to edit the /etc/init.d/rtirq script and, somewhere near line
42, where it reads:
RTIRQ_CONFIG=/etc/sysconfig/rtirq
please change to
RTIRQ_CONFIG=/etc/default/rtirq
now it should work as advertised (not:)
Oops... I downloaded it again and found that you're of course right. Sorry.
ah, yet another thingie; it has been noted from some
folks, specially
found dealing with ubuntu, that the very first line of the same script
should be tweaked, where it reads:
#!/bin/sh
should be
#!/bin/bash
No problem with /bin/sh here (debian etch)
finally, the rtirq script is just about tunning the
irq threading
priorities as found on PREEMPT_RT patched karnels (aka Ingo Molnar's -rt
patchset). it does not have any regard to the rtc frequency setting (but
would be handy, nevertheless:
moreover, rtirq has also some legacy support for PREEMPT_DESKTOP
configured kernels, where one has the option of having some of the irqs
non-threaded (thus RTIRQ_NON_THREADED configuration purpose), iirc. this
is not a option on PREEMPT_RT (aka full complete real-time)
OK, many thanks for this last point that I was not getting right.
Best regards,
Roman