Skip to contentSkip to conversation

kernel panic - xenomai3.0.6

Xenomai Fazio Maurizio 3 participants 8 messages Apr 17, 2018 – Apr 19, 2018 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Good morning,
I’ve attached a kernel panic problem that occurs during the execution of my application. Have you some ideas?

Cpu: Intel Core i7
OS: Centos 7 64bit with kernel 3.18.20 and path Xenomai 3.0.6

Thanks in advance

[cid:[email protected]]

Maurizio Fazio

Chief Technical Office / Aircraft Systems
Software Engineer

Leonardo S.p.A.
C.so Francia, 426 - Torino - 10146 - Italy
Tel. +39 011 756 3308 / 3761

[email protected]
www.leonardocompany.com

————————————————————————————————–—————— HELICOPTERS/AERONAUTICS/ELECTRONICS, DEFENCE & SECURITY SYSTEMS/SPACE ————————————————————————————————–——————

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.
________________________________
The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information.
If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “
This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3447 bytes
Desc: image002.jpg
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180417/9dfcc18a/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernelPanic.JPG
Type: image/jpeg
Size: 635465 bytes
Desc: kernelPanic.JPG
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180417/9dfcc18a/attachment.jpe>

#1 lore raw

I don't see a log attached, my email may have filtered it?

Quoted 62 lines · Fazio Maurizio

Good morning,
I’ve attached a kernel panic problem that occurs during the execution of my application. Have you some ideas?

Cpu: Intel Core i7
OS: Centos 7 64bit with kernel 3.18.20 and path Xenomai 3.0.6

Thanks in advance

[cid:[email protected]]

Maurizio Fazio

Chief Technical Office / Aircraft Systems
Software Engineer

Leonardo S.p.A.
C.so Francia, 426 - Torino - 10146 - Italy
Tel. +39 011 756 3308 / 3761

[email protected]
www.leonardocompany.com

————————————————————————————————–—————— HELICOPTERS/AERONAUTICS/ELECTRONICS, DEFENCE & SECURITY SYSTEMS/SPACE ————————————————————————————————–——————

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.
________________________________
The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information.
If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “
This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3447 bytes
Desc: image002.jpg
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180417/9dfcc18a/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernelPanic.JPG
Type: image/jpeg
Size: 635465 bytes
Desc: kernelPanic.JPG
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180417/9dfcc18a/attachment.jpe>
_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

#2 lore raw

NVM, found it

Quoted 66 lines · Greg Gallagher

I don't see a log attached, my email may have filtered it?

Quoted 62 lines · Fazio Maurizio

Good morning,
I’ve attached a kernel panic problem that occurs during the execution of my application. Have you some ideas?

Cpu: Intel Core i7
OS: Centos 7 64bit with kernel 3.18.20 and path Xenomai 3.0.6

Thanks in advance

[cid:[email protected]]

Maurizio Fazio

Chief Technical Office / Aircraft Systems
Software Engineer

Leonardo S.p.A.
C.so Francia, 426 - Torino - 10146 - Italy
Tel. +39 011 756 3308 / 3761

[email protected]
www.leonardocompany.com

————————————————————————————————–—————— HELICOPTERS/AERONAUTICS/ELECTRONICS, DEFENCE & SECURITY SYSTEMS/SPACE ————————————————————————————————–——————

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.
________________________________
The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information.
If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “
This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3447 bytes
Desc: image002.jpg
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180417/9dfcc18a/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernelPanic.JPG
Type: image/jpeg
Size: 635465 bytes
Desc: kernelPanic.JPG
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180417/9dfcc18a/attachment.jpe>
_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai

#3 lore raw
In reply to Fazio Maurizio
Quoted 6 lines · Fazio Maurizio

Good morning,
I’ve attached a kernel panic problem that occurs during the execution of my application. Have you some ideas?

Cpu: Intel Core i7
OS: Centos 7 64bit with kernel 3.18.20 and path Xenomai 3.0.6

Please use a supported kernel version. That is currently 4.9 [1] or 4.4-based [2].

Then please catch such bugs (if they still occur) as text log, using a UART console or netconsole to extract the information from the machine. We cannot see in your picture if that was the first issue the kernel found or just a subsequent fault.

Jan

[1] http://git.xenomai.org/ipipe.git/log/?h=ipipe-4.9.y
[2] http://git.xenomai.org/ipipe-jki.git/log/?h=for-upstream/4.4-update

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

A message that is not in the archive (sent off-list or not yet received): 988_1524033866_5AD6E94A_988_16165_1_c7507d3b-9477-e834-e0e4-f8f7dee397c1@siemens.com

#5 lore raw

[Xenomai] R: kernel panic - xenomai3.0.6

Hello Jan,
Thanks for the reply but at the moment I cannot upgrade the kernel version of the system :(

I executed the application with kdump service enabled. I attached the vmcore-dmesg file.
Comparing the vmcore-dmesg call trace at the end of the file with the call trace I see on the screen, there are other lines I don't see into the file. The following is the complete call trace :

[  368.501209] Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 2
[  368.501264] CPU: 2 PID: 14486 Comm: EXE_milbus Tainted: P           OE  3.18.20-xenomai #1
[  368.501316] Hardware name: Concurrent Technologies VME SBC/VP B1x/msd, BIOS 3.11.01 09/19/2016 [  368.501371]  0000000000000000 00000000ab624b87 ffff88041f705c08 ffffffff815e856f [  368.501425]  0000000000000000 ffffffff817e12f8 ffff88041f705c88 ffffffff815e24ff [  368.501479]  0000000000000010 ffff88041f705c98 ffff88041f705c38 00000000ab624b87 [  368.501532] Call Trace:
[  368.501549]  <NMI>  [<ffffffff815e856f>] dump_stack+0x46/0x58 [  368.501597]  [<ffffffff815e24ff>] panic+0xdb/0x20d [  368.501631]  [<ffffffff8110aca0>] ? restart_watchdog_hrtimer+0x50/0x50
[  368.501675]  [<ffffffff8110ad5a>] watchdog_overflow_callback+0xba/0xc0
[  368.501718]  [<ffffffff8112038d>] __perf_event_overflow+0x9d/0x250 [  368.501759]  [<ffffffff81120cc4>] perf_event_overflow+0x14/0x20 [  368.501798]  [<ffffffff8101fc09>] intel_pmu_handle_irq+0x1f9/0x420 [  368.501840]  [<ffffffff81017bab>] perf_event_nmi_handler+0x2b/0x50 [  368.501881]  [<ffffffff81006b9b>] nmi_handle+0x7b/0xe0 [  368.501916]  [<ffffffff810070c4>] default_do_nmi+0x44/0x130 [  368.501953]  [<ffffffff81007280>] do_nmi+0xd0/0xf0 [  368.501986]  [<ffffffff815f13ca>] end_repeat_nmi+0x1e/0x2e ? ktime_get ? ktime_get ? ktime_get

<<EOE>> tick_irq_enter
irq_enter
__ipipe_do_sync_stage
__ipipe_do_sync_pipeline
dispatch_irq_head
__ipipe_dispatch_irq
__ipipe_handle_irq
apic_timer_interrupt
? __ipipe_halt_root
? mwait_idle
arch_cpu_idle
cpu_startup_entry
start_secondary

Thanks in advance

Maurizio Fazio

Chief Technical Office / Aircraft Systems Software Engineer

Leonardo S.p.A.
C.so Francia, 426 - Torino - 10146 - Italy Tel. +39 011 756 3308 / 3761

[email protected]
www.leonardocompany.com

————————————————————————————————–——————
HELICOPTERS/AERONAUTICS/ELECTRONICS, DEFENCE & SECURITY SYSTEMS/SPACE ————————————————————————————————–——————

Company General Use

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.

The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information.
If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “ This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender
-----Messaggio originale-----
Da: Jan Kiszka [mailto:[email protected]]
Inviato: mercoledì 18 aprile 2018 08:44
A: Fazio Maurizio; [email protected]
Oggetto: Re: kernel panic - xenomai3.0.6

Quoted 6 lines · Fazio Maurizio

Good morning,
I’ve attached a kernel panic problem that occurs during the execution of my application. Have you some ideas?

Cpu: Intel Core i7
OS: Centos 7 64bit with kernel 3.18.20 and path Xenomai 3.0.6

Please use a supported kernel version. That is currently 4.9 [1] or 4.4-based [2].

Then please catch such bugs (if they still occur) as text log, using a UART console or netconsole to extract the information from the machine. We cannot see in your picture if that was the first issue the kernel found or just a subsequent fault.

Jan

[1] http://git.xenomai.org/ipipe.git/log/?h=ipipe-4.9.y
[2] http://git.xenomai.org/ipipe-jki.git/log/?h=for-upstream/4.4-update

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vmcore-dmesg.txt
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180418/0dacf426/attachment.txt>

#6 lore raw

Re: [Xenomai] R: kernel panic - xenomai3.0.6

Quoted 12 lines · Fazio Maurizio

Hello Jan,
Thanks for the reply but at the moment I cannot upgrade the kernel version of the system :(

I executed the application with kdump service enabled. I attached the vmcore-dmesg file.
Comparing the vmcore-dmesg call trace at the end of the file with the call trace I see on the screen, there are other lines I don't see into the file. The following is the complete call trace :

[  368.501209] Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 2
[  368.501264] CPU: 2 PID: 14486 Comm: EXE_milbus Tainted: P           OE  3.18.20-xenomai #1
[  368.501316] Hardware name: Concurrent Technologies VME SBC/VP B1x/msd, BIOS 3.11.01 09/19/2016 [  368.501371]  0000000000000000 00000000ab624b87 ffff88041f705c08 ffffffff815e856f [  368.501425]  0000000000000000 ffffffff817e12f8 ffff88041f705c88 ffffffff815e24ff [  368.501479]  0000000000000010 ffff88041f705c98 ffff88041f705c38 00000000ab624b87 [  368.501532] Call Trace:
[  368.501549]  <NMI>  [<ffffffff815e856f>] dump_stack+0x46/0x58 [  368.501597]  [<ffffffff815e24ff>] panic+0xdb/0x20d [  368.501631]  [<ffffffff8110aca0>] ? restart_watchdog_hrtimer+0x50/0x50
[  368.501675]  [<ffffffff8110ad5a>] watchdog_overflow_callback+0xba/0xc0
[  368.501718]  [<ffffffff8112038d>] __perf_event_overflow+0x9d/0x250 [  368.501759]  [<ffffffff81120cc4>] perf_event_overflow+0x14/0x20 [  368.501798]  [<ffffffff8101fc09>] intel_pmu_handle_irq+0x1f9/0x420 [  368.501840]  [<ffffffff81017bab>] perf_event_nmi_handler+0x2b/0x50 [  368.501881]  [<ffffffff81006b9b>] nmi_handle+0x7b/0xe0 [  368.501916]  [<ffffffff810070c4>] default_do_nmi+0x44/0x130 [  368.501953]  [<ffffffff81007280>] do_nmi+0xd0/0xf0 [  368.501986]  [<ffffffff815f13ca>] end_repeat_nmi+0x1e/0x2e ? ktime_get ? ktime_get ? ktime_get
Quoted 14 lines

<<EOE>> tick_irq_enter
irq_enter
__ipipe_do_sync_stage
__ipipe_do_sync_pipeline
dispatch_irq_head
__ipipe_dispatch_irq
__ipipe_handle_irq
apic_timer_interrupt
? __ipipe_halt_root
? mwait_idle
arch_cpu_idle
cpu_startup_entry
start_secondary

OK, is the system actually locked up at that point - or is the Linux watchdog just upset that your real-time application is stealing too much time from Linux?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

A message that is not in the archive (sent off-list or not yet received): 9090_1524067364_5AD76C24_9090_17106_1_d6f7f5ce-acf9-a4c7-58d7-60980b51fcbc@siemens.com

#8 lore raw

[Xenomai] R: R: kernel panic - xenomai3.0.6

Hello Jan,
I really don't know what is happening... I'm trying to analyze the vmcore file dump recorded with kdump.
I suppose that it happens because our application has a functionality that calls some API of a driver for a PCI board installed on the system... it seems that when this functionality is enabled the system halts as I showed you in previously mail. If I execute the application without the xenomai patch, the system runs properly, otherwise if I execute the application under a xenomai patched system, it halts as I described before.

Maurizio Fazio

Chief Technical Office / Aircraft Systems Software Engineer

Company General Use

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.

The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information.
If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “ This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender
-----Messaggio originale-----
Da: Jan Kiszka [mailto:[email protected]]
Inviato: mercoledì 18 aprile 2018 18:03
A: Fazio Maurizio; [email protected]
Oggetto: Re: R: kernel panic - xenomai3.0.6

Quoted 16 lines · Fazio Maurizio

Hello Jan,
Thanks for the reply but at the moment I cannot upgrade the kernel version of the system :(

I executed the application with kdump service enabled. I attached the vmcore-dmesg file.
Comparing the vmcore-dmesg call trace at the end of the file with the call trace I see on the screen, there are other lines I don't see into the file. The following is the complete call trace :

[  368.501209] Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 2
[  368.501264] CPU: 2 PID: 14486 Comm: EXE_milbus Tainted: P           OE  3.18.20-xenomai #1
[  368.501316] Hardware name: Concurrent Technologies VME SBC/VP B1x/msd, BIOS 3.11.01 09/19/2016 [  368.501371]  0000000000000000 00000000ab624b87 ffff88041f705c08 ffffffff815e856f [  368.501425]  0000000000000000 ffffffff817e12f8 ffff88041f705c88 ffffffff815e24ff [  368.501479]  0000000000000010 ffff88041f705c98 ffff88041f705c38 00000000ab624b87 [  368.501532] Call Trace:
[  368.501549]  <NMI>  [<ffffffff815e856f>] dump_stack+0x46/0x58 [
368.501597]  [<ffffffff815e24ff>] panic+0xdb/0x20d [  368.501631]
[<ffffffff8110aca0>] ? restart_watchdog_hrtimer+0x50/0x50
[  368.501675]  [<ffffffff8110ad5a>]
watchdog_overflow_callback+0xba/0xc0
[  368.501718]  [<ffffffff8112038d>] __perf_event_overflow+0x9d/0x250 [  368.501759]  [<ffffffff81120cc4>] perf_event_overflow+0x14/0x20 [  368.501798]  [<ffffffff8101fc09>] intel_pmu_handle_irq+0x1f9/0x420 [  368.501840]  [<ffffffff81017bab>] perf_event_nmi_handler+0x2b/0x50 [  368.501881]  [<ffffffff81006b9b>] nmi_handle+0x7b/0xe0 [  368.501916]  [<ffffffff810070c4>] default_do_nmi+0x44/0x130 [  368.501953]  [<ffffffff81007280>] do_nmi+0xd0/0xf0 [  368.501986]  [<ffffffff815f13ca>] end_repeat_nmi+0x1e/0x2e ? ktime_get ? ktime_get ? ktime_get
Quoted 14 lines

<<EOE>> tick_irq_enter
irq_enter
__ipipe_do_sync_stage
__ipipe_do_sync_pipeline
dispatch_irq_head
__ipipe_dispatch_irq
__ipipe_handle_irq
apic_timer_interrupt
? __ipipe_halt_root
? mwait_idle
arch_cpu_idle
cpu_startup_entry
start_secondary

OK, is the system actually locked up at that point - or is the Linux watchdog just upset that your real-time application is stealing too much time from Linux?

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux

#9 lore raw

Re: [Xenomai] R: R: kernel panic - xenomai3.0.6

Quoted 4 lines · Fazio Maurizio

Hello Jan,
I really don't know what is happening... I'm trying to analyze the vmcore file dump recorded with kdump.
I suppose that it happens because our application has a functionality that calls some API of a driver for a PCI board installed on the system... it seems that when this functionality is enabled the system halts as I showed you in previously mail. If I execute the application without the xenomai patch, the system runs properly, otherwise if I execute the application under a xenomai patched system, it halts as I described before.

If there is some out-of-tree driver involved AND the issue starts when that driver is used, I would have a very careful look at that beast. It may contain poor-quality code that conflicts with the Xenomai I-pipe patch and its abstractions, thus causing this lockup. The community has a very hard time to be of any help here.

Jan

Quoted 61 lines

Maurizio Fazio

Chief Technical Office / Aircraft Systems Software Engineer

Company General Use

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge. Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.

The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information.
If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “ This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender
-----Messaggio originale-----
Da: Jan Kiszka [mailto:[email protected]]
Inviato: mercoledì 18 aprile 2018 18:03
A: Fazio Maurizio; [email protected]
Oggetto: Re: R: kernel panic - xenomai3.0.6

Quoted 16 lines · Fazio Maurizio

Hello Jan,
Thanks for the reply but at the moment I cannot upgrade the kernel version of the system :(

I executed the application with kdump service enabled. I attached the vmcore-dmesg file.
Comparing the vmcore-dmesg call trace at the end of the file with the call trace I see on the screen, there are other lines I don't see into the file. The following is the complete call trace :

[  368.501209] Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 2
[  368.501264] CPU: 2 PID: 14486 Comm: EXE_milbus Tainted: P           OE  3.18.20-xenomai #1
[  368.501316] Hardware name: Concurrent Technologies VME SBC/VP B1x/msd, BIOS 3.11.01 09/19/2016 [  368.501371]  0000000000000000 00000000ab624b87 ffff88041f705c08 ffffffff815e856f [  368.501425]  0000000000000000 ffffffff817e12f8 ffff88041f705c88 ffffffff815e24ff [  368.501479]  0000000000000010 ffff88041f705c98 ffff88041f705c38 00000000ab624b87 [  368.501532] Call Trace:
[  368.501549]  <NMI>  [<ffffffff815e856f>] dump_stack+0x46/0x58 [
368.501597]  [<ffffffff815e24ff>] panic+0xdb/0x20d [  368.501631]
[<ffffffff8110aca0>] ? restart_watchdog_hrtimer+0x50/0x50
[  368.501675]  [<ffffffff8110ad5a>]
watchdog_overflow_callback+0xba/0xc0
[  368.501718]  [<ffffffff8112038d>] __perf_event_overflow+0x9d/0x250 [  368.501759]  [<ffffffff81120cc4>] perf_event_overflow+0x14/0x20 [  368.501798]  [<ffffffff8101fc09>] intel_pmu_handle_irq+0x1f9/0x420 [  368.501840]  [<ffffffff81017bab>] perf_event_nmi_handler+0x2b/0x50 [  368.501881]  [<ffffffff81006b9b>] nmi_handle+0x7b/0xe0 [  368.501916]  [<ffffffff810070c4>] default_do_nmi+0x44/0x130 [  368.501953]  [<ffffffff81007280>] do_nmi+0xd0/0xf0 [  368.501986]  [<ffffffff815f13ca>] end_repeat_nmi+0x1e/0x2e ? ktime_get ? ktime_get ? ktime_get
Quoted 14 lines

<<EOE>> tick_irq_enter
irq_enter
__ipipe_do_sync_stage
__ipipe_do_sync_pipeline
dispatch_irq_head
__ipipe_dispatch_irq
__ipipe_handle_irq
apic_timer_interrupt
? __ipipe_halt_root
? mwait_idle
arch_cpu_idle
cpu_startup_entry
start_secondary

OK, is the system actually locked up at that point - or is the Linux watchdog just upset that your real-time application is stealing too much time from Linux?

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux