Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2010 08:20:36 -0700 (PDT)
From:      Jakub Lach <jakub_lach@mailplus.pl>
To:        freebsd-stable@freebsd.org
Subject:   Re: cdrtools /devel and wodim broken
Message-ID:  <30077727.post@talk.nabble.com>
In-Reply-To: <4cc97138.Wgb2gWzIsaEluoVM%Joerg.Schilling@fokus.fraunhofer.de>
References:  <29978939.post@talk.nabble.com> <4cc97138.Wgb2gWzIsaEluoVM%Joerg.Schilling@fokus.fraunhofer.de>

next in thread | previous in thread | raw e-mail | index | archive | help

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

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

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

Scgcheck 3.00 (amd64-unknown-freebsd8.1) SCSI user level transport library
ABI checker.
Copyright (C) 1998-2008 J=C3=B6rg 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=3D1,0,0.
Enter SCSI device name [1,0,0]:=20
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   :=20
Vendor_info    : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-U20N '
Revision       : 'HX11'
Ready to start test for second SCSI open? Enter <CR> to continue:=20
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:=20
**********> 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 5=
2
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:=20
**********> 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 !=3D 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:=20
**********> 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:=
=20
**********> Testing for working DMA residual count.
**********> Testing for working DMA residual count =3D=3D 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 =3D=3D 0 test PASSED
Ready to start test for working DMA residual count =3D=3D DMA count? Enter =
<CR>
to continue:=20
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 =3D=3D DMA count test FAILED
----------> SCSI DMA residual count not working - no further tests
----------> SCSI transport code test NOT YET READY

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30077727.post>