Bug 191121
Summary: | 4.9.0 fails to boot on Thinkpad T540p in UEFI mode | ||
---|---|---|---|
Product: | EFI | Reporter: | Anton Gubarkov (anton.gubarkov) |
Component: | Boot | Assignee: | EFI Virtual User (efi) |
Status: | RESOLVED CODE_FIX | ||
Severity: | high | CC: | devin, dion, driverxavgeforce, gjunk2, matt, mike.cloaked, neurolabs.de, perpetuallybored, pjones, register+kernelbugzilla |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
URL: | https://bugs.gentoo.org/show_bug.cgi?id=603470 | ||
Kernel Version: | 4.9.0 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
screen photo
Upstream fix |
Description
Anton Gubarkov
2016-12-25 18:35:13 UTC
Same issue with Kernel 4.9.0 on openSUSE Tumbleweed and Lenovo W540 in UEFI mode. Same on Lenovo T440p, BIOS version 2.34, most recent available 2.39. Do users who have this issue have LUKS encrypted drives? I don't. Same issue on Thinkpad Edge E545 with 4.9.0 on gentoo, no encrypted devices, no significant kernel config changes compared to 4.8.15. Might actually be a Lenovo thing. *** Bug 190251 has been marked as a duplicate of this bug. *** I have the same problem. I got a backtrace using earlyprintk=efi. Crash is in efi_memmap_insert. I included a screenshot in https://bugzilla.kernel.org/show_bug.cgi?id=190251 I have raised an incident 170110-000180 with Lenovo support as the problem seems to affect Lenovo products only. I got a negative reply from lenovo support. They don't support linux and will not take any action. Created attachment 251111 [details]
screen photo
crash in efi_memmap_insert
Created attachment 251121 [details]
Upstream fix
Could someone try out the attached patch? If you're suffering from this bug and you don't want to compile your own kernel, the attached patch should be part of v4.10-rc4. (In reply to Matt Fleming from comment #12) > Could someone try out the attached patch? If you're suffering from this bug > and you don't want to compile your own kernel, the attached patch should be > part of v4.10-rc4. I tried it (I patched 4.9.1), but it still crashes in efi_memmap_insert Can you give http://git.kernel.org/cgit/linux/kernel/git/efi/efi.git/commit/?h=next&id=b2a91a35445229d596de6697a0b8b6596b858021 a shot? This looks like exactly the same bug that solves. (In reply to Peter Jones from comment #14) > Can you give > http://git.kernel.org/cgit/linux/kernel/git/efi/efi.git/commit/ > ?h=next&id=b2a91a35445229d596de6697a0b8b6596b858021 a shot? This looks like > exactly the same bug that solves. This fixes it for me on 4.9.2 (I applied both suggested patches) As in bug https://bugzilla.kernel.org/show_bug.cgi?id=191801 applying patch to 4.10-rc3 fixes it for me http://git.kernel.org/cgit/linux/kernel/git/efi/efi.git/diff/?h=next&id=b2a91a35445229d596de6697a0b8b6596b858021 gene Hopefully this patch makes it into 4.9.3 and 4.10-rc4. *** Bug 191801 has been marked as a duplicate of this bug. *** (In reply to Peter Jones from comment #14) > Can you give > http://git.kernel.org/cgit/linux/kernel/git/efi/efi.git/commit/ > ?h=next&id=b2a91a35445229d596de6697a0b8b6596b858021 a shot? This looks like > exactly the same bug that solves. Applying both patches to 4.9.0 doesn't solve the problem for me, but applying them to 4.9.2 does. The two patches mentioned in this thread are now part of v4.10-rc4 and should be part of v4.9.5 whenever that is released. I'm marking this as resolved. Thanks everyone. Doesn't boot since 4.8.15 on my Thinkpad E545 using UEFI. Considering it happened at the same time with the same line of hardware I don't believe it to be something else. Tried to compile both my distribution kernel and vanilla one up to latest version, no dice. Anyway I can provide meaningful data to solve this? P.S. There are also reports on gentoo kernel tracker of Thinkpad X220 not booting. (In reply to Evgeny Laktanov from comment #21) > Doesn't boot since 4.8.15 on my Thinkpad E545 using UEFI. Considering it > happened at the same time with the same line of hardware I don't believe it > to be something else. Tried to compile both my distribution kernel and > vanilla one up to latest version, no dice. Anyway I can provide meaningful > data to solve this? > > P.S. There are also reports on gentoo kernel tracker of Thinkpad X220 not > booting. Can you try performing a git bisect to track down exactly which commit causes your thinkpad to stop booting? |