From owner-freebsd-bugs@freebsd.org Thu Jan 16 21:32:34 2020 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 170DE1F6D66 for ; Thu, 16 Jan 2020 21:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47zHTs6zFMz4dXk for ; Thu, 16 Jan 2020 21:32:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id ED8AB1F6D65; Thu, 16 Jan 2020 21:32:33 +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 ED5061F6D64 for ; Thu, 16 Jan 2020 21:32:33 +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) server-signature RSA-PSS (4096 bits) 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 47zHTs5ntqz4dXh for ; Thu, 16 Jan 2020 21:32:33 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C243626118 for ; Thu, 16 Jan 2020 21:32:33 +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 00GLWXnI021118 for ; Thu, 16 Jan 2020 21:32:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00GLWXS9021117 for bugs@FreeBSD.org; Thu, 16 Jan 2020 21:32:33 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] ahci driver problems with Marvell 88SE9230 (Dell BOSS-S1) Date: Thu, 16 Jan 2020 21:32:33 +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: 11.3-RELEASE X-Bugzilla-Keywords: 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: 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2020 21:32:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243401 Bug ID: 243401 Summary: ahci driver problems with Marvell 88SE9230 (Dell BOSS-S1) Product: Base System Version: 11.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pen@lysator.liu.se This feels more like a firmware problem than a driver problem but since it apparently works in Windows and Linux, but not in FreeBSD I figured I'd rep= ort it here anyway...=20 (Probably not meaningful to try to report it to Dell since FreeBSD isn't officially supported by them) Dell BOSS-S1 (Marvell 88SE9230 based) M.2 "RAID" cards running Dells latest firmware (2.5.13.3022 A06 or 2.5.13.3022 A05) does something strange - when= the kernel has loaded (from the drives on this card) it fails to detect the dis= ks ("unconfigured" disks, non-RAID setup) and then root fs mounting fails... (We have two M.2 SSDs connected to that controller) With firmware 2.5.13.3016 A04 it gives a couple of errors at kernel boot ti= me, but does detect the disks and the system boots. With firmware 2.5.13.3011 A03, 2.5.13.2009 A02 or 2.5.13.2008 A01 no errors= are printed and the disks are found just fine. (But there are bugs fixed in the later releases that probably would be nice= to have.. I have had M.2 drive go "offline" for me at 2008/A01-firmware so tha= t's why I tried the later versions... A summary of the (Dell) firmware fixes and my test results: 2.5.13.3022 A06 Fixes: None Enhancement: Added support for 15G platforms 2.5.13.3020 A05 Status: - Does not work, gives errors: - 'ahcich16: stopping AHCI engine failed' - Detects a 'pass23', but no disk devices: pass23 at ahcich16 bus 0 scbus19 target 0 lun 0 pass23: Removable Processor SCSI device pass23: Serial Number HKDP221516WL pass23: 150.000MB/s transfers (SATA 1.x, UDMA4, ATAPI 12bytes, PIO 8192bytes) Fixes: - Fixed an issue where system will hang during Boot when PERC is in HBA mode with BOSS-S1 - When CLI is running, default temporary file directory & permission in Linux and ESXi Operating systems are changed as appropriate Enhancement: N/A 2.5.13.3016 A04 Status: - Works and detects all disks, but gives errors about: - 'ahcich14: stopping AHCI engine failed' - 'ahcich15: stopping AHCI engine failed' - 'ahcich16: stopping AHCI engine failed' Fixes: - Fixed a behavior of BOSS-S1 firmware incorrectly marking M.2 drive offline/failed - Fixed a behavior where ESXi Host goes unresponsive - Fixed a behavior where BOSS-S1 Management path will not respond to Management commands - Fixed a behavior where BOSS-S1 boot partition becomes inaccessible - Fixed a behavior where ESXi host results in PSOD due to unexpected I/O timeout - Fixed a behavior where rebuild will not be proceed during error handling condition Enhancement: - Enhanced/ Added MVCLI events for command timeout - Added SLES15 Support 2.5.13.3011 A03 Status: - Works Fixes: - Fixed M.2 disk failure when medium error is present Enhancement: - Enhanced medium error handling 2.5.13.2009 A02 Status: - Works Fixes: - Fixed Sideband functionality issue Enhancement: - Added support for Rollback of Controller Firmware through iDRAC/LC 2.5.13.2008 A01 Status: - Works Initial release Kernel boot output (the relevant parts) from a firmware 3016 A04 boot: ahci2: port 0x8028-0x802f,0x8034-0x8037,0x8020-0x8027,0x8030-0x8033,0x8\ 000-0x801f mem 0xb8800000-0xb88007ff at device 0.0 numa-domain 0 on pci9 ahci2: AHCI v1.20 with 3 6Gbps ports, Port Multiplier not supported ahci2: quirks=3D0x900 ahcich14: at channel 0 on ahci2 ahcich15: at channel 1 on ahci2 ahcich16: at channel 2 on ahci2 ... ahcich16: stopping AHCI engine failed ahcich16: stopping AHCI engine failed ... ahcich16: stopping AHCI engine failed ahcich15: stopping AHCI engine failed ada0 at ahcich14 bus 0 scbus17 target 0 lun 0 ada0: ACS-3 ATA SATA 3.x device ada0: Serial Number PHDW817002Z4150A ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 114473MB (234441648 512 byte sectors) ada1 at ahcich15 bus 0 scbus18 target 0 lun 0 ada1: ACS-3 ATA SATA 3.x device ada1: Serial Number PHDW817002WC150A ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada1: Command Queueing enabled ada1: 114473MB (234441648 512 byte sectors) pass25 at ahcich16 bus 0 scbus19 target 0 lun 0 pass25: Removable Processor SCSI device pass25: Serial Number HKDP221516WL pass25: 150.000MB/s transfers (SATA 1.x, UDMA4, ATAPI 12bytes, PIO 8192byte= s) On 3022 the ada0 and ada1 devices never get detected, and it only complains about not being able to stop ahcich16, nothing about 14 & 15. --=20 You are receiving this mail because: You are the assignee for the bug.=