Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2011 08:45:15 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Jan Mikkelsen <janm@transactionware.com>
Cc:        freebsd-stable@freebsd.org, Jeremy Chadwick <freebsd@jdc.parodius.com>, Vincent Hoffman <vince@unsane.co.uk>
Subject:   Re: mfi timeouts
Message-ID:  <201111150845.15833.jhb@freebsd.org>
In-Reply-To: <B2C23975-1E28-43A0-81D1-04C308F5475D@transactionware.com>
References:  <4EA9E0C3.5080306@unsane.co.uk> <201111141136.01348.jhb@freebsd.org> <B2C23975-1E28-43A0-81D1-04C308F5475D@transactionware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111150845.15833.jhb>