Hello. I just moved my system to Ryzen 3700x with MSI X570-A PRO. During the boot system hangs for a minute. I checked /var/log/messages and there were messages: Aug 23 19:31:38 triarius kernel: ata1.00: exception Emask 0x0 SAct 0xd380e9 SErr 0x0 action 0x6 frozen Aug 23 19:31:38 triarius kernel: ata1.00: failed command: WRITE FPDMA QUEUED Aug 23 19:31:38 triarius kernel: ata1.00: cmd 61/20:00:c0:0a:94/00:00:31:00:00/40 tag 0 ncq dma 16384 out\x0a res 40/00:01:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) Aug 23 19:31:38 triarius kernel: ata1.00: status: { DRDY } Aug 23 19:31:38 triarius kernel: ata1.00: failed command: READ FPDMA QUEUED Aug 23 19:31:38 triarius kernel: ata1.00: cmd 60/90:18:10:e6:e0/00:00:39:00:00/40 tag 3 ncq dma 73728 in\x0a res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) Aug 23 19:31:38 triarius kernel: ata1.00: status: { DRDY } Aug 23 19:31:38 triarius kernel: ata1: hard resetting link Aug 23 19:31:38 triarius kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) Aug 23 19:31:38 triarius kernel: ata1.00: supports DRM functions and may not be fully accessible Aug 23 19:31:38 triarius kernel: ata1.00: supports DRM functions and may not be fully accessible Aug 23 19:31:38 triarius kernel: ata1.00: configured for UDMA/133 Aug 23 19:31:38 triarius kernel: ata1.00: device reported invalid CHS sector 0 Aug 23 19:31:38 triarius kernel: ata1.00: device reported invalid CHS sector 0 Aug 23 19:31:38 triarius kernel: ata1.00: device reported invalid CHS sector 0 Aug 23 19:31:38 triarius kernel: sd 0:0:0:0: [sda] tag#3 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 Aug 23 19:31:38 triarius kernel: sd 0:0:0:0: [sda] tag#6 Sense Key : 0x5 [current] Aug 23 19:31:38 triarius kernel: sd 0:0:0:0: [sda] tag#6 ASC=0x21 ASCQ=0x4 Aug 23 19:31:38 triarius kernel: sd 0:0:0:0: [sda] tag#6 CDB: opcode=0x28 28 00 2a d1 ff 10 00 00 78 00 Aug 23 19:31:38 triarius kernel: print_req_error: I/O error, dev sda, sector 718405392 flags 80700 Aug 23 19:31:38 triarius kernel: sd 0:0:0:0: [sda] tag#7 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 Aug 23 19:31:38 triarius kernel: sd 0:0:0:0: [sda] tag#7 Sense Key : 0x5 [current] Aug 23 19:31:38 triarius kernel: sd 0:0:0:0: [sda] tag#7 ASC=0x21 ASCQ=0x4 Aug 23 19:31:38 triarius kernel: sd 0:0:0:0: [sda] tag#7 CDB: opcode=0x28 28 00 2a d1 ff 08 00 00 08 00 Aug 23 19:31:38 triarius kernel: print_req_error: I/O error, dev sda, sector 718405384 flags 80700 Aug 23 19:31:38 triarius kernel: ata1: EH complete Aug 23 19:31:38 triarius kernel: ata1.00: Enabling discard_zeroes_data Aug 23 19:32:08 triarius kernel: ata1.00: NCQ disabled due to excessive errors Aug 23 19:32:08 triarius kernel: ata1.00: exception Emask 0x0 SAct 0x7fe0 SErr 0x0 action 0x6 frozen Aug 23 19:32:08 triarius kernel: ata1.00: failed command: READ FPDMA QUEUED Aug 23 19:32:08 triarius kernel: ata1.00: cmd 60/a8:68:d8:ba:73/00:00:2b:00:00/40 tag 13 ncq dma 86016 in\x0a res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) Aug 23 19:32:08 triarius kernel: ata1.00: status: { DRDY } Aug 23 19:32:08 triarius kernel: ata1.00: failed command: READ FPDMA QUEUED Aug 23 19:32:08 triarius kernel: ata1.00: cmd 60/08:70:90:01:c4/00:00:2b:00:00/40 tag 14 ncq dma 4096 in\x0a res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) Aug 23 19:32:08 triarius kernel: ata1.00: status: { DRDY } Aug 23 19:32:08 triarius kernel: ata1: hard resetting link Aug 23 19:32:09 triarius kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) Aug 23 19:32:09 triarius kernel: ata1.00: supports DRM functions and may not be fully accessible Aug 23 19:32:09 triarius kernel: ata1.00: supports DRM functions and may not be fully accessible Aug 23 19:32:09 triarius dhclient[6553]: bound to 192.168.0.17 -- renewal in 36612 seconds. Aug 23 19:32:09 triarius kernel: ata1.00: configured for UDMA/133 Aug 23 19:32:09 triarius kernel: ata1.00: device reported invalid CHS sector 0 Aug 23 19:32:09 triarius kernel: ata1.00: device reported invalid CHS sector 0 Aug 23 19:32:09 triarius kernel: ata1.00: device reported invalid CHS sector 0 Aug 23 19:32:09 triarius kernel: sd 0:0:0:0: [sda] tag#5 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 Aug 23 19:32:09 triarius kernel: sd 0:0:0:0: [sda] tag#5 Sense Key : 0x5 [current] Aug 23 19:32:09 triarius kernel: sd 0:0:0:0: [sda] tag#5 ASC=0x21 ASCQ=0x4 Aug 23 19:32:09 triarius kernel: sd 0:0:0:0: [sda] tag#5 CDB: opcode=0x28 28 00 2a e0 57 c0 00 00 88 00 Aug 23 19:32:09 triarius kernel: print_req_error: I/O error, dev sda, sector 719345600 flags 80700 Aug 23 19:32:09 triarius kernel: sd 0:0:0:0: [sda] tag#14 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 Aug 23 19:32:09 triarius kernel: sd 0:0:0:0: [sda] tag#14 Sense Key : 0x5 [current] Aug 23 19:32:09 triarius kernel: sd 0:0:0:0: [sda] tag#14 ASC=0x21 ASCQ=0x4 Aug 23 19:32:09 triarius kernel: sd 0:0:0:0: [sda] tag#14 CDB: opcode=0x28 28 00 2b c4 01 90 00 00 08 00 Aug 23 19:32:09 triarius kernel: print_req_error: I/O error, dev sda, sector 734265744 flags 80700 Aug 23 19:32:09 triarius kernel: ata1: EH complete Aug 23 19:32:09 triarius kernel: ata1.00: Enabling discard_zeroes_data Strange is, that withn openSUSE on the same disk I don't suffer from such hangs. I'll check it out if there are such errors in logs there, too. Reproducible: Always # lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge 00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge 00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge 00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge 00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge 00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge 00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge 00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] 00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] 00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 0 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 5 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 6 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 7 20:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 57ad 21:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 57a3 21:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 57a3 21:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 57a4 21:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 57a4 21:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 57a4 26:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) 27:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 2a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP 2a:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller 2a:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller 2b:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51) 2c:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51) 2d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev c7) 2d:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 2e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function 2f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP 2f:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller 2f:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller 30:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51) 31:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
Created attachment 587882 [details] kernel config
It is sad to read that you have problems with the system. The situation seems to be a bit more complicate and requires some analysis. We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3]. I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4]. Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product. [1] https://www.gentoo.org/get-involved/irc-channels/ [2] https://forums.gentoo.org/ [3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html [4] https://www.gentoo.org/support/