Ubuntu 18.04 [ Garrison P8 ]: Machine crashes with oops while booting with 4.15.0-22-generic kernel.

Bug #1773973 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
New
Critical
Canonical Kernel Team
debian-installer (Ubuntu)
New
Undecided
Ubuntu on IBM Power Systems Bug Triage
Bionic
New
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Critical
Joseph Salisbury
Bionic
Incomplete
Critical
Joseph Salisbury

Bug Description

---Problem Description---

Ubuntu 18.04 [ Garrison P8 ]: Machine crashes with oops while booting with 4.15.0-22-generic kernel.

---Environment--
Kernel Build: 4.15.0-22-generic
System Name : ltc-garri1
Model/Type : P8
Platform : BML

---Uname output---

Unable to boot.

---Steps to reproduce--

1. Install Ubuntu 18.04 on Garison BML from http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/ and try to boot.

---Logs----

Attaching console lob.

[ 4.578205] Bad kernel stack pointer 7ffffb0dd870 at c00000000000b9ec
[ 4.578244] Oops: Bad kernel stack pointer, sig: 6 [#11]
[ 4.578271] LE SMP NR_CPUS=2048 NUMA PowerNV
[ 4.578301] Modules linked in:
[ 4.578324] CPU: 27 PID: 1225 Comm: modprobe Tainted: G D 4.15.0-22-generic #24-Ubuntu
[ 4.578371] NIP: c00000000000b9ec LR: 0000000000000000 CTR: 0000000000000000
[ 4.578413] REGS: c00000003febbd40 TRAP: 0300 Tainted: G D (4.15.0-22-generic)
[ 4.578460] MSR: 9000000000001031 <SF,HV,ME,IR,DR,LE> CR: 00000000 XER: 00000000
[ 4.578504] CFAR: c00000000000b934 DAR: 000000000002b200 DSISR: 40000000 SOFTE: -4611686018403131680
[ 4.578504] GPR00: 0000000000000000 00007ffffb0dd870 0000000000000000 0000000000000000
[ 4.578504] GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 4.578504] GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 4.578504] GPR12: 000075dcd8781700 000000000002b200 0000000000000000 0000000000000000
[ 4.578504] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 4.578504] GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 4.578504] GPR24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 4.578504] GPR28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 4.615667] NIP [c00000000000b9ec] fast_exception_return+0x9c/0x184
[ 4.616210] LR [0000000000000000] (null)
[ 4.616237] Call Trace:
[ 4.616768] Instruction dump:
[ 4.616789] e84101a0 7c4ff120 e8410170 7c5a03a6 e8010070 e8410080 e8610088 e8810090
[ 4.617697] e8210078 7db243a6 7db142a6 7c0004ac <e9ad0000> 63ff0000 7db242a6 63ff0000
[ 4.618195] ---[ end trace a0d70ba94f583cca ]---
[ 4.675899] usb 1-3.3: new high-speed USB device number 5 using xhci_hcd
[ 4.782923]
[ 4.783061] Key type encrypted registered
[ 4.783087] AppArmor: AppArmor sha1 policy hashing enabled
[ 4.783117] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 4.783181] evm: HMAC attrs: 0x1
[ 4.806062] rtc-opal opal-rtc: setting system clock to 2018-05-29 07:49:29 UTC (1527580169)
[ 4.806350] integrity: Unable to open file: /etc/keys/x509_ima.der (-2)
[ 4.806353] integrity: Unable to open file: /etc/keys/x509_evm.der (-2)
[ 4.807260] Freeing unused kernel memory: 4800K
[ 4.807321] This architecture does not have kernel memory protection.

== Comment: #2 - SEETEENA THOUFEEK <email address hidden> - 2018-05-29 06:47:06 ==
Symptoms looks exactly like
.
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1691978
.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1656908

Revision history for this message
bugproxy (bugproxy) wrote : console log

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-168329 severity-critical targetmilestone-inin---
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → debian-installer (Ubuntu)
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
importance: Undecided → Critical
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Revision history for this message
Steve Langasek (vorlon) wrote :

this is a kernel crash; unassigning the Foundations Team.

Changed in ubuntu-power-systems:
assignee: Canonical Foundations Team (canonical-foundations) → nobody
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
assignee: nobody → Canonical Kernel Team (canonical-kernel-team)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start with the 4.15.0-22 kernel? Was there a prior 4.15 based kernel that did not exhibit this bug?

Could you also see if this bug happens with the Bionic -proposed or mainline kernel:

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

Mainline can be downloaded from:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc7/

tags: added: kernel-da-key
Changed in linux (Ubuntu):
assignee: nobody → Joseph Salisbury (jsalisbury)
importance: Undecided → Critical
status: New → Confirmed
Changed in linux (Ubuntu Bionic):
importance: Undecided → Critical
status: New → Incomplete
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Breno Leitão (breno-leitao) wrote :

I think this is a clone of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1773162. Can someone please test with the following kernel?

http://kernel.ubuntu.com/~jsalisbury/lp1773162

Changed in linux (Ubuntu Bionic):
assignee: nobody → Joseph Salisbury (jsalisbury)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-05-30 01:55 EDT-------
(In reply to comment #8)
> Did this issue start with the 4.15.0-22 kernel? Was there a prior 4.15
> based kernel that did not exhibit this bug?
>
> Could you also see if this bug happens with the Bionic -proposed or mainline
> kernel:
>
> See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
> enable and use -proposed.
>
> Mainline can be downloaded from:
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc7/

Tested with given kernels below is the summary.

4.15.0-20-generic -> System boots
4.15.0-22-generic -> System fails to boots with oops
4.15.0-23-generic -> System fails to boots with oops
4.15.0-23-generic #26~lp1773162 -> System boots

Thanks,
Pavithra

Revision history for this message
Dmitriy (damageinboxru) wrote :

That's may be interesting to this ticket.

If one use Ubuntu LIVECD which has linux kernel version 4.15.0-20.21-generic 4.15.17, than the current issue boot errors doesn't appear in console log and operating system boots fine.

Revision history for this message
Dmitriy (damageinboxru) wrote :

Short comparison -

Ubuntu 18.04 LTS LIVECD - kernel version Ubuntu 4.15.0-20.21-generic 4.15.17 - boots fine, without current issue errors

Ubuntu 18.04 LTS NetInstall - kernel version Ubuntu 4.15.0-22.24-generic 4.15.17 - has errors in console log like metioned above in this issue ("Bad kernel stack pointer", stack_trace with fast_exception_return, etc.).

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Per testing performed in comment #5, this appears to be a duplicate of bug 1773162.

bugproxy (bugproxy)
tags: added: targetmilestone-inin1804
removed: targetmilestone-inin---
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-06-13 21:19 EDT-------
Pavithra: can you please validate and close this bug if below test kernel works, posted by Canonical.

>>>>>>>>>>>>>
Joseph Salisbury (jsalisbury) wrote on 2018-05-24: #24

I built a test kernel with a revert of 06f7e3d39 and a new backport of a048a07d7f4. The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1773162

Can you test this kernel and see if it resolves this bug?

Note about installing test kernels:
? If the test kernel is prior to 4.15(Bionic) you need to install the linux-image and linux-image-extra .deb packages.
? If the test kernel is 4.15(Bionic) or newer, you need to install the linux-modules, linux-modules-extra and linux-image-unsigned .deb packages.

Thanks in advance!
>>>>>>>>>>>>>

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-07-04 19:32 EDT-------
Please pass below boot parameter while you install 18.04 from proposed repo.

"apt-setup/proposed=true"

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-07-27 06:26 EDT-------
Issue is resolved with latest -29 kernel.

Thanks,
Pavithra

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.