From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 24 10:54: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 BADDC37B401 for ; Thu, 24 Apr 2003 10:54:07 -0700 (PDT) Received: from hotmail.com (f43.law11.hotmail.com [64.4.17.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F1DD43F85 for ; Thu, 24 Apr 2003 10:54:07 -0700 (PDT) (envelope-from freebsd_questions@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 24 Apr 2003 10:54:07 -0700 Received: from 164.164.86.66 by lw11fd.law11.hotmail.msn.com with HTTP; Thu, 24 Apr 2003 17:54:06 GMT X-Originating-IP: [164.164.86.66] X-Originating-Email: [freebsd_questions@hotmail.com] From: "Philip Jonathan" To: ken@kdm.org Date: Thu, 24 Apr 2003 23:24:06 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Apr 2003 17:54:07.0295 (UTC) FILETIME=[806DCCF0:01C30A8A] 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 17:54:08 -0000 I am filling the cdb manually. >From: "Kenneth D. Merry" >To: Abhay Srivastava >CC: freebsd-hackers@freebsd.org >Subject: Re: Porting from 3.1 to 4.7 >Date: Thu, 24 Apr 2003 11:02:15 -0600 > >On Thu, Apr 24, 2003 at 22:27:06 +0530, Abhay Srivastava wrote: > > 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". > >There are numerous things that have changed between 3.1 and 4.7, so it's >pretty difficult to say what you might be running into without looking at >your code. > >Are you building the CDBs by hand, or are you using scsi_mode_select()? > >Ken >-- >Kenneth Merry >ken@kdm.org _________________________________________________________________ Get cool ringtones. Make a statement. http://www.msn.co.in/Mobile/tunes/ Get noticed.