Date: Thu, 06 May 2010 15:36:57 -0400 From: Steve Polyack <korvus@comcast.net> To: no wonder <lotreck11@gmail.com> Cc: Scott Long <scottl@samsco.org>, freebsd-hardware@freebsd.org Subject: Re: R710 H700 FreeBSD 8 crashes Message-ID: <4BE31A59.9070109@comcast.net> In-Reply-To: <p2m2e26d6bd1005061131xa014683fyf84cae8cb389c17a@mail.gmail.com> References: <p2m2e26d6bd1005061131xa014683fyf84cae8cb389c17a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BE31A59.9070109>
