From owner-freebsd-stable@FreeBSD.ORG Tue Nov 15 00:27:21 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 92AA3106566C for ; Tue, 15 Nov 2011 00:27:21 +0000 (UTC) (envelope-from janm@transactionware.com) Received: from midgard.transactionware.com (mail2.transactionware.com [203.14.245.36]) by mx1.freebsd.org (Postfix) with SMTP id 2066B8FC16 for ; Tue, 15 Nov 2011 00:27:20 +0000 (UTC) Received: (qmail 12061 invoked by uid 907); 15 Nov 2011 00:27:18 -0000 Received: from jmmacpro.transactionware.com (HELO jmmacpro.transactionware.com) (192.168.1.33) by midgard.transactionware.com (qpsmtpd/0.82) with ESMTP; Tue, 15 Nov 2011 11:27:18 +1100 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Jan Mikkelsen In-Reply-To: <201111141136.01348.jhb@freebsd.org> Date: Tue, 15 Nov 2011 11:27:18 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4EA9E0C3.5080306@unsane.co.uk> <4EB9BD9B.8080604@unsane.co.uk> <8F475C3C-35FE-44CD-8FD6-E39F9A2EA6C6@transactionware.com> <201111141136.01348.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1251.1) 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 00:27:21 -0000 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=3D0 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=3D1= 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=3D1 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? Will test out the new patch. Thanks, Jan Mikkelsen On 15/11/2011, at 3:36 AM, John Baldwin wrote: > On Monday, November 14, 2011 3:03:42 am Jan Mikkelsen wrote: >> Hi, >>=20 >> I have just tested mfi on a machine that has just arrived. I'm seeing = the command timeout problem on boot with 9.0-RC1. >>=20 >> The message is "mfi0: COMMAND TIMEOUT AFTER 59 seconds", and = then repeats every 30 seconds (with the time changed, obviously). >>=20 >> I have tested the 9.0-RC1 ISO, a 9-stable kernel patched with the = patch from the PR I referenced below (also in FreeBSD cvs in revision = 1.62 of=20 > src/sys/dev/mfi/mfi.c), and 9-stable kernel with the patch at = www.freebsd.org/~jhb/patches/mfi.patch with the 'pci_alloc_msix' call = changed to=20 > 'pci_alloc_msi'. >=20 > You forgot to mention what happened from those tests, did any of them = work? >=20 > --=20 > John Baldwin