Sense fetching [Was: cdrtools /devel ...]

Jakub Lach jakub_lach at mailplus.pl
Sat Nov 13 13:26:32 UTC 2010


Hello.

scgcheck after applying all patches:

Ready to start test for second SCSI open? Enter <CR> to continue: 
First SCSI open OK - device usable
**********> Checking for second SCSI open.
Second SCSI open for same device succeeded, 1 additional file descriptor(s)
used.
Second SCSI open is usable
Closing second SCSI.
Checking first SCSI.
First SCSI open is still usable
----------> Second SCSI open test PASSED.
First SCSI open is still usable
Ready to start test for succeeded command? Enter <CR> to continue: 
**********> Checking for succeeded SCSI command.

Executing 'inquiry' command on Bus 1 Target 0, Lun 0 timeout 40s
CDB:  12 00 00 00 24 00
cmd finished after 0.002s timeout 40s
Inquiry Data   : 05 80 00 32 5B 00 00 00 48 4C 2D 44 54 2D 53 54 44 56 44 52
41 4D 20 47 53 41 2D 55 32 30 4E 20 48 58 31 31
----------> SCSI succeeded command test PASSED
Ready to start test for failing command? Enter <CR> to continue: 
**********> Testing for failed SCSI command.
scgcheck: Input/output error. inquiry: scsi sendcmd: retryable error
CDB:  12 00 00 FF 24 00
status: 0x0 (GOOD STATUS)
resid: 36
cmd finished after 0.038s timeout 40s
---------->     SCSI Transport return != SCG_NO_ERROR (1)
---------->     SCSI status byte set to 0 (0x0)
----------> SCSI failed command test FAILED
Ready to start test for sense data count? Enter <CR> to continue: 
**********> Testing for SCSI sense data count.
**********> Testing if at least CCS_SENSE_LEN (18) is supported...
Sense Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
---------->     Method 0x00: expected: 18 reported: 18 max found: 0
Sense Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
---------->     Method 0xFF: expected: 18 reported: 18 max found: 18
---------->     Wanted 18 sense bytes, got it.
**********> Testing for 32 bytes of sense data...
Sense Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
---------->     Method 0x00: expected: 32 reported: 32 max found: 0
Sense Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
---------->     Method 0xFF: expected: 32 reported: 32 max found: 32
---------->     Wanted 32 sense bytes, got it.
----------> Got a maximum of 32 sense bytes
----------> SCSI sense count test PASSED
----------> SCSI status byte test NOT YET READY
Ready to start test for working DMA residual count? Enter <CR> to continue: 
**********> Testing for working DMA residual count.
**********> Testing for working DMA residual count == 0.
CDB cnt: 36 DMA cnt: 36 got really: 36 (System says: RDMA cnt: 36 resid 0)
CDB cnt: 36 DMA cnt: 36 got really: 36 (System says: RDMA cnt: 36 resid 0)
---------->     Wanted 36 bytes, got it.
----------> SCSI DMA residual count == 0 test PASSED
Ready to start test for working DMA residual count == DMA count? Enter <CR>
to continue: 
resid: 36
CDB cnt: 0 DMA cnt: 36 got really: 0 (System says: RDMA cnt: 0 resid 36)
resid: 36
CDB cnt: 0 DMA cnt: 36 got really: 0 (System says: RDMA cnt: 0 resid 36)
---------->     Wanted 0 bytes, got it.
----------> SCSI DMA residual count == DMA count test PASSED
Ready to start test for working DMA residual count == 1? Enter <CR> to
continue: 
**********> Testing for working DMA residual count == 1.
resid: 1
CDB cnt: 36 DMA cnt: 37 got really: 36 (System says: RDMA cnt: 36 resid 1)
resid: 1
CDB cnt: 36 DMA cnt: 37 got really: 36 (System says: RDMA cnt: 36 resid 1)
---------->     Wanted 36 bytes, got it.
----------> SCSI DMA residual count == 1 test PASSED
Ready to start test for working DMA overrun detection? Enter <CR> to
continue: 
**********> Testing for working DMA overrun detection.
DMA overrun, resid: -1
CDB cnt: 36 DMA cnt: 35 got really: 36 (System says: RDMA cnt: 36 resid -1)
DMA overrun, resid: -1
CDB cnt: 36 DMA cnt: 35 got really: 36 (System says: RDMA cnt: 36 resid -1)
---------->     Wanted 36 bytes, got it - DMA overrun not blocked.
---------->     Wanted 35 bytes, got (36)
---------->     Libscg says 35 bytes but got (36)
----------> SCSI DMA overrun test FAILED
----------> SCSI transport code test NOT YET READY

What is more important, writing CD-Rs and DVD-Rs works.

Thanks for help, 
- Jakub Lach

-- 
View this message in context: http://old.nabble.com/Sense-fetching--Was%3A-cdrtools--devel-...--tp30144086p30206153.html
Sent from the freebsd-current mailing list archive at Nabble.com.



More information about the freebsd-current mailing list