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