From owner-freebsd-drivers@FreeBSD.ORG Tue Feb 15 17:25:41 2011 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73F73106566C for ; Tue, 15 Feb 2011 17:25:41 +0000 (UTC) (envelope-from attila.bogar@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 073DF8FC1B for ; Tue, 15 Feb 2011 17:25:40 +0000 (UTC) Received: by fxm16 with SMTP id 16so419787fxm.13 for ; Tue, 15 Feb 2011 09:25:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=kE4Y4eBQ49Chaw5+QlKahaUZlXXjd+ZcX3C2QHMpd9E=; b=HmESVxiz5+rk9Ce7La11SlFD8Mr7oS8im+QVIOrfDDON/v0MnVzVS+I8AkDjrXqPlW ROIpfpa5AwD+PAt17CN5IkLMbwS7eQ6KtDWkAL3j8G3Esyx98HCqzZHoh3qHgpQtlUsh jXP2xziZ9dq5FxP9g7wX1bBVdkix/f9oIKIZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=JKCDXWqVCUELf/Cs5ve+BQ9ptZejQ4F1ZiOvjN/5W7vmuHqGT5uVR2LlTWKJTLWAN8 hk7PQDCLQkNL/ldhWOu9jjFgNDzGJqGB/bEkJusgQHjWZjN6A/Dgyn9kYgeTAWptjiyo WkFkq3Knml9AFpm+VKwEVkp17ArcQD38+xf8Y= Received: by 10.223.81.68 with SMTP id w4mr6480332fak.84.1297789351381; Tue, 15 Feb 2011 09:02:31 -0800 (PST) Received: from [10.252.10.91] ([193.34.186.85]) by mx.google.com with ESMTPS id n3sm1765848faa.5.2011.02.15.09.02.28 (version=SSLv3 cipher=OTHER); Tue, 15 Feb 2011 09:02:29 -0800 (PST) Message-ID: <4D5AB1A3.4040109@gmail.com> Date: Tue, 15 Feb 2011 17:02:27 +0000 From: =?ISO-8859-1?Q?Attila_Bog=E1r?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: mps and Dell PERC H200 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 17:25:41 -0000 Dear list, On a Dell R515 with a Dell PERC H200 Integrated we have 14 disks in JBOD behind the SAS expander. This card has a LSI SAS 2008 chip and is handled by the mps driver from HEAD. Unfortunately the mps picks up only 8 disks out of the 14. The Linux mpt2sas driver picks up all 14 drives. If I replace the H200 with an LSI MegaRAID SAS 9240-8i, then all 14 drives can be seen by the mfi driver from LSI's site. I'm experimenting with 8.2-RC3 + mps module from HEAD. I've already contacted Scott Long, but I haven't got a reply yet. I enabled mps debug information and added a few lines of extra debug info. The trace is available at http://www.linguamatics.com/debug/mps-trace-1.txt Try grep-in' for these words: EXTRA or Failure or Found The EXTRA lines have been added by me. I can see in the trace that probe succeeds on handles 0x000a .. 0x0012, but fails on the others. I've already tried to ignoring probes in this range by inserting an "if" clause to the code to see if this is a controller overrun problem, but the result is the same: no drives can be found on the other handles. The error code 0x0022 corresponds to MPI2_IOCSTATUS_BUSY|MPI2_IOCSTATUS_CONFIG_INVALID_ACTION. I can't see, that MPI2_IOCSTATUS_BUSY is handled during the probe phase. I've checked mpt2sas in Linux. That driver is marking the drive state with a SCSI BUSY flag (and maybe retrying later?)... What can be the problem? Any hints how to proceed? Thanks, Attila