Regarding comment#1, I could only reproduce this issue on saenger[1] with 5.0.0-23 kernel. For segers[2] and scobee[3], I did not manage to reproduce.
[1] saenger (DMI: Huawei XA320 V2 /BC82HPNB, BIOS 0.95 08/15/2019) (initramfs) cat /proc/version /proc/cmdline Linux version 5.0.0-23-generic (buildd@bos02-arm64-055) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #24~18.04.1-Ubuntu SMP Mon Jul 29 16:10:24 UTC 2019 BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=835de629-96b1-4857-9181-8274f692e799 ro sysrq_always_enabled cpumax=15 nr_cpus=15 break
[2] segers (DMI: Huawei XA320 V2 /BC82HPNB, BIOS 0.95 08/15/2019) (initramfs) cat /proc/version /proc/cmdline Linux version 5.0.0-23-generic (buildd@bos02-arm64-055) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #24~18.04.1-Ubuntu SMP Mon Jul 29 16:10:24 UTC 2019 BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=e70c736e-0fc9-4459-9e23-d18d2fafb1bb ro sysrq_always_enabled cpumax=15 nr_cpus=15 break (initramfs) rmmod hisi_sas_v3_hw [ 245.645314] sd 7:0:0:0: [sda] Synchronizing SCSI cache [ 245.650527] sd 7:0:0:0: [sda] Stopping disk [ 245.820682] hisi_sas_v3_hw 0000:b4:04.0: dev[1:5] is gone [ 245.827193] sd 7:0:1:0: [sdb] Synchronizing SCSI cache [ 245.832395] sd 7:0:1:0: [sdb] Stopping disk [ 245.988757] hisi_sas_v3_hw 0000:b4:04.0: dev[2:5] is gone
[3] scobee (initramfs) cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=e6b10f77-e7aa-431c-9711-aa68f3db5621 ro sysrq_always_enabled cpumax=15 nr_cpus=15 break (initramfs) cat /proc/version /proc/cmdline Linux version 5.0.0-23-generic (buildd@bos02-arm64-055) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #24~18.04.1-Ubuntu SMP Mon Jul 29 16:10:24 UTC 2019 BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=e6b10f77-e7aa-431c-9711-aa68f3db5621 ro sysrq_always_enabled cpumax=15 nr_cpus=15 break (initramfs) modprobe -r hisi_sas_v3_hw [ 51.431030] sas: Expander phys DID NOT change [ 51.437067] sas: Expander phys DID NOT change [ 51.443175] sas: Expander phys DID NOT change [ 51.449181] sas: Expander phys DID NOT change [ 51.455268] sas: Expander phys DID NOT change [ 51.461362] sas: Expander phys DID NOT change [ 51.467443] sas: Expander phys DID NOT change [ 51.472268] hisi_sas_v3_hw 0000:74:02.0: dev[4:1] is gone [ 51.478122] sd 2:0:1:0: [sdb] Synchronizing SCSI cache [ 51.488760] sd 2:0:1:0: [sdb] Stopping disk [ 52.025933] hisi_sas_v3_hw 0000:74:02.0: dev[3:5] is gone [ 52.031877] sd 2:0:0:0: [sda] Synchronizing SCSI cache [ 52.045136] sd 2:0:0:0: [sda] Stopping disk [ 52.626005] hisi_sas_v3_hw 0000:74:02.0: dev[2:5] is gone [ 52.632599] hisi_sas_v3_hw 0000:74:02.0: dev[1:2] is gone
Regarding comment#1, I could only reproduce this issue on saenger[1] with 5.0.0-23 kernel. For segers[2] and scobee[3], I did not manage to reproduce.
[1] saenger (DMI: Huawei XA320 V2 /BC82HPNB, BIOS 0.95 08/15/2019) bos02-arm64- 055) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~ 18.04.1) ) #24~18.04.1-Ubuntu SMP Mon Jul 29 16:10:24 UTC 2019 IMAGE=/ boot/vmlinuz- 5.0.0-23- generic root=UUID= 835de629- 96b1-4857- 9181-8274f692e7 99 ro sysrq_always_ enabled cpumax=15 nr_cpus=15 break
(initramfs) cat /proc/version /proc/cmdline
Linux version 5.0.0-23-generic (buildd@
BOOT_
[2] segers (DMI: Huawei XA320 V2 /BC82HPNB, BIOS 0.95 08/15/2019) bos02-arm64- 055) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~ 18.04.1) ) #24~18.04.1-Ubuntu SMP Mon Jul 29 16:10:24 UTC 2019 IMAGE=/ boot/vmlinuz- 5.0.0-23- generic root=UUID= e70c736e- 0fc9-4459- 9e23-d18d2fafb1 bb ro sysrq_always_ enabled cpumax=15 nr_cpus=15 break
(initramfs) cat /proc/version /proc/cmdline
Linux version 5.0.0-23-generic (buildd@
BOOT_
(initramfs) rmmod hisi_sas_v3_hw
[ 245.645314] sd 7:0:0:0: [sda] Synchronizing SCSI cache
[ 245.650527] sd 7:0:0:0: [sda] Stopping disk
[ 245.820682] hisi_sas_v3_hw 0000:b4:04.0: dev[1:5] is gone
[ 245.827193] sd 7:0:1:0: [sdb] Synchronizing SCSI cache
[ 245.832395] sd 7:0:1:0: [sdb] Stopping disk
[ 245.988757] hisi_sas_v3_hw 0000:b4:04.0: dev[2:5] is gone
[3] scobee IMAGE=/ boot/vmlinuz- 5.0.0-23- generic root=UUID= e6b10f77- e7aa-431c- 9711-aa68f3db56 21 ro sysrq_always_ enabled cpumax=15 nr_cpus=15 break bos02-arm64- 055) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~ 18.04.1) ) #24~18.04.1-Ubuntu SMP Mon Jul 29 16:10:24 UTC 2019 IMAGE=/ boot/vmlinuz- 5.0.0-23- generic root=UUID= e6b10f77- e7aa-431c- 9711-aa68f3db56 21 ro sysrq_always_ enabled cpumax=15 nr_cpus=15 break
(initramfs) cat /proc/cmdline
BOOT_
(initramfs) cat /proc/version /proc/cmdline
Linux version 5.0.0-23-generic (buildd@
BOOT_
(initramfs) modprobe -r hisi_sas_v3_hw
[ 51.431030] sas: Expander phys DID NOT change
[ 51.437067] sas: Expander phys DID NOT change
[ 51.443175] sas: Expander phys DID NOT change
[ 51.449181] sas: Expander phys DID NOT change
[ 51.455268] sas: Expander phys DID NOT change
[ 51.461362] sas: Expander phys DID NOT change
[ 51.467443] sas: Expander phys DID NOT change
[ 51.472268] hisi_sas_v3_hw 0000:74:02.0: dev[4:1] is gone
[ 51.478122] sd 2:0:1:0: [sdb] Synchronizing SCSI cache
[ 51.488760] sd 2:0:1:0: [sdb] Stopping disk
[ 52.025933] hisi_sas_v3_hw 0000:74:02.0: dev[3:5] is gone
[ 52.031877] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[ 52.045136] sd 2:0:0:0: [sda] Stopping disk
[ 52.626005] hisi_sas_v3_hw 0000:74:02.0: dev[2:5] is gone
[ 52.632599] hisi_sas_v3_hw 0000:74:02.0: dev[1:2] is gone