R710 H700 FreeBSD 8 crashes

Steve Polyack korvus at comcast.net
Thu May 6 19:37:11 UTC 2010


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 at 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
-------------- next part --------------
--- 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;
 		}
 


More information about the freebsd-hardware mailing list