[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-06-14 Thread Kai-Heng Feng
This can be a good start: https://www.kernel.org/doc/html/latest/process/submitting-patches.html -- 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/1830951 Title: kernel panic: stack

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-06-11 Thread Steven Tang
Hi Kai-Heng, Indeed, it should be <=1, btw, do you want me to follow the kernel dev process to send the patch to upstream maintainer, or do you want a patch uploaded here? I'm unfamiliar with the process, but I think I can find out if there isn't any guidelines. Thanks, Steven -- You

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-06-11 Thread Kai-Heng Feng
Hi Steven, I've checked the code and I think you are right, the case doesn't get handled. It should abort when there's no name. a) Will you upstream the patch with proper commit message? b) I think it should be "if (limit <= 1)" since it's a NULL terminated string. -- You received this bug

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-06-10 Thread Steven Tang
@cypressyew, I cannot have proof that the same issue occurred with v5.2 rc2 from your link, as the kernel does not respond to earlyprintk=efi, but it died pretty much the same way, and no logs were produced. As I mentioned earlier, the fix in efi.c is a clear indication of a bug in the kernel

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-06-10 Thread Po-Hsu Lin
Status change as per request in comment #25 ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- 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/1830951 Title: kernel

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-06-04 Thread Kai-Heng Feng
Please test latest mainline kernel: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2-rc2/ If mainline kernel doesn't fix the issue, we need to do a kernel bisection between v4.4 and v4.15. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-05-30 Thread Steven Tang
I recompiled the 4.18.0-20-general kernel and made the following changes, and things start to work. 258c258,261 < --- > if (limit < 1) { > pr_err("efi: Invalid name size %ld/%d.\n", name_size, limit); > return 0; > } Logs proving the fix worked: [

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-05-29 Thread Steven Tang
** Attachment added: "lspci-vvnn" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830951/+attachment/5267456/+files/lspci-vvnn.log -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-05-29 Thread Steven Tang
** Attachment added: "version captured with kernel 4.4" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830951/+attachment/5267454/+files/version.log -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-05-29 Thread Steven Tang
We cannot find any logs in var/log related to the failed boots, tried grepping the kernel version, journalctl --list-boots ** Attachment added: "dmesg after booted with 4.4" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830951/+attachment/5267457/+files/dmesg.log ** Tags added:

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-05-29 Thread Steven Tang
** Attachment added: "uname-a" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830951/+attachment/5267455/+files/uname-a.log -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-05-29 Thread Steven Tang
** Attachment added: "Boot-info output" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830951/+attachment/5267453/+files/Boot-Info_20190529_1257.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1830951] Re: kernel panic: stack corrupted in efivar_ssdt_iter+0xd3/0xe8

2019-05-29 Thread Steven Tang
** Attachment added: "screen capture of the kernel panic backtrace" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830951/+attachment/5267449/+files/IMG_0004.JPG ** Attachment removed: "boot-info output"