cdrtools /devel and wodim broken

Jakub Lach jakub_lach at mailplus.pl
Thu Oct 28 15:20:40 UTC 2010


> So maybe it's worth while getting in contact with him?

I wanted to confirm problem is related to ahci before 
bugging him directly. 

I'm long time ahci user and would like to retain it,
it would be nice If somebody with working cdrecord 
would load ahci for a test (by default it's not used in 
GENERIC) + run scgcheck.

Scgcheck 3.00 (amd64-unknown-freebsd8.1) SCSI user level transport library
ABI checker.
Copyright (C) 1998-2008 Jörg Schilling
**********> Checking whether your implementation supports to scan the SCSI
bus.
Trying to open device: '(NULL POINTER)'.
Using libscg version 'schily-0.9'
Max DMA buffer size: 65536
scsibus0:
        0,0,0     0) '' '' '' NON CCS Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'HL-DT-ST' 'DVDRAM GSA-U20N ' 'HX11' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
----------> SCSI scan bus test PASSED
For the next test we need to open a single SCSI device.
Best results will be obtained if you specify a modern CD-ROM drive.
No target specified, trying to find one...
Using dev=1,0,0.
Enter SCSI device name [1,0,0]: 
Trying to open device: '1,0,0'.
Using libscg version 'schily-0.9'
Max DMA buffer size: 65536
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-U20N '
Revision       : 'HX11'
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.001s 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)
cmd finished after 0.013s 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: 32 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: 32 max found: 18
---------->     Wanted 18 sense bytes, got it.
---------->     Libscg says 32 sense bytes but got (18)
**********> 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 FAILED
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: 
CDB cnt: 0 DMA cnt: 36 got really: 0 (System says: RDMA cnt: 36 resid 0)
CDB cnt: 0 DMA cnt: 36 got really: 0 (System says: RDMA cnt: 36 resid 0)
---------->     Wanted 0 bytes, got it.
---------->     Libscg says 36 bytes but got (0)
----------> SCSI DMA residual count == DMA count test FAILED
----------> SCSI DMA residual count not working - no further tests
----------> SCSI transport code test NOT YET READY

regards, 
- Jakub Lach
-- 
View this message in context: http://old.nabble.com/cdrtools--devel-and-wodim-broken-tp29978939p30077727.html
Sent from the freebsd-stable mailing list archive at Nabble.com.



More information about the freebsd-stable mailing list