fail clocktest -C CLOCK_HOST_REALTIME
Hi all,
I ve updated xenomai and switching from 3.0.6 to 3.0.9 with kernel 4.14.89
clocktest -C CLOCK_HOST_REALTIME
fails with this message
NVDSO_FEAT_HOST_REALTIME not availableclock_gettime failed for clock id 32XNVDSO_FEAT_HOST_REALTIME not available
I can not set CONFIG_XENO_OPT_HOSTRT=y in kernel config and seems that the difference with the config I ve used with 3.0.6 was this.
TIA
Alessio
Signature · 26 lines
ISTITUTO ITALIANO DI TECNOLOGIA Alessio Margan Chief Technician Advanced Robotics Department [email protected] Via Morego 30, 16163 Genova Tel. +39 010 71781-754 www.iit.it Legal Disclaimer This electronic message contains information that is confidential. The information is intended for the use of the addressee only. If you are not the addressee we would appreciate your notification in this respect. Please note that any disclosure, copy, distribution or use of the contents of this message is prohibited and may be unlawful. We have taken every reasonable precaution to ensure that any kind of attachment to this e-mail has been swept for viruses. However, we cannot accept liability for any damage sustained as a result of software viruses and would advise you to carry out your own virus checks before opening any attachment. Avvertenza legale Questo messaggio Email contiene informazioni confidenziali riservate ai soli destinatari. Qualora veniate in possesso di tali informazioni senza essere definito come destinatario vi reghiamo di leggere le seguenti note. Ogni apertura, copia, distribuzione del contenuto del messaggio e dei suoi allegati è proibito e potrebbe violare le presenti leggi. Abbiamo attivato ogni possibile e ragionevole precauzione per assicurare che gli allegati non contengano virus. Comunque non assumeremo alcuna responsabilità per ogni eventuale danno causato da virus software e simili in quanto è onere del destinatario verificarne l’assenza in ogni allegato attuando propri indipendenti controlli.
Quoted 8 lines · alessio margan via Xenomai
Hi all,
I ve updated xenomai and switching from 3.0.6 to 3.0.9 with kernel 4.14.89
clocktest -C
CLOCK_HOST_REALTIMEfails with this message
Quoted 8 lines
NVDSO_FEAT_HOST_REALTIMEnot availableclock_gettimefailed for clock id 32XNVDSO_FEAT_HOST_REALTIMEnot availableI can not set
CONFIG_XENO_OPT_HOSTRT=yin kernel config and seems that the difference with the config I ve used with 3.0.6 was this.
Argh... That got lost in the initial x86 ipipe port to 4.14. And, thus, it's now also missing in 4.19. Will update both branches. You can try this hunk already:
arch/x86/Kconfig +1 -0
@@ -147,6 +147,7 @@ config X86 select HAVE_IRQ_TIME_ACCOUNTING select HAVE_IPIPE_SUPPORT if X86_64 select HAVE_IPIPE_TRACER_SUPPORT + select IPIPE_HAVE_HOSTRT if IPIPE select IPIPE_HAVE_SAFE_THREAD_INFO if IPIPE select IPIPE_WANT_PTE_PINNING if IPIPE select IPIPE_HAVE_VM_NOTIFIER if IPIPE
Thanks for reporting!
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Hi,
now I have the proper config
(base) embedded@com-exp:/usr/src/linux-4.14.89-xeno-stable-v3.0.x$ cat .config | grep HOSTRT CONFIG_XENO_OPT_HOSTRT=yCONFIG_IPIPE_HAVE_HOSTRT=y
.. it 's compiling, I let you know
Thanks
Alessio
Quoted 37 lines · Jan Kiszka
Quoted 8 lines · alessio margan via Xenomai
Hi all,
I ve updated xenomai and switching from 3.0.6 to 3.0.9 with kernel 4.14.89
clocktest -C
CLOCK_HOST_REALTIMEfails with this message
Quoted 8 lines
NVDSO_FEAT_HOST_REALTIMEnot availableclock_gettimefailed for clock id 32XNVDSO_FEAT_HOST_REALTIMEnot availableI can not set
CONFIG_XENO_OPT_HOSTRT=yin kernel config and seems that the difference with the config I ve used with 3.0.6 was this.Argh... That got lost in the initial x86 ipipe port to 4.14. And, thus, it's now also missing in 4.19. Will update both branches. You can try this hunk already:
arch/x86/Kconfig +0
-0@@ -147,6 +147,7 @@ config X86select
HAVE_IRQ_TIME_ACCOUNTING
selectHAVE_IPIPE_SUPPORTifX86_64
selectHAVE_IPIPE_TRACER_SUPPORT
+ selectIPIPE_HAVE_HOSTRTif IPIPE
selectIPIPE_HAVE_SAFE_THREAD_INFOif IPIPE
selectIPIPE_WANT_PTE_PINNINGif IPIPE
selectIPIPE_HAVE_VM_NOTIFIERif IPIPEThanks for reporting!
Jan
Signature · 26 lines
ISTITUTO ITALIANO DI TECNOLOGIA Alessio Margan Chief Technician Advanced Robotics Department [email protected] Via Morego 30, 16163 Genova Tel. +39 010 71781-754 www.iit.it Legal Disclaimer This electronic message contains information that is confidential. The information is intended for the use of the addressee only. If you are not the addressee we would appreciate your notification in this respect. Please note that any disclosure, copy, distribution or use of the contents of this message is prohibited and may be unlawful. We have taken every reasonable precaution to ensure that any kind of attachment to this e-mail has been swept for viruses. However, we cannot accept liability for any damage sustained as a result of software viruses and would advise you to carry out your own virus checks before opening any attachment. Avvertenza legale Questo messaggio Email contiene informazioni confidenziali riservate ai soli destinatari. Qualora veniate in possesso di tali informazioni senza essere definito come destinatario vi reghiamo di leggere le seguenti note. Ogni apertura, copia, distribuzione del contenuto del messaggio e dei suoi allegati è proibito e potrebbe violare le presenti leggi. Abbiamo attivato ogni possibile e ragionevole precauzione per assicurare che gli allegati non contengano virus. Comunque non assumeremo alcuna responsabilità per ogni eventuale danno causato da virus software e simili in quanto è onere del destinatario verificarne l’assenza in ogni allegato attuando propri indipendenti controlli.
Quoted 9 lines · alessio margan via Xenomai
Hi,
now I have the proper config
(base) embedded@com-exp:/usr/src/linux-4.14.89-xeno-stable-v3.0.x$ cat .config | grep HOSTRT
CONFIG_XENO_OPT_HOSTRT=yCONFIG_IPIPE_HAVE_HOSTRT=y.. it 's compiling, I let you know
My own test already succeed. Waiting for your ok, then I'll role out 4.14.132 with this fixed. And 4.19.57 as well.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Hi,
ok, it is also fine for me.
Alessio
Quoted 15 lines · Jan Kiszka
Quoted 9 lines · alessio margan via Xenomai
Hi,
now I have the proper config
(base) embedded@com-exp:/usr/src/linux-4.14.89-xeno-stable-v3.0.x$ cat .config | grep HOSTRT
CONFIG_XENO_OPT_HOSTRT=yCONFIG_IPIPE_HAVE_HOSTRT=y.. it 's compiling, I let you know
My own test already succeed. Waiting for your ok, then I'll role out 4.14.132 with this fixed. And 4.19.57 as well.
Jan
Signature · 26 lines
ISTITUTO ITALIANO DI TECNOLOGIA Alessio Margan Chief Technician Advanced Robotics Department [email protected] Via Morego 30, 16163 Genova Tel. +39 010 71781-754 www.iit.it Legal Disclaimer This electronic message contains information that is confidential. The information is intended for the use of the addressee only. If you are not the addressee we would appreciate your notification in this respect. Please note that any disclosure, copy, distribution or use of the contents of this message is prohibited and may be unlawful. We have taken every reasonable precaution to ensure that any kind of attachment to this e-mail has been swept for viruses. However, we cannot accept liability for any damage sustained as a result of software viruses and would advise you to carry out your own virus checks before opening any attachment. Avvertenza legale Questo messaggio Email contiene informazioni confidenziali riservate ai soli destinatari. Qualora veniate in possesso di tali informazioni senza essere definito come destinatario vi reghiamo di leggere le seguenti note. Ogni apertura, copia, distribuzione del contenuto del messaggio e dei suoi allegati è proibito e potrebbe violare le presenti leggi. Abbiamo attivato ogni possibile e ragionevole precauzione per assicurare che gli allegati non contengano virus. Comunque non assumeremo alcuna responsabilità per ogni eventuale danno causato da virus software e simili in quanto è onere del destinatario verificarne l’assenza in ogni allegato attuando propri indipendenti controlli.
Quoted 4 lines · alessio margan via Xenomai
Hi,
ok, it is also fine for me.
Perfect. The next 4.14 ipipe is released, so you can move to that latest kernel version. Or to 4.19 which will receive update for much longer.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Quoted 7 lines · Jan Kiszka
Quoted 4 lines · alessio margan via Xenomai
Hi,
ok, it is also fine for me.
Perfect. The next 4.14 ipipe is released, so you can move to that latest kernel version. Or to 4.19 which will receive update for much longer.
Ah, sorry: 4.19 is not supported by Xenomai 3.0, only via upcoming 3.1.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux