[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 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-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 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-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 kernel can't be loaded using kernel 4.15.0-76

2020-04-23 Thread yamato
Excellent!

Of course I'll try your 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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] Re: kdump kernel can't be loaded using kernel 4.15.0-76

2020-04-15 Thread yamato
Guilherme,

I'm so glad to hear it. Thanks a lot for your effort!

-- 
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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] Re: kdump kernel can't be loaded using kernel 4.15.0-76

2020-04-08 Thread yamato
Guilherme,

Thank you for your support.
Please feel free to tell me what I can do.

-- 
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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] Re: kdump kernel can't be loaded using kernel 4.15.0-76

2020-04-07 Thread yamato
First, I'll send sosreport on kernel 4.15.0-64.

** Attachment added: "sosreport on kernel 4.15.0-64."
   
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1869672/+attachment/5348454/+files/sosreport-advanced-kdumpon64-2020-04-07-mhgdfqe.tar.xz

-- 
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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] Re: kdump kernel can't be loaded using kernel 4.15.0-76

2020-04-07 Thread yamato
I'll send the sosreport on kernel 4.15.0-76.

** Attachment added: "sosreport on kernel 4.15.0-76"
   
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1869672/+attachment/5348455/+files/sosreport-advanced-kdumpon76-2020-04-07-jyfwofm.tar.xz

-- 
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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] Re: kdump kernel can't be loaded using kernel 4.15.0-76

2020-04-07 Thread yamato
Hi Guilherme,

Sure. I'll send my sosreport later.

However, I believe this problem is not related with my hardware because
this problem also occurs 3 different machines.

* Advantec EPC-U2117
* Virtual Machine on VMware ESXi
* UPS-APLX7-A20-0464


I write the procedure to find this problem. 

1. Install 'Ubuntu server 18.04'.

2. Install 'kdump-tools'

$ sudo apt install kdump-tools


3. create key and import

after rebooting, the kdump kernel will enable when the secureboot is disabled.
However, the kdump kernel will blocked regardless of the version of kernel.

So I need to run these commands according to this.
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1840941

$ sudo openssl x509 -outform der -in /etc/ssl/certs/ca-certificates.crt -out 
new-ca.der
$ sudo mokutil --import new-ca.der
Inputing password will be required. 

4. Reboot

After rebooting, MOK management interface will be shown.
Type Enter and select Enroll MOK > Yes, then input the password, then reboot

5. Check whether kdump-tools works or not.

$ sudo systemctl status kdump-tools

Using kernel 4.15.0-64:
● kdump-tools.service - Kernel crash dump capture service
   Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor 
preset: enabled)
   Active: active (exited) since Tue 2020-04-07 17:38:53 UTC; 41s ago
  Process: 878 ExecStart=/etc/init.d/kdump-tools start (code=exited, 
status=0/SUCCESS)
 Main PID: 878 (code=exited, status=0/SUCCESS)

Apr 07 17:38:51 advanced systemd[1]: Starting Kernel crash dump capture 
service...
Apr 07 17:38:52 advanced kdump-tools[878]: Starting kdump-tools:  * Creating 
symlink /var/lib/kdump/vmlinuz
Apr 07 17:38:52 advanced kdump-tools[878]:  * Creating symlink 
/var/lib/kdump/initrd.img
Apr 07 17:38:52 advanced kdump-tools[878]:  * loaded kdump kernel
Apr 07 17:38:52 advanced kdump-tools[1029]: loaded kdump kernel
Apr 07 17:38:53 advanced systemd[1]: Started Kernel crash dump capture service.


Using kernel 4.15.0-76:
● kdump-tools.service - Kernel crash dump capture service
   Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor 
preset: enabled)
   Active: active (exited) since Tue 2020-04-07 16:59:01 UTC; 25min ago
 Main PID: 889 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
   CGroup: /system.slice/kdump-tools.service

Apr 07 16:58:42 advanced systemd[1]: Starting Kernel crash dump capture 
service...
Apr 07 16:58:43 advanced kdump-tools[889]: Starting kdump-tools:  * Creating 
symlink /var/lib/kdump/vmlinuz
Apr 07 16:58:43 advanced kdump-tools[889]: kdump-tools: Generating 
/var/lib/kdump/initrd.img-4.15.0-76-lowlatency
Apr 07 16:59:01 advanced kdump-tools[889]:  * Creating symlink 
/var/lib/kdump/initrd.img
Apr 07 16:59:01 advanced kdump-tools[889]: kexec_file_load failed: Exec format 
error
Apr 07 16:59:01 advanced kdump-tools[889]:  * failed to load kdump kernel
Apr 07 16:59:01 advanced systemd[1]: Started Kernel crash dump capture service.

-- 
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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] Re: kdump kernel can't be loaded using kernel 4.15.0-76

2020-04-07 Thread yamato
By the way, I found the new kernel 4.15.0-96 is available.

I also tried, but the problem won't be fixed

4.15.0-45 -> OK
4.15.0-64 -> OK
* 4.15.0-65 -> NG
* 4.15.0-66 -> NG
* 4.15.0-69 -> NG
* 4.15.0-70 -> NG
* 4.15.0-72 -> NG
* 4.15.0-74 -> NG
4.15.0-76 -> NG
4.15.0-88 -> NG
4.15.0-91 -> NG
** 4.15.0-96 -> NG

4.18.0-15 -> OK

-- 
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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] Re: kdump kernel can't be loaded using kernel 4.15.0-76

2020-04-05 Thread yamato
Guilherme,

> can you test the in-between kernel versions, so we can narrow down
when the problem was introduced?

Of course!
I have tesed each kernels. Please check the result. It seems that the problem 
occurs from 4.15.0-65.

4.15.0-45 -> OK
4.15.0-64 -> OK
* 4.15.0-65 -> NG
* 4.15.0-66 -> NG
* 4.15.0-69 -> NG
* 4.15.0-70 -> NG
* 4.15.0-72 -> NG
* 4.15.0-74 -> NG
4.15.0-76 -> NG
4.15.0-88 -> NG
4.15.0-91 -> NG

4.18.0-15 -> OK

-- 
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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] Re: kdump kernel can't be loaded using kernel 4.15.0-76

2020-04-01 Thread yamato
Guilherme,,

Thank you for your reply!

> Does your system have secureboot enabled?
Yes. 
I confirmed kdump works without secureboot, but we need it.

> Also, can you test in a recent kernel, like 4.15.0-91?

Yes, I also tried to use 4.15.0-91 and the other.

The results:

4.15.0-45 -> OK
4.15.0-64 -> OK
4.15.0-76 -> NG
4.15.0-88 -> NG
4.15.0-91 -> NG

4.18.0-15 -> OK

-- 
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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] Re: kdump kernel can't be loaded using kernel 4.15.0-76

2020-03-31 Thread yamato
** 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-76.
  
  [Environment]
  Description:Ubuntu 18.04.4 LTS
  Release:18.04
  
  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
  
  [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)
  
  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.
  
  
  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
  
  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
  
  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 ctrl-edgen systemd[1]: Starting Kernel crash dump capture 
service...
- Mar 25 13:39:02 ctrl-edgen kdump-tools[832]: Starting kdump-tools:  * 
Creating symlink /var/lib/kdump/vmlinuz
- Mar 25 13:39:02 ctrl-edgen kdump-tools[832]:  * Creating symlink 
/var/lib/kdump/initrd.img
- Mar 25 13:39:03 ctrl-edgen kdump-tools[832]:  * loaded kdump kernel
- Mar 25 13:39:03 ctrl-edgen kdump-tools[938]: loaded kdump kernel
- Mar 25 13:39:03 ctrl-edgen systemd[1]: Started Kernel crash dump capture 
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.

-- 
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 kernel can't be loaded using kernel 4.15.0-76

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

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

[Bug 1869672] [NEW] kdump kernel can't be loaded using kernel 4.15.0-76

2020-03-30 Thread yamato
Public bug reported:

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-76.

[Environment]
Description:Ubuntu 18.04.4 LTS
Release:18.04

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

[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)

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.


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

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

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 ctrl-edgen systemd[1]: Starting Kernel crash dump capture 
service...
Mar 25 13:39:02 ctrl-edgen kdump-tools[832]: Starting kdump-tools:  * Creating 
symlink /var/lib/kdump/vmlinuz
Mar 25 13:39:02 ctrl-edgen kdump-tools[832]:  * Creating symlink 
/var/lib/kdump/initrd.img
Mar 25 13:39:03 ctrl-edgen kdump-tools[832]:  * loaded kdump kernel
Mar 25 13:39:03 ctrl-edgen kdump-tools[938]: loaded kdump kernel
Mar 25 13:39:03 ctrl-edgen systemd[1]: Started Kernel crash dump capture 
service.

** Affects: makedumpfile (Ubuntu)
 Importance: Undecided
 Status: New

** 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-76.
  
  [Environment]
  Description:Ubuntu 18.04.4 LTS
  Release:18.04
  
  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
+ 
  [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)
+    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)
  
  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 

[Bug 1101636] Re: LICENSE.aic94xx-seq in linux-firmware - is this firmware distributable?

2019-09-24 Thread yamato
I found the Adaptec license in "copyright" file.
I suppose this issue occured again, right?

http://changelogs.ubuntu.com/changelogs/pool/main/l/linux-firmware
/linux-firmware_1.173.9/copyright

I have reported this.
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1844471

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

Title:
  LICENSE.aic94xx-seq in linux-firmware - is this firmware
  distributable?

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

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

[Bug 1844471] Re: License issue: license prohibits distribution

2019-09-17 Thread yamato
** Description changed:

  I found the license of "linux-firmware" prohibits distribution.
  I want distributable "linux-firmware" because Ubuntu needs this package and I 
want to distribute Ubuntu.
  
  .deb package of "linux-firmware" has "copyright" file in
  data.tar.xz/usr/share/doc/linux-firmware/
  
+ You can also get the file at
+ http://changelogs.ubuntu.com/changelogs/pool/main/l/linux-firmware
+ /linux-firmware_1.173.9/copyright
  
  I quote related sentences below:
  --
  2. Restrictions. This Software contains trade secrets and in order
-to protect them you may not: (1) distribute copies of the Software
-in any manner, including, but not limited to, distribution through
-web site posting;
+    to protect them you may not: (1) distribute copies of the Software
+    in any manner, including, but not limited to, distribution through
+    web site posting;
  --
  
  "linux-firmware" package is included into Ubuntu installer image(iso)
  file and distributed.
  
  I also found related bug report.
- According to the report, the Adaptec's software was removed. 
+ According to the report, the Adaptec's software was removed.
  
  https://bugs.launchpad.net/bugs/1101636

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

Title:
  License issue: license prohibits distribution

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

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

[Bug 1844471] [NEW] License issue: license prohibits distribution

2019-09-17 Thread yamato
Public bug reported:

I found the license of "linux-firmware" prohibits distribution.
I want distributable "linux-firmware" because Ubuntu needs this package and I 
want to distribute Ubuntu.

.deb package of "linux-firmware" has "copyright" file in
data.tar.xz/usr/share/doc/linux-firmware/


I quote related sentences below:
--
2. Restrictions. This Software contains trade secrets and in order
   to protect them you may not: (1) distribute copies of the Software
   in any manner, including, but not limited to, distribution through
   web site posting;
--

"linux-firmware" package is included into Ubuntu installer image(iso)
file and distributed.

I also found related bug report.
According to the report, the Adaptec's software was removed. 

https://bugs.launchpad.net/bugs/1101636

** Affects: linux-firmware (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  License issue: license prohibits distribution

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

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

[Bug 1648183] Re: Crackling and popping sound when using headphones

2017-04-26 Thread Yamato Reed
I've managed to fix partially the problem or at least I can narrow it
down. So , if I override all my other audio lines via hdajackretask
module and only enable the headphone one, the sound is perfect. What
happens though when I turn back on the line for the Internal speakers ,
it goes back to crackling and popping in the internal speakers and
headphones. So basically this allows the user to use EITHER internal
speakers OR headphones , NOT both.

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

Title:
  Crackling and popping sound when using headphones

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1648183/+subscriptions

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