Project

General

Profile

Actions

Bug #590

open

With GRUB payload cbmem in GNU/Linux fails with `Table not found.`

Added by Paul Menzel 6 days ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
04/10/2025
Due date:
% Done:

0%

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

Description

See emulation/qemu-i440fx/25.03-154-g9e757b3396/2025-04-10T04_35_41Z in the board status repository for the configuration.

Building coreboot (25.03-154-g9e757b3396) for emulation/qemu-i440fx with GRUB (master) as payload, cbmem does not find the CBMEM tables and aborts with Table not found..

qemu-system-x86_64 -bios /dev/shm/coreboot/build/coreboot.rom -L /dev/shm -enable-kvm -smp cpus=2 -m 1G -hda /dev/shm/debian-32.img -serial stdio -net nic -net user,hostfwd=tcp::22222-:22

Using SeaBIOS, it works.


Files


Related links

In the GRUB command line, running GRUB’s cbmemc, it outputs the CBMEM console content. So, it seems to be overwritten later somehow.

Actions #1

Updated by Paul Menzel 1 day ago

  • Related links updated (diff)
Actions #2

Updated by Paul Menzel 1 day ago

I faintly remember something about E820 tables. Found it, for FILO, commit 389be2bdf8ee (x86/linux_load: Map E820 types) addressed this.

Actions #3

Updated by Paul Menzel 1 day ago

Indeed, adding iomem=relaxed to the Linux kernel command line, cbmem -c works. Untested(?) GRUB patch attached.

Actions

Also available in: Atom PDF