Re: [PARPORT] cdrecord and HP7500e


grant@torque.net
Fri, 25 Jun 1999 16:13:48 -0400 (EDT)


Ok, here are the critical fragments:

> Executing 'inquiry' command on Bus 0 Target 0, Lun 0 timeout 40s
> CDB: 12 00 00 00 24 00
> cdrecord: Input/output error. inquiry: scsi sendcmd: retryable error
> status: 0x2 (CHECK CONDITION)
> CDB: 12 00 00 00 24 00

Note that Joerg only shows us the first 6 bytes of the 12 byte CDB.

> Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 24 00 00 00 00 00
> Sense Key: 0x5 Illegal Request, Segment 0
> Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0

Note that complaint: "invalid field in cdb"

> Sense flags: Blk 0 (not valid)
> resid: 36
> cmd finished after 0.003s timeout 40s
> Got 0 (0x0), expecting 36 (0x24) bytes of data.

Here's a valid INQUIRY:

> pg0: Command sent, dlen=36 packet= 12 00 00 00 24 00 00 00 00 00 00 00
> pg0: Read 36 bytes
> pg0: HP CD-Writer+ 7500, slave

Now, compare it to this one and you'll see why the drive is complaining about
invalid data in the CDB:

> pg0: Command sent, dlen=36 packet= 12 00 00 00 24 00 00 00 28 00 00 00
> pg0: completion: stat=0x51 err=0x54 phase=3

It's a bug in cdrecord.

--------------------------------------------------------------------------
Grant R. Guenther grant@torque.net
--------------------------------------------------------------------------

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Fri 25 Jun 1999 - 16:15:35 EDT