Skip to contentSkip to conversation

? page fault in xnthread_switch_fpu

DISCUSSION JerryJun 3 participants 3 messages Jun 30, 2023 – Jul 3, 2023

lore
Share & tools
lore

JerryJun

author
#0 lore raw

Hi, xenomai:

testing on the linux-4.19.89-ipipe-9-xenomai-3.1 (kernel:linux-4.19.89, patch:ipipe-core-4.19.89-x86-9.patch, xenomai:xenomai 3.1), we get into trouble which the kernel oops more than once ,not frequently, as follows.

[288905.129024] BUG: unable to handle kernel paging request at 00000000000a22e8
[288905.136172] BUG: unable to handle kernel paging request at 0000000000048044
[288905.143218] PGD 0 P4D 0 
[288905.145844] Oops: 0010 [#1] PREEMPT SMP NOPTI
[288905.150281] CPU: 2 PID: 29436 Comm: rt_thread Kdump: loaded Tainted: P           O      4.19.89-ipipe-9-xenomai-3.1 #1
[288905.162346] Hardware name: Supermicro Super Server/C422-SF, BIOS E906.1 04/27/2021
[288905.169990] I-pipe domain: Linux
[288905.173302] RIP: 0010:0x48044
[288905.176448] Code: Bad RIP value.
[288905.180043] RSP: 0018:ffff88885fe03ed0 EFLAGS: 00210046
[288905.185347] RAX: ffff88885fe5f3e0 RBX: ffffffffa05c04a8 RCX: ffff88885fca4540
[288905.192724] RDX: 0000000000000000 RSI: ffffffff81e0f0a7 RDI: 000000000000000b
[288905.199934] RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000596
[288905.207145] R10: 000000000000000f R11: ffffffff825b1eee R12: dead000000000200
[288905.214435] R13: dead000000000100 R14: ffffffffa05c0480 R15: ffffc90003c45a40
[288905.221776] FS:  00007fe854ff9700(0000) GS:ffff88885fe00000(0000) knlGS:0000000000000000
[288905.230225] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[288905.236048] CR2: 000000000004801a CR3: 00000001000c0003 CR4: 00000000001606e0
[288905.243260] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[288905.250747] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[288905.258072] Call Trace:
[288905.260604]  <IRQ>
[288905.262816]  ? xnthread_switch_fpu+0x21/0x30
[288905.267173]  ? ___xnsched_run.part.68+0x1fb/0x460
[288905.271965]  ? xnintr_core_clock_handler+0x20d/0x310
[288905.277010]  ? ___xnsched_run.part.68+0x120/0x460
[288905.281813]  ? __ipipe_dispatch_irq+0x76/0x1b0
[288905.286631]  ? __ipipe_handle_irq+0x67/0x1e0
[288905.291008]  ? common_interrupt+0xf/0x2c
[288905.295287]  </IRQ>
[288905.297472] WARNING: stack recursion on stack type 2
[288905.394387] CR2: 0000000000048044

next, there is integrally backtrace producted by kdump-tools of crash ,as follows:

PID: 29436 TASK: ffff8888537fe980 CPU: 2 COMMAND: "rt_thread"

#0 [ffff88885fe03c10] machine_kexec at ffffffff81041051

    ffff88885fe03c18: 0000000000000000 ffff888000000000 

    ffff88885fe03c28: 0000000018001000 ffff888018001000 

    ffff88885fe03c38: 0000000018000000 ffff88885fe03e28 

    ffff88885fe03c48: 766d97410198ab00 ffff88885fe03e28 

    ffff88885fe03c58: ffffffff810f2818 

#1 [ffff88885fe03c58] __crash_kexec at ffffffff810f2818

    ffff88885fe03c60: ffffc90003c45a40 ffffffffa05c0480 

    ffff88885fe03c70: dead000000000100 dead000000000200 

    ffff88885fe03c80: 0000000000000000 ffffffffa05c04a8 

    ffff88885fe03c90: ffffffff825b1eee 000000000000000f 

    ffff88885fe03ca0: 0000000000000596 0000000000000002 

    ffff88885fe03cb0: ffff88885fe5f3e0 ffff88885fca4540 

    ffff88885fe03cc0: 0000000000000000 ffffffff81e0f0a7 

    ffff88885fe03cd0: 000000000000000b ffffffffffffffff 

    ffff88885fe03ce0: 0000000000048044 0000000000000010 

    ffff88885fe03cf0: 0000000000210046 ffff88885fe03ed0 

    ffff88885fe03d00: 0000000000000018 766d97410198ab00 

    ffff88885fe03d10: ffff88885fe03e28 0000000000000009 

    ffff88885fe03d20: ffffffff810f39d8 

#2 [ffff88885fe03d20] crash_kexec at ffffffff810f39d8

    ffff88885fe03d28: ffffffff00048044 0000000000000000 

    ffff88885fe03d38: ffffffff8101795a 

#3 [ffff88885fe03d38] oops_end at ffffffff8101795a

    ffff88885fe03d40: ffff88885fe03e28 0000000000048044 

    ffff88885fe03d50: ffff8888537fe980 ffffffff8104b2a7 

#4 [ffff88885fe03d58] no_context at ffffffff8104b2a7

    ffff88885fe03d60: 0000000000000000 ffff88885fe155e8 

    ffff88885fe03d70: 000000008114399a 766d97410198ab00 

    ffff88885fe03d80: 0000000000000010 0000000000048044 

    ffff88885fe03d90: ffff88885fe03e28 ffff88810273e580 

    ffff88885fe03da0: ffff8888537fe980 0000000000000000 

    ffff88885fe03db0: ffffffff8104b8b2 

#5 [ffff88885fe03db0] __do_page_fault at ffffffff8104b8b2

    ffff88885fe03db8: ffff88810273e5f0 000000005fe03e00 

    ffff88885fe03dc8: ffff88885fe03f28 766d97410198ab00 

    ffff88885fe03dd8: 0000000000200046 ffffffff81037d3f 

    ffff88885fe03de8: 766d97410198ab00 0000000000000000 

    ffff88885fe03df8: 0000000000000000 0000000000000000 

    ffff88885fe03e08: 0000000000000000 0000000000210246 

    ffff88885fe03e18: 0000000000000000 ffffffff81801623 

#6 [ffff88885fe03e20] page_fault at ffffffff81801623

    [exception RIP: unknown or invalid address]

    RIP: 0000000000048044  RSP: ffff88885fe03ed0  RFLAGS: 00210046

    RAX: ffff88885fe5f3e0  RBX: ffffffffa05c04a8  RCX: ffff88885fca4540

    RDX: 0000000000000000  RSI: ffffffff81e0f0a7  RDI: 000000000000000b

    RBP: 0000000000000000   R8: 0000000000000002   R9: 0000000000000596

    R10: 000000000000000f  R11: ffffffff825b1eee  R12: dead000000000200

    R13: dead000000000100  R14: ffffffffa05c0480  R15: ffffc90003c45a40

    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018

    ffff88885fe03e28: ffffc90003c45a40 ffffffffa05c0480 

    ffff88885fe03e38: dead000000000100 dead000000000200 

    ffff88885fe03e48: 0000000000000000 ffffffffa05c04a8 

    ffff88885fe03e58: ffffffff825b1eee 000000000000000f 

    ffff88885fe03e68: 0000000000000596 0000000000000002 

    ffff88885fe03e78: ffff88885fe5f3e0 ffff88885fca4540 

    ffff88885fe03e88: 0000000000000000 ffffffff81e0f0a7 

    ffff88885fe03e98: 000000000000000b ffffffffffffffff 

    ffff88885fe03ea8: 0000000000048044 0000000000000010 

    ffff88885fe03eb8: 0000000000210046 ffff88885fe03ed0 

    ffff88885fe03ec8: 0000000000000018 000000000005f3e0 

    ffff88885fe03ed8: ffff88875715e900 ffff88810273e580 

    ffff88885fe03ee8: ffff8888537ff580 766d97410198ab00 

    ffff88885fe03ef8: ffff88885fea4540 000000000005f3e0 

    ffff88885fe03f08: 766d97410198ab00 ffffffff81189ed1 

#7 [ffff88885fe03f10] xnthread_switch_fpu at ffffffff81189ed1

    ffff88885fe03f18: ffff88885fea4540 000000000005f3e0 

    ffff88885fe03f28: ffffffff811838cb 

#8 [ffff88885fe03f28] ___xnsched_run at ffffffff811838cb

    ffff88885fe03f30: ffff88885fea4540 ffffe8ffffc079c8 

    ffff88885fe03f40: ffff88885fea5d08 ffff88885fea4540 

    ffff88885fe03f50: 0000000000000002 0000000000000002 

    ffff88885fe03f60: ffffffff8117cdcd 

#9 [ffff88885fe03f60] xnintr_core_clock_handler at ffffffff8117cdcd

    ffff88885fe03f68: ffffffff811837f0 000000000005f3e0 

    ffff88885fe03f78: 00000000000a2260 ffffffff828021c0 

    ffff88885fe03f88: ffff88885fe1c560 0000000000008103 

    ffff88885fe03f98: 0000000000008103 ffffffff81119646 

#10 [ffff88885fe03fa0] __ipipe_dispatch_irq at ffffffff81119646

    ffff88885fe03fa8: ffff88885fe1c560 00000000000a2260 

    ffff88885fe03fb8: 000000000001c560 0000000000200082 

    ffff88885fe03fc8: ffffffff81037f07 

#11 [ffff88885fe03fc8] __ipipe_handle_irq at ffffffff81037f07

    ffff88885fe03fd0: 0000000000000000 0000000000000000 

    ffff88885fe03fe0: 0000000000000000 0000000000000000 

    ffff88885fe03ff0: ffffffff818009cf 

#12 [ffff88885fe03ff0] common_interrupt at ffffffff818009cf

as you can see, exception rt_thread is a application xenomai thread, affinity for the cpu 2, page fault seem to take place in func xnthread_switch_fpu, because of RIP: 0010:0x48044 from stack point of ffff88885fe03ea8 , and furtherly from stack point ffff88885fe03ea8 to ffff88885fe03e28, cpu registers seemingly be pushed stack frame due to page fault exception interrupt. by backtrace, we roughly find kernel collapse inside func xnarch_switch_fpu, but don't locate exactly point due to lack of exception RIP. as the same time, we get some valuely info which you can see it in attachment when oops happens, include struct xnthread (0xffff88885fea4740), struct xnsched (ffff88885fea4540). from commit id (6264fbdb6bd94d21af77834e63dbb1ca01edfca8) to now , xnthread_switch_fpu from func ___xnsched_run seem to obsolete, whether or not it meant to be the page fault won't happen again theoretically . please give me some hints, Will thank you for your replies very much. next, we will be prepared to switch dovetail , I will report you if version upgrades mitigate the problem.

in addition to this one above, we have the same question which occur in xnthread_switch_fpu of ___xnsched_run , this is a stack overflow, as follows:

[28282.978386] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: __do_page_fault+0x568/0x570
[28282.989948] CPU: 2 PID: 14485 Comm: rt_thread Kdump: loaded Tainted: P           O      4.19.89-ipipe-9-xenomai-3.1 #1
[28283.003344] Hardware name: Intel Corporation S2600CWR/S2600CWR, BIOS SE5C610.86B.01.01.0022.C2.062820171903 06/28/2017
[28283.015288] I-pipe domain: Linux
[28283.018886] Call Trace:
[28283.021617]  <#DB>
[28283.023860]  dump_stack+0x98/0xb8
[28283.027558]  panic+0xe7/0x236
[28283.030871]  ? __do_page_fault+0x568/0x570
[28283.035441]  ? iounmap.cold.16+0x16/0x16
[28283.039819]  ? cmp_ex_sort+0x30/0x30
[28283.043807]  __stack_chk_fail+0x10/0x10
[28283.048087]  __do_page_fault+0x568/0x570
[28283.052464]  ? __ipipe_trap_prologue+0xef/0x200
[28283.057519]  page_fault+0x43/0x5b
[28283.061217] RIP: 0010:bad_gs+0x1abe/0x1b00
[28283.065789] Code: ca e9 96 fe c5 ff c1 e1 06 01 ca eb 07 8d 14 ca eb 02 89 ca e9 83 fe c5 ff 01 ca e9 7c fe c5 ff 8d 0c ca 89 ca e9 72 fe c5 ff <89> ca e9 6b fe c5 ff 01 ca e9 64 fe c5 ff c1 e1 06 01 ca eb 0e 48
[28283.086748] RSP: 0018:fffffe0000062b88 EFLAGS: 00010046
[28283.092584] RAX: ffff888001a03000 RBX: ffff88860eb96080 RCX: 0000000000000040
[28283.100553] RDX: 0000000000000040 RSI: 00007f43764e46f6 RDI: fffffe0000062bc0
[28283.108519] RBP: 0000000000000040 R08: fffffe00000629a8 R09: 00000000fff9d657
[28283.116485] R10: ffffffff825d26e0 R11: fffffe00000629b7 R12: 00007ffffffff000
[28283.124438] R13: 00007f43764e46f6 R14: fffffe0000062bc0 R15: 0000000000000000
[28283.132409]  __probe_kernel_read+0x4f/0x80
[28283.136982]  show_opcodes+0x48/0x70
[28283.140872]  ? show_ip+0x21/0x2e
[28283.144472]  show_iret_regs+0x10/0x32
[28283.148566]  __show_regs+0x18/0x30
[28283.152351]  ? unwind_next_frame+0x43d/0x590
[28283.157114]  show_trace_log_lvl+0x25f/0x2b5
[28283.161782]  ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
[28283.167618]  ? do_debug+0x13c/0x1b0
[28283.171508]  __warn+0x8f/0xd0
[28283.174821]  ? do_debug+0x13c/0x1b0
[28283.178704]  report_bug+0xb0/0xd0
[28283.182402]  do_error_trap+0xdf/0x140
[28283.186492]  ? __ipipe_trap_prologue+0xef/0x200
[28283.191553]  invalid_op+0x39/0x51
[28283.195254] RIP: 0010:do_debug+0x13c/0x1b0
[28283.199831] Code: 5f ff ff ff 44 89 e2 48 89 de 48 89 ef e8 dc ed 00 00 f6 83 91 00 00 00 02 0f 84 44 ff ff ff eb dd f6 83 88 00 00 00 03 75 9f <0f> 0b 80 e4 bf 48 89 85 58 0b 00 00 f0 80 4d 00 10 48 81 a3 90 00
[28283.220794] RSP: 0018:fffffe0000062f20 EFLAGS: 00010046
[28283.226624] RAX: 0000000000004000 RBX: fffffe0000062f58 RCX: 0000000000000000
[28283.234588] RDX: fffffe0000062ef0 RSI: 0000000000000003 RDI: ffffffff82055060
[28283.242555] RBP: ffff88860eb96080 R08: 0000000000000000 R09: 0000000000000000
[28283.250518] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[28283.258480] R13: 0000000000000000 R14: 0000000000000902 R15: 0000000000000000
[28283.266446]  debug+0x3c/0xa0
[28283.269662] RIP: 0010:__switch_to_asm+0x2c/0x40
[28283.274715] Code: 41 54 41 55 41 56 41 57 9c 48 89 a7 18 0b 00 00 48 8b a6 18 0b 00 00 48 8b 9e 68 05 00 00 65 48 89 1c 25 28 00 00 00 9d 41 5f <41> 5e 41 5d 41 5c 5b 5d e9 c7 2b 81 ff 0f 1f 80 00 00 00 00 fb 48
[28283.295676] RSP: 0018:ffff888667603f00 EFLAGS: 00000902
[28283.301504] RAX: 0000000000000000 RBX: a6b6e27721940300 RCX: 0000000000000005
[28283.309465] RDX: 00000000001606e0 RSI: ffff8885d87c4080 RDI: ffff88860eb96080
[28283.317430] RBP: ffffc90007dfbc90 R08: 000000000000064b R09: 0000000000002520
[28283.325398] R10: 0000000000002520 R11: 0000000000000000 R12: ffff88860eb96700
[28283.333363] R13: ffff88860eb96080 R14: ffff8885d87c4080 R15: ffff8886676a4540
[28283.341329]  </#DB>
[28283.343671]  <IRQ>
[28283.345913]  ? xnthread_switch_fpu+0x21/0x30
[28283.350685]  ___xnsched_run.part.68+0x1fb/0x460
[28283.355734]  xnintr_core_clock_handler+0x21c/0x310
[28283.361080]  ? ___xnsched_run.part.68+0x1fb/0x460
[28283.366328]  dispatch_irq_head+0x7e/0x110
[28283.370805]  __ipipe_handle_irq+0x67/0x1e0
[28283.375384]  apic_timer_interrupt+0x12/0x40
[28283.380055] WARNING: stack recursion on stack type 7
[28283.380058] WARNING: can't dereference registers at 00000000110f87d0 for ip apic_timer_interrupt+0x12/0x40

PID: 14540 TASK: ffff8885d87c4080 CPU: 2 COMMAND: "rt_thread"

#0 [fffffe00000628c8] machine_kexec at ffffffff81041051

#1 [fffffe0000062910] __crash_kexec at ffffffff810f2818

#2 [fffffe00000629d8] panic at ffffffff8105cca0

#3 [fffffe0000062a60] __do_page_fault at ffffffff8104bd78

#4 [fffffe0000062ad0] page_fault at ffffffff81801623

    [exception RIP: bad_gs+6846]

    RIP: ffffffff81a01dee  RSP: fffffe0000062b88  RFLAGS: 00010046

    RAX: ffff888001a03000  RBX: ffff88860eb96080  RCX: 0000000000000040

    RDX: 0000000000000040  RSI: 00007f43764e46f6  RDI: fffffe0000062bc0

    RBP: 0000000000000040   R8: fffffe00000629a8   R9: 00000000fff9d657

    R10: ffffffff825d26e0  R11: fffffe00000629b7  R12: 00007ffffffff000

    R13: 00007f43764e46f6  R14: fffffe0000062bc0  R15: 0000000000000000

    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018

#5 [fffffe0000062b88] probe_kernel_read at ffffffff811c439f

#6 [fffffe0000062bb8] show_opcodes at ffffffff81017a38

#7 [fffffe0000062c10] show_iret_regs at ffffffff81017b6b

#8 [fffffe0000062c20] __show_regs at ffffffff81012cf8

#9 [fffffe0000062c78] show_trace_log_lvl at ffffffff81017e53

#10 [fffffe0000062d50] __warn at ffffffff8105caaf

#11 [fffffe0000062d88] report_bug at ffffffff8164fb60

#12 [fffffe0000062db0] do_error_trap at ffffffff810148bf

#13 [fffffe0000062e70] invalid_op at ffffffff81800f19

    [exception RIP: do_debug+316]

    RIP: ffffffff81014b3c  RSP: fffffe0000062f20  RFLAGS: 00010046

    RAX: 0000000000004000  RBX: fffffe0000062f58  RCX: 0000000000000000

    RDX: fffffe0000062ef0  RSI: 0000000000000003  RDI: ffffffff82055060

    RBP: ffff88860eb96080   R8: 0000000000000000   R9: 0000000000000000

    R10: 0000000000000000  R11: 0000000000000000  R12: 0000000000000000

    R13: 0000000000000000  R14: 0000000000000902  R15: 0000000000000000

    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018

#14 [fffffe0000062f50] debug at ffffffff818013ec

    [exception RIP: __switch_to_asm+44]

    RIP: ffffffff8180018c  RSP: ffff888667603f00  RFLAGS: 00000902

    RAX: 0000000000000000  RBX: a6b6e27721940300  RCX: 0000000000000005

    RDX: 00000000001606e0  RSI: ffff8885d87c4080  RDI: ffff88860eb96080

    RBP: ffffc90007dfbc90   R8: 000000000000064b   R9: 0000000000002520

    R10: 0000000000002520  R11: 0000000000000000  R12: ffff88860eb96700

    R13: ffff88860eb96080  R14: ffff8885d87c4080  R15: ffff8886676a4540

    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018

--- <DEBUG exception stack> ---

#15 [ffff888667603f00] __switch_to_asm at ffffffff8180018c

#16 [ffff888667603f28] ___xnsched_run at ffffffff811838cb

#17 [ffff888667603f60] xnintr_core_clock_handler at ffffffff8117cddc

#18 [ffff888667603fa0] dispatch_irq_head at ffffffff8111953e

#19 [ffff888667603fc8] __ipipe_handle_irq at ffffffff81037f07

#20 [ffff888667603ff0] apic_timer_interrupt at ffffffff81801d22

Regards

jerryjun

struct xnsched {
status = 0,
lflags = 0,
curr = 0xffff88885fea4740,
cpu = 2,

  resched = {
    bits = {0, 0, 0, 0, 0, 0, 0, 0}
  }, 
  rt = {
    runnable = {
      next = 0xffff88885fea45a0, 
      prev = 0xffff88885fea45a0
    }
  }, 
  inesting = 0, 
  htimer = {
    aplink = {
      date = 1040551457179301, 
      prio = 3294967297, 
      link = {
        __rb_parent_color = 18446683600633236705, 
        rb_right = 0xffffc90003c46ce0, 
        rb_left = 0x0
      }
    }, 
    adjlink = {
      next = 0x0, 
      prev = 0x0
    }, 
    status = 33, 
    interval = 0, 
    interval_ns = 0, 
    periodic_ticks = 0, 
    start_date = 0, 
    pexpect_ticks = 0, 
    sched = 0xffff88885fea4540, 
    handler = 0x0, 
    name = "[host-timer/2]\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 
    next_stat = {
      next = 0xffff88885fea4708, 
      prev = 0xffff88885fea5b20
    }, 
    scheduled = {
      counter = 6084893128
    }, 
    fired = {
      counter = 5629076207
    }
  }, 
  rrbtimer = {
    aplink = {
      date = 0, 
      prio = 3294967297, 
      link = {
        __rb_parent_color = 0, 
        rb_right = 0x0, 
        rb_left = 0x0
      }
    }, 
    adjlink = {
      next = 0x0, 
      prev = 0x0
    }, 
    status = 1, 
    interval = 0, 
    interval_ns = 0, 
    periodic_ticks = 0, 
    start_date = 0, 
    pexpect_ticks = 0, 
    sched = 0xffff88885fea4540, 
    handler = 0xffffffff8117efa0 <roundrobin_handler>, 
    name = "[rrb-timer/2]\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 
    next_stat = {
      next = 0xffff88885fea5ce0, 
      prev = 0xffff88885fea4650
    }, 
    scheduled = {
      counter = 0
    }, 
    fired = {
      counter = 0
    }
  }, 
  rootcb = {
    tcb = {
      core = {
        host_task = 0xffff8888537fe980, 
        tsp = 0xffff8888537ff480, 
        mm = 0xffff88810273e580, 
        active_mm = 0xffff88810273e580, 
        ts = {
          tls_array = {{
              limit0 = 0, 
              base0 = 0, 
              base1 = 0, 
              type = 0, 
              s = 0, 
              dpl = 0, 
              p = 0, 
              limit1 = 0, 
              avl = 0, 
              l = 0, 
              d = 0, 
              g = 0, 
              base2 = 0
            }, {
              limit0 = 0, 
              base0 = 0, 
              base1 = 0, 
              type = 0, 
              s = 0, 
              dpl = 0, 
              p = 0, 
              limit1 = 0, 
              avl = 0, 
              l = 0, 
              d = 0, 
              g = 0, 
              base2 = 0
            }, {
              limit0 = 0, 
              base0 = 0, 
              base1 = 0, 
              type = 0, 
              s = 0, 
              dpl = 0, 
              p = 0, 
              limit1 = 0, 
              avl = 0, 
              l = 0, 
              d = 0, 
              g = 0, 
              base2 = 0
            }}, 
          sp = 0, 
          es = 0, 
          ds = 0, 
          fsindex = 0, 
          gsindex = 0, 
          fsbase = 0, 
          gsbase = 0, 
          ptrace_bps = {0x0, 0x0, 0x0, 0x0}, 
          debugreg6 = 0, 
          ptrace_dr7 = 0, 
          cr2 = 0, 
          trap_nr = 0, 
          error_code = 0, 
          io_bitmap_ptr = 0x0, 
          iopl = 0, 
          io_bitmap_max = 0, 
          addr_limit = {
            seg = 0
          }, 
          sig_on_uaccess_err = 0, 
          uaccess_err = 0, 
          fpu = {
            last_cpu = 0, 
            initialized = 0 '\000', 
            state = {
              fsave = {
                cwd = 0, 
                swd = 0, 
                twd = 0, 
                fip = 0, 
                fcs = 0, 
                foo = 0, 
                fos = 0, 
                st_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                status = 0
              }, 
              fxsave = {
                cwd = 0, 
                swd = 0, 
                twd = 0, 
                fop = 0, 
                {
                  {
                    rip = 0, 
                    rdp = 0
                  }, 
                  {
                    fip = 0, 
                    fcs = 0, 
                    foo = 0, 
                    fos = 0
                  }
                }, 
                mxcsr = 0, 
                mxcsr_mask = 0, 
                st_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                xmm_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                padding = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                {
                  padding1 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                  sw_reserved = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
                }
              }, 
              soft = {
                cwd = 0, 
                swd = 0, 
                twd = 0, 
                fip = 0, 
                fcs = 0, 
                foo = 0, 
                fos = 0, 
                st_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                ftop = 0 '\000', 
                changed = 0 '\000', 
                lookahead = 0 '\000', 
                no_update = 0 '\000', 
                rm = 0 '\000', 
                alimit = 0 '\000', 
                info = 0x0, 
                entry_eip = 0
              }, 
              xsave = {
                i387 = {
                  cwd = 0, 
                  swd = 0, 
                  twd = 0, 
                  fop = 0, 
                  {
                    {
                      rip = 0, 
                      rdp = 0
                    }, 
                    {
                      fip = 0, 
                      fcs = 0, 
                      foo = 0, 
                      fos = 0
                    }
                  }, 
                  mxcsr = 0, 
                  mxcsr_mask = 0, 
                  st_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                  xmm_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                  padding = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                  {
                    padding1 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                    sw_reserved = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
                  }
                }, 
                header = {
                  xfeatures = 0, 
                  xcomp_bv = 0, 
                  reserved = {0, 0, 0, 0, 0, 0}
                }, 
                extended_state_area = 0xffff88885fea4ac0 ""
              }, 
              __padding = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\

000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

            }
          }
        }, 
        tip = 0xffff8888537fe980, 
        user_fpu_owner = 0x0
      }, 
      kfpu = 0xffff888855d840c0, 
      root_kfpu = 0
    }, 
    state = 98304, 
    info = 0, 
    local_info = 0, 
    sched = 0xffff88885fea4540, 
    sched_class = 0xffffffff8205b040 <xnsched_class_idle>, 
    base_class = 0xffffffff8205b040 <xnsched_class_idle>, 
    affinity = {
      bits = {4, 0, 0, 0, 0, 0, 0, 0}
    }, 
    bprio = -1, 
    cprio = -1, 
    wprio = -1, 
    lock_count = 0, 
    rlink = {
      next = 0x0, 
      prev = 0x0
    }, 
    plink = {
      next = 0x0, 
      prev = 0x0
    }, 
    glink = {
      next = 0xffff88885ffa5998, 
      prev = 0xffff88885fda5998
    }, 
    boosters = {
      next = 0xffff88885fea59a8, 
      prev = 0xffff88885fea59a8
    }, 
    wchan = 0x0, 
    wwake = 0x0, 
    res_count = 0, 
    rtimer = {
      aplink = {
        date = 0, 
        prio = 999999999, 
        link = {
          __rb_parent_color = 0, 
          rb_right = 0x0, 
          rb_left = 0x0
        }
      }, 
      adjlink = {
        next = 0x0, 
        prev = 0x0
      }, 
      status = 65, 
      interval = 0, 
      interval_ns = 0, 
      periodic_ticks = 0, 
      start_date = 0, 
      pexpect_ticks = 0, 
      sched = 0xffff88885fea4540, 
      handler = 0xffffffff81188c10 <timeout_handler>, 
      name = "ROOT/2\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 
      next_stat = {
        next = 0xffff88885fea5b20, 
        prev = 0xffff88885fda5ce0
      }, 
      scheduled = {
        counter = 0
      }, 
      fired = {
        counter = 0
      }
    }, 
    ptimer = {
      aplink = {
        date = 0, 
        prio = 999999999, 
        link = {
          __rb_parent_color = 0, 
          rb_right = 0x0, 
          rb_left = 0x0
        }
      }, 
      adjlink = {
        next = 0x0, 
        prev = 0x0
      }, 
      status = 65, 
      interval = 0, 
      interval_ns = 0, 
      periodic_ticks = 0, 
      start_date = 0, 
      pexpect_ticks = 0, 
      sched = 0xffff88885fea4540, 
      handler = 0xffffffff81188bd0 <periodic_handler>, 
      name = "ROOT/2\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 
      next_stat = {
        next = 0xffff88885fea4650, 
        prev = 0xffff88885fea5a68
      }, 
      scheduled = {
        counter = 0
      }, 
      fired = {
        counter = 0
      }
    }, 
    rrperiod = 0, 
    wcontext = 0x0, 
    stat = {
      ssw = {
        counter = 0
      }, 
      csw = {
        counter = 7279217244
      }, 
      xsc = {
        counter = 0
      }, 
      pf = {
        counter = 0
      }, 
      account = {
        start = 0, 
        total = 992584472295082
      }, 
      lastperiod = {
        start = 1040551426811294, 
        total = 992584418366462
      }
    }, 
    selector = 0x0, 
    handle = 0, 
    name = "ROOT/2\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 
    entry = 0x0, 
    cookie = 0x0, 
    u_window = 0x0, 
    personality = 0xffffffff8205dd80 <xenomai_personality>, 
    exited = {
      done = 0, 
      wait = {
        lock = {
          {
            rlock = {
              raw_lock = {
                {
                  val = {
                    counter = 0
                  }, 
                  {
                    locked = 0 '\000', 
                    pending = 0 '\000'
                  }, 
                  {
                    locked_pending = 0, 
                    tail = 0
                  }
                }
              }
            }
          }
        }, 
        head = {
          next = 0xffff88885fea5bf0, 
          prev = 0xffff88885fea5bf0
        }
      }
    }, 
    exe_path = 0x0, 
    proghash = 0
  }, 
  fpuholder = 0xffff88885fea4740, 
  wdtimer = {
    aplink = {
      date = 1040555082497264, 
      prio = 3294967297, 
      link = {
        __rb_parent_color = 18446683600633260768, 
        rb_right = 0x0, 
        rb_left = 0x0
      }
    }, 
    adjlink = {
      next = 0x0, 
      prev = 0x0
    }, 
    status = 1, 
    interval = 0, 
    interval_ns = 0, 
    periodic_ticks = 0, 
    start_date = 0, 
    pexpect_ticks = 0, 
    sched = 0xffff88885fea4540, 
    handler = 0xffffffff81180ec0 <watchdog_handler>, 
    name = "[watchdog]\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 
    next_stat = {
      next = 0xffff88885ffa5a68, 
      prev = 0xffff88885fea4708
    }, 
    scheduled = {
      counter = 7279217244
    }, 
    fired = {
      counter = 0
    }

},
last_account_switch = 1040551482499444,
current_account = 0xffff88885fea5b70
}

struct xnthread {

  tcb = {
    core = {
      host_task = 0xffff8888537fe980, 
      tsp = 0xffff8888537ff480, 
      mm = 0xffff88810273e580, 
      active_mm = 0xffff88810273e580, 
      ts = {
        tls_array = {{
            limit0 = 0, 
            base0 = 0, 
            base1 = 0, 
            type = 0, 
            s = 0, 
            dpl = 0, 
            p = 0, 
            limit1 = 0, 
            avl = 0, 
            l = 0, 
            d = 0, 
            g = 0, 
            base2 = 0
          }, {
            limit0 = 0, 
            base0 = 0, 
            base1 = 0, 
            type = 0, 
            s = 0, 
            dpl = 0, 
            p = 0, 
            limit1 = 0, 
            avl = 0, 
            l = 0, 
            d = 0, 
            g = 0, 
            base2 = 0
          }, {
            limit0 = 0, 
            base0 = 0, 
            base1 = 0, 
            type = 0, 
            s = 0, 
            dpl = 0, 
            p = 0, 
            limit1 = 0, 
            avl = 0, 
            l = 0, 
            d = 0, 
            g = 0, 
            base2 = 0
          }}, 
        sp = 0, 
        es = 0, 
        ds = 0, 
        fsindex = 0, 
        gsindex = 0, 
        fsbase = 0, 
        gsbase = 0, 
        ptrace_bps = {0x0, 0x0, 0x0, 0x0}, 
        debugreg6 = 0, 
        ptrace_dr7 = 0, 
        cr2 = 0, 
        trap_nr = 0, 
        error_code = 0, 
        io_bitmap_ptr = 0x0, 
        iopl = 0, 
        io_bitmap_max = 0, 
        addr_limit = {
          seg = 0
        }, 
        sig_on_uaccess_err = 0, 
        uaccess_err = 0, 
        fpu = {
          last_cpu = 0, 
          initialized = 0 '\000', 
          state = {
            fsave = {
              cwd = 0, 
              swd = 0, 
              twd = 0, 
              fip = 0, 
              fcs = 0, 
              foo = 0, 
              fos = 0, 
              st_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
              status = 0
            }, 
            fxsave = {
              cwd = 0, 
              swd = 0, 
              twd = 0, 
              fop = 0, 
              {
                {
                  rip = 0, 
                  rdp = 0
                }, 
                {
                  fip = 0, 
                  fcs = 0, 
                  foo = 0, 
                  fos = 0
                }
              }, 
              mxcsr = 0, 
              mxcsr_mask = 0, 
              st_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
              xmm_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
              padding = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
              {
                padding1 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                sw_reserved = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
              }
            }, 
            soft = {
              cwd = 0, 
              swd = 0, 
              twd = 0, 
              fip = 0, 
              fcs = 0, 
              foo = 0, 
              fos = 0, 
              st_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
              ftop = 0 '\000', 
              changed = 0 '\000', 
              lookahead = 0 '\000', 
              no_update = 0 '\000', 
              rm = 0 '\000', 
              alimit = 0 '\000', 
              info = 0x0, 
              entry_eip = 0
            }, 
            xsave = {
              i387 = {
                cwd = 0, 
                swd = 0, 
                twd = 0, 
                fop = 0, 
                {
                  {
                    rip = 0, 
                    rdp = 0
                  }, 
                  {
                    fip = 0, 
                    fcs = 0, 
                    foo = 0, 
                    fos = 0
                  }
                }, 
                mxcsr = 0, 
                mxcsr_mask = 0, 
                st_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                xmm_space = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                padding = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                {
                  padding1 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 
                  sw_reserved = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
                }
              }, 
              header = {
                xfeatures = 0, 
                xcomp_bv = 0, 
                reserved = {0, 0, 0, 0, 0, 0}
              }, 
              extended_state_area = 0xffff88885fea4ac0 ""
            }, 
            __padding = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\

000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

          }
        }
      }, 
      tip = 0xffff8888537fe980, 
      user_fpu_owner = 0x0
    }, 
    kfpu = 0xffff888855d840c0, 
    root_kfpu = 0
  }, 
  state = 98304,     //0x18000
  info = 0, 
  local_info = 0, 
  sched = 0xffff88885fea4540, 
  sched_class = 0xffffffff8205b040 <xnsched_class_idle>, 
  base_class = 0xffffffff8205b040 <xnsched_class_idle>, 
  affinity = {
    bits = {4, 0, 0, 0, 0, 0, 0, 0}
  }, 
  bprio = -1, 
  cprio = -1, 
  wprio = -1, 
  lock_count = 0, 
  rlink = {
    next = 0x0, 
    prev = 0x0
  }, 
  plink = {
    next = 0x0, 
    prev = 0x0
  }, 
  glink = {
    next = 0xffff88885ffa5998, 
    prev = 0xffff88885fda5998
  }, 
  boosters = {
    next = 0xffff88885fea59a8, 
    prev = 0xffff88885fea59a8
  }, 
  wchan = 0x0, 
  wwake = 0x0, 
  res_count = 0, 
  rtimer = {
    aplink = {
      date = 0, 
      prio = 999999999, 
      link = {
        __rb_parent_color = 0, 
        rb_right = 0x0, 
        rb_left = 0x0
      }
    }, 
    adjlink = {
      next = 0x0, 
      prev = 0x0
    }, 
    status = 65, 
    interval = 0, 
    interval_ns = 0, 
    periodic_ticks = 0, 
    start_date = 0, 
    pexpect_ticks = 0, 
    sched = 0xffff88885fea4540, 
    handler = 0xffffffff81188c10 <timeout_handler>, 
    name = "ROOT/2\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 
    next_stat = {
      next = 0xffff88885fea5b20, 
      prev = 0xffff88885fda5ce0
    }, 
    scheduled = {
      counter = 0
    }, 
    fired = {
      counter = 0
    }
  }, 
  ptimer = {
    aplink = {
      date = 0, 
      prio = 999999999, 
      link = {
        __rb_parent_color = 0, 
        rb_right = 0x0, 
        rb_left = 0x0
      }
    }, 
    adjlink = {
      next = 0x0, 
      prev = 0x0
    }, 
    status = 65, 
    interval = 0, 
    interval_ns = 0, 
    periodic_ticks = 0, 
    start_date = 0, 
    pexpect_ticks = 0, 
    sched = 0xffff88885fea4540, 
    handler = 0xffffffff81188bd0 <periodic_handler>, 
    name = "ROOT/2\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 
    next_stat = {
      next = 0xffff88885fea4650, 
      prev = 0xffff88885fea5a68
    }, 
    scheduled = {
      counter = 0
    }, 
    fired = {
      counter = 0
    }
  }, 
  rrperiod = 0, 
  wcontext = 0x0, 
  stat = {
    ssw = {
      counter = 0
    }, 
    csw = {
      counter = 7279217244
    }, 
    xsc = {
      counter = 0
    }, 
    pf = {
      counter = 0
    }, 
    account = {
      start = 0, 
      total = 992584472295082
    }, 
    lastperiod = {
      start = 1040551426811294, 
      total = 992584418366462
    }
  }, 
  selector = 0x0, 
  handle = 0, 
  name = "ROOT/2\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000", 
  entry = 0x0, 
  cookie = 0x0, 
  u_window = 0x0, 
  personality = 0xffffffff8205dd80 <xenomai_personality>, 
  exited = {
    done = 0, 
    wait = {
      lock = {
        {
          rlock = {
            raw_lock = {
              {
                val = {
                  counter = 0
                }, 
                {
                  locked = 0 '\000', 
                  pending = 0 '\000'
                }, 
                {
                  locked_pending = 0, 
                  tail = 0
                }
              }
            }
          }
        }
      }, 
      head = {
        next = 0xffff88885fea5bf0, 
        prev = 0xffff88885fea5bf0
      }
    }

},
exe_path = 0x0,
proghash = 0
}

#1 lore raw

Actually , there is bug "BUG: unable to handle kernel paging request at 00000000000a22e8" reported earlier. The scenario you try to debug happened after that. The problematic scenario may be victim caused by previous bug. If the oops or kernel panic always happen after continuous two BUGs? Is it possible to debug the issue "] BUG: unable to handle kernel paging request at 00000000000a22e8" at first?

Regards

Hongzhan Chen

From: JerryJun <[email protected]>
Sent: Friday, June 30, 2023 2:13 PM
To: [email protected]
Subject: ? page fault in xnthread_switch_fpu

Hi, xenomai:
testing on the linux-4.19.89-ipipe-9-xenomai-3.1 (kernel:linux-4.19.89, patch:ipipe-core-4.19.89-x86-9.patch, xenomai:xenomai 3.1), we get into trouble which the kernel oops more than once ,not frequently, as follows.

[288905.129024] BUG: unable to handle kernel paging request at 00000000000a22e8
[288905.136172] BUG: unable to handle kernel paging request at 0000000000048044
[288905.143218] PGD 0 P4D 0 
[288905.145844] Oops: 0010 [#1] PREEMPT SMP NOPTI
[288905.150281] CPU: 2 PID: 29436 Comm: rt_thread Kdump: loaded Tainted: P           O      4.19.89-ipipe-9-xenomai-3.1 #1
[288905.162346] Hardware name: Supermicro Super Server/C422-SF, BIOS E906.1 04/27/2021
[288905.169990] I-pipe domain: Linux
[288905.173302] RIP: 0010:0x48044
[288905.176448] Code: Bad RIP value.
[288905.180043] RSP: 0018:ffff88885fe03ed0 EFLAGS: 00210046
[288905.185347] RAX: ffff88885fe5f3e0 RBX: ffffffffa05c04a8 RCX: ffff88885fca4540
[288905.192724] RDX: 0000000000000000 RSI: ffffffff81e0f0a7 RDI: 000000000000000b
[288905.199934] RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000596
[288905.207145] R10: 000000000000000f R11: ffffffff825b1eee R12: dead000000000200
[288905.214435] R13: dead000000000100 R14: ffffffffa05c0480 R15: ffffc90003c45a40
[288905.221776] FS:  00007fe854ff9700(0000) GS:ffff88885fe00000(0000) knlGS:0000000000000000
[288905.230225] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[288905.236048] CR2: 000000000004801a CR3: 00000001000c0003 CR4: 00000000001606e0
[288905.243260] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[288905.250747] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[288905.258072] Call Trace:
[288905.260604]  <IRQ>
[288905.262816]  ? xnthread_switch_fpu+0x21/0x30
[288905.267173]  ? ___xnsched_run.part.68+0x1fb/0x460
[288905.271965]  ? xnintr_core_clock_handler+0x20d/0x310
[288905.277010]  ? ___xnsched_run.part.68+0x120/0x460
[288905.281813]  ? __ipipe_dispatch_irq+0x76/0x1b0
[288905.286631]  ? __ipipe_handle_irq+0x67/0x1e0
[288905.291008]  ? common_interrupt+0xf/0x2c
[288905.295287]  </IRQ>
[288905.297472] WARNING: stack recursion on stack type 2
[288905.394387] CR2: 0000000000048044

next, there is integrally backtrace producted by kdump-tools of crash ,as follows:

PID: 29436  TASK: ffff8888537fe980  CPU: 2   COMMAND: "rt_thread" #0 [ffff88885fe03c10] machine_kexec at ffffffff81041051
    ffff88885fe03c18: 0000000000000000 ffff888000000000
    ffff88885fe03c28: 0000000018001000 ffff888018001000
    ffff88885fe03c38: 0000000018000000 ffff88885fe03e28
    ffff88885fe03c48: 766d97410198ab00 ffff88885fe03e28
    ffff88885fe03c58: ffffffff810f2818
 #1 [ffff88885fe03c58] __crash_kexec at ffffffff810f2818
    ffff88885fe03c60: ffffc90003c45a40 ffffffffa05c0480
    ffff88885fe03c70: dead000000000100 dead000000000200
    ffff88885fe03c80: 0000000000000000 ffffffffa05c04a8
    ffff88885fe03c90: ffffffff825b1eee 000000000000000f
    ffff88885fe03ca0: 0000000000000596 0000000000000002
    ffff88885fe03cb0: ffff88885fe5f3e0 ffff88885fca4540
    ffff88885fe03cc0: 0000000000000000 ffffffff81e0f0a7
    ffff88885fe03cd0: 000000000000000b ffffffffffffffff
    ffff88885fe03ce0: 0000000000048044 0000000000000010
    ffff88885fe03cf0: 0000000000210046 ffff88885fe03ed0
    ffff88885fe03d00: 0000000000000018 766d97410198ab00
    ffff88885fe03d10: ffff88885fe03e28 0000000000000009
    ffff88885fe03d20: ffffffff810f39d8
 #2 [ffff88885fe03d20] crash_kexec at ffffffff810f39d8
    ffff88885fe03d28: ffffffff00048044 0000000000000000
    ffff88885fe03d38: ffffffff8101795a
 #3 [ffff88885fe03d38] oops_end at ffffffff8101795a
    ffff88885fe03d40: ffff88885fe03e28 0000000000048044
    ffff88885fe03d50: ffff8888537fe980 ffffffff8104b2a7 #4 [ffff88885fe03d58] no_context at ffffffff8104b2a7
    ffff88885fe03d60: 0000000000000000 ffff88885fe155e8
    ffff88885fe03d70: 000000008114399a 766d97410198ab00
    ffff88885fe03d80: 0000000000000010 0000000000048044
    ffff88885fe03d90: ffff88885fe03e28 ffff88810273e580
    ffff88885fe03da0: ffff8888537fe980 0000000000000000
    ffff88885fe03db0: ffffffff8104b8b2
 #5 [ffff88885fe03db0] __do_page_fault at ffffffff8104b8b2
    ffff88885fe03db8: ffff88810273e5f0 000000005fe03e00
    ffff88885fe03dc8: ffff88885fe03f28 766d97410198ab00
    ffff88885fe03dd8: 0000000000200046 ffffffff81037d3f
    ffff88885fe03de8: 766d97410198ab00 0000000000000000
    ffff88885fe03df8: 0000000000000000 0000000000000000
    ffff88885fe03e08: 0000000000000000 0000000000210246
    ffff88885fe03e18: 0000000000000000 ffffffff81801623 #6 [ffff88885fe03e20] page_fault at ffffffff81801623 [exception RIP: unknown or invalid address]

    RIP: 0000000000048044  RSP: ffff88885fe03ed0  RFLAGS: 00210046
    RAX: ffff88885fe5f3e0  RBX: ffffffffa05c04a8  RCX: ffff88885fca4540
    RDX: 0000000000000000  RSI: ffffffff81e0f0a7  RDI: 000000000000000b

    RBP: 0000000000000000   R8: 0000000000000002   R9: 0000000000000596
    R10: 000000000000000f  R11: ffffffff825b1eee  R12: dead000000000200
    R13: dead000000000100  R14: ffffffffa05c0480  R15: ffffc90003c45a40
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
    ffff88885fe03e28: ffffc90003c45a40 ffffffffa05c0480
    ffff88885fe03e38: dead000000000100 dead000000000200
    ffff88885fe03e48: 0000000000000000 ffffffffa05c04a8
    ffff88885fe03e58: ffffffff825b1eee 000000000000000f
    ffff88885fe03e68: 0000000000000596 0000000000000002
    ffff88885fe03e78: ffff88885fe5f3e0 ffff88885fca4540
    ffff88885fe03e88: 0000000000000000 ffffffff81e0f0a7
    ffff88885fe03e98: 000000000000000b ffffffffffffffff
    ffff88885fe03ea8: 0000000000048044 0000000000000010
    ffff88885fe03eb8: 0000000000210046 ffff88885fe03ed0
    ffff88885fe03ec8: 0000000000000018 000000000005f3e0
    ffff88885fe03ed8: ffff88875715e900 ffff88810273e580
    ffff88885fe03ee8: ffff8888537ff580 766d97410198ab00
    ffff88885fe03ef8: ffff88885fea4540 000000000005f3e0
    ffff88885fe03f08: 766d97410198ab00 ffffffff81189ed1
 #7 [ffff88885fe03f10] xnthread_switch_fpu at ffffffff81189ed1
    ffff88885fe03f18: ffff88885fea4540 000000000005f3e0
    ffff88885fe03f28: ffffffff811838cb
 #8 [ffff88885fe03f28] ___xnsched_run at ffffffff811838cb
    ffff88885fe03f30: ffff88885fea4540 ffffe8ffffc079c8
    ffff88885fe03f40: ffff88885fea5d08 ffff88885fea4540
    ffff88885fe03f50: 0000000000000002 0000000000000002
    ffff88885fe03f60: ffffffff8117cdcd
 #9 [ffff88885fe03f60] xnintr_core_clock_handler at ffffffff8117cdcd
    ffff88885fe03f68: ffffffff811837f0 000000000005f3e0
    ffff88885fe03f78: 00000000000a2260 ffffffff828021c0
    ffff88885fe03f88: ffff88885fe1c560 0000000000008103
    ffff88885fe03f98: 0000000000008103 ffffffff81119646
#10 [ffff88885fe03fa0] __ipipe_dispatch_irq at ffffffff81119646
    ffff88885fe03fa8: ffff88885fe1c560 00000000000a2260
    ffff88885fe03fb8: 000000000001c560 0000000000200082
    ffff88885fe03fc8: ffffffff81037f07
#11 [ffff88885fe03fc8] __ipipe_handle_irq at ffffffff81037f07
    ffff88885fe03fd0: 0000000000000000 0000000000000000
    ffff88885fe03fe0: 0000000000000000 0000000000000000
    ffff88885fe03ff0: ffffffff818009cf
#12 [ffff88885fe03ff0] common_interrupt at ffffffff818009cf

as you can see, exception rt_thread is a application xenomai thread, affinity for the cpu 2, page fault seem to take place in func xnthread_switch_fpu, because of RIP: 0010:0x48044 from stack point of ffff88885fe03ea8 , and furtherly from stack point ffff88885fe03ea8 to ffff88885fe03e28, cpu registers seemingly be pushed stack frame due to page fault exception interrupt. by backtrace, we roughly find kernel collapse inside func xnarch_switch_fpu, but don't locate exactly point due to lack of exception RIP. as the same time, we get some valuely info which you can see it in attachment when oops happens, include struct xnthread (0xffff88885fea4740), struct xnsched (ffff88885fea4540).  from commit id (6264fbdb6bd94d21af77834e63dbb1ca01edfca8) to now , xnthread_switch_fpu from func ___xnsched_run seem to obsolete, whether or not it meant to be the page fault won't happen again theoretically . please give me some hints, Will thank you for your replies very much.  next, we will be prepared to switch dovetail , I will report you if version upgrades mitigate the problem. in addition to this one above, we have the same question which occur in xnthread_switch_fpu of ___xnsched_run , this is a stack overflow, as follows:

[28282.978386] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: __do_page_fault+0x568/0x570
[28282.989948] CPU: 2 PID: 14485 Comm: rt_thread Kdump: loaded Tainted: P           O      4.19.89-ipipe-9-xenomai-3.1 #1
[28283.003344] Hardware name: Intel Corporation S2600CWR/S2600CWR, BIOS SE5C610.86B.01.01.0022.C2.062820171903 06/28/2017
[28283.015288] I-pipe domain: Linux
[28283.018886] Call Trace:
[28283.021617]  <#DB>
[28283.023860]  dump_stack+0x98/0xb8
[28283.027558]  panic+0xe7/0x236
[28283.030871]  ? __do_page_fault+0x568/0x570
[28283.035441]  ? iounmap.cold.16+0x16/0x16
[28283.039819]  ? cmp_ex_sort+0x30/0x30
[28283.043807]  __stack_chk_fail+0x10/0x10
[28283.048087]  __do_page_fault+0x568/0x570
[28283.052464]  ? __ipipe_trap_prologue+0xef/0x200
[28283.057519]  page_fault+0x43/0x5b
[28283.061217] RIP: 0010:bad_gs+0x1abe/0x1b00
[28283.065789] Code: ca e9 96 fe c5 ff c1 e1 06 01 ca eb 07 8d 14 ca eb 02 89 ca e9 83 fe c5 ff 01 ca e9 7c fe c5 ff 8d 0c ca 89 ca e9 72 fe c5 ff <89> ca e9 6b fe c5 ff 01 ca e9 64 fe c5 ff c1 e1 06 01 ca eb 0e 48
[28283.086748] RSP: 0018:fffffe0000062b88 EFLAGS: 00010046
[28283.092584] RAX: ffff888001a03000 RBX: ffff88860eb96080 RCX: 0000000000000040
[28283.100553] RDX: 0000000000000040 RSI: 00007f43764e46f6 RDI: fffffe0000062bc0
[28283.108519] RBP: 0000000000000040 R08: fffffe00000629a8 R09: 00000000fff9d657
[28283.116485] R10: ffffffff825d26e0 R11: fffffe00000629b7 R12: 00007ffffffff000
[28283.124438] R13: 00007f43764e46f6 R14: fffffe0000062bc0 R15: 0000000000000000
[28283.132409]  __probe_kernel_read+0x4f/0x80
[28283.136982]  show_opcodes+0x48/0x70
[28283.140872]  ? show_ip+0x21/0x2e
[28283.144472]  show_iret_regs+0x10/0x32
[28283.148566]  __show_regs+0x18/0x30
[28283.152351]  ? unwind_next_frame+0x43d/0x590
[28283.157114]  show_trace_log_lvl+0x25f/0x2b5
[28283.161782]  ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
[28283.167618]  ? do_debug+0x13c/0x1b0
[28283.171508]  __warn+0x8f/0xd0
[28283.174821]  ? do_debug+0x13c/0x1b0
[28283.178704]  report_bug+0xb0/0xd0
[28283.182402]  do_error_trap+0xdf/0x140
[28283.186492]  ? __ipipe_trap_prologue+0xef/0x200
[28283.191553]  invalid_op+0x39/0x51
[28283.195254] RIP: 0010:do_debug+0x13c/0x1b0
[28283.199831] Code: 5f ff ff ff 44 89 e2 48 89 de 48 89 ef e8 dc ed 00 00 f6 83 91 00 00 00 02 0f 84 44 ff ff ff eb dd f6 83 88 00 00 00 03 75 9f <0f> 0b 80 e4 bf 48 89 85 58 0b 00 00 f0 80 4d 00 10 48 81 a3 90 00
[28283.220794] RSP: 0018:fffffe0000062f20 EFLAGS: 00010046
[28283.226624] RAX: 0000000000004000 RBX: fffffe0000062f58 RCX: 0000000000000000
[28283.234588] RDX: fffffe0000062ef0 RSI: 0000000000000003 RDI: ffffffff82055060
[28283.242555] RBP: ffff88860eb96080 R08: 0000000000000000 R09: 0000000000000000
[28283.250518] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[28283.258480] R13: 0000000000000000 R14: 0000000000000902 R15: 0000000000000000
[28283.266446]  debug+0x3c/0xa0
[28283.269662] RIP: 0010:__switch_to_asm+0x2c/0x40
[28283.274715] Code: 41 54 41 55 41 56 41 57 9c 48 89 a7 18 0b 00 00 48 8b a6 18 0b 00 00 48 8b 9e 68 05 00 00 65 48 89 1c 25 28 00 00 00 9d 41 5f <41> 5e 41 5d 41 5c 5b 5d e9 c7 2b 81 ff 0f 1f 80 00 00 00 00 fb 48
[28283.295676] RSP: 0018:ffff888667603f00 EFLAGS: 00000902
[28283.301504] RAX: 0000000000000000 RBX: a6b6e27721940300 RCX: 0000000000000005
[28283.309465] RDX: 00000000001606e0 RSI: ffff8885d87c4080 RDI: ffff88860eb96080
[28283.317430] RBP: ffffc90007dfbc90 R08: 000000000000064b R09: 0000000000002520
[28283.325398] R10: 0000000000002520 R11: 0000000000000000 R12: ffff88860eb96700
[28283.333363] R13: ffff88860eb96080 R14: ffff8885d87c4080 R15: ffff8886676a4540
[28283.341329]  </#DB>
[28283.343671]  <IRQ>
[28283.345913]  ? xnthread_switch_fpu+0x21/0x30
[28283.350685]  ___xnsched_run.part.68+0x1fb/0x460
[28283.355734]  xnintr_core_clock_handler+0x21c/0x310
[28283.361080]  ? ___xnsched_run.part.68+0x1fb/0x460
[28283.366328]  dispatch_irq_head+0x7e/0x110
[28283.370805]  __ipipe_handle_irq+0x67/0x1e0
[28283.375384]  apic_timer_interrupt+0x12/0x40
[28283.380055] WARNING: stack recursion on stack type 7
[28283.380058] WARNING: can't dereference registers at 00000000110f87d0 for ip apic_timer_interrupt+0x12/0x40

PID: 14540  TASK: ffff8885d87c4080  CPU: 2   COMMAND: "rt_thread" #0 [fffffe00000628c8] machine_kexec at ffffffff81041051 #1 [fffffe0000062910] __crash_kexec at ffffffff810f2818 #2 [fffffe00000629d8] panic at ffffffff8105cca0
 #3 [fffffe0000062a60] __do_page_fault at ffffffff8104bd78 #4 [fffffe0000062ad0] page_fault at ffffffff81801623 [exception RIP: bad_gs+6846]

    RIP: ffffffff81a01dee  RSP: fffffe0000062b88  RFLAGS: 00010046
    RAX: ffff888001a03000  RBX: ffff88860eb96080  RCX: 0000000000000040
    RDX: 0000000000000040  RSI: 00007f43764e46f6  RDI: fffffe0000062bc0

    RBP: 0000000000000040   R8: fffffe00000629a8   R9: 00000000fff9d657
    R10: ffffffff825d26e0  R11: fffffe00000629b7  R12: 00007ffffffff000
    R13: 00007f43764e46f6  R14: fffffe0000062bc0  R15: 0000000000000000
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
 #5 [fffffe0000062b88] probe_kernel_read at ffffffff811c439f #6 [fffffe0000062bb8] show_opcodes at ffffffff81017a38
 #7 [fffffe0000062c10] show_iret_regs at ffffffff81017b6b
 #8 [fffffe0000062c20] __show_regs at ffffffff81012cf8
 #9 [fffffe0000062c78] show_trace_log_lvl at ffffffff81017e53 #10 [fffffe0000062d50] __warn at ffffffff8105caaf
#11 [fffffe0000062d88] report_bug at ffffffff8164fb60
#12 [fffffe0000062db0] do_error_trap at ffffffff810148bf
#13 [fffffe0000062e70] invalid_op at ffffffff81800f19 [exception RIP: do_debug+316]

    RIP: ffffffff81014b3c  RSP: fffffe0000062f20  RFLAGS: 00010046
    RAX: 0000000000004000  RBX: fffffe0000062f58  RCX: 0000000000000000
    RDX: fffffe0000062ef0  RSI: 0000000000000003  RDI: ffffffff82055060

    RBP: ffff88860eb96080   R8: 0000000000000000   R9: 0000000000000000
    R10: 0000000000000000  R11: 0000000000000000  R12: 0000000000000000
    R13: 0000000000000000  R14: 0000000000000902  R15: 0000000000000000
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
#14 [fffffe0000062f50] debug at ffffffff818013ec
    [exception RIP: __switch_to_asm+44]

    RIP: ffffffff8180018c  RSP: ffff888667603f00  RFLAGS: 00000902
    RAX: 0000000000000000  RBX: a6b6e27721940300  RCX: 0000000000000005
    RDX: 00000000001606e0  RSI: ffff8885d87c4080  RDI: ffff88860eb96080

    RBP: ffffc90007dfbc90   R8: 000000000000064b   R9: 0000000000002520
    R10: 0000000000002520  R11: 0000000000000000  R12: ffff88860eb96700
    R13: ffff88860eb96080  R14: ffff8885d87c4080  R15: ffff8886676a4540
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
--- <DEBUG exception stack> ---
#15 [ffff888667603f00] __switch_to_asm at ffffffff8180018c #16 [ffff888667603f28] ___xnsched_run at ffffffff811838cb #17 [ffff888667603f60] xnintr_core_clock_handler at ffffffff8117cddc #18 [ffff888667603fa0] dispatch_irq_head at ffffffff8111953e #19 [ffff888667603fc8] __ipipe_handle_irq at ffffffff81037f07 #20 [ffff888667603ff0] apic_timer_interrupt at ffffffff81801d22

Regards

jerryjun

#2 lore raw
In reply to JerryJun
Quoted 6 lines · JerryJun

Hi, xenomai:

testing on the linux-4.19.89-ipipe-9-xenomai-3.1 (kernel:linux-4.19.89, patch:ipipe-core-4.19.89-x86-9.patch, xenomai:xenomai 3.1), we get into trouble which the kernel oops more than once ,not frequently, as follows.

You know that you are running not the latest versions, even of those stable branches? Those are 3.1.4 and ipipe-core-4.19.279-cip95-x86-26. Already tried to update, specifically the kernel?

Jan

Signature · 2 lines
Siemens AG, Technology
Competence Center Embedded Linux