From owner-freebsd-current@FreeBSD.ORG Sat Nov 13 13:26:32 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37B751065675 for ; Sat, 13 Nov 2010 13:26:32 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id F19818FC13 for ; Sat, 13 Nov 2010 13:26:31 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1PHG7j-0007Lq-GN for freebsd-current@freebsd.org; Sat, 13 Nov 2010 05:26:31 -0800 Message-ID: <30206153.post@talk.nabble.com> Date: Sat, 13 Nov 2010 05:26:31 -0800 (PST) From: Jakub Lach To: freebsd-current@freebsd.org In-Reply-To: <4CDE5B8C.4000102@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jakub_lach@mailplus.pl References: <4CD45209.5010607@FreeBSD.org> <4CDE5B8C.4000102@FreeBSD.org> Subject: Re: Sense fetching [Was: cdrtools /devel ...] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 13:26:32 -0000 Hello. scgcheck after applying all patches: Ready to start test for second SCSI open? Enter 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 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 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 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 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 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 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 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.