On 01/15/2019 09:26 AM, Thadeu Lima de Souza Cascardo wrote:
> Upstream is a little reluctant to accept my changes, and seems to
> suggest that we find out the layout of the paths some other way (which
> is possible, but would be such a special case on initramfs-tools, only
> for nvme).
>
> Cascardo.
>
Hmm, I am really sorry about that - sux to do all that work and get that
kind of response.
So making the suggested changes seems like real work to me. Do you have
a rough estimate?
Terry
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1778844
Title:
nvme multipath does not report path relationships
Status in The Ubuntu-power-systems project:
In Progress
Status in initramfs-tools package in Ubuntu:
Confirmed
Status in linux package in Ubuntu:
Confirmed
Status in makedumpfile package in Ubuntu:
Invalid
Status in initramfs-tools source package in Bionic:
Confirmed
Status in linux source package in Bionic:
Confirmed
Status in makedumpfile source package in Bionic:
Invalid
Status in initramfs-tools source package in Cosmic:
Confirmed
Status in linux source package in Cosmic:
Confirmed
Status in makedumpfile source package in Cosmic:
Invalid
Bug description:
Problem Description:
===
After triggering crash ,kdump is not working & system enters into initramfs
state
Steps to re-create:
==
>. woo is installed ubuntu180401 kernel
root@woo:~# uname -a
Linux woo 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 17:59:00 UTC 2018
ppc64le ppc64le ppc64le GNU/Linux
root@woo:~#
>. Crashkernel value as below
root@woo:~# free -h
totalusedfree shared buff/cache
available
Mem: 503G2.0G501G 13M279M
499G
Swap: 2.0G 0B2.0G
root@woo:~# cat /proc/cmdline
root=UUID=45bb7eb2-4c61-425d-8bf9-4e6f16829ddb ro splash quiet
crashkernel=8192M
> kdump status
root@woo:~# kdump-config status
current state : ready to kdump
root@woo:~# kdump-config show
DUMP_MODE:kdump
USE_KDUMP:1
KDUMP_SYSCTL: kernel.panic_on_oops=1
KDUMP_COREDIR:/var/crash
crashkernel addr:
/var/lib/kdump/vmlinuz: symbolic link to /boot/vmlinux-4.15.0-23-generic
kdump initrd:
/var/lib/kdump/initrd.img: symbolic link to
/var/lib/kdump/initrd.img-4.15.0-23-generic
current state:ready to kdump
kexec command:
/sbin/kexec -p
--command-line="root=UUID=45bb7eb2-4c61-425d-8bf9-4e6f16829ddb ro splash quiet
nr_cpus=1 systemd.unit=kdump-tools.service irqpoll noirqdistrib nousb"
--initrd=/var/lib/kdump/initrd.img /var/lib/kdump/vmlinuz
root@woo:~# dmesg | grep Reser
[0.00] Reserving 8192MB of memory at 128MB for crashkernel (System
RAM: 524288MB)
[0.00] cma: Reserved 26224 MiB at 0x20399500
[3.545490] Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The
term "Broadcom" refers to Broadcom Limited and/or its subsidiaries.
> Triggered crash
root@woo:~# echo 1 > /proc/sys/kernel/sysrq
root@woo:~# echo c > /proc/sysrq-trigger
[ 73.056308] sysrq: SysRq : Trigger a crash
[ 73.056357] Unable to handle kernel paging request for data at address
0x
[ 73.056459] Faulting instruction address: 0xc07f24c8
[ 73.056543] Oops: Kernel access of bad area, sig: 11 [#1]
[ 73.056609] LE SMP NR_CPUS=2048 NUMA PowerNV
[ 73.056668] Modules linked in: rdma_ucm(OE) ib_ucm(OE) rdma_cm(OE)
iw_cm(OE) ib_ipoib(OE) ib_cm(OE) ib_uverbs(OE) ib_umad(OE) esp6_offload esp6
esp4_offload esp4 xfrm_algo mlx5_fpga_tools(OE) mlx4_en(OE) mlx4_ib(OE)
mlx4_core(OE) rpcsec_gss_krb5 nfsv4 nfs fscache binfmt_misc idt_89hpesx
vmx_crypto crct10dif_vpmsum ofpart cmdlinepart ipmi_powernv ipmi_devintf at24
powernv_flash ipmi_msghandler ibmpowernv mtd opal_prd uio_pdrv_genirq uio nfsd
auth_rpcgss nfs_acl lockd sch_fq_codel grace sunrpc knem(OE) ip_tables x_tables
autofs4 btrfs xor zstd_compress raid6_pq mlx5_ib(OE) ib_core(OE) nouveau lpfc
ast i2c_algo_bit ttm mlx5_core(OE) drm_kms_helper mlxfw(OE) nvmet_fc devlink
syscopyarea nvmet mlx_compat(OE) sysfillrect cxl nvme_fc sysimgblt fb_sys_fops
nvme_fabrics nvme ahci crc32c_vpmsum drm scsi_transport_fc
[ 73.057601] tg3 libahci nvme_core pnv_php
[ 73.057652] CPU: 44 PID: 4626 Comm: bash Tainted: G OE
4.15.0-23-generic #25-Ubuntu
[ 73.057767] NIP: c07f24c8 LR: c07f3568 CTR:
c07f24a0
[ 73.057868] REGS: c03f8269f9f0 TRAP: 0300 Tainted: G OE
(4.15.0-23-generic)
[ 73.057986] MSR: 90009033 CR: 2822
XER: 2004
[ 73.058099] CFAR: c07f3564 DAR: DSISR: 4200
SOFTE: 1
[ 73.058099] GPR00: c07f3568 c03f8269fc70 c16eaf00
0063