This issue is caused by the Dell machines have already embedded the
MokSBStatesRT variable with EFI_VARIABLE_NON_VOLATILE attribute, and the
new shim-signed 1.21.4 include the patch which will mirror the
MokSBStatesRT when MokSBState exists, see the
https://github.com/rhinstaller/shim/commit/8f1bd605d05077a76502de5510cc937c4f4c62dd,
and it causes the setvariable MokSBStatesRT failed because it has
already existed with different attribute.

Attached the patch which can be used to solve this issue by checking the
MokSBStateRT existence and deleting it before mirroring it.

This patch had been sent to upstream and wait for feedback.

** Patch added: "0001-shim-fix-the-mirroring-MokSBState-fail.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1644806/+attachment/4784570/+files/0001-shim-fix-the-mirroring-MokSBState-fail.patch

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1644806

Title:
  Proposed shim package will cause system complain "Failed to set
  MokSBStateRT: (2) Invalid Parameter"

Status in linux package in Ubuntu:
  Confirmed
Status in shim-signed package in Ubuntu:
  New

Bug description:
  CID: 201606-22528

  The proposed shim package will cause this laptop complain about:
  "Failed to set MokSBStateRT: (2) Invalid Parameter" on boot.

  You will see a blue screen after the Dell logo (please find the
  attached screenshot). Hit ok will continue to boot.

  BIOS setting
  UEFI + SecureBoot Enabled

  Steps:
  1. Install 14.04.1 + dist-upgrade
  2. Reboot to see if everything is ok
  3. Enable proposed + dist-upgrade
  4. Reboot, and you will see this issue

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-49-generic 4.4.0-49.70
  ProcVersionSignature: Ubuntu 4.4.0-49.70-generic 4.4.30
  Uname: Linux 4.4.0-49-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu     1611 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Fri Nov 25 07:03:10 2016
  HibernationDevice: RESUME=UUID=b1256199-2e00-45a5-999c-0b81ea3fcfa6
  InstallationDate: Installed on 2016-11-25 (0 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 005: ID 0cf3:e005 Atheros Communications, Inc.
   Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card 
Reader Controller
   Bus 001 Device 002: ID 1bcf:28c0 Sunplus Innovation Technology Inc.
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Vostro 15-3568
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-49-generic.efi.signed 
root=UUID=f6e40ce3-8944-47c0-ac5d-592570800352 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-49-generic N/A
   linux-backports-modules-4.4.0-49-generic  N/A
   linux-firmware                            1.157.5
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/22/2016
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 01.00.00
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr01.00.00:bd07/22/2016:svnDellInc.:pnVostro15-3568:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct9:cvr:
  dmi.product.name: Vostro 15-3568
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1644806/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to