Hi.
When I'm booting AVL MXE I can see some output messages at the prompt, where rtirq is listing some irq's setting up to have high priorities (e.g. like snd).
In my own GNU/Linux built I can't see any of those messages at the boot prompt.
Though,
- the script is in /etc/init.d/rtirq
- the config file is in /etc/default/rtirq
- there's also a symbolic link /etc/rtirq.conf which points to /etc/default/rtirq
It is the latest rtirq from here: https://launchpad.net/~rncbc
I would like to see these output messages at the prompt to make sure it is executed well at boot.
How to achieve this?
(Solved) How to find out if rtirq is executed at boot process?
Moderators: MattKingUSA, khz
- TAERSH
- Established Member
- Posts: 455
- Joined: Mon Feb 03, 2020 6:48 pm
- Has thanked: 27 times
- Been thanked: 21 times
(Solved) How to find out if rtirq is executed at boot process?
Last edited by TAERSH on Sun Sep 12, 2021 7:01 pm, edited 1 time in total.
My Music:
https://soundcloud.com/user-633698367
The Seventh of Eight Vol.2:
https://soundcloud.com/user-633698367/s ... ight-vol-2
https://soundcloud.com/user-633698367
The Seventh of Eight Vol.2:
https://soundcloud.com/user-633698367/s ... ight-vol-2
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 123 times
- Been thanked: 57 times
- Contact:
Re: How to find out if rtirq is executed at boot process?
Try
However this only shows if rtirq is running.
Code: Select all
/etc/init.d/rtirq status
- TAERSH
- Established Member
- Posts: 455
- Joined: Mon Feb 03, 2020 6:48 pm
- Has thanked: 27 times
- Been thanked: 21 times
Re: (Solved) How to find out if rtirq is executed at boot process?
Thanks.
Seems to be Ok.
I modified function rtirq_exec_num () from /etc/init.d/rtirq.
Added >/dev/console to the ECHO lines. Duplicated these lines and doing ECHO to a file in tmp to be able to have a look at the outputs.
Example snippet...
Now I can see the outputs of rtirq at the boot prompt.
Seems to be Ok.
Code: Select all
root# /etc/init.d/rtirq status
PID CLS RTPRIO NI PRI %CPU STAT COMMAND
3834 FF 90 - 130 0.0 S irq/67-snd_hda_
3843 FF 90 - 130 0.2 S irq/69-snd_hda_
248 FF 85 - 125 0.0 S irq/45-xhci_hcd
249 FF 84 - 124 0.0 S irq/46-xhci_hcd
250 FF 83 - 123 0.0 S irq/47-xhci_hcd
251 FF 82 - 122 0.0 S irq/48-xhci_hcd
252 FF 81 - 121 0.0 S irq/49-xhci_hcd
253 FF 80 - 120 0.0 S irq/50-xhci_hcd
265 FF 80 - 120 0.0 S irq/1-i8042
254 FF 79 - 119 0.0 S irq/51-xhci_hcd
255 FF 78 - 118 0.0 S irq/52-xhci_hcd
256 FF 77 - 117 0.0 S irq/54-xhci_hcd
257 FF 76 - 116 0.0 S irq/55-xhci_hcd
258 FF 75 - 115 0.0 S irq/56-xhci_hcd
259 FF 74 - 114 0.0 S irq/57-xhci_hcd
260 FF 73 - 113 0.0 S irq/58-xhci_hcd
261 FF 72 - 112 0.0 S irq/59-xhci_hcd
262 FF 71 - 111 0.0 S irq/60-xhci_hcd
263 FF 70 - 110 0.0 S irq/61-xhci_hcd
168 FF 50 - 90 0.0 S irq/9-acpi
178 FF 50 - 90 0.0 S irq/25-AMD-Vi
189 FF 50 - 90 0.0 S irq/7-pinctrl_a
190 FF 50 - 90 0.0 S irq/26-PCIe PME
191 FF 50 - 90 0.0 S irq/26-aerdrv
193 FF 50 - 90 0.0 S irq/27-PCIe PME
194 FF 50 - 90 0.0 S irq/27-aerdrv
196 FF 50 - 90 0.0 S irq/28-PCIe PME
197 FF 50 - 90 0.0 S irq/28-aerdrv
199 FF 50 - 90 0.0 S irq/30-PCIe PME
200 FF 50 - 90 0.0 S irq/30-aerdrv
213 FF 50 - 90 0.0 S irq/41-ahci[000
237 FF 50 - 90 0.0 S irq/42-ahci[000
244 FF 50 - 90 0.0 S irq/44-ahci[000
266 FF 50 - 90 0.0 S irq/8-rtc0
3815 FF 50 - 90 0.0 S irq/65-ccp-1
3974 FF 50 - 90 0.0 S irq/71-radeon
179 FF 49 - 89 0.0 S irq/25-s-AMD-Vi
192 FF 49 - 89 0.0 S irq/26-s-aerdrv
195 FF 49 - 89 0.0 S irq/27-s-aerdrv
198 FF 49 - 89 0.0 S irq/28-s-aerdrv
201 FF 49 - 89 0.0 S irq/30-s-aerdrv
9 TS - 0 19 0.0 S ksoftirqd/0
20 TS - 0 19 0.0 S ksoftirqd/1
27 TS - 0 19 0.0 S ksoftirqd/2
34 TS - 0 19 0.0 S ksoftirqd/3
41 TS - 0 19 0.0 S ksoftirqd/4
48 TS - 0 19 0.0 S ksoftirqd/5
55 TS - 0 19 0.0 S ksoftirqd/6
62 TS - 0 19 0.0 S ksoftirqd/7
69 TS - 0 19 0.0 S ksoftirqd/8
76 TS - 0 19 0.2 S ksoftirqd/9
83 TS - 0 19 0.0 S ksoftirqd/10
90 TS - 0 19 0.0 S ksoftirqd/11
root#
Added >/dev/console to the ECHO lines. Duplicated these lines and doing ECHO to a file in tmp to be able to have a look at the outputs.
Example snippet...
Code: Select all
for PID in ${PIDS}
do
PREPEND="Setting IRQ priorities: ${ACTION} [${NAME2}] irq=${IRQ} pid=${PID}"
case ${ACTION} in
*start)
PREPEND="${PREPEND} prio=${PRI2}"
if ${RTIRQ_CHRT} -p -f ${PRI2} ${PID}
then
echo "${PREPEND}: OK." >/dev/console
echo "${PREPEND}: OK." >>/tmp/rtirq-boot-log
else
echo "${PREPEND}: FAILED." >/dev/console
echo "${PREPEND}: FAILED." >>/tmp/rtirq-boot-log
fi
;;
stop)
if ${RTIRQ_CHRT} -p -f 50 ${PID}
then
echo "${PREPEND}: OK." >/dev/console
echo "${PREPEND}: OK." >>/tmp/rtirq-boot-log
else
echo "${PREPEND}: FAILED." >/dev/console
echo "${PREPEND}: FAILED." >>/tmp/rtirq-boot-log
fi
;;
status)
echo "${PREPEND}: " && ${RTIRQ_CHRT} -p -v ${PID} >/dev/console
echo "${PREPEND}: " && ${RTIRQ_CHRT} -p -v ${PID} >>/tmp/rtirq-boot-log
;;
*)
echo "${PREPEND}: ERROR." >/dev/console
echo "${PREPEND}: ERROR." >>/tmp/rtirq-boot-log
;;
esac
PRI2=$((${PRI2} - 1))
[ ${PRI2} -le ${PRI0_LOW} ] && PRI2=${PRI0_LOW}
done
My Music:
https://soundcloud.com/user-633698367
The Seventh of Eight Vol.2:
https://soundcloud.com/user-633698367/s ... ight-vol-2
https://soundcloud.com/user-633698367
The Seventh of Eight Vol.2:
https://soundcloud.com/user-633698367/s ... ight-vol-2