From owner-freebsd-scsi@freebsd.org Fri Jul 29 13:41:03 2016 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16805BA6395 for ; Fri, 29 Jul 2016 13:41:03 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 017551E69 for ; Fri, 29 Jul 2016 13:41:03 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: by mailman.ysv.freebsd.org (Postfix) id F1916BA6390; Fri, 29 Jul 2016 13:41:02 +0000 (UTC) Delivered-To: scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1128BA638F; Fri, 29 Jul 2016 13:41:02 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F7091E65; Fri, 29 Jul 2016 13:41:01 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from [IPv6:2a02:2698:22:ed44:708f:11f3:83d6:57da] (dynamic-2a02-2698-22-0-0.perm.ertelecom.ru [IPv6:2a02:2698:22:ed44:708f:11f3:83d6:57da] (may be forged)) (authenticated bits=0) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPSA id u6TDet8s040803 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 29 Jul 2016 18:40:57 +0500 (YEKT) (envelope-from emz@norma.perm.ru) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=norma.perm.ru; s=key; t=1469799657; bh=+sgo2uRLnwb7/dkRFqVx9WUeuG10af0r7Y0L9D6VYZ0=; h=To:Cc:From:Subject:Date; b=v0+kA4/hvzG+Bmp3IdEjmahhrZ2ECBvHfb6JlWmW37gNcVq96d6PR/tI6PpBlebs4 H1aDFndA7Z9YvB6iu1uw+R7S1VXE9ksgXl4UuZAQfrc1uJ0L4FP8AZlfvcoMk6eNzq T4g14TDkpUmbMKZJHBLZgPoxq31iGSIjPPMnBlLw= To: scsi@freebsd.org Cc: stable@freebsd.org From: "Eugene M. Zheganin" Subject: mrsas(4) Message-ID: <52b7278e-2a5e-5ce7-5937-c512ef3982bc@norma.perm.ru> Date: Fri, 29 Jul 2016 18:41:01 +0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2016 13:41:03 -0000 Hi. I'm experiencing some weird troubles with an LSI MegaRAID SAS9341-4i controller: sometimes, all of a sudden, it reports that disk was reattached. I'm using zfs, and a redundant pool, so, besides the fact that it's bad by itself, everything should continue to work, but instead my FreeBSD starts to livelock, and all disk/zfs commands stop working - they just hang (however, I'm able to log in, launch gstat and other utilities, and most of the services seem to be unaffected, however, iSCSI target starts to behave weirdly too). I wrote a letter to the LSI support, but I guess they will first ask me to try the latest driver, which for some reason isn't commited in the tree yet. So, two questions: - why the latest driver (6.710.11.00) isn't in the main tree, it's from december 2015, so at least it seems like it should have been made it to the 11.x. In 11.x I still see the 06.709.07.00-fbsd ? may be I don't unerstand something. - has anyone seen anything similar on mrsas ? I'm kinda open to the ideas. To be honest, I suspect the controller and the firmware, because with factory-default firmware version I had seen all sorts of madness, including disk detaching after requesting SMART data with smartmontools. This was reproducible and solved with the firmware update, but considering the amount of fixes that each new version does contain, I suppose there's many of the bugs that left unfixed. Thanks. Eugene.