From owner-freebsd-stable@FreeBSD.ORG Thu Oct 3 15:50:17 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 90969B50 for ; Thu, 3 Oct 2013 15:50:17 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 369142D32 for ; Thu, 3 Oct 2013 15:50:17 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id p19so1767646qcv.11 for ; Thu, 03 Oct 2013 08:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WhzGFo1bF06WVyTiauWcMv9j9N9vxgqIvT3WmPEQT+k=; b=zZ6NQsjF0TgunMW89gftKRYZ+S57YIRpwQH6teB3fcDQat9UsLAzkv91f3ez3slovQ t5+sGol8/1+0rndkkMyM8Wzy/SoRBCeAo3M1jAQAEBaY+NtrKQxemk08BS2O1I0yPkq1 leWpkGrRu0xv8yx1uDwa7HyfhvaAgLM4YCHWMZYLY1mkTKkbyLeXt8Zenve5fG+O73+A vL6p41/U1OCAsi2mCUJrcgQDezeZJ3uiIL/0HJbRbxeNhh56jiZ5k57JS+nIw7u3u+8F Pngc8mQH37pIpwPBARw1fIn7ByODXUDNJN4FcVLDrW2uyDOt2/71g2TVnkgm2Mt09Y41 oLTA== MIME-Version: 1.0 X-Received: by 10.49.104.5 with SMTP id ga5mr10497773qeb.53.1380815416119; Thu, 03 Oct 2013 08:50:16 -0700 (PDT) Received: by 10.49.117.134 with HTTP; Thu, 3 Oct 2013 08:50:15 -0700 (PDT) Date: Thu, 3 Oct 2013 11:50:15 -0400 Message-ID: Subject: Device timeout from mfi(9) while booting 9.2-RELEASE From: Ryan Stone To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 15:50:17 -0000 We're having trouble booting 9.2-RELEASE on a system with an mfi (Drake Skinny) controller. When it tries to mount root we get: mfi0: COMMAND 0xffffff8000cb7220 TIMEOUT AFTER 59 SECONDS mfi0: COMMAND 0xffffff8000cb72a8 TIMEOUT AFTER 60 SECONDS mfi0: COMMAND 0xffffff8000cb7220 TIMEOUT AFTER 90 SECONDS I also get the following when mfi attaches (with bootverbose): mfi0: port 0x5000-0x50ff mem 0xfbd60000-0xfbd63fff,0xfbd00000-0xf bd3ffff irq 16 at device 0.0 on pci2^M mfi0: attempting to allocate 1 MSI vectors (1 supported)^M msi: routing MSI IRQ 282 to local APIC 0 vector 77^M mfi0: using IRQ 282 for MSI^M mfi0: Using MSI^M mfi0: Megaraid SAS driver Ver 4.23 ^M mfi0: Frame 0xffffff85d394b280 timed out command 0x1010000^M error 60 in callback from mfi_send_frame^M mfi0: Frame 0xffffff85d394b500 timed out command 0x1040100^M error 60 in callback from mfi_send_frame^M mfi0: Frame 0xffffff85d394b780 timed out command 0x1040300^M error 60 in callback from mfi_send_frame^M mfi0: Error 255 fetching controller entries^M I've put full bootverbose logs from boots with hw.mfi.msi=0 and hw.mfi.msi=1 here: http://people.freebsd.org/~rstone/mfi_timeout_irq.txt http://people.freebsd.org/~rstone/mfi_timeout_msi.txt Neither boot was successful. I don't have the ability to boot from alternative media so I have a limited ability to test changes (I can re-image from a full disk image, but that requires building a new disk image which takes some time). I did see the following forum post and tried with cbb and pccard removed from GENERIC. That didn't fix it. http://forums.freebsd.org/showpost.php?p=231135&postcount=4