Lenovo IdeaPad U460 fails to boot with 4.13.0-31.34~16.04.1

Bug #1744942 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned
Xenial
Invalid
Undecided
Unassigned
Artful
Confirmed
High
Unassigned
linux-hwe (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Confirmed
High
Unassigned
Artful
Invalid
Undecided
Unassigned

Bug Description

After using a 4.10 kernel for a while, booting into the new linux-hwe 4.13 (4.13.0-31.34~16.04.1, 4.13.0.31.51 (meta)) causes the system to immediately reboot the system into grub. The system has intel-microcode (3.20180108.0+really20170707ubuntu16.04.1) and nvidia-304 (304.135-0ubuntu0.16.04.2) installed. This system has 4G of RAM.

From dmesg:
[ 0.683392] smpboot: CPU0: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz (family: 0x6, model: 0x25, stepping: 0x5)

I believe that makes it a Westmere/Arandale according to https://software.intel.com/en-us/articles/intel-architecture-and-processor-identification-with-cpuid-model-and-family-numbers.

This is a 32 bit install with the i386 kernel:
$ dpkg --print-architecture
i386

$ cat /proc/cpuinfo # from 4.10
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
stepping : 5
microcode : 0x4
cpu MHz : 1333.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm ida arat
bugs :
bogomips : 5319.62
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
stepping : 5
microcode : 0x4
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm ida arat
bugs :
bogomips : 5319.62
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
stepping : 5
microcode : 0x4
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 2
apicid : 4
initial apicid : 4
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm ida arat
bugs :
bogomips : 5319.62
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
stepping : 5
microcode : 0x4
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 2
apicid : 5
initial apicid : 5
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm ida arat
bugs :
bogomips : 5319.62
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

$ sudo lspci -v # from 4.10
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
 Subsystem: Lenovo Core Processor DRAM Controller
 Flags: bus master, fast devsel, latency 0
 Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0, IRQ 24
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
 I/O behind bridge: 00004000-00004fff
 Memory behind bridge: d2000000-d30fffff
 Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
 Capabilities: [88] Subsystem: Lenovo Core Processor PCI Express x16 Root Port
 Capabilities: [80] Power Management version 3
 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Capabilities: [a0] Express Root Port (Slot+), MSI 00
 Capabilities: [100] Virtual Channel
 Kernel driver in use: pcieport
 Kernel modules: shpchp

00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
 Subsystem: Lenovo 5 Series/3400 Series Chipset HECI Controller
 Flags: bus master, fast devsel, latency 0, IRQ 26
 Memory at d9106100 (64-bit, non-prefetchable) [size=16]
 Capabilities: [50] Power Management version 3
 Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Kernel driver in use: mei_me
 Kernel modules: mei_me

00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
 Subsystem: Lenovo 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
 Flags: bus master, medium devsel, latency 0, IRQ 16
 Memory at d9105c00 (32-bit, non-prefetchable) [size=1K]
 Capabilities: [50] Power Management version 2
 Capabilities: [58] Debug port: BAR=1 offset=00a0
 Capabilities: [98] PCI Advanced Features
 Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
 Subsystem: Lenovo 5 Series/3400 Series Chipset High Definition Audio
 Flags: bus master, fast devsel, latency 0, IRQ 28
 Memory at d9100000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: [50] Power Management version 2
 Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
 Capabilities: [100] Virtual Channel
 Capabilities: [130] Root Complex Link
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0, IRQ 17
 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
 I/O behind bridge: 00003000-00003fff
 Memory behind bridge: d8100000-d90fffff
 Prefetchable memory behind bridge: 00000000d3100000-00000000d40fffff
 Capabilities: [40] Express Root Port (Slot+), MSI 00
 Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
 Capabilities: [90] Subsystem: Lenovo 5 Series/3400 Series Chipset PCI Express Root Port 1
 Capabilities: [a0] Power Management version 2
 Kernel driver in use: pcieport
 Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
 I/O behind bridge: 00002000-00002fff
 Memory behind bridge: d7100000-d80fffff
 Prefetchable memory behind bridge: 00000000d4100000-00000000d50fffff
 Capabilities: [40] Express Root Port (Slot+), MSI 00
 Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
 Capabilities: [90] Subsystem: Lenovo 5 Series/3400 Series Chipset PCI Express Root Port 2
 Capabilities: [a0] Power Management version 2
 Kernel driver in use: pcieport
 Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0, IRQ 18
 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
 I/O behind bridge: 00001000-00001fff
 Memory behind bridge: d6100000-d70fffff
 Prefetchable memory behind bridge: 00000000d5100000-00000000d60fffff
 Capabilities: [40] Express Root Port (Slot+), MSI 00
 Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
 Capabilities: [90] Subsystem: Lenovo 5 Series/3400 Series Chipset PCI Express Root Port 3
 Capabilities: [a0] Power Management version 2
 Kernel driver in use: pcieport
 Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
 Subsystem: Lenovo 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
 Flags: bus master, medium devsel, latency 0, IRQ 23
 Memory at d9105800 (32-bit, non-prefetchable) [size=1K]
 Capabilities: [50] Power Management version 2
 Capabilities: [58] Debug port: BAR=1 offset=00a0
 Capabilities: [98] PCI Advanced Features
 Kernel driver in use: ehci-pci

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) (prog-if 01 [Subtractive decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
 Capabilities: [50] Subsystem: Lenovo 82801 Mobile PCI Bridge

00:1f.0 ISA bridge: Intel Corporation HM55 Chipset LPC Interface Controller (rev 05)
 Subsystem: Lenovo HM55 Chipset LPC Interface Controller
 Flags: bus master, medium devsel, latency 0
 Capabilities: [e0] Vendor Specific Information: Len=10 <?>
 Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
 Subsystem: Lenovo 5 Series/3400 Series Chipset 4 port SATA AHCI Controller
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 25
 I/O ports at 5048 [size=8]
 I/O ports at 5054 [size=4]
 I/O ports at 5040 [size=8]
 I/O ports at 5050 [size=4]
 I/O ports at 5020 [size=32]
 Memory at d9105000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA v1.0
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci
 Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
 Subsystem: Lenovo 5 Series/3400 Series Chipset SMBus Controller
 Flags: medium devsel, IRQ 10
 Memory at d9106000 (64-bit, non-prefetchable) [size=256]
 I/O ports at 5000 [size=32]
 Kernel modules: i2c_i801

00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
 Subsystem: Lenovo 5 Series/3400 Series Chipset Thermal Subsystem
 Flags: bus master, fast devsel, latency 0, IRQ 21
 Memory at d9104000 (64-bit, non-prefetchable) [size=4K]
 Capabilities: [50] Power Management version 3
 Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
 Kernel driver in use: intel ips
 Kernel modules: intel_ips

01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce 305M] (rev a2) (prog-if 00 [VGA controller])
 Subsystem: Lenovo GT218M [GeForce 305M]
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
 Memory at c0000000 (64-bit, prefetchable) [size=256M]
 Memory at d0000000 (64-bit, prefetchable) [size=32M]
 I/O ports at 4000 [size=128]
 [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
 Capabilities: [60] Power Management version 3
 Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
 Capabilities: [78] Express Endpoint, MSI 00
 Capabilities: [b4] Vendor Specific Information: Len=14 <?>
 Capabilities: [100] Virtual Channel
 Capabilities: [128] Power Budgeting <?>
 Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
 Kernel driver in use: nvidia
 Kernel modules: nvidiafb, nouveau, nvidia_304

01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
 Subsystem: Lenovo High Definition Audio Controller
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at d3000000 (32-bit, non-prefetchable) [size=16K]
 Capabilities: [60] Power Management version 3
 Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
 Capabilities: [78] Express Endpoint, MSI 00
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel

03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]
 Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
 Flags: bus master, fast devsel, latency 0, IRQ 27
 Memory at d7100000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: [c8] Power Management version 3
 Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [e0] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Device Serial Number 00-26-c7-ff-ff-e5-c3-44
 Kernel driver in use: iwlwifi
 Kernel modules: iwlwifi

04:00.0 Ethernet controller: Qualcomm Atheros AR8131 Gigabit Ethernet (rev c0)
 Subsystem: Lenovo AR8131 Gigabit Ethernet
 Flags: fast devsel, IRQ 29
 Memory at d6100000 (64-bit, non-prefetchable) [disabled] [size=256K]
 I/O ports at 1000 [disabled] [size=128]
 Capabilities: [40] Power Management version 3
 Capabilities: [48] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [58] Express Endpoint, MSI 00
 Capabilities: [6c] Vital Product Data
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [180] Device Serial Number ff-5a-9f-b1-1c-75-08-ff
 Kernel driver in use: atl1c
 Kernel modules: atl1c

7f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
 Subsystem: Lenovo Core Processor QuickPath Architecture Generic Non-core Registers
 Flags: bus master, fast devsel, latency 0

7f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
 Subsystem: Lenovo Core Processor QuickPath Architecture System Address Decoder
 Flags: bus master, fast devsel, latency 0

7f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
 Subsystem: Lenovo Core Processor QPI Link 0
 Flags: bus master, fast devsel, latency 0

7f:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 05)
 Subsystem: Lenovo 1st Generation Core i3/5/7 Processor QPI Physical 0
 Flags: bus master, fast devsel, latency 0

7f:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)
 Subsystem: Lenovo 1st Generation Core i3/5/7 Processor Reserved
 Flags: bus master, fast devsel, latency 0

7f:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)
 Subsystem: Lenovo 1st Generation Core i3/5/7 Processor Reserved
 Flags: bus master, fast devsel, latency 0

Changed in linux-hwe (Ubuntu):
status: New → Confirmed
description: updated
description: updated
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Tried booting into 4.13.0-31.34~16.04.1 with nopti noibrs noibpb and no change-- immediate reboot. This is from both cold boot and warm boot.

Tried booting into 4.13.0-21.24~16.04.1 (old linux-hwe-edge). It booted from cold boot to desktop once. Most other times cold boots and all warm boots results in a kernel that boots for a while, then black screen and desktop does not come up. nvidia-304 vs linux 4.13 issue?

Booting into the 4.4.0-112.135 successfully booted to the desktop after warm and cold boots.

Revision history for this message
Stefan Bader (smb) wrote :

I can see the same behaviour on a Intel Xeon box. At some point I tried mainline build 4.15-rc9 and that behaves exactly the same. So it looks like an issue with the KPTI implementation which still exists upstream. I am planning to experiment with further 4.15-rc's and then try bisecting there.

Revision history for this message
Reinhard Zierke (reinhardzierke) wrote :

I had several Dell Optiplex 9020, 7040 and 7050, all with a Nvidia GeForce 1050 Ti, that froze while booting Ubuntu 16.04 with Kernel 4.13.0-31.34~16.04.1. Kernel 4.13.0-26.29~16.04.2 works fine.

On some PCs that I booted without the quiet option in GRUB_CMDLINE_LINUX_DEFAULT the last
message on the screen was the start of the System Security Services Daemon and of Postfix,
respectively. After that the PCs froze and didn't even respond to ping. On one PC I got the
error messages
NMI watchdog: Watchdog detected hard LOCKUP on cpu 0
NMI watchdog: Watchdog detected hard LOCKUP on cpu 2
NMI watchdog: Watchdog detected hard LOCKUP on cpu 3
INFO: rcu_sched detected stalls on CPUs/tasks:
#0-...: (1 GPs behind) idle=456/14000000000001/0 softirq=27381/2
#3-...: (1 GPs behind) idle=d1a/14000000000000/0 softirq=29304/2
#(detected by 1, t=15002 jillies, f=061, c=860, q=1378)
rcu_sched kthread starved for 15000 jiffies! g861 c860 f0x0

I haven't yet seen this boot problem of kernel 4.13.0-31 on other Dell PCs with onboard graphics.

Stefan Bader (smb)
Changed in linux (Ubuntu Xenial):
status: New → Invalid
Changed in linux-hwe (Ubuntu Artful):
status: New → Invalid
Changed in linux-hwe (Ubuntu Xenial):
status: New → Confirmed
Changed in linux-hwe (Ubuntu):
status: Confirmed → Invalid
Changed in linux (Ubuntu Artful):
importance: Undecided → High
Changed in linux (Ubuntu):
importance: Undecided → High
Changed in linux-hwe (Ubuntu Xenial):
importance: Undecided → High
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 1744942

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
Changed in linux (Ubuntu Artful):
status: New → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Marking the incomplete tasks as confirmed so the bot doesn't auto-close the bug.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu Artful):
status: Incomplete → Confirmed
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.