Date: Fri, 9 May 2003 18:12:13 -0400 From: Jung-uk Kim <jkim@niksun.com> To: Eric Anderson <anderson@centtech.com>, freebsd-hackers@freebsd.org Subject: Re: Adaptec / MegaRAID SCSI issues ? Message-ID: <200305091812.13007.jkim@niksun.com> In-Reply-To: <3EBC1299.4060101@centtech.com> References: <3EBC1299.4060101@centtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I had a same problem with MegaRAID. I believe there is pass-through
problem. Try the following patch.
Jung-uk Kim
--- src/sys/dev/amr/amr.c.old Wed Jan 15 17:03:05 2003
+++ src/sys/dev/amr/amr.c Fri May 9 18:00:11 2003
@@ -237,12 +237,14 @@
debug(2, "controller query complete");
+#ifdef AMR_SCSI_PASSTHROUGH
/*
* Attach our 'real' SCSI channels to CAM.
*/
if (amr_cam_attach(sc))
return(ENXIO);
debug(2, "CAM attach done");
+#endif
/*
* Create the control device.
@@ -339,8 +341,10 @@
{
struct amr_command_cluster *acc;
+#ifdef AMR_SCSI_PASSTHROUGH
/* detach from CAM */
amr_cam_detach(sc);
+#endif
/* cancel status timeout */
untimeout(amr_periodic, sc, sc->amr_timeout);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305091812.13007.jkim>
