From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 24 10:02:24 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 90A5237B404 for ; Thu, 24 Apr 2003 10:02:24 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F3E043FD7 for ; Thu, 24 Apr 2003 10:02:23 -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 h3OH2GPM065149; Thu, 24 Apr 2003 11:02:16 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h3OH2G20065148; Thu, 24 Apr 2003 11:02:16 -0600 (MDT) (envelope-from ken) Date: Thu, 24 Apr 2003 11:02:15 -0600 From: "Kenneth D. Merry" To: Abhay Srivastava Message-ID: <20030424110215.A65091@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 Thu, Apr 24, 2003 at 10:27:06PM +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: Thu, 24 Apr 2003 17:02:24 -0000 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