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

2019-05-29 Thread Steven Tang
Public bug reported: We have a few 2010 mac pro running 1604 LTS that are just upgraded to Ubuntu 1804 LTS. While they all worked fine with the 1604 LTS and 4.4 kernel, they can no longer boot with the 4.15.0-50 kernel installed with 1804. We tried various kernel flags without luck, and

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

[Kernel-packages] [Bug 1830951] ProcEnviron.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "ProcEnviron.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267466/+files/ProcEnviron.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] ProcModules.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "ProcModules.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267468/+files/ProcModules.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] PulseList.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "PulseList.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267469/+files/PulseList.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: "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: "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: "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] CurrentDmesg.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "CurrentDmesg.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267460/+files/CurrentDmesg.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: "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] Lsusb.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "Lsusb.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267463/+files/Lsusb.txt -- 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

[Kernel-packages] [Bug 1830951] Lspci.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "Lspci.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267462/+files/Lspci.txt -- 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

[Kernel-packages] [Bug 1830951] CRDA.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "CRDA.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267459/+files/CRDA.txt -- 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

[Kernel-packages] [Bug 1830951] AlsaInfo.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "AlsaInfo.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267458/+files/AlsaInfo.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] IwConfig.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "IwConfig.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267461/+files/IwConfig.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] ProcCpuinfo.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "ProcCpuinfo.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267464/+files/ProcCpuinfo.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] ProcCpuinfoMinimal.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "ProcCpuinfoMinimal.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267465/+files/ProcCpuinfoMinimal.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] ProcInterrupts.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "ProcInterrupts.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267467/+files/ProcInterrupts.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] WifiSyslog.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "WifiSyslog.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267472/+files/WifiSyslog.txt ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages,

[Kernel-packages] [Bug 1830951] RfKill.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "RfKill.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267470/+files/RfKill.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] UdevDb.txt

2019-05-29 Thread Steven Tang
apport information ** Attachment added: "UdevDb.txt" https://bugs.launchpad.net/bugs/1830951/+attachment/5267471/+files/UdevDb.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-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-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-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