[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Was Samsung DVD writer.



Hi,
the result of scgcheck command is (much long):

--------------------------------------------------------------------------------------------
su-2.05b# scgcheck
Scgcheck 2.01 (i386-unknown-freebsd6.1) SCSI user level transport library ABI checker.
Copyright (C) 1998,2001 Jörg Schilling
Checking if 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
scsibus1:
scgcheck: Warning: controller creates hard SCSI failure when retrieving CD capabilities page.
        1,0,0   100) 'ATAPI   ' 'CD-ROM 52X      ' '172A' Removable CD-ROM
        1,1,0   101) 'HL-DT-ST' 'CD-RW GCE-8481B ' '1.00' Removable CD-ROM
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
scsibus2:
        2,0,0   200) 'TSSTcorp' 'CD/DVDW SH-S182M' 'SB04' Removable CD-ROM
        2,1,0   201) *
        2,2,0   202) *
        2,3,0   203) *
        2,4,0   204) *
        2,5,0   205) *
        2,6,0   206) *
        2,7,0   207) *
----------> 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.
Enter SCSI device name [0,6,0]: 2,0,0
Trying to open device: '2,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    : 'TSSTcorp'
Identifikation : 'CD/DVDW SH-S182M'
Revision       : 'SB04'
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 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.
Ready to start test for succeeded command? Enter <CR> to continue:

Executing 'inquiry' command on Bus 2 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 54 53 53 54 63 6F 72 70 43 44 2F 44 56 44 57 20 53 48 2D 53 31 38 32 4D 53 42 30 34
----------> SCSI succeeded command test PASSED
Ready to start test for failing command? Enter <CR> to continue:
Inquiry did not fail.
This may be because the firmware in your drive is buggy.
If the current drive is not a CD-ROM drive please restart
the test utility. Otherwise remove any medium from the drive.
Ready to start test for failing command? Enter <CR> to continue:
scgcheck: Input/output error. test unit ready: scsi sendcmd: retryable error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 40s
---------->     SCSI Transport return != SCG_NO_ERROR (1)
----------> SCSI failed command test FAILED
Ready to start test for sense data count? Enter <CR> to continue:
Testing if at least CCS_SENSE_LEN (18) is supported...
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00 00 00
---------->     Method 0x00: expected: 18 reported: 32 max found: 14
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 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: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 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: 14
Sense Data: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 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
----------> 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 == 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:
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
**********> Testing for working DMA overrun test.
CDB cnt: 36 DMA cnt: 35 got really: 35 (System says: RDMA cnt: 35 resid 0)
CDB cnt: 36 DMA cnt: 35 got really: 35 (System says: RDMA cnt: 35 resid 0)
----------> SCSI DMA overrun test FAILED
----------> SCSI transport code test NOT YET READY
su-2.05b#  
-----------------------------------------------------------------------------------------------

Thanks.
-- 
Isaia Luciano
FreeBSD user

On Fri, May 04, 2007 at 11:36:19AM +0200, Joerg Schilling wrote:
> FreeBSD User Giacomo <luisaia@tin.it> wrote:
> 
> > Hi at all,
> > Excused if I have left to pass much time before answering. 
> > I carried out the following test:
> > 1.I update the firmare. No change.  
> > 2 I test the cdrtools-2.01.01a25.tar.gz and this is the result:
> > ......... 
> Can you verify that FreeBSD did not again break the SCSI implementation
> and does not do an auto-request Sense?
> 
> Please use "scgcheck" to verify the correctness of your SCSI implementation.
> 
> Jörg
> 
> -- 
>  EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
>        js@cs.tu-berlin.de                (uni)  
>        schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
>  URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



Reply to: