From owner-freebsd-stable@FreeBSD.ORG Tue Nov 15 15:52:54 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 E9216106566C for ; Tue, 15 Nov 2011 15:52:54 +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 BF0D38FC12 for ; Tue, 15 Nov 2011 15:52:54 +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 CB76546B17; Tue, 15 Nov 2011 10:52:53 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 5AF8C8A050; Tue, 15 Nov 2011 10:52:53 -0500 (EST) From: John Baldwin To: Jan Mikkelsen Date: Tue, 15 Nov 2011 08:45:15 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p8; KDE/4.5.5; amd64; ; ) References: <4EA9E0C3.5080306@unsane.co.uk> <201111141136.01348.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201111150845.15833.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Tue, 15 Nov 2011 10:52:53 -0500 (EST) Cc: freebsd-stable@freebsd.org, Jeremy Chadwick , Vincent Hoffman Subject: Re: mfi timeouts 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: Tue, 15 Nov 2011 15:52:55 -0000 On Monday, November 14, 2011 7:27:18 pm Jan Mikkelsen wrote: > Hi, > > Sorry about being unclear. They all failed in the same way. > > So, these combinations have continuous timeout errors and fail to completely boot: > > Plain 9.0-RC1 > > 9-stable with 1.62 of mfi.c > > 9-stable with www.freebsd.org/~jhb/patches/mfi.patch, pci_alloc_msi > instead of pci_alloc_msix and hw.mfi.msix=0 > > This boots, but gets "mfi0: Cannot allocate interrupt" and there are no /dev/mfi* devices: > > 9-stable with www.freebsd.org/~jhb/patches/mfi.patch and hw.mfi.msix=1 > > This seems to work, but I have not put any load on it yet: > > 9-stable with www.freebsd.org/~jhb/patches/mfi.patch, pci_alloc_msi > instead of pci_alloc_msix and hw.mfi.msix=1 Ok, so MSI interrupts seem to work for you. > > I see you have a new patch, www.freebsd.org/~jhb/patches/mfi_msi.patch. This patch doesn't seem to include the dummy read from your earlier patch, or the one in 1.62 of mfi.c. I assume I need to apply the 1.62 mfi.c diff to by 9-stable sources as well. Is that correct? You can just apply this patch, no need to backport the fix in 1.62 as that fix should not be needed if you are using MSI. -- John Baldwin