From nobody Sun Mar 26 03:55:41 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pkhtj5cDtz41BDR for ; Sun, 26 Mar 2023 03:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pkhtj1Zjnz3Pcp for ; Sun, 26 Mar 2023 03:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679802941; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5qSndHePNHMf1ketU2vOagp1ky/LQiBUyA4D2+eApS4=; b=DJ21eVxE1kVCQauJTmIhMRnPg/9X+rt1C8nyjPB/X7nHPn8Y35WBXjowhBmPDZRO8OKbh/ b62jy7+E+CIjbws/HhFmtmZuhLhsAou25fumXDma7Pse6+3+ycLiJdalHDCjmMi98YUD4J tJn9N/SLF37HjeWQM7ZwZFJArYGEI2bKiT0QRlWynqYWq1Sx53FOsY4U1TdrP7L4w7iPi5 +rM8AlOQmwoBoMMY0+BfLTTLdLTgBZybFUVLtE5B9kMAcb0heHl3YUUGKsF+cCFq3oZWB9 BW669P+1PES+8l4ELGQrAsOSGsRHVrYGhgz2gRtTkIGL/2kkH5wjpY6fU4iC3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679802941; a=rsa-sha256; cv=none; b=UuAziiUNDmAmqpbFs++Uw05mtWvMykrkLm6+x4CfSuFvWOaytomaQ1aLNbiCSN5FxkCFKz LPMiw66dlljIFXvVsyX/fb01h9n66/OJrHgDEUBcuSfpv2IzlCUzD6NktnUPysUFzIsw+M PYvdIpOV3p6ITXRSBbn3g5nJGtG5PRJmnmmoyfgj0ms+7xXA6ClDfSwidF64XaZ1pM6TTj QYFDcnVE8GiKL7FCoEyB85Hgf77sQ96I8e3IYpsFaAZ4Jzqodr6bDm9kpaMLpMz0rD5yPx wPKYcsYTvY167Fg7exW+IBbKElj18ItESNPMnVSrI8xs0MIW5/QlRpHM/PEiOQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pkhtj0YCwzQxq for ; Sun, 26 Mar 2023 03:55:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32Q3teHs035939 for ; Sun, 26 Mar 2023 03:55:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32Q3teUl035938 for bugs@FreeBSD.org; Sun, 26 Mar 2023 03:55:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270459] SATA Port Multiplier failure Date: Sun, 26 Mar 2023 03:55:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alexr@leftfield.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270459 Bug ID: 270459 Summary: SATA Port Multiplier failure Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: alexr@leftfield.org I have a StarTech SATA->dual M.2 SATA adapter https://www.startech.com/en-us/hdd/25s22m2ngffr that has worked well for ma= ny releases, but is now failing in 14-CURRENT. I originally encountered the problem upgrading to pfSense 23.01 on a Lanner FW-7575 white-box. I have since obtained another adapter and encountered similar problems on a totally different box (ASUS ROG Z690 Formula) using a plain 14-CURRENT build (20230323 -b5d43972e394). Failing dmesg from pfSense 23.01: pmp0 at ahcich4 bus 0 scbus0 target 15 lun 0 pmp0: ATA device pmp0: 300.000MB/s transfers (SATA 2.x, NONE, PIO 8192bytes) pmp0: 2 fan-out ports (aprobe0:ahcich4:0:0:0): SET_MULTI. ACB: c6 00 00 00 00 40 00 00 00 00 01 00 (aprobe0:ahcich4:0:0:0): CAM status: ATA Status Error (aprobe0:ahcich4:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (aprobe0:ahcich4:0:0:0): RES: 51 04 00 00 00 00 00 00 00 00 00 (aprobe0:ahcich4:0:0:0): Retrying command, 0 more tries remain (aprobe0:ahcich4:0:0:0): SET_MULTI. ACB: c6 00 00 00 00 40 00 00 00 00 01 00 (aprobe0:ahcich4:0:0:0): CAM status: ATA Status Error (aprobe0:ahcich4:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT ) (aprobe0:ahcich4:0:0:0): RES: 51 04 00 00 00 00 00 00 00 00 00 (aprobe0:ahcich4:0:0:0): Error 5, Retries exhausted The Z690 board gets a different SET_MULTI error and then spins at "Root mou= nt waiting for: CAM" indefinitely, so the above log is from the firewall hardw= are since it completes booting without mounting ada1. I couldn't obtain the exa= ct same M.2 SATA drives again, so the different SET_MULTI error may be due to = the different drives. In pfSense 22.05 (the last working build not based on 14-CURRENT), the rele= vant dmesg: pmp0 at ahcich4 bus 0 scbus0 target 15 lun 0 pmp0: ATA device pmp0: 300.000MB/s transfers (SATA 2.x, NONE, PIO 8192bytes) pmp0: 2 fan-out ports ... ses0 at ahciem0 bus 0 scbus1 target 0 lun 0 ses0: SEMB S-E-S 2.00 device ses0: SEMB SES Device ada0 at ahcich4 bus 0 scbus0 target 0 lun 0 ada0: ACS-4 ATA SATA 3.x device ada0: Serial Number 21456H800061 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors) ada1 at ahcich4 bus 0 scbus0 target 1 lun 0 ada1: ACS-4 ATA SATA 3.x device ada1: Serial Number 21456H800025 ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada1: Command Queueing enabled ada1: 476940MB (976773168 512 byte sectors) Note that ada1 is found and that ada0 and ada1 are reported as SATA 3.x 600.00MB/s and not SATA 2.x 300.00MB/s as 14-CURRENT is reporting. Happy to help debug on the Z690 since taking the firewall out of operation = is family-incompatible. --=20 You are receiving this mail because: You are the assignee for the bug.=