Bug 206031 - [EFI] boot/loader.efi doesn't export smbios serial numbers (esp. system.uuid)
Summary: [EFI] boot/loader.efi doesn't export smbios serial numbers (esp. system.uuid)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: John Baldwin
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-01-08 13:49 UTC by Thomas Eberhardt
Modified: 2016-08-20 00:18 UTC (History)
1 user (show)

See Also:


Attachments
Add defines needed to export smbios serial numbers (874 bytes, patch)
2016-01-08 13:49 UTC, Thomas Eberhardt
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Eberhardt 2016-01-08 13:49:14 UTC
Created attachment 165258 [details]
Add defines needed to export smbios serial numbers

Some defines needed for exporting serial numbers from the SMBIOS seem to have
been missed during integration of SMBIOS support in the EFI boot loader (r281138).

Attached patch adds these defines from sys/boot/i386/libi386/Makefile to
sys/boot/efi/loader/Makefile

This is needed for getting the hostid set from the system hardware UUID.
Comment 1 John Baldwin freebsd_committer freebsd_triage 2016-06-14 18:21:14 UTC
Actually, this commit is the one which teaches native kdump how to handle traces from Linux binaries:

https://svnweb.freebsd.org/base?view=revision&revision=283430

My commit just broke the build of linux_kdump.  Going forward any work to add decoding of system call arguments for Linux binaries should happen in-tree rather than in the port though.
Comment 2 John Baldwin freebsd_committer freebsd_triage 2016-06-14 18:22:29 UTC
Oops, last comment was for a different bug.
Comment 3 commit-hook freebsd_committer 2016-08-12 19:47:53 UTC
A commit references this bug:

Author: jhb
Date: Fri Aug 12 19:47:20 UTC 2016
New revision: 304018
URL: https://svnweb.freebsd.org/changeset/base/304018

Log:
  Add defines needed to export SMBIOS serial numbers

  Some defines needed for exporting serial numbers from the SMBIOS were
  missed during integration of SMBIOS support in the EFI boot loader (r281138).
  This is needed for getting the hostid set from the system hardware UUID.

  PR:		206031
  Submitted by:	Thomas Eberhardt <sneakywumpus@gmail.com>
  MFC after:	1 week

Changes:
  head/sys/boot/efi/loader/Makefile
Comment 4 commit-hook freebsd_committer 2016-08-19 23:32:46 UTC
A commit references this bug:

Author: jhb
Date: Fri Aug 19 23:31:57 UTC 2016
New revision: 304507
URL: https://svnweb.freebsd.org/changeset/base/304507

Log:
  MFC 304018: Add defines needed to export SMBIOS serial numbers

  Some defines needed for exporting serial numbers from the SMBIOS were
  missed during integration of SMBIOS support in the EFI boot loader (r281138).
  This is needed for getting the hostid set from the system hardware UUID.

  PR:		206031

Changes:
_U  stable/10/
  stable/10/sys/boot/efi/loader/Makefile
_U  stable/11/
  stable/11/sys/boot/efi/loader/Makefile