From owner-freebsd-bugs@freebsd.org Fri Jan 1 22:06:00 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 790B64D5895 for ; Fri, 1 Jan 2021 22:06:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4D6zcS2jLGz3vpw for ; Fri, 1 Jan 2021 22:06:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5AE684D5893; Fri, 1 Jan 2021 22:06:00 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 599344D5836 for ; Fri, 1 Jan 2021 22:06:00 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D6zcS1jSFz3vmX for ; Fri, 1 Jan 2021 22:06:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 2705522E9 for ; Fri, 1 Jan 2021 22:06:00 +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 101M5xod087385 for ; Fri, 1 Jan 2021 22:05:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 101M5xbU087383 for bugs@FreeBSD.org; Fri, 1 Jan 2021 22:05:59 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 243401] [patch] ahci driver problems with Marvell 88SE9230 (Dell BOSS-S1) Date: Fri, 01 Jan 2021 22:06:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pen@lysator.liu.se X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2021 22:06:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243401 --- Comment #6 from Peter Eriksson --- Yes, I've since changed my patch a bit so that it: Only sets the timeout to 5000 (from 1000) if: 1) quirk AHCI_Q_SLOWDEV (a new one) is set - only set on the Marvell 88SE= 9230 2) only does this _after_ the first status change occurs (0x0000000 -> 0x00000001) Now the trace looks something like this (some more debugging prints added): ahcich14: AHCI reset... ahcich14: AHCI engine: stopping ahcich14: stopping AHCI engine: ci: -1 -> 0 at time 10us ahcich14: stopping AHCI engine: sact: -1 -> 0 at time 10us ahcich14: stopping AHCI engine: ccs: -1 -> 0 at time 10us ahcich14: stopping AHCI engine: cr: -1 -> 0 at time 10us ahcich14: AHCI engine stopped at time 10us ahcich14: SATA changed status 0x00000000 -> 0x00000001 at time=3D100us ahcich14: SATA changed status 0x00000001 -> 0x00000133 at time=3D212500us ahcich14: SATA connect status 0x00000133 at time=3D212500us ahcich14: AHCI reset: device found ahcich14: AHCI reset: device ready after 0ms ahcich14: AHCI engine(fbs=3D1): starting ahcich15: AHCI reset... ahcich15: AHCI engine: stopping ahcich15: stopping AHCI engine: ci: -1 -> 0 at time 10us ahcich15: stopping AHCI engine: sact: -1 -> 0 at time 10us ahcich15: stopping AHCI engine: ccs: -1 -> 0 at time 10us ahcich15: stopping AHCI engine: cr: -1 -> 0 at time 10us ahcich15: AHCI engine stopped at time 10us ahcich15: SATA changed status 0x00000000 -> 0x00000001 at time=3D100us ahcich15: SATA changed status 0x00000001 -> 0x00000133 at time=3D221400us ahcich15: SATA connect status 0x00000133 at time=3D221400us ahcich15: AHCI reset: device found ahcich15: AHCI reset: device ready after 0ms ahcich15: AHCI engine(fbs=3D1): starting ahcich16: AHCI reset... ahcich16: AHCI engine: stopping ahcich16: stopping AHCI engine: ci: -1 -> 0 at time 10us ahcich16: stopping AHCI engine: sact: -1 -> 0 at time 10us ahcich16: stopping AHCI engine: ccs: -1 -> 0 at time 10us ahcich16: stopping AHCI engine: cr: -1 -> 0 at time 10us ahcich16: AHCI engine stopped at time 10us ahcich16: SATA changed status 0x00000000 -> 0x00000113 at time=3D100us ahcich16: SATA connect status 0x00000113 at time=3D100us ahcich16: AHCI reset: device found ahcich16: AHCI reset: device ready after 0ms ahcich16: AHCI engine(fbs=3D1): starting Btw, I've been testing some different variants of settings for this controller -= for example I removed the quirk (ALTSIG) to see if that would make any differen= ce but it doesn't seem to matter if it's set or not. Anyone know where that qu= irk comes from? I'll upload a cleaned up version of an improved patch soon. --=20 You are receiving this mail because: You are the assignee for the bug.=