[MultiOS][Yocto] Kernel panic when install from ISO if x2apic is enabled

Bug #1905805 reported by Jackie Huang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Committed
Low
Jackie Huang

Bug Description

Brief Description
-----------------
Kernel panic when install from ISO if x2apic is enabled on Dell-R740 server

Severity
--------
Major

Steps to Reproduce
------------------
1. build the image according to https://opendev.org/starlingx/meta-starlingx/src/branch/master/README.md
2. Install AIO simple with the built out image

Expected Behavior
------------------
The installation from ISO should be successful

Actual Behavior
----------------
000: ------------[ cut here ]------------
000: kernel BUG at arch/x86/kernel/apic/apic.c:1505!
000: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
000: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.0.19-rt11-yocto-preempt-rt #1
000: Hardware name: Dell Inc. PowerEdge R740xd/06G98X, BIOS 2.8.2 08/27/2020
000: RIP: 0010:setup_local_APIC+0x355/0x370
000: Code: 01 0f 85 b4 fe ff ff 85 d2 75 2b 48 8b 05 e3 8f 36 01 be 00 07 01 00 bf 50 03 00 00 48 8b 40 10 e8 f0 b2 db 00 e9 b3 fe ff ff <0f> 0b e8 64 f7 01 00 e9 94 12 00 00 e4
000: RSP: 0000:ffffffff9c403e60 EFLAGS: 00010246
000:
000: RAX: 0000000000000000 RBX: 00000000000000ff RCX: 0000000000000000
000: RDX: 0000000000000000 RSI: ffffffff9c0faae5 RDI: 0000000000000020
000: RBP: ffffffff9c403ea8 R08: 0000000000091450 R09: 0000000000000001
000: R10: ffffffff9c44b380 R11: 7220434950412064 R12: ffff8dc23ffe7980
000: R13: 0000000000000000 R14: ffffffff9c6742e0 R15: 0000000000000000
000: FS: 0000000000000000(0000) GS:ffff8dc180800000(0000) knlGS:0000000000000000
000: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
000: CR2: ffff8d93be001000 CR3: 00000001bdc12001 CR4: 00000000000606b0
000: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
000: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
000: Call Trace:
000: apic_bsp_setup+0x60/0x7b
000: apic_intr_mode_init+0x191/0x194
000: x86_late_time_init+0x1b/0x22
000: start_kernel+0x3c5/0x478
000: x86_64_start_reservations+0x24/0x26
000: x86_64_start_kernel+0x6f/0x72
000: secondary_startup_64+0xa4/0xb0
000: Modules linked in:
000:
000: ---[ end trace 0000000000000001 ]---
000: RIP: 0010:setup_local_APIC+0x355/0x370
000: Code: 01 0f 85 b4 fe ff ff 85 d2 75 2b 48 8b 05 e3 8f 36 01 be 00 07 01 00 bf 50 03 00 00 48 8b 40 10 e8 f0 b2 db 00 e9 b3 fe ff ff <0f> 0b e8 64 f7 01 00 e9 94 12 00 00 e4
000: RSP: 0000:ffffffff9c403e60 EFLAGS: 00010246
000:
000: RAX: 0000000000000000 RBX: 00000000000000ff RCX: 0000000000000000
000: RDX: 0000000000000000 RSI: ffffffff9c0faae5 RDI: 0000000000000020
000: RBP: ffffffff9c403ea8 R08: 0000000000091450 R09: 0000000000000001
000: R10: ffffffff9c44b380 R11: 7220434950412064 R12: ffff8dc23ffe7980
000: R13: 0000000000000000 R14: ffffffff9c6742e0 R15: 0000000000000000
000: FS: 0000000000000000(0000) GS:ffff8dc180800000(0000) knlGS:0000000000000000
000: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
000: CR2: ffff8d93be001000 CR3: 00000001bdc12001 CR4: 00000000000606b0
000: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
000: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
000: Kernel panic - not syncing: Attempted to kill the idle task!
000: ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---

Reproducibility
---------------
Reproducible

System Configuration
--------------------
One node system, All-in-one duplex

Branch/Pull Time/Commit
-----------------------
Branch: master
Time: Nov 2 2020
Commit: 587e1dbcf2633770a9d6717fe5f84ab6b08de2bd

Last Pass
---------

Timestamp/Logs
--------------

Test Activity
-------------

Workaround
----------

Changed in starlingx:
assignee: nobody → Jackie Huang (jackie-huang)
status: New → Incomplete
status: Incomplete → In Progress
Revision history for this message
Ghada Khalil (gkhalil) wrote :

ow / doesn't gate the next release as this is prep work for multi-os support which is not committed for stx.5.0

Changed in starlingx:
importance: Undecided → Low
Revision history for this message
Jackie Huang (jackie-huang) wrote :
Changed in starlingx:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.