From owner-freebsd-scsi@FreeBSD.ORG Fri Oct 26 04:54:35 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3F8DF87 for ; Fri, 26 Oct 2012 04:54:35 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 82A388FC0C for ; Fri, 26 Oct 2012 04:54:35 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so4264441iea.13 for ; Thu, 25 Oct 2012 21:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=tjVLj4Kmu0Yey5iuxUzz3C/QTz30nMmE6/AGoI835T8=; b=CA9dGbDOF5x2rhu05gode/aE/1f/+jLoD35XBGp29AWvcmpdWWTa9EbOYxJWVX4qBY 4IZDYk5iWVjgZr64fcZ8GeLtnG5jrUyG6A8VIeFOLCnxIKWKny5mDtcDXq0TsfAfnlFD LrlTbkq3yDFeeegenxesVUOpxjD0eegZ82zoxYLMDREhEmER2i98FbSUSKVB8qSieRrS 3xn0WGpgeaoLk0fbCRfhZ30KO/vu7z4L+2K3pc/j1mLLnZb1z7bBYm/+md393Wz3tF6G nVGlbIocEni929iL7AtXzBlkNXVCkzKK2VXjrvohF+a4NY2b5ehKkUvizhW+69/ATHiP x7fQ== Received: by 10.50.178.67 with SMTP id cw3mr869332igc.53.1351227275017; Thu, 25 Oct 2012 21:54:35 -0700 (PDT) Received: from raichu.desktop ([66.11.160.25]) by mx.google.com with ESMTPS id u4sm506621igw.6.2012.10.25.21.54.32 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2012 21:54:32 -0700 (PDT) Date: Fri, 26 Oct 2012 00:54:27 -0400 From: Mark Johnston To: Ryan Stone Subject: Re: kern/172864: [mfi] mfip does not notice new drives Message-ID: <20121026045427.GA44322@raichu.desktop> References: <201210190250.q9J2o1cv043937@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 04:54:35 -0000 On Thu, Oct 25, 2012 at 05:18:01PM -0400, Ryan Stone wrote: > On Thu, Oct 18, 2012 at 10:50 PM, Mark Johnston wrote: > > The following reply was made to PR kern/172864; it has been noted by GNATS. > > > > From: Mark Johnston > > To: bug-followup@FreeBSD.org, kpneal@pobox.com > > Cc: > > Subject: Re: kern/172864: [mfi] mfip does not notice new drives > > Date: Thu, 18 Oct 2012 22:48:22 -0400 > > > > This is because mfi(4) currently doesn't notify CAM when it receives a > > drive insertion/removal event from the hardware. I fixed this in the > > tree at work; I'll post it to freebsd-scsi when I have access to it > > again, probably in a couple of months. > > > > FWIW, running "camcontrol rescan all" should have also caused the > > passthrough devices to appear, so that's another workaround. > > I believe that this is the patch that Mark refers to: > http://people.freebsd.org/~rstone/patches/mfi_hotplug.diff That's the one. It'll have to be reworked a bit in light of the changes made in r233711, but I think the changes to mfi_cam.c are still ok.