Hi£¬

Install the debian11.0 operating system on the machine.£¬the system can start normally.
But the system is abnormal after using this kernel,linux-5.4.133-ipipe-6-xenomai-3.1.1-20221216 (linux-5.4.133, ipipe-core-5.4.133-x86-6.patch, xenomai 3.1.1), 
See the attachment for output information during kernel startup, and the kernel outputs some exception messages, as follows.

Please give me some hints!

Thanks a lot.

[    2.425873] ------------[ cut here ]------------
[    2.430270] kernel BUG at arch/x86/kernel/apic/apic.c:1659!
[    2.435593] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
[    2.440574] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.133-ipipe-6-xenomai-3.1.1-20221216 #1
[    2.448851] Hardware name: HP HP Z8 Fury G5 Workstation/88C1, BIOS U61 Ver. 79.01.87 09/22/2022
[    2.457129] I-pipe domain: Linux
[    2.460211] RIP: 0010:setup_local_APIC+0x2df/0x310
[    2.464775] Code: 00 0b 05 b8 66 5b 01 0f 85 f7 fe ff ff 85 d2 7f 3f 48 8b 05 43 36 e4 00 be 00 07 01 00 bf 50 03 00 00 ff 50 10 e9 f6 fe ff ff <0f> 0b 48 8b 4c 24 40 65 48 2b 0c 25 28 00 00 00 75 0a be 00 04 00
[    2.482628] RSP: 0000:ffffffff82003ea0 EFLAGS: 00010246
[    2.487606] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff889fffe00000
[    2.494401] RDX: 0000000000000000 RSI: 00000000fffffeff RDI: 0000000000000020
[    2.501196] RBP: ffffffff8253d2e0 R08: 0000000000000001 R09: ffffffff820dbc20
[    2.507989] R10: 0000000000000008 R11: 0000000000000000 R12: 00000000000000d0
[    2.514786] R13: 0000000000000000 R14: 000000005565f000 R15: 000000005b0ca000
[    2.521582] FS:  0000000000000000(0000) GS:ffff889fffe00000(0000) knlGS:0000000000000000
[    2.529285] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.534759] CR2: ffff88a07ffff000 CR3: 000000000400a001 CR4: 00000000000606b0
[    2.541553] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    2.548348] DR3: 0000000000000000 DR6: 00000000fffe07f0 DR7: 0000000000000400
[    2.555141] Call Trace:
[    2.557479]  ? __ipipe_do_IRQ+0x87/0xb0
[    2.561137]  ? __ipipe_do_sync_stage+0x12a/0x160
[    2.565537]  apic_intr_mode_init+0xb7/0xda
[    2.569441]  x86_late_time_init+0x12/0x17
[    2.573262]  start_kernel+0x42e/0x4e7
[    2.576757]  secondary_startup_64+0xa4/0xb0
[    2.580744] Modules linked in:
[    2.583659] ---[ end trace bd3da5ac6eb39a7b ]---
[    2.588058] RIP: 0010:setup_local_APIC+0x2df/0x310
[    2.592622] Code: 00 0b 05 b8 66 5b 01 0f 85 f7 fe ff ff 85 d2 7f 3f 48 8b 05 43 36 e4 00 be 00 07 01 00 bf 50 03 00 00 ff 50 10 e9 f6 fe ff ff <0f> 0b 48 8b 4c 24 40 65 48 2b 0c 25 28 00 00 00 75 0a be 00 04 00
[    2.610482] RSP: 0000:ffffffff82003ea0 EFLAGS: 00010246
[    2.615460] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff889fffe00000
[    2.622252] RDX: 0000000000000000 RSI: 00000000fffffeff RDI: 0000000000000020
[    2.629048] RBP: ffffffff8253d2e0 R08: 0000000000000001 R09: ffffffff820dbc20
[    2.635841] R10: 0000000000000008 R11: 0000000000000000 R12: 00000000000000d0
[    2.642637] R13: 0000000000000000 R14: 000000005565f000 R15: 000000005b0ca000
[    2.649430] FS:  0000000000000000(0000) GS:ffff889fffe00000(0000) knlGS:0000000000000000
[    2.657135] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.662608] CR2: ffff88a07ffff000 CR3: 000000000400a001 CR4: 00000000000606b0
[    2.669403] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    2.676198] DR3: 0000000000000000 DR6: 00000000fffe07f0 DR7: 0000000000000400
[    2.682993] Kernel panic - not syncing: Attempted to kill the idle task!
[    2.689396] Rebooting in 1 seconds..
[    3.648759] ACPI MEMORY or I/O RESET_REG.