From owner-freebsd-stable@FreeBSD.ORG Thu Apr 28 03:07:37 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE785106566C; Thu, 28 Apr 2011 03:07:37 +0000 (UTC) (envelope-from telbizov@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4DBDC8FC15; Thu, 28 Apr 2011 03:07:36 +0000 (UTC) Received: by qwc9 with SMTP id 9so1352233qwc.13 for ; Wed, 27 Apr 2011 20:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fIP+bgGwpZKE5Mg3FhZLX/MR5hHn58BsPXncNO0SMko=; b=sIvZs/8K+N8oqxaXN6XFTa6TO4FNv3nGbbQlw5m5iFTDDwr76ph+Z46k85LShimK60 jf24CHGTtf3E/9zUd65PykS/Zy5decNsT5Oz6qitc7BB+Kqp/7D1lUvxj2FQSf/rUBCm JK6+J7BFO6ClfPEZ0o8T35ydept1zo9TY/XnM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mJoI8N8RmzpUBr0U+BH04PNXuo4hQzA/3PUyEI1H3NtsnsE+i4PdoYmfri5QkfRavq cnvj83GG5yD2g/qg7+R7u/CM3bjfmF/Xo/L9Zx9XlHV8LuTA0EBl4HaJdQt5x+JRugrA Z+a/o1Qvb9oaT5veOjVPlO9IQWMmBWVri5zGw= MIME-Version: 1.0 Received: by 10.229.79.196 with SMTP id q4mr2393406qck.132.1303960054823; Wed, 27 Apr 2011 20:07:34 -0700 (PDT) Received: by 10.229.86.9 with HTTP; Wed, 27 Apr 2011 20:07:34 -0700 (PDT) In-Reply-To: <4DB8381B.4030408@FreeBSD.org> References: <20110427125736.GA1977@icarus.home.lan> <4DB8381B.4030408@FreeBSD.org> Date: Wed, 27 Apr 2011 20:07:34 -0700 Message-ID: From: Rumen Telbizov To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Denny Schierz , FreeBSD Stable Subject: Re: MPS driver: force bus rescan after remove SAS cable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 03:07:37 -0000 Hello Denny, everyone, I confirm I experience the same behavior with just a SAS expander not via SAS switch. I've got no way to get my block device back but reboot. Also identify function doesn't work from the OS (no problem via the card BIOS). Don't remember having any luck with sg3_util package either but worth trying again. I talked to LSI about their own version of the driver and I was told that work on the FreeBSD driver is in progress apparently and there will be a driver sometime the first half of this year. Otherwise the driver and the chip (experience based on 9211-8i controller) seem to be working OK for me so far. I am in progress of putting a 9200-8e in production the coming week so I can share experience with this as well. On a related note: recently LSI released version 9.0 of their firmware for SAS2008 and I found it fixes certain performance problems with SuperMicro backplanes! Cheers, Rumen Telbizov On Wed, Apr 27, 2011 at 8:36 AM, Alexander Motin wrote: > On 27.04.2011 16:39, Denny Schierz wrote: > >> Am Mittwoch, den 27.04.2011, 05:57 -0700 schrieb Jeremy Chadwick: >> >>> camcontrol reset 0 >>> >> >> 0:22:0 is available, 0:46:0 not: >> >> root@iscsihead-m:~# camcontrol reset 0:22:0 >> Reset of 0:22:0 was successful >> >> root@iscsihead-m:~# camcontrol reset 0:46:0 >> camcontrol: cam_open_btl: no passthrough device found at 0:46:0 >> > > You should reset whole bus, not the specific LUN. Full reset doesn't need > that passthrough device. IIRC it works via xpt0. > > > We bought the LSI SAS6160 switch: >> >> >> http://www.lsi.com/storage_home/products_home/sas_switch/sas6100/index.html >> >> use the LSI 9200-8e hostbusadapter and LSI JBODs 630j. We had a lot of >> e-mail conversation with LSI and they mean, that we need the switch for >> a clear failover setup. >> Also a reason for the switch: increase storage with more jbods. Every >> jbod has his own cable to the (later) redundant switch. Otherwise we >> have to build a "bus" from JBOD to JBOD to JBOD to JBOD to host ... bad >> idea ;-) >> >> The question is, what does the driver while FreeBSD starts? >> > > CAM exactly does full bus reset and after few seconds full rescan. What > controller driver may do except it depends on it alone. > > -- > Alexander Motin > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Rumen Telbizov http://telbizov.com