From owner-freebsd-scsi Thu Jun 15 22:21:24 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id F1DEC37B853 for ; Thu, 15 Jun 2000 22:21:19 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id XAA49079; Thu, 15 Jun 2000 23:21:17 -0600 (MDT) (envelope-from ken) Date: Thu, 15 Jun 2000 23:21:17 -0600 From: "Kenneth D. Merry" To: "NandaKumar P.K." Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Reset device and reset bus is not working Message-ID: <20000615232117.A49011@panzer.kdm.org> References: <20000616050010.7958.qmail@web1903.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000616050010.7958.qmail@web1903.mail.yahoo.com>; from p_k_nandan@yahoo.com on Thu, Jun 15, 2000 at 10:00:10PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Jun 15, 2000 at 22:00:10 -0700, NandaKumar P.K. wrote: > Hi, > > I am testing the HBA driver for our RAID controller > card for FreeBSD 3.4. When i send the XPT_RESET_DEV > and XPT_RESET_BUS using the "camcontrol" system is > just hanging. I am handling both of these requests in > the driver and sends the response to the CAM layer. > > Is it necessary to complete these commands in the > request function (_action ) itself ? Because when i > sent the response CAM_REQ_CMP from the request it was > O.K. But in the actual case i pass the request to the > firmware and when the response is received from the > firmware i complete the request. That bug was fixed in the RELENG_3 branch after 3.4 was released. You need at least rev 1.42.2.21 of src/sys/cam/cam_xpt.c and at least rev 1.9.2.7 of src/sbin/camcontrol/camcontrol.c to fix the problem. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message