Ethereal-dev: Re: [Ethereal-dev] ethereal broken on iscsi decoding?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ming Zhang <mingz@xxxxxxxxxxxxxxxxx>
Date: Sun, 30 Jan 2005 14:29:26 -0500
just feel curious, why need to differentiate the cdrom type of device
type? i do not think scsi spec has same command for different type of
device will have different explanations.

ming


On Sat, 2005-01-29 at 16:52, Ming Zhang wrote:
> On Sat, 2005-01-29 at 16:02, Guy Harris wrote:
> > Ming Zhang wrote:
> > > report another bug. under certain sequence, the ethereal can not decode
> > > command correctly. like the trace i attached, the command 0x25 can not
> > > be recognized. this is a ms iscsi ini to connect an iscsi exported scsi
> > > cdrom.
> > 
> > We weren't using the SBC-2 table for commands in CD-ROM devices.  I 
> > checked in a change to do so.
> > 
> > However, it still doesn't recognize the command 0x43 - is that "Read 
> > TOC"?  What SCSI spec describes that one?
> > 
> for cdrom, a better standard to describe it is mmc4 or mmc5. t10 has it.
> 
> 
> > Also, looking at the capture, I saw a couple of issues:
> > 
> > 	1) looking at one of the Read(10) commands, the Info column shows the 
> > logical block number in hex, and the detailed dissection shows it in 
> > decimal.  Presumably they should both be in the same base - which one is 
> > more appropriate?
> either one is ok, as long as they keep same one.
> 
> > 
> > 	2) the replies to commands just say "SCSI Data In" or "SCSI Response" 
> > in the Info column, they don't indicate the response type - is that 
> > intentional?
> no idea. it is ok for me. though it is better if it can show scsi
> response for certain command.
-- 
| --------------------------------------------------
| Development Team Leader
| Gemini Storage Corporation
| 650 Ten Rod Road, Suite B5
| North Kingstown, RI 02852
| mingz<at>geministorage(dot)com
 --------------------------------------------------