From owner-freebsd-hackers@FreeBSD.ORG Fri May 9 15:13:11 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D30B37B401 for ; Fri, 9 May 2003 15:13:11 -0700 (PDT) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C7D143F3F for ; Fri, 9 May 2003 15:13:10 -0700 (PDT) (envelope-from jkim@niksun.com) Received: from daemon.mj.niksun.com (daemon.mj.niksun.com [10.70.0.244]) h49MCF7F050486; Fri, 9 May 2003 18:12:15 -0400 (EDT) (envelope-from jkim@niksun.com) X-RAV-AntiVirus: This e-mail has been scanned for viruses. From: Jung-uk Kim Organization: Niksun, Inc. To: Eric Anderson , freebsd-hackers@freebsd.org Date: Fri, 9 May 2003 18:12:13 -0400 User-Agent: KMail/1.5.1 References: <3EBC1299.4060101@centtech.com> In-Reply-To: <3EBC1299.4060101@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305091812.13007.jkim@niksun.com> Subject: Re: Adaptec / MegaRAID SCSI issues ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 22:13:11 -0000 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);