Skip to contentSkip to conversation

failed to boot host on 4.12-rc1 kernel due to acpi code change

4.12-rc1 regression Eryu Guan 1 participant 1 message May 31, 2017 ACPI

lore
Share & tools
lore

Eryu Guan

author
#0 lore raw

Hi all,

I have one HP test host that failed to boot starting from 4.12-rc1, it failed to bring up lvm device then dropped me to emergency shell.

...
[ OK ] Started LVM2 PV scan on device 8:1.
[ TIME ] Timed out waiting for device dev-mapper-systemvg\x2dhome.device. [DEPEND] Dependency failed for /root/workspace.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Mark the need to relabel after reboot. [DEPEND] Dependency failed for Relabel all filesystems, if necessary. [ TIME ] Timed out waiting for device dev-di...\x2d918a\x2d091a53637acd.device. [DEPEND] Dependency failed for /boot.
...
Welcome to emergGive root password for maintenance
(or type Control-D to continue):

I attached full boot log.

I bisected this issue to this commit, and I've confirmed that host booted successfully if I revert this commit on top of 4.12-rc3 kernel (stock 4.12-rc3 kernel failed to boot too).

commit da28e1955d7fc228870f437693cfae8ce486ad9f

Author: Bob Moore <[email protected]>
Date:   Wed Apr 26 16:17:43 2017 +0800

ACPICA: Disassembler: Enhance resource descriptor detection

ACPICA commit ba5020b2dbe1538e4ccd7ac2dfd8843a690c007f

This change enhances the detection of resource descriptors within a buffer object. For the end_tag opcode, the second byte is defined to be either a checksum or zero. All known ASL compilers insert a zero for this byte. The disassembler now ensures this byte is zero before deciding that a buffer should be disassembled to a resource descriptor. This helps eliminate incorrect decisions when attempting to disassemble a buffer to a resource descriptor.

I'm not familiar with ACPI, I'm not sure what information I should provide, so please let me know if you need more info to debug.

Thanks,
Eryu