Date: Thu, 24 Apr 2003 22:27:06 +0530 From: "Abhay Srivastava" <freebsd_questions@hotmail.com> To: ken@kdm.org Cc: freebsd-hackers@freebsd.org Subject: Re: Porting from 3.1 to 4.7 Message-ID: <Law11-F123FwOdRyQYY00002af2@hotmail.com>
next in thread | raw e-mail | index | archive | help
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" <ken@kdm.org> >To: Abhay Srivastava <freebsd_questions@hotmail.com> >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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Law11-F123FwOdRyQYY00002af2>