Project

General

Profile

Actions

Bug #590

open
PM

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

Bug #590: With GRUB payload cbmem in GNU/Linux fails with `Table not found.`

Added by Paul Menzel 11 months ago. Updated 11 months 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.

PM Updated by Paul Menzel 11 months ago Actions #1

  • Related links updated (diff)

PM Updated by Paul Menzel 11 months ago Actions #2

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

PM Updated by Paul Menzel 11 months ago Actions #3

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

Actions

Also available in: PDF Atom