From owner-freebsd-stable@FreeBSD.ORG Mon Nov 14 17:57:20 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 B0882106566B for ; Mon, 14 Nov 2011 17:57:20 +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 880878FC14 for ; Mon, 14 Nov 2011 17:57:20 +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 3DDC246B46; Mon, 14 Nov 2011 12:57:20 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id D522D8A050; Mon, 14 Nov 2011 12:57:19 -0500 (EST) From: John Baldwin To: Vincent Hoffman Date: Mon, 14 Nov 2011 11:29:37 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p8; KDE/4.5.5; amd64; ; ) References: <4EA9E0C3.5080306@unsane.co.uk> <201111090939.14177.jhb@freebsd.org> <4EBBAE90.8010101@unsane.co.uk> In-Reply-To: <4EBBAE90.8010101@unsane.co.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201111141129.37364.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 14 Nov 2011 12:57:19 -0500 (EST) Cc: Jan Mikkelsen , freebsd-stable@freebsd.org 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: Mon, 14 Nov 2011 17:57:20 -0000 On Thursday, November 10, 2011 5:59:28 am Vincent Hoffman wrote: > On 09/11/2011 14:39, John Baldwin wrote: > > On Tuesday, November 08, 2011 6:39:07 pm Vincent Hoffman wrote: > >> On 08/11/2011 22:24, Vincent Hoffman wrote: > >>> On 08/11/2011 19:50, John Baldwin wrote: > >>>> Hmm, did you try the patch I had posted from that earlier thread? It had > >>>> two changes in it, one was similar to the patch in the PR, the second added > >>>> MSI-X support. I've since tweaked it to make the MSI-X support off by > >>>> default but possible to enable via loader.conf. Would you be willing to > >>>> try the updated patch at www.freebsd.org/~jhb/patches/mfi.patch? > >>> Hi, > >>> yes I tried the patch you posted originally, unfortunately the dell > >>> never finished booting either. The Supermicro is now in production but > >>> I'll take the dell up to 9-STABLE and try your updated patch. > >>> > >> The patch didnt apply quite cleanly for 9-STABLE, 1 reject as it had > >> already been applied. > > Odd, it's against stock head, so I don't know why it would have failed to > > apply. > > > >> I have rebooted the dell and it seems happy with the new patch (msi > >> disabled.) > > Okay, good. I'll commit the non-MSI bits at least and get them merged into > > 9.0 if possible. > > > >> Booting with > >> hw.mfi.msix=1 in /boot/loader.conf causes the timeouts again and stops > >> the boot from completing. > > Ok. Can you try changing it to use MSI instead of MSI-X? Just edit the > > mfi_pci.c call and replace 'pci_alloc_msix' with 'pci_alloc_msi'. > > > Well the dell has been up for about 19 hours now using MSI, I ran > bonnie++ a few times on it and have now stuck it in a permanent loop > (will look in from time to time.) Are there any tests you'd like > run/info you'd like? No, this looks good. I'll probably commit something to mfi to just enable MSI only (but with a tunable that defaults to off) so people can do broader testing. -- John Baldwin