I was told the test are boot into OS with select kernel, insert sata,
remove, and run sosreport. Below is syslog info related to boot and sdb
or sdc.

--sata hotplug didn't work on 100 kernel -- 
grep -e 'Linux version' -e 'sdb' -e 'sdc' -e 'SATA link'  syslog | tail -n25
May  6 07:24:42 rd1 kernel: [    0.000000] Linux version 5.4.0-100-generic 
(buildd@lcy02-amd64-002) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) 
#113-Ubuntu SMP Thu Feb 3 18:43:29 UTC 2022 (Ubuntu 5.4.0-100.113-generic 
5.4.166)
May  6 07:24:42 rd1 lvm[1462]:   /dev/sdb: open failed: No medium found
May  6 07:24:42 rd1 lvm[1462]:   /dev/sdb: open failed: No medium found
May  6 07:24:42 rd1 multipath: sdb: can't store path info
May  6 07:24:42 rd1 kernel: [    5.702421] ata1: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.708864] ata2: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.718877] ata4: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.723683] ata3: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.730424] ata11: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.734957] ata8: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.739442] ata5: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.743924] ata7: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.748408] ata9: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.752913] ata10: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.757504] ata12: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    5.920006] ata6: SATA link up 6.0 Gbps (SStatus 
133 SControl 300)
May  6 07:24:42 rd1 kernel: [    6.018166] ata13: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    6.019402] ata14: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    6.020150] ata15: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    6.020852] ata16: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    6.021509] ata18: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    6.022275] ata20: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    6.023117] ata17: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    6.023922] ata19: SATA link down (SStatus 0 
SControl 300)
May  6 07:24:42 rd1 kernel: [    6.356905] sd 1:0:0:0: [sdb] Attached SCSI 
removable disk
zlmao@p14s:~/Downloads/asus/binsec/sosreport-rd1-5.4.0-100-2022-05-06-nhhkods/var/log$
 


--sata hotplug does work on 99 kernel --
grep -e 'Linux version' -e 'sdb' -e 'sdc' -e 'SATA link'  syslog |tail -n41
May  6 07:30:42 rd1 kernel: [    0.000000] Linux version 5.4.0-99-generic 
(buildd@lgw01-amd64-007) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) 
#112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 (Ubuntu 5.4.0-99.112-generic 
5.4.162)
May  6 07:30:42 rd1 lvm[1409]:   /dev/sdb: open failed: No medium found
May  6 07:30:42 rd1 lvm[1409]:   /dev/sdb: open failed: No medium found
May  6 07:30:42 rd1 multipath: sdb: can't store path info
May  6 07:30:42 rd1 kernel: [    5.659454] ata1: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.659533] ata3: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.659584] ata4: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.659613] ata2: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.683576] ata5: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.692154] ata12: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.695185] ata14: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.695548] ata15: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.695574] ata16: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.696090] ata13: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.699290] ata17: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.699579] ata20: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.699607] ata18: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.701774] ata19: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.707358] ata9: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.723384] ata10: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.734049] ata11: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.751312] ata7: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.774745] ata8: SATA link down (SStatus 0 
SControl 300)
May  6 07:30:42 rd1 kernel: [    5.997078] ata6: SATA link up 6.0 Gbps (SStatus 
133 SControl 300)
May  6 07:30:42 rd1 kernel: [    6.149361] sd 1:0:0:0: [sdb] Attached SCSI 
removable disk
May  6 07:31:00 rd1 kernel: [   29.269210] ata5: SATA link up 6.0 Gbps (SStatus 
133 SControl 300)
May  6 07:31:00 rd1 kernel: [   29.272055] sd 6:0:0:0: [sdc] 937703088 512-byte 
logical blocks: (480 GB/447 GiB)
May  6 07:31:00 rd1 kernel: [   29.272059] sd 6:0:0:0: [sdc] 4096-byte physical 
blocks
May  6 07:31:00 rd1 kernel: [   29.272126] sd 6:0:0:0: [sdc] Write Protect is 
off
May  6 07:31:00 rd1 kernel: [   29.272130] sd 6:0:0:0: [sdc] Mode Sense: 00 3a 
00 00
May  6 07:31:00 rd1 kernel: [   29.272226] sd 6:0:0:0: [sdc] Write cache: 
enabled, read cache: enabled, doesn't support DPO or FUA
May  6 07:31:00 rd1 kernel: [   29.291089]  sdc: sdc1
May  6 07:31:00 rd1 kernel: [   29.317238] sd 6:0:0:0: [sdc] Attached SCSI 
removable disk
May  6 07:31:07 rd1 kernel: [   36.241214] ata5: SATA link down (SStatus 0 
SControl 300)
May  6 07:31:12 rd1 kernel: [   41.769699] ata5: SATA link down (SStatus 0 
SControl 300)
May  6 07:31:18 rd1 kernel: [   47.146212] ata5: SATA link down (SStatus 0 
SControl 300)
May  6 07:31:18 rd1 kernel: [   47.147771] sd 6:0:0:0: [sdc] Stopping disk
May  6 07:31:18 rd1 kernel: [   47.147801] sd 6:0:0:0: [sdc] Start/Stop Unit 
failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
May  6 07:31:18 rd1 multipath: sdc: can't store path info
May  6 07:31:18 rd1 multipathd[1901]: sdc: failed to get udev uid: Invalid 
argument
May  6 07:31:18 rd1 multipathd[1901]: sdc: failed to get unknown uid: Invalid 
argument

-- 
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/1971576

Title:
  SATA device hot plug regression on AMD EYPC (Asus) server

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  SATA disk hot plug can't work on Ubuntu 20.04 ga-kernel of "Linux
  version 5.4.0-109-generic", but it works on earlier version of " Linux
  version 5.4.0-42-generic"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1971576/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to