== Artful stock kernel ==
Fails to upgrade CAP file.

ubuntu@awrep7:~$  sudo modprobe capsule-loader
ubuntu@awrep7:~$ sudo su
root@awrep7:/home/ubuntu# cd fw/
root@awrep7:/home/ubuntu/fw# cat 0ACJA510.CAP > /dev/efi_capsule_loader 
cat: write error: Invalid argument
root@awrep7:/home/ubuntu/fw# 

Jan 30 16:27:20 awrep7 kernel: [  505.615127] efi: capsule update failed

-- 
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/1746019

Title:
  [Artful/Bionic] Fix capsule update regression since kernel v4.13.

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  [IMPACT]
  Commit 82c3768b8d68 ("efi/capsule-loader: Use a cached copy of the
  capsule header") refactored the capsule loading code that maps the
  capsule header, to avoid having to map it several times. However,
  as it turns out, the vmap() call we ended up removing did not just
  map the header, but the entire capsule image, and dropping this
  virtual mapping breaks capsules that are processed by the firmware
  immediately (i.e., without a reboot).

  [FIX]
  The following patch fixes the issue
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/firmware/efi/capsule-loader.c?id=f24c4d478013d82bd1b943df566fff3561d52864

  [TEST]

  [REGRESSION POTENTIAL]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1746019/+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