🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.bugs
1 messages
1 total messages Started by bugzilla-noreply Wed, 28 Oct 2026 17:14
[Bug 300205] smbios, ipmi require EFIRT-option
#292
Author: bugzilla-noreply
Date: Wed, 28 Oct 2026 17:14
55 lines
3778 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300205

            Bug ID: 300205
           Summary: smbios, ipmi require EFIRT-option
           Product: Base System
           Version: 15.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mi@FreeBSD.org

Created attachment 276637
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=276637&action=edit
Only use EFI-bits, if EFIRT is enabled

smbios-device requires EFIRT option on systems, where ARCH_MAY_USE_EFI is true.
Most do not feel it, because EFIRT is enabled in kernel -- but systems not
using EFI may want a kernel without the option enabled, and that is currently
impossible -- since about 2021:

  linking kernel.full
  ld: error: undefined symbol: active_efi_ops
  >>> referenced by efi.h:307 (/usr/src/sys/sys/efi.h:307)
  >>>               smbios.o:(smbios_identify)
  >>> referenced by efi.h:307 (/usr/src/sys/sys/efi.h:307)
  >>>               smbios.o:(smbios_identify)
  *** [kernel.full] Error code 1

The history of how it happened, courtesy of Claude Opus:

- base a29bff7a5216 (2021-04-07), "smbios: support getting address from EFI":
smbios.c started calling efi_get_table() unconditionally under
ARCH_MAY_USE_EFI, and gained MODULE_DEPEND(smbios, efirt, …). That covered the
module case, but nobody made the built-in case conditional on EFIRT.
- base ee8b757a949a (2021-04-29), "ipmi: support getting address from EFI": the
same pattern was added to ipmi_smbios.c.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads