Autor Thema: ASMedia ASM1184e PCIe Switch Port or ASM1062 Serial ATA Controller have issues  (Gelesen 180 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline Kris

  • Neuling
  • *
  • Beiträge: 2
  • Desktop: Xfce 4.14.1
  • Grafikkarte: NVIDIA GP104 [GeForce GTX 1070]
  • Grafikkartentreiber: nonfree nvidia v: 440.36
  • Kernel: 4.19.88-1-MANJARO x86_64
  • Prozessor: Intel Core i7-9700K
  • Skill: Fortgeschritten
  • Zweig: Stable
Hi,

Fist, it is an interesting problem with all DVD and similar drives. If a such is connected to the controller,
then Manjaro is freezing on boot and does not start at all. It is not a problem specific to Manjaro,
some other Linux distributions that i have tried have had a similar problem (Debian, Ubuntu, Mint, Fedora,...).
Windows 10 do not have any issues.

Second, if you will connect two HDDs to the controller, then they work. But, the slowest
or as it was in this case the writing one is generating errors of the freezed ATA bus.
Typically the freezes are stopping as soon as the controller will be downgraded to SATA II mode,
i.e. 3.0 Gbps. I would assume that it may be connected with an improper implementation of the driver
for a port switch or the controller itself.

Has somebody similar issues or what could you recommend in this case? Typically
I have already tried a lot,
1. changed the kernel trying 5.40, 5.20, 4.19, 4.14. No any difference. Plus, the older kernels
4.19 and 4.14 have generated some other issues with the new hardware.
2. Changed the SATA cables. Placed a cable tested on the Intel controller, no difference.
3. Switched off NCQ. No difference.
4. Tried to switch off Wifi. No difference.
5. Tried dirreferet HDDs. No difference.  :o

Here are the bugs and the additional info about the current configuration.

Dez 26 20:14:34 vicky kernel: ata7: EH complete
Dez 26 20:14:34 vicky kernel: ata7.00: device reported invalid CHS sector 0
Dez 26 20:14:34 vicky kernel: ata7.00: retrying FLUSH 0xea Emask 0x10
Dez 26 20:14:34 vicky kernel: ata7.00: configured for UDMA/133
Dez 26 20:14:34 vicky kernel: ata7: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
Dez 26 20:14:33 vicky kernel: ata7: hard resetting link
Dez 26 20:14:33 vicky kernel: ata7.00: status: { DRDY }
Dez 26 20:14:33 vicky kernel: ata7.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
                                       res 40/00:98:00:5c:cc/00:00:87:00:00/40 Emask 0x10 (ATA bus error)
Dez 26 20:14:33 vicky kernel: ata7.00: failed command: FLUSH CACHE EXT
Dez 26 20:14:33 vicky kernel: ata7: SError: { RecovComm PHYRdyChg CommWake DevExch }
Dez 26 20:14:33 vicky kernel: ata7.00: irq_stat 0x08000040, interface fatal error, connection status changed
Dez 26 20:14:33 vicky kernel: ata7.00: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 0xe frozen
Dez 26 20:14:33 vicky kernel: ata7: limiting SATA link speed to 3.0 Gbps
...
Dez 26 18:56:07 vicky kernel: ata7: EH complete
Dez 26 18:56:07 vicky kernel: ata7.00: device reported invalid CHS sector 0
Dez 26 18:56:07 vicky kernel: ata7.00: retrying FLUSH 0xea Emask 0x10
Dez 26 18:56:07 vicky kernel: ata7.00: configured for UDMA/133
Dez 26 18:56:07 vicky kernel: ata7: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Dez 26 18:56:06 vicky kernel: ata7: hard resetting link
Dez 26 18:56:06 vicky kernel: ata7.00: status: { DRDY }
Dez 26 18:56:06 vicky kernel: ata7.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 2
                                       res 40/00:40:00:66:fd/00:00:37:00:00/40 Emask 0x10 (ATA bus error)
Dez 26 18:56:06 vicky kernel: ata7.00: failed command: FLUSH CACHE EXT
Dez 26 18:56:06 vicky kernel: ata7: SError: { RecovComm PHYRdyChg CommWake DevExch }
Dez 26 18:56:06 vicky kernel: ata7.00: irq_stat 0x08000040, interface fatal error, connection status changed
Dez 26 18:56:06 vicky kernel: ata7.00: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 0xe frozen
Dez 26 18:38:52 vicky kernel: ata7: EH complete
Dez 26 18:38:52 vicky kernel: ata7.00: device reported invalid CHS sector 0
Dez 26 18:38:52 vicky kernel: ata7.00: retrying FLUSH 0xea Emask 0x10
Dez 26 18:38:52 vicky kernel: ata7.00: configured for UDMA/133
Dez 26 18:38:52 vicky kernel: ata7: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Dez 26 18:38:52 vicky kernel: ata7: hard resetting link
Dez 26 18:38:52 vicky kernel: ata7.00: status: { DRDY }
Dez 26 18:38:52 vicky kernel: ata7.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 2
                                       res 40/00:a8:00:a6:89/00:00:22:00:00/40 Emask 0x10 (ATA bus error)
Dez 26 18:38:52 vicky kernel: ata7.00: failed command: FLUSH CACHE EXT
Dez 26 18:38:52 vicky kernel: ata7: SError: { RecovComm PHYRdyChg CommWake DevExch }
Dez 26 18:38:52 vicky kernel: ata7.00: irq_stat 0x08000040, interface fatal error, connection status changed
Dez 26 18:38:52 vicky kernel: ata7.00: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 0xe frozen


[vicky ~]# inxi -F
System:    Host: vicky Kernel: 5.4.2-1-MANJARO x86_64 bits: 64 Desktop: Xfce 4.14.1 Distro: Manjaro Linux
Machine:   Type: Desktop Mobo: ASRock model: Z390 Taichi Ultimate serial: N/A UEFI: American Megatrends v: P4.20
           date: 07/23/2019
CPU:       Topology: 8-Core model: Intel Core i7-9700K bits: 64 type: MCP L2 cache: 12.0 MiB
           Speed: 800 MHz min/max: 800/4900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1070] driver: nvidia v: 440.36
           Display: server: X.Org 1.20.6 driver: nvidia resolution: 1920x1080~60Hz
           OpenGL: renderer: GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 440.36
Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
           Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel
           Device-3: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo
           Sound Server: ALSA v: k5.4.2-1-MANJARO
Network:   Device-1: Aquantia AQC107 NBase-T/IEEE 802.3bz Ethernet [AQtion] driver: atlantic
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: 70:85:c2:bd:dd:8c
           Device-2: Intel Wireless-AC 9260 driver: iwlwifi
           IF: wlp5s0 state: down mac: 3e:1d:73:31:9b:2e
Drives:    Local Storage: total: 51.85 TiB used: 24.79 TiB (47.8%)
           ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 1TB size: 931.51 GiB
           ID-2: /dev/sdb vendor: HGST (Hitachi) model: HUH728080ALE604 size: 7.28 TiB
           ID-3: /dev/sdc vendor: Seagate model: ST10000NM0086-2AA101 size: 9.10 TiB
           ID-4: /dev/sdd vendor: Seagate model: ST10000NM0086-2AA101 size: 9.10 TiB
           ID-5: /dev/sde vendor: Seagate model: ST10000NM0086-2AA101 size: 9.10 TiB
           ID-6: /dev/sdf vendor: Seagate model: ST10000NM0086-2AA101 size: 9.10 TiB
           ID-7: /dev/sdg vendor: HGST (Hitachi) model: HUH728080ALE600 size: 7.28 TiB
Partition: ID-1: / size: 898.72 GiB used: 225.85 GiB (25.1%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 17.15 GiB used: 59.8 MiB (0.3%) fs: swap dev: /dev/sda3
Sensors:   System Temperatures: cpu: 30.5 C mobo: 30.0 C gpu: nvidia temp: 31 C
           Fan Speeds (RPM): fan-1: 447 fan-2: 534 fan-3: 440 fan-4: 464 fan-5: 627 gpu: nvidia fan: 50%
Info:      Processes: 271 Uptime: 3h 23m Memory: 15.56 GiB used: 2.48 GiB (15.9%) Shell: bash inxi: 3.0.37


lspci -M
Summary of buses:

00: Primary host bus
   1c.6 Bridge to 03-07
   1c.0 Bridge to 02-02
   01.0 Bridge to 01-01
01: Entered via 00:01.0
02: Entered via 00:1c.0
03: Entered via 00:1c.6
   00.0 Bridge to 04-07
04: Entered via 03:00.0
   07.0 Bridge to 07-07
   05.0 Bridge to 06-06
   01.0 Bridge to 05-05
05: Entered via 04:01.0
07: Entered via 04:07.0


[vicky ~]# lspci -tv
-[0000:00]-+-00.0  Intel Corporation 8th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]
           +-01.0-[01]--+-00.0  NVIDIA Corporation GP104 [GeForce GTX 1070]
           |            \-00.1  NVIDIA Corporation GP104 High Definition Audio Controller
           +-12.0  Intel Corporation Cannon Lake PCH Thermal Controller
           +-14.0  Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller
           +-14.2  Intel Corporation Cannon Lake PCH Shared SRAM
           +-16.0  Intel Corporation Cannon Lake PCH HECI Controller
           +-17.0  Intel Corporation Cannon Lake PCH SATA AHCI Controller
           +-1c.0-[02]----00.0  Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion]
           +-1c.6-[03-07]----00.0-[04-07]--+-01.0-[05]----00.0  Intel Corporation Wireless-AC 9260
           |                               +-05.0-[06]--
           |                               \-07.0-[07]----00.0  ASMedia Technology Inc. ASM1062 Serial ATA Controller
           +-1f.0  Intel Corporation Z390 Chipset LPC/eSPI Controller
           +-1f.3  Intel Corporation Cannon Lake PCH cAVS
           +-1f.4  Intel Corporation Cannon Lake PCH SMBus Controller
           \-1f.5  Intel Corporation Cannon Lake PCH SPI Controller

lspci -v

00:1c.6 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #7 (rev f0) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 123
   Bus: primary=00, secondary=03, subordinate=07, sec-latency=0
   I/O behind bridge: 00003000-00003fff [size=4K]
   Memory behind bridge: b3a00000-b3bfffff [size=2M]
   Prefetchable memory behind bridge: None
   Capabilities: [40] Express Root Port (Slot+), MSI 00
   Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
   Capabilities: [90] Subsystem: ASRock Incorporation Cannon Lake PCH PCI Express Root Port
   Capabilities: [a0] Power Management version 3
   Capabilities: [100] Null
   Capabilities: [140] Access Control Services
   Capabilities: [150] Precision Time Measurement
   Capabilities: [220] Secondary PCI Express <?>
   Capabilities: [250] Downstream Port Containment
   Kernel driver in use: pcieport

04:07.0 PCI bridge: ASMedia Technology Inc. ASM1184e PCIe Switch Port (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0, IRQ 127
   Bus: primary=04, secondary=07, subordinate=07, sec-latency=0
   I/O behind bridge: 00003000-00003fff [size=4K]
   Memory behind bridge: b3a00000-b3afffff [size=1M]
   Prefetchable memory behind bridge: None
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Downstream Port (Slot+), MSI 00
   Capabilities: [c0] Subsystem: ASRock Incorporation ASM1184e PCIe Switch
   Capabilities: [100] Virtual Channel
   Capabilities: [200] Advanced Error Reporting
   Kernel driver in use: pcieport

07:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0])
   Subsystem: ASRock Incorporation Motherboard
   Flags: bus master, fast devsel, latency 0, IRQ 130
   I/O ports at 3050 [size=8]
   I/O ports at 3040
   I/O ports at 3030 [size=8]
   I/O ports at 3020
   I/O ports at 3000 [size=32]
   Memory at b3a00000 (32-bit, non-prefetchable) [size=512]
   Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
   Capabilities: [78] Power Management version 3
   Capabilities: [80] Express Legacy Endpoint, MSI 00
   Capabilities: [100] Virtual Channel
   Kernel driver in use: ahci
   Kernel modules: ahci
« Letzte Änderung: 26. Dezember 2019, 20:27:43 von Kris »