Porting from 3.1 to 4.7
freebsd_questions at hotmail.com
Thu Apr 24 09:57:07 PDT 2003
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.).
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".
>From: "Kenneth D. Merry" <ken at kdm.org>
>To: Abhay Srivastava <freebsd_questions at hotmail.com>
>CC: freebsd-hackers at 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
> > 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
> > 7 sks:8f,8
> > Is there any change in the way cam commands are given in 4.7 as this
> > 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 at kdm.org
Find old batchmates. Renew lost friendship.
http://www.batchmates.com/msn.asp Right here!
More information about the freebsd-hackers