System Crash

Meng, Fino fino.meng at intel.com
Mon Jul 20 02:42:11 CEST 2020


Hi hanlin,

Does it need specific hardware to reproduce this issue?  I would like to try, 

BR / Fino (孟祥夫)
Intel – IOTG Developer Enabling

>-----Original Message-----
>From: Xenomai <xenomai-bounces at xenomai.org> On Behalf Of wuhanlin via Xenomai
>Sent: Thursday, July 16, 2020 11:04 PM
>To: xenomai at xenomai.org
>Subject: System Crash
>
>Hi :
>      My program sends can data based on rtcan driver in the rt-timer(8ms). After running for a period of time, the
>program appears to die.
>that the ssh connections are lost and no response from hdmi device.
>
>
>Configuration:
>> > --ipipe-core-4.19.84-x86-8.patch
>> > --Xenomai-V3.1
>> > --kernel 4.19.84
>The following is the kernel log:
>
>
>Jul 13 07:16:03 bzl kernel: [223716.895961] ------------[ cut here ]------------ Jul 13 07:16:03 bzl kernel: [223716.895969]
>NETDEV WATCHDOG: eno2 (e1000e): transmit queue 0 timed out Jul 13 07:16:03 bzl kernel: [223716.896103] WARNING:
>CPU: 1 PID: 0 at net/sched/sch_generic.c:466 dev_watchdog+0x206/0x210 Jul 13 07:16:03 bzl kernel: [223716.896105]
>Modules linked in: xeno_can_xilinx(OE) xeno_can(E) xeno_fpga_axi(OE) can_raw can rfcomm bnep snd_soc_skl
>snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi 8250_dw
>nls_iso8859_1 snd_soc_core snd_compress ac97_bus intel_rapl snd_pcm_dmaengine x86_pkg_temp_thermal
>intel_powerclamp coretemp kvm_intel snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul ghash_clmulni_intel
>snd_hda_intel pcbc snd_hda_codec snd_hda_core snd_hwdep snd_pcm arc4 snd_seq_midi snd_seq_midi_event
>snd_rawmidi aesni_intel aes_x86_64 crypto_simd cryptd glue_helper intel_cstate intel_rapl_perf snd_seq snd_seq_device
>snd_timer wmi_bmof iwlmvm mac80211 snd soundcore iwlwifi btusb btrtl btbcm btintel idma64 virt_dma bluetooth
>mei_me cfg80211 input_leds mei intel_lpss_pci intel_lpss Jul 13 07:16:03 bzl kernel: [223716.896150]  ecdh_generic
>intel_pch_thermal mac_hid parport_pc ppdev lp parport autofs4 mmc_block hid_generic i915 kvmgt vfio_mdev mdev
>e1000e vfio_iommu_type1 vfio kvm sdhci_pci cqhci ahci sdhci libahci irqbypass usbhid i2c_algo_bit drm_kms_helper hid
>syscopyarea sysfillrect sysimgblt fb_sys_fops drm wmi video
>Jul 13 07:16:03 bzl kernel: [223716.896173] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           OE     4.19.84-x86-20200528 #3
>Jul 13 07:16:03 bzl kernel: [223716.896174] Hardware name: Intel(R) Client Systems CM8CCB4R/CM8CCB4R, BIOS
>CBWHL357.8175.2020.0514.1346 05/14/2020 Jul 13 07:16:03 bzl kernel: [223716.896174] I-pipe domain: Linux Jul 13
>07:16:03 bzl kernel: [223716.896175] RIP: 0010:dev_watchdog+0x206/0x210 Jul 13 07:16:03 bzl kernel: [223716.896176]
>Code: 00 49 63 4e e0 eb 99 4c 89 ef c6 05 88 ac a7 00 01 e8 0e a3 fc ff 89 d9 48 89 c2 4c 89 ee 48 c7 c7 a8 a1 96 89 e8 3a 3d 7c
>ff <0f> 0b eb c0 66 0f 1f 44 00 00 e8 2b 71 14 00 48 c7 47 08 00 00 00 Jul 13 07:16:03 bzl kernel: [223716.896177] RSP:
>0018:ffff982decd03d80 EFLAGS: 00010282 Jul 13 07:16:03 bzl kernel: [223716.896179] RAX: 0000000000000000 RBX:
>0000000000000000 RCX: 000000000000083f Jul 13 07:16:03 bzl kernel: [223716.896180] RDX: 0000000000000000 RSI:
>00000000000000f6 RDI: 000000000000003f Jul 13 07:16:03 bzl kernel: [223716.896180] RBP: ffff982decd03da8 R08:
>0000000000000001 R09: 0000000000000345 Jul 13 07:16:03 bzl kernel: [223716.896181] R10: ffff982decd03d90 R11:
>0000000000000345 R12: 0000000000000001 Jul 13 07:16:03 bzl kernel: [223716.896182] R13: ffff982ddf844000 R14:
>ffff982ddf844480 R15: 0000000000000001 Jul 13 07:16:03 bzl kernel: [223716.896183] FS:  0000000000000000(0000)
>GS:ffff982decd00000(0000) knlGS:0000000000000000 Jul 13 07:16:03 bzl kernel: [223716.896184] CS:  0010 DS: 0000 ES: 0000
>CR0: 0000000080050033 Jul 13 07:16:03 bzl kernel: [223716.896185] CR2: 00007f74656f5020 CR3: 0000000047e0a004 CR4:
>00000000003606e0 Jul 13 07:16:03 bzl kernel: [223716.896185] Call Trace:
>Jul 13 07:16:03 bzl kernel: [223716.896186]  <IRQ> Jul 13 07:16:03 bzl kernel: [223716.896187]  ? qdisc_reset+0xe0/0xe0 Jul
>13 07:16:03 bzl kernel: [223716.896188]  ? qdisc_reset+0xe0/0xe0 Jul 13 07:16:03 bzl kernel: [223716.896188]
>call_timer_fn+0x32/0x140 Jul 13 07:16:03 bzl kernel: [223716.896189]  ? qdisc_reset+0xe0/0xe0 Jul 13 07:16:03 bzl kernel:
>[223716.896190]  run_timer_softirq+0x1e6/0x420 Jul 13 07:16:03 bzl kernel: [223716.896191]  ? __ipipe_do_IRQ+0x31/0x40
>Jul 13 07:16:03 bzl kernel: [223716.896191]  ? __ipipe_do_sync_stage+0x173/0x180 Jul 13 07:16:03 bzl kernel:
>[223716.896192]  __do_softirq+0xf3/0x2a4 Jul 13 07:16:03 bzl kernel: [223716.896193]  irq_exit+0xc8/0xd0 Jul 13 07:16:03
>bzl kernel: [223716.896194]  smp_apic_timer_interrupt+0x63/0x130
>Jul 13 07:16:03 bzl kernel: [223716.896194]  ? smp_call_function_single_interrupt+0xd0/0xd0
>Jul 13 07:16:03 bzl kernel: [223716.896195]  __ipipe_do_IRQ+0x31/0x40 Jul 13 07:16:03 bzl kernel: [223716.896196]
>__ipipe_do_sync_stage+0x173/0x180 Jul 13 07:16:03 bzl kernel: [223716.896197]  __ipipe_do_sync_pipeline+0x9b/0xa0
>Jul 13 07:16:03 bzl kernel: [223716.896197]  dispatch_irq_head+0xe6/0x110 Jul 13 07:16:03 bzl kernel: [223716.896198]
>__ipipe_dispatch_irq+0xd9/0x1c0 Jul 13 07:16:03 bzl kernel: [223716.896199]  __ipipe_handle_irq+0x86/0x1e0 Jul 13
>07:16:03 bzl kernel: [223716.896200]  apic_timer_interrupt+0x12/0x40 Jul 13 07:16:03 bzl kernel: [223716.896200]  </IRQ>
>Jul 13 07:16:03 bzl kernel: [223716.896201] RIP: 0010:__ipipe_halt_root+0x33/0x40 Jul 13 07:16:03 bzl kernel:
>[223716.896202] Code: 60 c5 01 00 65 48 8b 05 b3 38 7c 77 48 01 d0 48 0f ba 30 00 48 83 78 08 00 75 10 85 ff 75 03 fb f4 c3 31
>c0 89 c1 fb 0f 01 c9 <c3> 55 48 89 e5 e8 63 ea 10 00 fb 5d c3 e8 eb 64 9b 00 48 89 fa 48 Jul 13 07:16:03 bzl kernel:
>[223716.896203] RSP: 0018:ffffaf6f00703e80 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 Jul 13 07:16:03 bzl kernel:
>[223716.896205] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 Jul 13 07:16:03 bzl kernel:
>[223716.896205] RDX: 000000000001c560 RSI: 0000000000000000 RDI: 0000000000000001 Jul 13 07:16:03 bzl kernel:
>[223716.896206] RBP: ffffaf6f00703ea0 R08: 0000000000000246 R09: 0000cb782626ef35 Jul 13 07:16:03 bzl kernel:
>[223716.896207] R10: ffffaf6f00703e88 R11: 0000000000000000 R12: 0000000000000001 Jul 13 07:16:03 bzl kernel:
>[223716.896208] R13: ffff982debe82dc0 R14: 0000000000000200 R15: 0000000000000000 Jul 13 07:16:03 bzl kernel:
>[223716.896209]  ? mwait_idle+0x6e/0x1e0 Jul 13 07:16:03 bzl kernel: [223716.896209]  arch_cpu_idle+0x15/0x20 Jul 13
>07:16:03 bzl kernel: [223716.896210]  default_idle_call+0x37/0x39 Jul 13 07:16:03 bzl kernel: [223716.896211]
>do_idle+0xb1/0x160 Jul 13 07:16:03 bzl kernel: [223716.896212]  cpu_startup_entry+0x73/0x80 Jul 13 07:16:03 bzl kernel:
>[223716.896212]  start_secondary+0x18b/0x1d0 Jul 13 07:16:03 bzl kernel: [223716.896213]
>secondary_startup_64+0xa4/0xb0 Jul 13 07:16:03 bzl kernel: [223716.896214] ---[ end trace a2d6c57587c7893e ]--- Jul 13
>07:16:03 bzl NetworkManager[729]: <info>  [1594595763.5584] device (eno2): link disconnected (deferring action for 4
>seconds) Jul 13 07:16:03 bzl kernel: [223716.898669] e1000e 0000:00:1f.6 eno2: Reset adapter unexpectedly Jul 13 07:16:07
>bzl NetworkManager[729]: <info>  [1594595767.6627] device (eno2): link disconnected (calling deferred action) Jul 13
>07:16:07 bzl NetworkManager[729]: <info>  [1594595767.6628] device (eno2): state change: activated -> unavailable (reason
>'carrier-changed') [100 20 40] Jul 13 07:16:07 bzl NetworkManager[729]: <info>  [1594595767.6639] manager:
>NetworkManager state is now DISCONNECTED
>
>
>My question is what will cause this exception ?
>
>
>Thank you for taking the time to answer my question.
>



More information about the Xenomai mailing list