Hang during boot due to 4.15 kernel issue

Bug #1788616 reported by Mauricio Garavaglia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Joseph Salisbury
Bionic
Fix Released
High
Joseph Salisbury

Bug Description

Using the Ubuntu 18.04.1 LTS default kernel 4.15.0-32-generic system hangs/stalls during boot displaying the error shown below, kernels 4.13 and 4.17 don't show this bug. This seem to be an extended APIC issue in the kernel on certain xeon skylake models and was already patched, see https://lkml.org/lkml/2018/5/1/422 in effect disabling extended APIC in the bios allows to boot.

[ 3528.284002] watchdog: BUG: soft lockup - CPU#12 stuck for 22s! [swapper/0:1]
[ 3528.292000] Modules linked in:
[ 3528.292002] CPU: 12 PID: 1 Comm: swapper/0 Tainted: G L 4.15.0-24-generic #26-Ubuntu
[ 3528.304000] Hardware name: Supermicro SYS-1019P-WTR-01-ME028/X11SPW-TF, BIOS 2.0a 12/06/2017
[ 3528.312000] RIP: 0010:smp_call_function_many+0x229/0x250
[ 3528.316002] RSP: 0000:ffffa89c000cfa00 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff11
[ 3528.324002] RAX: 0000000000000004 RBX: ffff9552209238c0 RCX: 0000000000000001
[ 3528.332000] RDX: ffff955220728c80 RSI: 0000000000000000 RDI: ffff955220041a20
[ 3528.336001] RBP: ffffa89c000cfa38 R08: fffffffffffffffe R09: 0000000000000ff1
[ 3528.344000] R10: ffffe0161f62ee00 R11: 0000000000000000 R12: 0000000000000010
[ 3528.352001] R13: 0000000000023880 R14: ffffffff95c46cb0 R15: ffff955220004c00
[ 3528.360000] FS: 0000000000000000(0000) GS:ffff955220900000(0000) knlGS:0000000000000000
[ 3528.368001] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3528.372002] CR2: 0000000000000000 CR3: 000000131020a001 CR4: 00000000007606e0
[ 3528.380002] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 3528.388002] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 3528.396000] PKRU: 00000000
[ 3528.396002] Call Trace:
[ 3528.400001] ? slub_cpu_dead+0xc0/0xc0
[ 3528.404002] on_each_cpu_mask+0x28/0x60
[ 3528.408000] ? ksm_migrate_page+0x60/0x60
[ 3528.412000] on_each_cpu_cond+0xb1/0x140
[ 3528.416000] ? slub_cpu_dead+0xc0/0xc0
[ 3528.420000] ? acpi_sleep_proc_init+0x2a/0x2a
[ 3528.424000] ? set_debug_rodata+0x17/0x17
[ 3528.428002] __kmem_cache_shrink+0x5f/0x2d0
[ 3528.432001] ? acpi_ns_check_object_type+0xed/0x1cc
[ 3528.436002] ? acpi_ut_trace+0x26/0x66
[ 3528.440000] ? acpi_ut_trace_ptr+0x2c/0x74
[ 3528.444002] ? acpi_os_release_object+0xe/0x20
[ 3528.448001] ? acpi_ut_delete_object_desc+0x9f/0xa2
[ 3528.452002] ? acpi_ut_update_ref_count.part.1+0x4ed/0x6e1
[ 3528.460000] ? acpi_ut_update_object_reference+0x185/0x20e
[ 3528.464001] ? __slab_free+0x14d/0x2c0
[ 3528.468002] ? __slab_free+0x14d/0x2c0
[ 3528.472000] ? acpi_ns_walk_namespace+0x238/0x278
[ 3528.476002] ? acpi_ns_initialize_devices+0x25b/0x338
[ 3528.480002] ? set_debug_rodata+0x17/0x17
[ 3528.484002] ? kfree+0x165/0x180
[ 3528.488000] ? kfree+0x165/0x180
[ 3528.492002] ? acpi_sleep_proc_init+0x2a/0x2a
[ 3528.496001] ? set_debug_rodata+0x17/0x17
[ 3528.500002] kmem_cache_shrink+0x1f/0x30
[ 3528.504000] ? kmem_cache_shrink+0x1f/0x30
[ 3528.508002] acpi_os_purge_cache+0xe/0x20
[ 3528.512001] acpi_purge_cached_objects+0x32/0x7a
[ 3528.516002] acpi_initialize_objects+0xa4/0xd5
[ 3528.520000] acpi_init+0xda/0x35e
[ 3528.524002] ? dmi_add_platform_ipmi+0x3ec/0x3ec
[ 3528.528001] ? dmi_add_platform_ipmi+0x3ec/0x3ec
[ 3528.536000] do_one_initcall+0x52/0x19f
[ 3528.540000] kernel_init_freeable+0x1af/0x251
[ 3528.544000] ? rest_init+0xb0/0xb0
[ 3528.544001] kernel_init+0xe/0x110
[ 3528.548002] ret_from_fork+0x35/0x40
[ 3528.552000] Code: 89 c7 e8 4b 39 85 00 3b 05 19 dc 53 01 0f 83 5c fe ff ff 48 63 c8 48 8b 13 48 03 14 cd 40 74 ba 96 8b 4a 18 83 e1 01 74 0a f3 90 <8b> 4a 18 83 e1 01 75 f6 eb c7 48 c7 c2 60 d6 05 97 4c 89 e6 89

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1788616

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: bionic
Revision history for this message
Mauricio Garavaglia (mauriciogaravaglia) wrote :

The nature of the bug prevents to boot the system with that kernel, as such, apport-collect can't be executed.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This bug should be fixed in the Ubuntu-4.15.0-33 Bionic kernel by the following commit:
f4b09557ddcf x86/apic/x2apic: Initialize cluster ID properly

Can you confirm this bug is fixed by testing the latest kernel?

Thanks in advance!

Changed in linux (Ubuntu):
importance: Undecided → High
Changed in linux (Ubuntu Bionic):
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Bionic):
status: Confirmed → Fix Committed
Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Mauricio Garavaglia (mauriciogaravaglia) wrote :

Confirmed that the bug is not present in Ubuntu-4.15.0-33 kernel and can boot successfully

Revision history for this message
Mauricio Garavaglia (mauriciogaravaglia) wrote :

Really appreciate the quick fix :)

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Bionic):
status: Fix Committed → Fix Released
Brad Figg (brad-figg)
tags: added: cscc
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.