From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 23 08:28:32 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 4ADD137B401 for ; Wed, 23 Apr 2003 08:28:32 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53FAD43F3F for ; Wed, 23 Apr 2003 08:28:31 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h3NFSTPM058240; Wed, 23 Apr 2003 09:28:29 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h3NFSTKY058239; Wed, 23 Apr 2003 09:28:29 -0600 (MDT) (envelope-from ken) Date: Wed, 23 Apr 2003 09:28:29 -0600 From: "Kenneth D. Merry" To: Abhay Srivastava Message-ID: <20030423092829.A58203@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from freebsd_questions@hotmail.com on Wed, Apr 23, 2003 at 08:50:16PM +0530 cc: freebsd-hackers@freebsd.org Subject: Re: Porting from 3.1 to 4.7 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: Wed, 23 Apr 2003 15:28:32 -0000 On Wed, Apr 23, 2003 at 20:50:16 +0530, Abhay Srivastava wrote: > > Hi, > I am porting a code from FreeBSD 3.1 to FreeBSD 4.7. However, the code for > executing Cam commands fail. The error is : > > (pass0:sym0:0:0:0): MODE SELECT(06). CDB: 15 1 0 0 10 0 > > (pass0:sym0:0:0:0): ILLEGAL REQUEST asc:26,0 > > (pass0:sym0:0:0:0): Invalid field in parameter list field replaceable unit: > 7 sks:8f,8 > > Is there any change in the way cam commands are given in 4.7 as this code > runs perfectly on 3.1. > > Kindly cc to my Id also as I am not a member on this mailing list. Look at the sense key specific information. It's complaining about byte 8, bit 7 in the parameter list. So look at what you're sending. If you think this is a FreeBSD problem, it's a little hard to say what it might be without looking at the code. Ken -- Kenneth Merry ken@kdm.org