reboot crash in qla2x00_shutdown()

Bug #1866319 reported by Taihsiang Ho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
Invalid
Undecided
Unassigned
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

focal daily live iso (200227)
d06

[Steps to Reproduce]
1. Download the daily live iso over http://www.cdimage.ubuntu.com/ubuntu-server/daily-live/20200227/focal-live-server-arm64.iso and boot from the iso
2. Boot into the installation process by selecting "Install Ubuntu Server"
3. Follow the subiquity instruction and update subiquity at the very beginning of the installation[1]
4. Follow the subiquity instruction to complete the installation on reboot.

[1] If you don't update it, it will be this bug LP: #1866318 . Prompt of subiquity installation

    Version 19.12.2+git49.436ee1d7 of the installer is now available (19.10.2 is currently running).

[Expected Result]
The system reboots and get ready to use.

[Actual Result]

The system hangs on reboot. Show some of the messages:

[FAILED] Failed unmounting /cdrom.

[ 790.782440] Hardware name: Huawei D06 /D06, BIOS Hisilicon D06 UEFI RC0 - V1.20.01 04/26/2019
[ 790.790955] pstate: 60400009 (nZCv daif +PAN -UAO)
[ 790.795747] pc : __free_pages+0x28/0x68
[ 790.799578] lr : __iommu_dma_free_pages+0x38/0x58
[ 790.804271] sp : ffff000011eabb00
[ 790.807575] x29: ffff000011eabb00 x28: ffff803f7abf8ec0
[ 790.812878] x27: 0000000000000000 x26: ffff8a3f7b88e130
[ 790.818180] x25: ffff000011156100 x24: ffff000010e10908
[ 790.823481] x23: 0000000000000000 x22: ffff803f515ebc80
[ 790.828783] x21: 0000000000000010 x20: 0000000000000000
[ 790.834084] x19: 0000000000000000 x18: 0000000000000010
[ 790.839386] x17: 000000008158135c x16: 00000000db594df8
[ 790.844688] x15: ffff803f7abf93e8 x14: ffffffffffffffff
[ 790.849989] x13: ffff000091eab827 x12: ffff000011eab82f
[ 790.855291] x11: ffff0000118ef000 x10: 0000000000000000
[ 790.860592] x9 : ffff000011ae9000 x8 : 00000000000007ad
[ 790.865894] x7 : 0000000000000017 x6 : ffff000011ae8995
[ 790.871196] x5 : 0000000000000007 x4 : 00000000ffffffff
[ 790.876497] x3 : ffff000011ae8930 x2 : 00000000ffffffff
[ 790.881798] x1 : 0000000000000034 x0 : 00000000ffffffff
[ 790.887101] Call trace:
[ 790.889540] __free_pages+0x28/0x68
[ 790.893020] __iommu_dma_free_pages+0x38/0x58
[ 790.897366] __iommu_dma_free+0xb8/0xf8
[ 790.901192] iommu_dma_free+0x48/0x58
[ 790.904848] dma_free_attrs+0xd4/0xf0
[ 790.908546] qla2x00_free_fw_dump+0x58/0xb8 [qla2xxx]
[ 790.913616] qla2x00_shutdown+0xd4/0x160 [qla2xxx]
[ 790.918402] pci_device_shutdown+0x44/0x88
[ 790.922494] device_shutdown+0x134/0x240
[ 790.926414] kernel_restart_prepare+0x44/0x50
[ 790.930761] kernel_restart+0x20/0x68
[ 790.934414] __do_sys_reboot+0x100/0x228
[ 790.938327] __arm64_sys_reboot+0x2c/0x38
[ 790.942328] el0_svc_common.constprop.0+0xdc/0x1d8
[ 790.947109] el0_svc_handler+0x34/0x90
[ 790.950847] el0_svc+0x10/0x14
[ 790.953898] Code: d503201f 9100d261 52800020 4b0003e0 (b8e0003e)
[ 790.960151] ---[ end trace 37539b75957dd46c ]---
[ 790.970536] Unable to handle kernel paging request at virtual address ffff000010075034
[ 790.978440] Mem abort info:
[ 790.981223] ESR = 0x96000061
[ 790.984267] Exception class = DABT (current EL), IL = 32 bits
[ 790.990175] SET = 0, FnV = 0
[ 790.993218] EA = 0, S1PTW = 0
[ 790.996347] Data abort info:
[ 790.999217] ISV = 0, ISS = 0x00000061
[ 791.003041] CM = 0, WnR = 1
[ 791.005999] swapper pgtable: 4k pages, 48-bit VAs, pgdp=000000000125b000
[ 791.012689] [ffff000010075034] pgd=00000a5ffffff003, pud=00000a5fffffe003, pmd=00000a5fffffd003, pte=00e8000094110703
[ 850.657602] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 850.663528] rcu: 61-...0: (7 ticks this GP) idle=33a/1/0x4000000000000000 softirq=5287/5287 fqs=5638
[ 850.672833] (detected by 3, t=15005 jiffies, g=81461, q=101)
[ 850.678569] Task dump for CPU 61:
[ 850.681872] shutdown R running task 0 1 0 0x0000002a
[ 850.688909] Call trace:
[ 850.691347] __switch_to+0xe4/0x148
[ 850.694823] 0x25

Tags: tairadar
Taihsiang Ho (tai271828)
description: updated
Revision history for this message
Taihsiang Ho (tai271828) wrote :

This bug is not able to reproduce with focal beta image.

Revision history for this message
dann frazier (dannf) wrote :

Definitely looks like a kernel bug, assigning to linux. @Tai: do you have the version of the kernel that this version of the installer was running?

summary: - [focal] fail to reboot when installing focal daily live iso (200227)
+ reboot crash in qla2x00_shutdown()
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1866319

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Taihsiang Ho (tai271828) wrote :

@Dann the ephemeral installer environment was running
    5.3.0-18-generic #19-Ubuntu SMP Tue Oct 8 20:14:34 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
from the daily-live iso (200227 build)

Revision history for this message
Taihsiang Ho (tai271828) wrote :

@Dann Besides, I did not note which d06 I used, and I believe I did not use the production ones. Let me use the beta iso to run again on the production one.

Revision history for this message
Taihsiang Ho (tai271828) wrote :

I did not reproduce this issue with focal beta iso on scobee. The ephemeral installer environment of focal beta live iso was running 5.4.0-21.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I don't think this was ever a bug in subiquity.

Changed in subiquity:
status: New → Fix Released
status: Fix Released → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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