Project

General

Profile

Actions

Bug #449

open

ThinkPad T440p fail to start, continous beeping & LED blinking

Added by Crazy Fox about 1 year ago. Updated about 1 year ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
board support
Target version:
Start date:
01/14/2023
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
haswell
Affected OS:

Description

Hi, Team
Being corebooted before and works fine on 4.17.

After flashing 4.18 my t440p wont startup (black screen, constant beeping & LED blinking). I've tried and retried different nconfigs but result is the same. I know that it is lack of information, but I need to recover the laptop first to grab some logs from it.

Log from FT232H's debug is attached, the rest of info (defconfig, flashrom command etc. will upload soon)


Files

coreboot_t440p_emerg.log (7.85 KB) coreboot_t440p_emerg.log debug info via FT232H Crazy Fox, 01/14/2023 08:52 PM

Related links

The USBAN error is:

[ERROR]  shift out of bounds src/northbridge/intel/haswell/pcie.c:85:22
[EMERG]  ubsan: unrecoverable error.
Actions #1

Updated by Angel Pons about 1 year ago

  • Category changed from coreboot common code to board support
  • Status changed from New to In Progress
  • Assignee set to Angel Pons

Looks like coreboot dies because UBSAN encounters a bug. Please disable UBSAN and try again. Note that things like ASAN and UBSAN are meant to be used for debugging purposes; for "production" use-cases, it's better to keep these options disabled.

Actions #2

Updated by Crazy Fox about 1 year ago

Angel Pons wrote in #note-1:

Looks like coreboot dies because UBSAN encounters a bug. Please disable UBSAN and try again. Note that things like ASAN and UBSAN are meant to be used for debugging purposes; for "production" use-cases, it's better to keep these options disabled.

You are right - after disabling UBSAN everything is working fine, thanks for directing me!

Actions #3

Updated by Paul Menzel about 1 year ago

  • Related links updated (diff)
Actions #4

Updated by Felix Singer about 1 year ago

Does this issue also occur on 4.19 and/or master? Would be great if you could test this.

Actions #5

Updated by Crazy Fox about 1 year ago

  • Affected versions 4.19 added
  • Affected versions deleted (4.18)

Felix Singer wrote in #note-4:

Does this issue also occur on 4.19 and/or master? Would be great if you could test this.

Yes, yesterday I've checked it and still occur on 4.19

Actions #6

Updated by Angel Pons about 1 year ago

https://review.coreboot.org/72806 fixes the UBSAN errors, please review. Note that UBSAN-enabled coreboot still dies later on:

Loading module at 0x00030000 with entry 0x00030000. filesize: 0x178 memsize: 0x178
Processing 16 relocs. Offset value of 0x00030000
unaligned access src/lib/rmodule.c:152:27
ubsan: unrecoverable error.

So, any users that desire to have a bootable system should keep UBSAN disabled when building coreboot.

Actions

Also available in: Atom PDF