From owner-freebsd-scsi@FreeBSD.ORG Thu Feb 9 02:37:17 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D0391065677 for ; Thu, 9 Feb 2012 02:37:17 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from mail.tu-berlin.de (mail.tu-berlin.de [130.149.7.33]) by mx1.freebsd.org (Postfix) with ESMTP id 3D6278FC0C for ; Thu, 9 Feb 2012 02:37:17 +0000 (UTC) X-tubIT-Incoming-IP: 130.149.58.163 Received: from mail.physik-pool.tu-berlin.de ([130.149.58.163] helo=mail.physik.tu-berlin.de) by mail.tu-berlin.de (exim-4.75/mailfrontend-4) with esmtp id 1RvJsq-0007B8-9k; Thu, 09 Feb 2012 03:37:16 +0100 Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.physik.tu-berlin.de (Postfix) with ESMTPS id E12B711403; Thu, 9 Feb 2012 03:37:09 +0100 (CET) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id q192b9Bu052228; Thu, 9 Feb 2012 03:37:09 +0100 (CET) (envelope-from elon) Date: Thu, 9 Feb 2012 03:37:09 +0100 From: Leon =?iso-8859-15?Q?Me=DFner?= To: "Desai, Kashyap" Message-ID: <20120209023708.GB17395@emmi.physik-pool.tu-berlin.de> Mail-Followup-To: "Desai, Kashyap" , Leon =?iso-8859-15?Q?Me=DFner?= , "freebsd-scsi@freebsd.org" , "Kenneth D. Merry" , "McConnell, Stephen" References: <20120208152507.GA17395@emmi.physik-pool.tu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "freebsd-scsi@freebsd.org" , Leon =?iso-8859-15?Q?Me=DFner?= , "Kenneth D. Merry" , "McConnell, Stephen" Subject: Re: getencstat and smp_discover get stuck with lsi mps X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2012 02:37:17 -0000 On Wed, Feb 08, 2012 at 11:59:14PM +0530, Desai, Kashyap wrote: > There are couple of fix went after 11.255.x version of mps driver. (which currently upstreamed) > I have attached those fixes here as combined patch. > > I have also observed this issue in my lab. (so most likely you will see fix using attached patch.) Applies cleanly, compiles and fixed my problem. Thanks, Leon > > -----Original Message----- > > From: owner-freebsd-scsi@freebsd.org [mailto:owner-freebsd- > > scsi@freebsd.org] On Behalf Of Leon Meßner > > Sent: Wednesday, February 08, 2012 8:55 PM > > To: freebsd-scsi@freebsd.org > > Subject: getencstat and smp_discover get stuck with lsi mps > > > > Hi, > > at first thank you for the new LSI mps driver. Works like a charm until > > now. I do see a problem using getencstat or smp_discover from the > > smp_utils-0.97 package. Both just hang and dont recover. > > > > # ps axlwww | grep getenc > > UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME > > COMMAND > > 0 1879 1717 0 20 0 3924 836 cgticb D+ 0 0:00.00 > > ./getencstat /dev/ses0 > > > > I did get some output from getencstat while using the old driver under > > 8-STABLE (now running 9-STABLE from the 6th). Hardware is a 9200-8e > > (mps0) and one Supermicro SC847E16-RJBOD1 which features two expander > > chips. There is also another onboard mps controller which has only > > drives attached. pciconf -lv and dmesg regarding ses devices attached. > > > > Greetings, > > Leon > > > > mps0@pci0:1:0:0: class=0x010700 card=0x30801000 chip=0x00721000 > > rev=0x03 hdr=0x00 > > vendor = 'LSI Logic / Symbios Logic' > > device = 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]' > > class = mass storage > > subclass = SAS > > > > # dmesg | grep ses > > ses0 at mps0 bus 0 scbus0 target 8 lun 0 > > ses0: Fixed Enclosure Services SCSI-5 device > > ses0: 600.000MB/s transfers > > ses0: Command Queueing enabled > > ses0: SCSI-3 SES Device > > ses1 at mps0 bus 0 scbus0 target 29 lun 0 > > ses1: Fixed Enclosure Services SCSI-5 device > > ses1: 600.000MB/s transfers > > ses1: Command Queueing enabled > > ses1: SCSI-3 SES Device > > _______________________________________________ > > freebsd-scsi@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"