From owner-freebsd-drivers@FreeBSD.ORG Tue Feb 15 12:51:49 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 4ADFE1065674 for ; Tue, 15 Feb 2011 12:51:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1E4E88FC18 for ; Tue, 15 Feb 2011 12:51:49 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id CE25D46B35; Tue, 15 Feb 2011 07:51:48 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.10]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 0D8308A027; Tue, 15 Feb 2011 07:51:48 -0500 (EST) From: John Baldwin To: Erich Weiler Date: Tue, 15 Feb 2011 07:49:11 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.4-CBSD-20110107; KDE/4.4.5; amd64; ; ) References: <4D55BBDC.7000604@soe.ucsc.edu> <201102140927.11654.jhb@freebsd.org> <4D59BB67.1080703@soe.ucsc.edu> In-Reply-To: <4D59BB67.1080703@soe.ucsc.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102150749.11413.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Tue, 15 Feb 2011 07:51:48 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=0.5 required=4.2 tests=BAYES_00,MAY_BE_FORGED, RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: freebsd-drivers@freebsd.org Subject: Re: MFI Driver Behavior 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 12:51:49 -0000 On Monday, February 14, 2011 6:31:51 pm Erich Weiler wrote: > >> If even there was a way I could determine what the "0xffffff80009b5870" > >> MFI command is, that would be a big help, so I would have a better idea > >> of where to continue my investigations. > > > > That value is just a pointer to the command structure in the device driver for > > the command that timed out. It probably is not that useful. The best person > > to ask about this is probably Scott Long (scottl@FreeBSD.org). The fact that > > 'show volumes' unsticks the controller sounds quite odd. Are you using MSI? > > If so, have you tried disabling MSI? > > Thanks for replying! Yeah, I tried to contact Scott but it seems like > he does not reply to user email (some others have mentioned this as well > on the lists). > > But, I'm not sure about MSI. How would I confirm I'm using it, or > disable it? It looks from a bit of googling that one can disable it by > adding: > > hw.pci.enable_msix=0 > hw.pci.enable_msi=0 > > to /boot/loader.conf, and rebooting. Would that do it? Yes. > But would I lose anything by disabling MSI? I'm still not exactly sure > what it does, even after googling a bit... ;) Is there a man page I > can look at? Hrmph. It looks like our in-tree mfi(4) driver does not support MSI after all. How odd. I know the hardware supports MSI. In that case, this test won't help. :( -- John Baldwin