From owner-freebsd-bugs@FreeBSD.ORG Tue Jun 24 21:35:11 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43C7EA3C for ; Tue, 24 Jun 2014 21:35:11 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B5292176 for ; Tue, 24 Jun 2014 21:35:11 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5OLZBxL003300 for ; Tue, 24 Jun 2014 22:35:11 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191348] New: LSI2308 and WD3000FYYZ dissapears after hotswapping Date: Tue, 24 Jun 2014 21:35:11 +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: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alchemyx@uznam.net.pl X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.18 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2014 21:35:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191348 Bug ID: 191348 Summary: LSI2308 and WD3000FYYZ dissapears after hotswapping Product: Base System Version: 10.0-RELEASE Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: alchemyx@uznam.net.pl We have a Supermicro SSG-6047R-E1R36L server with motherboard Super X9DRD-7LN4F-JBOD equipped with LSI2308 SAS controller. We use Western Digital 3TB RE4 disks (WD3000FYYZ). Everythign works fine until we remove any disk and then reinstall it. It doesn't get detected anymore, in logs we get: mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x47 mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x804b mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x47 mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x804b mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x47 _mapping_get_dev_info: failed to compute the hashed SAS Address for SATA device with handle 0x000d mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x47 mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x804b mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x47 mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x804b failure at /usr/src/sys/dev/mps/mps_sas_lsi.c:667/mpssas_add_device()! Could not get ID for device with handle 0x000d mpssas_fw_work: failed to add device with handle 0xd We tried upgrading LSI firmware and it did not help. There is no new firmware for our disks. According to WD this disk is compatible with LSI2308. According to Supermicro resleller support - mps driver has trouble with parsing ioctl return data. We also tried mpslsi driver from LSI site with no luck. Also it only happens with those WD disks. We have 11 of them and every one has same problem. But if we try other brand or SSD disk or even WD 1TB RE3 disk it won't cause any trouble. Also when using FreeBSD 9.2 we get: mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x47 da3 at mps0 bus 0 scbus0 target 9 lun 0 da3: Fixed Direct Access SCSI-6 device da3: 600.000MB/s transfers da3: Command Queueing enabled da3: 2861588MB (5860533168 512 byte sectors: 255H 63S/T 364801C) ses0: da3,pass3: Element descriptor: 'Slot 02' ses0: da3,pass3: SAS Device Slot Element: 1 Phys at Slot 1 ses0: phy 0: SATA device ses0: phy 0: parent 5003048000e517bf addr 5003048000e5178d So as you can see there is still error but it seems that mps driver in FreeBSD 9.2 is more forgiving. To sum it up: - FreeBSD 10.0 + WD3000FYYZ + mps driver - FAIL - FreeBSD 10.0 + WD3000FYYZ + mpslsi driver - FAIL - FreeBSD 10.0 + any other drive + mps driver - OK - FreeBSD 9.2 + WD3000FYYZ + mps driver - OK - FreeBSD 9.2 + anu other drive + mps driver - OK If there is anything else you would like to know please let me know. Thank you! -- You are receiving this mail because: You are the assignee for the bug.