Bug 197359

Summary: Kernel 4.13.8 hangs on boot on Surface Book laptop
Product: Other Reporter: Benjamin Braun (bjmnbraun)
Component: OtherAssignee: other_other
Status: RESOLVED INVALID    
Severity: high    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.13.8 Subsystem:
Regression: No Bisected commit-id:
Attachments: zcat /proc/config.gq
/proc/cpuinfo
/proc/modules
/proc/ioports
/proc/iomem

Description Benjamin Braun 2017-10-23 03:50:17 UTC
[1.] One line summary of the problem: Kernel 4.13.8 hangs on boot on Surface Book laptop
[2.] Full description of the problem/report: After update to kernel 4.13.8 from 4.12.13, cannot boot. No output or log entries.
[3.] Keywords (i.e., modules, networking, kernel): Kernel
[4.] Kernel information
[4.2.] Kernel .config file: Attached
[5.] Most recent kernel version which did not have the bug: 4.12.13
[8.] Environment
[8.2.] Processor information (from /proc/cpuinfo): Attached
[8.3.] Module information (from /proc/modules): Attached
[8.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem): Attached
[8.5.] PCI information ('lspci -vvv' as root): Attached
[8.6.] SCSI information (from /proc/scsi/scsi): Does not exist
[8.7.] Other information that might be relevant to the problem
       (please look in /proc and include all information that you
       think to be relevant): Surface book laptop
[X.] Other notes, patches, fixes, workarounds: intel_iommu=off does not fix
Comment 1 Benjamin Braun 2017-10-23 03:50:43 UTC
See parallel bugreport on Ubuntu launchpad
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1724657
Comment 2 Benjamin Braun 2017-10-23 03:57:16 UTC
Created attachment 260327 [details]
zcat /proc/config.gq
Comment 3 Benjamin Braun 2017-10-23 03:58:00 UTC
Created attachment 260329 [details]
/proc/cpuinfo
Comment 4 Benjamin Braun 2017-10-23 03:58:34 UTC
Created attachment 260331 [details]
/proc/modules
Comment 5 Benjamin Braun 2017-10-23 03:59:09 UTC
Created attachment 260333 [details]
/proc/ioports
Comment 6 Benjamin Braun 2017-10-23 03:59:37 UTC
Created attachment 260335 [details]
/proc/iomem
Comment 7 Benjamin Braun 2017-10-24 01:56:07 UTC
Oops - there is some log output that might be key to the issue.

Adding "earlyprintk=efi" to the kernel boot parameters gives the following two lines:

Memory KASLR using RDRAND RDTSC
[    0.00000] [Firmware Bug]: TSC_DEADLINE disabled due to Errata: please update microcode to version: 0xb2 (or later)

so possibly a duplicate of another bug, will mark resolved when I find it
Comment 8 Benjamin Braun 2017-10-24 02:03:40 UTC
Upgrading microcode, i.e. adding initrd=\boot\intel-ucode.img to kernel, resolves and kernel boots. Resolved as this is not a kernel bug.