[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-06-10 Thread Guilherme G. Piccoli
** Changed in: linux (Ubuntu)
   Status: Fix Committed => Fix Released

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-06-09 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.15.0-106.107

---
linux (4.15.0-106.107) bionic; urgency=medium

  * CVE-2020-0543
- SAUCE: x86/cpu: Add a steppings field to struct x86_cpu_id
- SAUCE: x86/cpu: Add 'table' argument to cpu_matches()
- SAUCE: x86/speculation: Add Special Register Buffer Data Sampling (SRBDS)
  mitigation
- SAUCE: x86/speculation: Add SRBDS vulnerability and mitigation 
documentation
- SAUCE: x86/speculation: Add Ivy Bridge to affected list

linux (4.15.0-103.104) bionic; urgency=medium

  * bionic/linux: 4.15.0-103.104 -proposed tracker (LP: #1881272)

  * "BUG: unable to handle kernel paging request" when testing
ubuntu_kvm_smoke_test.kvm_smoke_test with B-KVM in proposed (LP: #1881072)
- KVM: VMX: Explicitly reference RCX as the vmx_vcpu pointer in asm blobs
- KVM: VMX: Mark RCX, RDX and RSI as clobbered in vmx_vcpu_run()'s asm blob

linux (4.15.0-102.103) bionic; urgency=medium

  * bionic/linux: 4.15.0-102.103 -proposed tracker (LP: #1878856)

  * Packaging resync (LP: #1786013)
- update dkms package versions

  * debian/scripts/file-downloader does not handle positive failures correctly
(LP: #1878897)
- [Packaging] file-downloader not handling positive failures correctly

  * Kernel log flood "ceph: Failed to find inode for 1" (LP: #1875884)
- ceph: don't check quota for snap inode
- ceph: quota: cache inode pointer in ceph_snap_realm

  * [UBUNTU 18.04] zpcictl --reset - contribution for kernel (LP: #1870320)
- s390/pci: Recover handle in clp_set_pci_fn()
- s390/pci: Fix possible deadlock in recover_store()

  * Bionic update: upstream stable patchset 2020-05-12 (LP: #1878256)
- drm/edid: Fix off-by-one in DispID DTD pixel clock
- drm/qxl: qxl_release leak in qxl_draw_dirty_fb()
- drm/qxl: qxl_release leak in qxl_hw_surface_alloc()
- drm/qxl: qxl_release use after free
- btrfs: fix block group leak when removing fails
- btrfs: fix partial loss of prealloc extent past i_size after fsync
- mmc: sdhci-xenon: fix annoying 1.8V regulator warning
- mmc: sdhci-pci: Fix eMMC driver strength for BYT-based controllers
- ALSA: hda/realtek - Two front mics on a Lenovo ThinkCenter
- ALSA: hda/hdmi: fix without unlocked before return
- ALSA: pcm: oss: Place the plugin buffer overflow checks correctly
- PM: ACPI: Output correct message on target power state
- PM: hibernate: Freeze kernel threads in software_resume()
- dm verity fec: fix hash block number in verity_fec_decode
- RDMA/mlx5: Set GRH fields in query QP on RoCE
- RDMA/mlx4: Initialize ib_spec on the stack
- vfio: avoid possible overflow in vfio_iommu_type1_pin_pages
- vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn()
- iommu/qcom: Fix local_base status check
- scsi: target/iblock: fix WRITE SAME zeroing
- iommu/amd: Fix legacy interrupt remapping for x2APIC-enabled system
- ALSA: opti9xx: shut up gcc-10 range warning
- nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl
- dmaengine: dmatest: Fix iteration non-stop logic
- selinux: properly handle multiple messages in selinux_netlink_send()
- ASoC: tas571x: disable regulators on failed probe
- ASoC: wm8960: Fix wrong clock after suspend & resume
- rxrpc: Fix DATA Tx to disable nofrag for UDP on AF_INET6 socket
- xfs: acquire superblock freeze protection on eofblocks scans
- cpumap: Avoid warning when CONFIG_DEBUG_PER_CPU_MAPS is enabled
- net: fec: set GPR bit on suspend by DT configuration.
- ALSA: hda: Keep the controller initialization even if no codecs found
- ALSA: hda: Explicitly permit using autosuspend if runtime PM is supported
- ALSA: hda: call runtime_allow() for all hda controllers
- scsi: qla2xxx: check UNLOADING before posting async work
- RDMA/core: Fix race between destroy and release FD object
- btrfs: transaction: Avoid deadlock due to bad initialization timing of
  fs_info::journal_info
- mmc: sdhci-msm: Enable host capabilities pertains to R1b response
- mmc: meson-mx-sdio: Set MMC_CAP_WAIT_WHILE_BUSY
- mmc: meson-mx-sdio: remove the broken ->card_busy() op

  * Bionic update: upstream stable patchset 2020-05-07 (LP: #1877461)
- ext4: fix extent_status fragmentation for plain files
- net: ipv4: avoid unused variable warning for sysctl
- crypto: mxs-dcp - make symbols 'sha1_null_hash' and 'sha256_null_hash'
  static
- vti4: removed duplicate log message.
- watchdog: reset last_hw_keepalive time at start
- scsi: lpfc: Fix kasan slab-out-of-bounds error in lpfc_unreg_login
- ceph: return ceph_mdsc_do_request() errors from __get_parent()
- ceph: don't skip updating wanted caps when cap is stale
- pwm: rcar: Fix late Runtime PM enablement
- scsi: iscsi: Report unbind session event when the target has been removed
- ASoC: Intel: atom: Take the drv->lock 

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-05-27 Thread Guilherme G. Piccoli
Great news yamato, thanks for testing. I'll mark it as verified.
Thanks once more for the great bug report and all the help provided on testing!

Cheers,


Guilherme

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-05-26 Thread yamato
Guilherme,

I've confirmed the kdump works correctly!

yam@ubuntu18:~$ sudo systemctl status kdump-tools
● kdump-tools.service - Kernel crash dump capture service
   Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor 
preset: enabled)
   Active: active (exited) since Thu 2020-05-28 01:10:15 UTC; 5min ago
  Process: 540 ExecStart=/etc/init.d/kdump-tools start (code=exited, 
status=0/SUCCESS)
 Main PID: 540 (code=exited, status=0/SUCCESS)

May 28 01:10:12 ubuntu18 systemd[1]: Starting Kernel crash dump capture 
service...
May 28 01:10:13 ubuntu18 kdump-tools[540]: Starting kdump-tools:  * Creating 
symlink /var/lib/kdump/vmlinuz
May 28 01:10:13 ubuntu18 kdump-tools[540]:  * Creating symlink 
/var/lib/kdump/initrd.img
May 28 01:10:15 ubuntu18 kdump-tools[540]:  * loaded kdump kernel
May 28 01:10:15 ubuntu18 kdump-tools[764]: loaded kdump kernel
May 28 01:10:15 ubuntu18 systemd[1]: Started Kernel crash dump capture service.
yam@ubuntu18:~$ uname -a
Linux ubuntu18 4.15.0-102-generic #103-Ubuntu SMP Fri May 15 15:22:18 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux
yam@ubuntu18:~$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 18.04.4 LTS
Release:18.04
Codename:   bionic

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-05-25 Thread Guilherme G. Piccoli
Thanks a lot yamato, let us know how it goes =)
Cheers,


Guilherme

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-05-25 Thread yamato
Guilherme,

Sorry for late response, and I haven’t tried it. 
I’ll try it tomorrow and reply soon.

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-05-25 Thread Guilherme G. Piccoli
Hi yamato, did you have an opportunity to test the new package, to check
if that fixes the problem for you?

Thanks in advance,


Guilherme

** Changed in: linux (Ubuntu)
   Status: In Progress => Fix Committed

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-05-19 Thread Guilherme G. Piccoli
Hi yamato, the kernel with the fix was released to -proposed pocket.
Could you give it a try? The instructions to install a proposed kernel
are available at https://wiki.ubuntu.com/Testing/EnableProposed.

The version in -proposed containing the fix for this issue is 4.15.0-102 .
Thanks in advance,


Guilherme

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-05-19 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verification-needed-bionic' to 'verification-failed-
bionic'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-bionic

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-05-12 Thread Khaled El Mously
** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Fix Committed

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-05-01 Thread yamato
Guilherme,

Thanks. I'm looking forward to release the kernel!

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-04-30 Thread Guilherme G. Piccoli
Hi yamato, the kernel release schedule is available at:
kernel.ubuntu.com

You can see the next cycle as the last of the 3 "columns", so the kernel
with this patch should get released to -proposed pocket around May 25th
and to the -updates pocket around Jun 8th, subject to delays due to
security issues/CVEs, that take precedence.

Cheers,


Guilherme

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-04-30 Thread yamato
Guilherme,

Sure. Do you know when the kernel will be released?

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-04-29 Thread Guilherme G. Piccoli
Thank you yamato, for confirming! So, the patch was sent to kernel team
mailing-list, and will be present in next cycle of kernel release -
unfortunately we've lost the current cycle.

Cheers,


Guilherme

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-04-28 Thread yamato
Guilherme,

I tried to use your kernel, and it works!

Now I send you outputs you requested:

$ uname -a
Linux bntutest97 4.15.0-97-generic #98+TEST000v20200423b3-Ubuntu SMP Thu 
Apr 23 22:20:18 UTC 20 x86_64 x86_64 x86_64 GNU/Linux

$ sudo kdump-config show
udo kdump-config show
DUMP_MODE:kdump
USE_KDUMP:1
KDUMP_SYSCTL: kernel.panic_on_oops=1
KDUMP_COREDIR:/var/crash
crashkernel addr: 0x2c00
   /var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinuz-4.15.0-97-generic
kdump initrd:
   /var/lib/kdump/initrd.img: symbolic link to 
/var/lib/kdump/initrd.img-4.15.0-97-generic
current state:ready to kdump

kexec command:
  /sbin/kexec -p -s --command-line="BOOT_IMAGE=/boot/vmlinuz-4.15.0-97-generic 
root=UUID=cddaa45a-b277-465f-9410-3633976f020c ro reset_devices 
systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb 
ata_piix.prefer_ms_hyperv=0" --initrd=/var/lib/kdump/initrd.img 
/var/lib/kdump/vmlinuz

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-04-24 Thread Guilherme G. Piccoli
SRU submitted this morning [0], unfortunately we're not going to make
this cycle, the fix will need to wait for the next cycle.

Cheers,


Guilherme


[0] https://lists.ubuntu.com/archives/kernel-team/2020-April/109324.html

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-04-24 Thread Guilherme G. Piccoli
** No longer affects: makedumpfile (Ubuntu Bionic)

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-04-24 Thread Guilherme G. Piccoli
** Description changed:

- Thank you for reading this report.
- This may caused by bugs in kernel, not in kdump. If so, I will report this to 
kernel team.
- I need your comment to solve this.
+ [Impact]
+ * Kdump kernel can't be loaded using Linux kernel 4.15.0-65 and newer on 
Bionic; kexec fails to load using the "new" kexec_file_load() syscall, showing 
the following messages in dmesg:
  
- [Impact]
- * Kdump kernel can't be loaded using linux kernel 4.15.0-76.
+ kexec: Undefined symbol: __stack_chk_fail
+ kexec-bzImage64: Loading purgatory failed
  
- [Environment]
- Description:Ubuntu 18.04.4 LTS
- Release:18.04
+ * Reason for this was that backport from upstream commit b059f801a937
+ ("x86/purgatory: Use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS")
+ makes use of a config option guard that wasn't backported to Ubuntu
+ 4.15.x series.
  
- uname:
- Linux ubuntu 4.15.0-76-generic #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux
- 
- Secure boot is enabled.
- 
- Versions:
- * kexec-tools/bionic-updates,now 1:2.0.16-1ubuntu1.1
- * kdump-tools/bionic-updates,now 1:1.6.5-1ubuntu1~18.04.4
+ * Also, we found another related issue, an undefined memcpy() symbol,
+ that was related to the above patch too. We propose here a specific fix
+ for Bionic, in the form of the patch attached in comment #18.
  
  [Test case]
- 1)After OS booted, run systemctl status kdump-tools shows these messages 
below:
  
- 
- ● kdump-tools.service - Kernel crash dump capture service
-    Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor 
preset: enabled)
-    Active: active (exited) since Fri 2020-03-27 16:40:31 JST; 5min ago
-   Process: 895 ExecStart=/etc/init.d/kdump-tools start (code=exited, 
status=0/SUCCESS)
-  Main PID: 895 (code=exited, status=0/SUCCESS)
+ * Basically the test consists in booting a signed kernel in a secure
+ boot environment (this is required given Ubuntu kernel is built with
+ CONFIG_KEXEC_VERIFY_SIG so to use kexec_file_load() we must be in a
+ proper signed/secure booted system). It works until 4.15.0-64, and
+ starts to fail after this release, until the current proposed version
+ 4.15.0-97. We can also check kdump-tools service in the failing case,
+ which shows:
  
- Mar 27 16:40:31 ubuntu systemd[1]: Starting Kernel crash dump capture 
service...
- Mar 27 16:40:31 ubuntu kdump-tools[895]: Starting kdump-tools:  * Creating 
symlink /var/lib/kdump/vmlinuz
- Mar 27 16:40:31 ubuntu kdump-tools[895]:  * Creating symlink 
/var/lib/kdump/initrd.img
- Mar 27 16:40:31 ubuntu kdump-tools[895]: kexec_file_load failed: Exec format 
error
- Mar 27 16:40:31 ubuntu kdump-tools[895]:  * failed to load kdump kernel
- Mar 27 16:40:31 ubuntu systemd[1]: Started Kernel crash dump capture service.
- 
+ systemctl status kdump-tools
+ [...]
+ kdump-tools[895]: Starting kdump-tools: * Creating symlink 
/var/lib/kdump/vmlinuz
+ kdump-tools[895]: * Creating symlink /var/lib/kdump/initrd.img
+ kdump-tools[895]: kexec_file_load failed: Exec format error
+ kdump-tools[895]: * failed to load kdump kernel
+ [...]
  
- 2)Run kexec directly:
- $ sudo /sbin/kexec -p --command-line="/boot/vmlinuz-4.15.0-76-generic 
root=UUID=29a89ad8-8923-435e-a88c-aaf5cb379568 ro mce=ignore_ce reset_devices 
systemd.unit=kdump-tools-dump.service nr_cpus=1 irqpoll nousb 
ata_piix.prefer_ms_hyperv=0" --initrd=/boot/initrd.img-4.15.0-76-generic 
/boot/vmlinuz-4.15.0-64-generic
+ * With the patch attached in the LP, it works normally again and I was
+ able to collect a kdump.
  
- Then,these messages are shown:
- Cannot open /proc/kcore: Operation not permitted
- Cannot read /proc/kcore: Operation not permitted
- Cannot load /boot/vmlinuz-4.15.0-76-generic
+ [Regression potential]
  
- On dmesg, these messages are shown:
- 
- [  538.524718] Lockdown: /proc/kcore is restricted; see man kernel_lockdown.7
- 
- 
- 3) Changing OS kernel to older one(I used 4.15.0-64), kdump kernel can
- be loaded.
- 
- $ sudo systemctl status kdump-tools
- ● kdump-tools.service - Kernel crash dump capture service
-    Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor 
preset: enabled)
-    Active: active (exited) since Wed 2020-03-25 13:39:03 JST; 5 days ago
-  Main PID: 832 (code=exited, status=0/SUCCESS)
- Tasks: 0 (limit: 4915)
-    CGroup: /system.slice/kdump-tools.service
- 
- Mar 25 13:39:02 ubuntu systemd[1]: Starting Kernel crash dump capture 
service...
- Mar 25 13:39:02 ubuntu kdump-tools[832]: Starting kdump-tools:  * Creating 
symlink /var/lib/kdump/vmlinuz
- Mar 25 13:39:02 ubuntu kdump-tools[832]:  * Creating symlink 
/var/lib/kdump/initrd.img
- Mar 25 13:39:03 ubuntu kdump-tools[832]:  * loaded kdump kernel
- Mar 25 13:39:03 ubuntu kdump-tools[938]: loaded kdump kernel
- Mar 25 13:39:03 ubuntu systemd[1]: Started Kernel crash dump capture service.
+ * Given the patch is quite simple and fixes the build of purgatory, I
+ think the regression potential is 

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-04-24 Thread Guilherme G. Piccoli
** Patch added: 
"0001-UBUNTU-SAUCE-x86-purgatory-Fix-Makefile-to-prevent-u.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1869672/+attachment/5359499/+files/0001-UBUNTU-SAUCE-x86-purgatory-Fix-Makefile-to-prevent-u.patch

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1869672] Re: Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

2020-04-24 Thread Guilherme G. Piccoli
** Tags added: seg

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

Title:
  Kdump broken since 4.15.0-65 on secureboot - purgatory cannot load

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs