Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97FA6163 for ; Mon, 18 Sep 2023 00:18:33 +0000 (UTC) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1bf6ea270b2so28828735ad.0 for ; Sun, 17 Sep 2023 17:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694996313; x=1695601113; darn=lists.linux.dev; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=RUPk+p0QAVCnpQhxJ51mj1aAsktRcEm6wqkgKlUt8Ro=; b=VepYyiryVbR+HLwAAm9hZlIdjBD6exLzK3DD3DAsj88hQol2f2fwDiXVCluEjGFr4O 4xhVU/DrJC2B0bor2AKmBbGNO+nrNhMGA8B+VFpvbZU6uKDMIThKX1nZD2OOY4znJ857 5DGMc79dtIY4BWZbGCSYuheZBwYc5JkBwK9bpG4tnaWSqfelIlty45v2If+ndEi52HIj L6qo8ODREP6Rju+HBBqjnf/2YHf7Udi3nWJrNCnFNHR/PAUrEJi3yY+AdcyzA1kjBykf MBReAFQjkT2h3oUYGJBMPz4j1hshkOZwHCQUZejbmaCNsNRCmvd9w/xUL2+jifA0PMmc hq4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694996313; x=1695601113; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=RUPk+p0QAVCnpQhxJ51mj1aAsktRcEm6wqkgKlUt8Ro=; b=Nv8a08dX5lck0J8xVsExKTZwHWjUnYAmnUnl2vqNG2SkZCTzDmOh2cdsdcZthz0sAk Ns9zXSThzyUgByzlvWx2fq39VC6oQPUjIPEh/m8wF9PGqsQoXBZuFWTbwCrZr6X/eIQ1 ZKW+Ad24zZ1sIYoOuQ5GQwsIV0nieGgE8XQhG1o5qWIWPjSOu78Qu8EDtIDdWJF2gM2p Jw9tPln3e/aWFW+3BN2YExV7/E2UJPj2TsE149Vyg4BeBv/dDQasMVBOJDEjg6vxgKlC GrpKpPRFzFKIeySxvxlRCH/BnMXVVCC7yBfvzDsPrtiJgad1LSuZhWvpamnDE94CKvGW B0XQ== X-Gm-Message-State: AOJu0YzuPEzKTUauduMOBA130JiPeS633bD0n9q4YftncIeqkooPM1rC AbZvunjyI8b5gyG0AR2hdih/5cVHOp4= X-Google-Smtp-Source: AGHT+IEWKwK1dEKmbphBbSDaopdfK4ADTEiaqrSqgNoT4Tjxj47WkeJDg+U2SzyAohkw6JZUKRGhsw== X-Received: by 2002:a17:903:455:b0:1c2:702:61af with SMTP id iw21-20020a170903045500b001c2070261afmr6121780plb.38.1694996312752; Sun, 17 Sep 2023 17:18:32 -0700 (PDT) Received: from [192.168.0.106] ([103.124.138.83]) by smtp.gmail.com with ESMTPSA id l7-20020a170903120700b001bd99fd1114sm7148063plh.288.2023.09.17.17.18.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Sep 2023 17:18:32 -0700 (PDT) Message-ID: <224f10a4-7a6a-48bb-88be-491faf8ecff7@gmail.com> Date: Mon, 18 Sep 2023 07:18:28 +0700 Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "James E.J. Bottomley" , "Martin K. Petersen" , Damien Le Moal , Song Liu , Timo Gurr Cc: Linux Kernel Mailing List , Linux Regressions , Linux SCSI , Linux IDE and libata , Linux RAID From: Bagas Sanjaya Subject: Fwd: Marvell RAID Controller issues since 6.5.x Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > Hardware is a HPE ProLiant Microserver Gen10 X3216 with > > # lspci | grep SATA > 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 49) > 01:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9230 PCIe 2.0 x2 4-port SATA 6 Gb/s RAID Controller (rev 11) > > # dmesg | grep ATA > [ 0.015106] NODE_DATA(0) allocated [mem 0x1feffc000-0x1feffffff] > [ 0.569868] ahci 0000:00:11.0: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode > [ 0.570560] ata1: SATA max UDMA/133 abar m1024@0xfeb69000 port 0xfeb69100 irq 19 > [ 0.581964] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 8 ports 6 Gbps 0xff impl SATA mode > [ 0.586488] ata2: SATA max UDMA/133 abar m2048@0xfea40000 port 0xfea40100 irq 28 > [ 0.586554] ata3: SATA max UDMA/133 abar m2048@0xfea40000 port 0xfea40180 irq 28 > [ 0.586617] ata4: SATA max UDMA/133 abar m2048@0xfea40000 port 0xfea40200 irq 28 > [ 0.586681] ata5: SATA max UDMA/133 abar m2048@0xfea40000 port 0xfea40280 irq 28 > [ 0.586742] ata6: SATA max UDMA/133 abar m2048@0xfea40000 port 0xfea40300 irq 28 > [ 0.586804] ata7: SATA max UDMA/133 abar m2048@0xfea40000 port 0xfea40380 irq 28 > [ 0.586866] ata8: SATA max UDMA/133 abar m2048@0xfea40000 port 0xfea40400 irq 28 > [ 0.586927] ata9: SATA max UDMA/133 abar m2048@0xfea40000 port 0xfea40480 irq 28 > [ 0.882680] ata1: SATA link down (SStatus 0 SControl 300) > [ 0.896665] ata8: SATA link down (SStatus 0 SControl 310) > [ 0.896979] ata7: SATA link down (SStatus 0 SControl 310) > [ 0.897660] ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > [ 0.897986] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) > [ 0.899615] ata6: SATA link down (SStatus 0 SControl 310) > [ 1.052964] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300) > [ 1.312890] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300) > [ 1.477997] ata9.00: ATAPI: MARVELL VIRTUAL, 1.09, max UDMA/66 > [ 1.478613] ata3.00: ATA-10: WDC WD40EFZX-68AWUN0, 81.00B81, max UDMA/133 > [ 1.478720] ata4.00: ATA-10: WDC WD40EFZX-68AWUN0, 81.00A81, max UDMA/133 > [ 1.478912] ata2.00: ATA-9: Samsung SSD 840 EVO 120GB, EXT0DB6Q, max UDMA/133 > [ 1.482260] scsi 1:0:0:0: Direct-Access ATA Samsung SSD 840 DB6Q PQ: 0 ANSI: 5 > [ 1.483793] scsi 2:0:0:0: Direct-Access ATA WDC WD40EFZX-68A 0B81 PQ: 0 ANSI: 5 > [ 1.485746] scsi 3:0:0:0: Direct-Access ATA WDC WD40EFZX-68A 0A81 PQ: 0 ANSI: 5 > [ 1.520882] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) > [ 1.521779] ata5.00: ATA-9: WDC WD30EFRX-68EUZN0, 82.00A82, max UDMA/133 > [ 1.523463] scsi 4:0:0:0: Direct-Access ATA WDC WD30EFRX-68E 0A82 PQ: 0 ANSI: > > I don't use the RAID features but make use of software RAID instead, on the first port I have a SSD with the operating system and the three others have HDDs plugged in. > > These days I noticed extensive load and when looking at dmesg I could see the following lines getting repeated constantly. > > [396495.764520] ata9.00: configured for UDMA/66 > [396496.092239] ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > [396496.092584] ata9.00: configured for UDMA/66 > [396496.420123] ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > [396496.420464] ata9.00: configured for UDMA/66 > [396496.748016] ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > [396496.748320] ata9.00: configured for UDMA/66 > [396497.076285] ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > [396497.076609] ata9.00: configured for UDMA/66 > > First I thought it'a disk issue as I already had some of them dying and replaced, however after leaving only the SSD connected I still recieved the same dmesg spam immediatelly during boot. So my guess was that the SSD is faulty then, so I replaced my long running > > [ 1.036030] ata2.00: ATA-9: SanDisk SDSSDP064G, 2.0.0, max UDMA/133 > > with with an older spare one I had lying around (using Clonezilla to clone the drive) > > [ 1.478912] ata2.00: ATA-9: Samsung SSD 840 EVO 120GB, EXT0DB6Q, max UDMA/133 > > and still hit the same problem with that one. After thinking about what I changed lately besides distribution package updates it came to my mind that I upgraded from kernel 6.4.x to 6.5.x lately (kernels and their upgrades are manual on my distribution so no package was used). I used an arch linux iso to boot my system which also used a previous kernel and worked fine, compiled a 6.4.x kernel again on the system, specifically the latest 6.4.16 one. Rebootet and everything is up and running fine again so after half a day I'm pretty sure none of my hardware is faulty and it's indeed a kernel issue/regression. > > I hope I chose the correct component as I wasn't sure if it should be either SCSI or IO/Storage instead. Please let me know if you need further details. I can't guarantee to be able to do any actual testing like bisecting as I use the system in production. See Bugzilla for the full thread. Anyway, I'm adding this regression to be tracked by regzbot: #regzbot introduced: v6.4..v6.5 https://bugzilla.kernel.org/show_bug.cgi?id=217920 #regzbot title: UDMA configured spam on Marvell RAID controller Thanks. [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217920 -- An old man doll... just what I always wanted! - Clara