Add new comment

Permalink

Hi Rui. I installed a fresh copy of Ubuntu 20.04 in my PC for work audio and midi. Well, I installed RT kernel and your script (from your official PPA). For install rtirq script I follow the indications from your github: I modified the kernel for load threadirqs option, update grub and restart.

rtirq works but I need run it manually when turn on my pc, every time. So I've tried run rtirq with systemd for to achieve start it when login automatically. For this I use two commands:

$ sudo systemctl enable rtirq
$ sudo systemctl restart rtirq

But don't works, when restart PC rtirq is inactive again and I need start it manually. When I use systemctl some info prints on terminal, maybe is helpful:

$ sudo systemctl enable rtirq
rtirq.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable rtirq
update-rc.d: error: rtirq Default-Start contains no runlevels, aborting.

I ignore that output and continue with the next command (sudo systemctl restart rtirq) and rtirq runs.

This very frustrating, I'm searching and I found that I need add something weird in rtirq file (/etc/init.d/rtirq) for runs the script when login, here the aggregation (and here the source https://askubuntu.com/a/925337):

### BEGIN INIT INFO
# Provides: rtirq
# Required-Start: $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: IRQ script...
### END INIT INFO

Rui this solution is very laborious and for my opinion is 'dirty'. Do you know a way to run rtirq when login?

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.