From owner-freebsd-current@FreeBSD.ORG Tue Jan 24 06:15:07 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4115106564A for ; Tue, 24 Jan 2012 06:15:07 +0000 (UTC) (envelope-from rmtodd@servalan.servalan.com) Received: from ln.servalan.com (unknown [IPv6:2600:3c00::f03c:91ff:fe96:62f5]) by mx1.freebsd.org (Postfix) with ESMTP id 86B018FC17 for ; Tue, 24 Jan 2012 06:15:07 +0000 (UTC) Received: from uucp by ln.servalan.com with local-rmail (Exim 4.71) (envelope-from ) id 1RpZet-0005fo-9G for freebsd-current@freebsd.org; Tue, 24 Jan 2012 00:15:07 -0600 Received: from rmtodd by servalan.servalan.com with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RpZU4-00024y-6S; Tue, 24 Jan 2012 00:03:56 -0600 Date: Tue, 24 Jan 2012 00:03:56 -0600 From: Richard Todd To: "Kenneth D. Merry" Message-ID: <20120124060356.GA4989@ichotolot.servalan.com> References: <20120123025238.GA17816@ichotolot.servalan.com> <20120123181605.GA52248@nargothrond.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120123181605.GA52248@nargothrond.kdm.org> User-Agent: Mutt/1.4.2.3i Cc: Richard Todd , freebsd-current@freebsd.org Subject: Re: Firewire disk/tape access stopped working after recent CAM commit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2012 06:15:07 -0000 On Mon, Jan 23, 2012 at 11:16:05AM -0700, Kenneth D. Merry wrote: > If you can, please try the attached patch and see if it has any impact on > the problem. There is a bug in that commit in that we shouldn't be > invalidating all LUNs on a target when we get a status of > CAM_DEV_NOT_THERE. Just applied the patch, built new kernel, and rebooted, and all the FW drivees are showing up now. Thanks! > It may be that we need to do a more thorough audit of how various SIM > drivers are using the CAM_DEV_NOT_THERE status. So I take it the layers for the different hardware (SCSI, FW, USB, ATA/AHCI) are handling this status differently, so that's why this bug only showed up on the Firewire buses but not on ATA/AHCI, USB, or (on my other machine) SCSI buses? Richard