1*7e934d3aSAndy Fiddaman# This file contains definitions of systems which are known to have problems 2*7e934d3aSAndy Fiddaman# booting from an EFI/GPT partitioned disk, and the workaround. It is used 3*7e934d3aSAndy Fiddaman# by libefi to change the way in which the protective master-boot-record (PMBR) 4*7e934d3aSAndy Fiddaman# is written to the disk when the EFI label changes. 5*7e934d3aSAndy Fiddaman 6*7e934d3aSAndy Fiddaman# Redistribution and use in source and binary forms, with or without 7*7e934d3aSAndy Fiddaman# modification, are permitted provided that the following conditions 8*7e934d3aSAndy Fiddaman# are met: 9*7e934d3aSAndy Fiddaman# 1. Redistributions of source code must retain the above copyright 10*7e934d3aSAndy Fiddaman# notice, this list of conditions and the following disclaimer. 11*7e934d3aSAndy Fiddaman# 2. Redistributions in binary form must reproduce the above copyright 12*7e934d3aSAndy Fiddaman# notice, this list of conditions and the following disclaimer in the 13*7e934d3aSAndy Fiddaman# documentation and/or other materials provided with the distribution. 14*7e934d3aSAndy Fiddaman# 15*7e934d3aSAndy Fiddaman# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16*7e934d3aSAndy Fiddaman# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17*7e934d3aSAndy Fiddaman# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18*7e934d3aSAndy Fiddaman# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19*7e934d3aSAndy Fiddaman# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20*7e934d3aSAndy Fiddaman# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21*7e934d3aSAndy Fiddaman# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22*7e934d3aSAndy Fiddaman# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23*7e934d3aSAndy Fiddaman# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24*7e934d3aSAndy Fiddaman# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25*7e934d3aSAndy Fiddaman# SUCH DAMAGE. 26*7e934d3aSAndy Fiddaman 27*7e934d3aSAndy Fiddaman# Copyright (c) 2016 Allan Jude <allanjude@freebsd.org> 28*7e934d3aSAndy Fiddaman# Copyright 2018 OmniOS Community Edition (OmniOSce) Association. 29*7e934d3aSAndy Fiddaman 30*7e934d3aSAndy Fiddaman# Each line consists of a number of whitespace delimited name=value pairs 31*7e934d3aSAndy Fiddaman# which define conditions for the host system which are matched against values 32*7e934d3aSAndy Fiddaman# in SMBIOS tables. These are followed by actions to take if the host system 33*7e934d3aSAndy Fiddaman# matches; more than one action can be specified. 34*7e934d3aSAndy Fiddaman# 35*7e934d3aSAndy Fiddaman# Conditions: 36*7e934d3aSAndy Fiddaman# From the SMB_TYPE_SYSTEM table (`smbios -t SMB_TYPE_SYSTEM`) 37*7e934d3aSAndy Fiddaman# sys.manufacturer 38*7e934d3aSAndy Fiddaman# sys.product 39*7e934d3aSAndy Fiddaman# sys.version 40*7e934d3aSAndy Fiddaman# From the SMB_TYPE_BASEBOARD table (`smbios -t SMB_TYPE_BASEBOARD`) 41*7e934d3aSAndy Fiddaman# mb.manufacturer 42*7e934d3aSAndy Fiddaman# mb.product 43*7e934d3aSAndy Fiddaman# mb.version 44*7e934d3aSAndy Fiddaman# 45*7e934d3aSAndy Fiddaman# Actions: 46*7e934d3aSAndy Fiddaman# pmbr_slot=n 0 <= n <= 3 (default 0) 47*7e934d3aSAndy Fiddaman# Place the EFI partition entry into slot n in the PMBR 48*7e934d3aSAndy Fiddaman# pmbr_active=n 0 <= n <= 1 (default 0) 49*7e934d3aSAndy Fiddaman# Mark the EFI partition as active within the PMBR 50*7e934d3aSAndy Fiddaman 51*7e934d3aSAndy Fiddaman# References: 52*7e934d3aSAndy Fiddaman# https://lists.freebsd.org/pipermail/freebsd-i386/2013-March/010437.html 53*7e934d3aSAndy Fiddaman# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194359 54*7e934d3aSAndy Fiddaman 55*7e934d3aSAndy Fiddamansys.manufacturer="Lenovo" sys.version="ThinkPad X220" pmbr_slot=1 56*7e934d3aSAndy Fiddamansys.manufacturer="Lenovo" sys.version="ThinkPad T420" pmbr_slot=1 57*7e934d3aSAndy Fiddamansys.manufacturer="Lenovo" sys.version="ThinkPad T520" pmbr_slot=1 58*7e934d3aSAndy Fiddamansys.manufacturer="Lenovo" sys.version="ThinkPad W520" pmbr_slot=1 59*7e934d3aSAndy Fiddamansys.manufacturer="Lenovo" sys.version="ThinkPad X1" pmbr_slot=1 60*7e934d3aSAndy Fiddaman 61*7e934d3aSAndy Fiddamansys.manufacturer="Dell Inc." sys.product="Latitude E6330" pmbr_active=1 62*7e934d3aSAndy Fiddamansys.manufacturer="Dell Inc." sys.product="Latitude E7440" pmbr_active=1 63*7e934d3aSAndy Fiddamansys.manufacturer="Dell Inc." sys.product="Latitude E7240" pmbr_active=1 64*7e934d3aSAndy Fiddamansys.manufacturer="Dell Inc." sys.product="Precision Tower 5810" pmbr_active=1 65*7e934d3aSAndy Fiddaman 66*7e934d3aSAndy Fiddamansys.manufacturer="Hewlett-Packard" sys.product="HP ProBook 4330s" pmbr_active=1 67*7e934d3aSAndy Fiddaman 68*7e934d3aSAndy Fiddamanmb.manufacturer="Intel Corporation" mb.product="DP965LT" pmbr_active=1 69*7e934d3aSAndy Fiddamanmb.manufacturer="Intel Corporation" mb.product="D510MO" pmbr_active=1 70*7e934d3aSAndy Fiddaman 71*7e934d3aSAndy Fiddamanmb.manufacturer="Acer" mb.product="Veriton M6630G" pmbr_active=1 72*7e934d3aSAndy Fiddaman 73