[Bug 1939152] [NEW] Shim can't USB boot on Dell XPS 9343

David Hewitt 1939152 at bugs.launchpad.net
Fri Aug 6 14:09:28 UTC 2021


Public bug reported:

There appears to have been a regression in newer versions of shim-signed
on my hardware.

When using the shimx64.efi file (from 1.40.6 or impish) as the
\EFI\BOOT\BOOTx64.efi executable on USB media, the Dell XPS 9343 will
fail to boot that media.

The output is as follows (photograph also attached):

Failed to open \EFI\BOOT\*garbled character* - Invalid Parameter
Failed to open \EFI\BOOT\*garbled character*: Invalid Parameter
start_image() returned Invalid Parameter 

To reproduce, boot an Impish iso on a Dell XPS 9343 or replace the
BOOTx64.efi on an Ubuntu 20.04.2 USB stick with shimx64.efi file from
the 1.40.6 version of the package and attempt to boot on Dell XPS 9343.

I suspect when a new 20.04 point release iso is built, it will use the
newer version of shim from the focal repos and hence cause this issue
with an unmodified iso.

Interestingly, this issue does not occur when booting the same version
of the shim binary from the internal SATA storage. shim-signed was
recently successfully upgraded from 1.40.4 to 1.40.6 on a running focal
install on the same hardware with no issues experienced after reboot.

i.e. I can copy the successfully booting shimx64.efi binary from my ESP
on my internal SATA drive onto a previously successfully booting
unmodified 20.04 USB stick, and break it with the newer verison of the
shim. Equally, I can copy the older version of shim from an unmodified
20.04 iso and replace the shim on an Impish iso and get it to boot.

Secure boot is disabled, but enabling it results in the same error. BIOS
revision is latest available (A20).

** Affects: shim-signed (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "PXL_20210806_134052804.jpg"
   https://bugs.launchpad.net/bugs/1939152/+attachment/5516350/+files/PXL_20210806_134052804.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1939152

Title:
  Shim can't USB boot on Dell XPS 9343

Status in shim-signed package in Ubuntu:
  New

Bug description:
  There appears to have been a regression in newer versions of shim-
  signed on my hardware.

  When using the shimx64.efi file (from 1.40.6 or impish) as the
  \EFI\BOOT\BOOTx64.efi executable on USB media, the Dell XPS 9343 will
  fail to boot that media.

  The output is as follows (photograph also attached):

  Failed to open \EFI\BOOT\*garbled character* - Invalid Parameter
  Failed to open \EFI\BOOT\*garbled character*: Invalid Parameter
  start_image() returned Invalid Parameter 

  To reproduce, boot an Impish iso on a Dell XPS 9343 or replace the
  BOOTx64.efi on an Ubuntu 20.04.2 USB stick with shimx64.efi file from
  the 1.40.6 version of the package and attempt to boot on Dell XPS
  9343.

  I suspect when a new 20.04 point release iso is built, it will use the
  newer version of shim from the focal repos and hence cause this issue
  with an unmodified iso.

  Interestingly, this issue does not occur when booting the same version
  of the shim binary from the internal SATA storage. shim-signed was
  recently successfully upgraded from 1.40.4 to 1.40.6 on a running
  focal install on the same hardware with no issues experienced after
  reboot.

  i.e. I can copy the successfully booting shimx64.efi binary from my
  ESP on my internal SATA drive onto a previously successfully booting
  unmodified 20.04 USB stick, and break it with the newer verison of the
  shim. Equally, I can copy the older version of shim from an unmodified
  20.04 iso and replace the shim on an Impish iso and get it to boot.

  Secure boot is disabled, but enabling it results in the same error.
  BIOS revision is latest available (A20).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1939152/+subscriptions




More information about the foundations-bugs mailing list