[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
Test it as boot int OS with selected 99 kernel, insert SATA and remove SATA, run sosreport. ** Attachment added: "sosrport for 5.4.0-99 kernel which hotplug does work" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1971576/+attachment/5587308/+files/sosreport-rd1-5.4.0-99-2022-05-06-snasuwj.tar.xz -- 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
Test it as boot int OS with selected 100 kernle, insert SATA and remove SATA, run sosreport. ** Attachment added: "sosrport for 5.4.0-100 kernel which hotplug doesn't work" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1971576/+attachment/5587307/+files/sosreport-rd1-5.4.0-100-2022-05-06-nhhkods.tar.xz -- 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
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.00] 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.00] 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
Partner have verified that 5.4.0-99 hotplug works, while 5.4.0-100 doesn't -- 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
For Rome, it is the same as Melian which the 20.04.4 kernel 5.4.0-42-generic can work with hotplug, while kernel 5.4.0-109-generic does't. -- 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
Hello @zhanglei-mao thanks for creating the bug report. There is a large time difference between those 5.4 kernels. 5.4.0-42 is from June 2020 and 5.4.0-109 is very recent. Is it possible to find out the first non-working 5.4 kernel? We would need to do a bisect. Do you think you might be able to test the 5.4.0-75 kernel to try to reproduce this problem? Thanks. -- 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
more test as below: 5.11.0-27 hotplug works 5.13.0-40 hotplug doesn't work -- 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
Below is full sosreports of our test. Test and log please refer to last 2 boot (42 and 109 kernel) May 4 05:49:11 rd1 kernel: [0.00] Linux version 5.4.0-42-generic (buildd@lgw01-amd64-038) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 (Ubuntu 5.4.0-42.46-generic 5.4.44) May 4 05:57:33 rd1 kernel: [0.00] Linux version 5.4.0-109-generic (buildd@ubuntu) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022 (Ubuntu 5.4.0-109.123-generic 5.4.178) ** Attachment added: "sosreport-rd1-5.4.0-109-2022-05-04-ppcdgwk.tar.xz" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1971576/+attachment/5586680/+files/sosreport-rd1-5.4.0-109-2022-05-04-ppcdgwk.tar.xz ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
5. un-plugin sata disk; restart system 6. restart and boot into 5.4.0-109 kernel 7. login and monitor kernel log like sudo tail -f /var/log/syslog 8. plug in sata disk, there no similar log and no disk was found. -- 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: Incomplete 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
reproduce method 1. On Ubuntu 20.04, install both 5.4.0-42 and 5.4.0-109 kernel 2. restart and boot into 5.4.0-42 kernel via grub menu 3. login and monitor kernel log like sudo tail -f /var/log/syslog 4. plug in sata disk, the log showed disk was dected like below: --- May 4 05:51:57 rd1 kernel: [ 173.391493] ata17: SATA link up 3.0 Gbps (SStatus 123 SControl 300) May 4 05:51:57 rd1 kernel: [ 173.406406] ata17.00: ATA-8: WDC WD3200BEKT-22F3T0, 11.01A11, max UDMA/133 May 4 05:51:57 rd1 kernel: [ 173.406409] ata17.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 32), AA May 4 05:51:57 rd1 kernel: [ 173.409409] ata17.00: configured for UDMA/133 May 4 05:51:57 rd1 kernel: [ 173.409606] scsi 16:0:0:0: Direct-Access ATA WDC WD3200BEKT-2 1A11 PQ: 0 ANSI: 5 May 4 05:51:57 rd1 kernel: [ 173.409842] sd 16:0:0:0: Attached scsi generic sg3 type 0 May 4 05:51:57 rd1 kernel: [ 173.409885] sd 16:0:0:0: [sdc] 625142448 512-byte logical blocks: (320 GB/298 GiB) May 4 05:51:57 rd1 kernel: [ 173.409895] sd 16:0:0:0: [sdc] Write Protect is off May 4 05:51:57 rd1 kernel: [ 173.409897] sd 16:0:0:0: [sdc] Mode Sense: 00 3a 00 00 May 4 05:51:57 rd1 kernel: [ 173.409909] sd 16:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA May 4 05:51:57 rd1 kernel: [ 173.437156] sdc: sdc1 sdc2 May 4 05:51:57 rd1 kernel: [ 173.438248] sd 16:0:0:0: [sdc] Attached SCSI removable disk - -- 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: Incomplete 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
[Kernel-packages] [Bug 1971576] Re: SATA device hot plug regression on AMD EYPC (Asus) server
For 5.4.0-109 kernel, if "rescan-scsi-bus" after plug in, it can find disk. -- 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: Incomplete 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