From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 24 09:57:07 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 20AF437B401 for ; Thu, 24 Apr 2003 09:57:07 -0700 (PDT) Received: from hotmail.com (f123.law11.hotmail.com [64.4.17.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5CA543FB1 for ; Thu, 24 Apr 2003 09:57:06 -0700 (PDT) (envelope-from freebsd_questions@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 24 Apr 2003 09:57:06 -0700 Received: from 164.164.86.66 by lw11fd.law11.hotmail.msn.com with HTTP; Thu, 24 Apr 2003 16:57:06 GMT X-Originating-IP: [164.164.86.66] X-Originating-Email: [freebsd_questions@hotmail.com] From: "Abhay Srivastava" To: ken@kdm.org Date: Thu, 24 Apr 2003 22:27:06 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Apr 2003 16:57:06.0375 (UTC) FILETIME=[8966D570:01C30A82] 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: Thu, 24 Apr 2003 16:57:07 -0000 Thanks a lot. Yes I was sending cmd "MODE_SELECT_6" ( along with many other commands) , I commented it and now evrything works. All other commands work properly (eg. READ_CAPACITY, READ_6 etc.). Thanks again. However, I was sending the same commwnd on FreeBSD 3.1 also, where it worked. I have counter checked all the values i was sending and they are the same in 3.1 and 4.7 code. Just curious if there is some change made in 4.7 from 3.1 so that i have to change the way to send "MODE_SELECT_6". Regards. >From: "Kenneth D. Merry" >To: Abhay Srivastava >CC: freebsd-hackers@freebsd.org >Subject: Re: Porting from 3.1 to 4.7 >Date: Wed, 23 Apr 2003 09:28:29 -0600 > >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 _________________________________________________________________ Find old batchmates. Renew lost friendship. http://www.batchmates.com/msn.asp Right here!