From owner-freebsd-hardware@FreeBSD.ORG Thu May 6 19:37:11 2010 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEBB1106564A for ; Thu, 6 May 2010 19:37:11 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by mx1.freebsd.org (Postfix) with ESMTP id 693108FC1A for ; Thu, 6 May 2010 19:37:10 +0000 (UTC) Received: from omta06.westchester.pa.mail.comcast.net ([76.96.62.51]) by qmta12.westchester.pa.mail.comcast.net with comcast id EArQ1e00116LCl05CKdBLa; Thu, 06 May 2010 19:37:11 +0000 Received: from [192.168.2.164] ([206.210.89.202]) by omta06.westchester.pa.mail.comcast.net with comcast id EKcz1e0084Mx3R23SKd1z6; Thu, 06 May 2010 19:37:09 +0000 Message-ID: <4BE31A59.9070109@comcast.net> Date: Thu, 06 May 2010 15:36:57 -0400 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100311 Thunderbird/3.0.1 MIME-Version: 1.0 To: no wonder References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------040306070202080707040001" Cc: Scott Long , freebsd-hardware@freebsd.org Subject: Re: R710 H700 FreeBSD 8 crashes X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2010 19:37:11 -0000 This is a multi-part message in MIME format. --------------040306070202080707040001 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/06/10 14:31, no wonder wrote: > Is anyone using Freebsd 8 successfully on R710s w/ PERC H700 in a raid 5 ? > > We've got 6 1TB sata's configured in a raid 5 on the H700. > We have a few R710's running FreeBSD 8.0-RELEASE and they have been running great. However, they all have the PERC6/i; we don't have any with the H700 controller. > Freebsd is using the mfi driver. > > uname -a > FreeBSD myhost 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 > UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > > Output from the last 3 crashes: > > > From April 7 > ... > mfi0: Copy out failed > You can try rebuilding your kernel with the patch I have attached. It will make the "Copy out failed" messages a bit more descriptive. Additionally, you may want to include the kernel option "KDB" which will enter the debugger on panic (instead of rebooting). From here you'll want to type 'bt' to get a backtrace. Steve Polyack --------------040306070202080707040001 Content-Type: text/plain; name="mfi.c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mfi.c.patch" --- sys/dev/mfi/mfi.c.orig 2010-05-06 15:06:14.000000000 -0400 +++ sys/dev/mfi/mfi.c 2010-05-06 15:11:05.000000000 -0400 @@ -2118,7 +2118,7 @@ #endif if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed at %s:%d. Err: %d\n", __FILE__, __LINE__, error); goto out; } temp = &temp[ioc->mfi_sgl[i].iov_len]; @@ -2143,7 +2143,7 @@ ioc->mfi_sense_len); if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed at %s:%d. Err: %d\n", __FILE__, __LINE__, error); goto out; } } @@ -2349,7 +2349,7 @@ l_ioc.lioc_sgl[i].iov_len); if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed at %s:%d. Err: %d\n", __FILE__, __LINE__, error); goto out; } temp = &temp[l_ioc.lioc_sgl[i].iov_len]; @@ -2373,7 +2373,7 @@ l_ioc.lioc_sense_len); if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed at %s:%d. Err: %d\n", __FILE__, __LINE__, error); goto out; } } @@ -2384,7 +2384,7 @@ 1); if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed at %s:%d. Err: %d\n", __FILE__, __LINE__, error); goto out; } --- sys/dev/mfi/mfi.c.orig 2010-05-06 15:06:14.000000000 -0400 +++ sys/dev/mfi/mfi.c 2010-05-06 15:26:13.000000000 -0400 @@ -2118,7 +2118,7 @@ #endif if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed err: %d\n", error); goto out; } temp = &temp[ioc->mfi_sgl[i].iov_len]; @@ -2143,7 +2143,7 @@ ioc->mfi_sense_len); if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed err: %d\n", error); goto out; } } @@ -2349,7 +2349,7 @@ l_ioc.lioc_sgl[i].iov_len); if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed err: %d\n", error); goto out; } temp = &temp[l_ioc.lioc_sgl[i].iov_len]; @@ -2373,7 +2373,7 @@ l_ioc.lioc_sense_len); if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed err: %d\n", error); goto out; } } @@ -2384,7 +2384,7 @@ 1); if (error != 0) { device_printf(sc->mfi_dev, - "Copy out failed\n"); + "Copy out failed err: %d\n", error); goto out; } --------------040306070202080707040001--