-- Stock 17.10 kernel -- ubuntu@awrep06:~$ uname -a Linux awrep06 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 14:13:33 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux ubuntu@awrep06:~$ sudo modprobe capsule-loader ubuntu@awrep06:~$ sudo su root@awrep06:/home/ubuntu# cat 0ACJA530.CAP > /dev/efi_capsule_loader cat: write error: Invalid root@awrep06:/home/ubuntu#
-- Proposed kernel -- ubuntu@awrep06:~$ apt policy linux-image-generic linux-image-generic: Installed: 4.13.0.37.40 Candidate: 4.13.0.38.41 Version table: 4.13.0.38.41 500 500 http://ports.ubuntu.com/ubuntu-ports artful-proposed/main arm64 Packages *** 4.13.0.37.40 500 500 http://ports.ubuntu.com/ubuntu-ports artful-updates/main arm64 Packages 500 http://ports.ubuntu.com/ubuntu-ports artful-security/main arm64 Packages 100 /var/lib/dpkg/status 4.13.0.16.17 500 500 http://ports.ubuntu.com/ubuntu-ports artful/main arm64 Packages ubuntu@awrep06:~$ uname -a Linux awrep06 4.13.0-38-generic #43-Ubuntu SMP Wed Mar 14 15:22:25 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux ubuntu@awrep06:~$ sudo modprobe capsule-loader ubuntu@awrep06:~$ sudo su root@awrep06:/home/ubuntu# cat 0ACJA530.CAP > /dev/efi_capsule_loader root@awrep06:/home/ubuntu# tail -n5 /var/log/kern.log Mar 27 17:23:48 awrep06 kernel: [ 19.439681] qcom-emac QCOM8070:00 enaqcom8070i0: Link is Down Mar 27 17:23:48 awrep06 kernel: [ 22.511124] qcom-emac QCOM8070:00 enaqcom8070i0: Link is Up - 1Gbps/Full - flow control rx/tx Mar 27 17:23:48 awrep06 kernel: [ 22.511132] IPv6: ADDRCONF(NETDEV_CHANGE): enaqcom8070i0: link becomes ready Mar 27 17:23:48 awrep06 kernel: [ 46.136253] new mount options do not match the existing superblock, will be ignored Mar 27 17:24:59 awrep06 kernel: [ 116.552854] efi: Successfully upload capsule file with reboot type 'RESET_COLD' root@awrep06:/home/ubuntu# NOTICE: BL31: v1.3(release):STB_TZ.DF.2.0.R1__00935-2-g4917d82 NOTICE:_override variabNOTICE: ***** IMC-TZ SYNC POINT REACHED ***** INFO: TPM NOT IDENTIFIED INFO: TPM VID : 0xFFFF DID : 0xFFFF INFO: QUP version 2.5.1 ERROR: CRB Driver Init Failed with error=4100 ERROR: TPM APP failed to initialize NOTICE: BL31: Preparing for EL3 exit to normal world DEBUG Mode : Off Progress: [5F] FW Family : Qualcomm Centriq(TM) 2400 FW Version : XBL.DF.2.0.R1-00868 QDF2400_REL CRM Build Info : 64b Feb 23 2018 15:37:40 Boot Mode : Flash update Version 2.19.1269. Copyright (C) 2018 American Megatrends, Inc. BIOS Date: 03/06/2018 13:04:36 Ver: 0ACJA530 EVALUATION COPY. Press <DEL> or <ESC> to enter setup. ubuntu@awrep06:~$ uname -a Linux awrep06 4.13.0-38-generic #43-Ubuntu SMP Wed Mar 14 15:22:25 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux ubuntu@awrep06:~$ ** Tags removed: verification-needed-artful ** Tags added: verification-done-artful -- 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 SRU] Fix capsule update regression Status in linux package in Ubuntu: Incomplete Status in linux source package in Artful: Fix Committed 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] Please see comments below for testing information and details. [REGRESSION POTENTIAL] This patch fixes a regression in 4.13 and onward. 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