Artem Kachitchkine <[EMAIL PROTECTED]> wrote:

Let me add a note: I now see the problem in the log that I did miss
a few hours ago.

>
>  > It used to work in build 70.
>
> > Then somebody introduced a bug in the USCSI code from sd.c
>
> I prefer to say "a bug was introduced", subtler grammar with a softer 
> attitude and leading to a more constructive discussion :) sd SCCS 
> history between build 70 and 76:

It is always somebody.... but note: nobody is free of errors.


> D 1.564 07/09/20 11:57:19
> backout 4046204/6603211: causes 6607084
>
> D 1.563 07/09/19 19:42:10
> PSARC/2001/252  Recovering SCSI Sense Data
> 4046204 USCSICMD fails to pass back more than 20 bytes ARQ Sense DATA;

I would carefully check this diff.

1)      USCSICMD returns sometimes EINVAL.
        This is most likely a bug.

2)      None of the SCSI commands from the log did seem to fail.
        We did never see any Request sense data, so it may be that this
        is the bug in sd.c

Let us check this:

Executing 'Read12' command on Bus 0 Target 0, Lun 0 timeout 60s
CDB:  D8 00 00 00 00 00 00 00 00 4B 00 00
/opt/schily/bin/cdda2wav: Invalid argument. Cannot send SCSI cmd via ioctl.
/opt/schily/bin/cdda2wav: Invalid argument. Read12: scsi sendcmd: fatal error

This is a command that most likely failed with a "Invalid command" Sense code
but we did not get a correct reply at all.

This command _may_ fail if the drive does not implement the Sony vendor unique
SCSI command set.


The next problem is that it seems that the command:

Executing 'ReadCD MMC 12' command on Bus 0 Target 0, Lun 0 timeout 60s
CDB:  BE 04 00 00 00 00 00 00 4B 10 00 00
/opt/schily/bin/cdda2wav: Invalid argument. Cannot send SCSI cmd via ioctl.
/opt/schily/bin/cdda2wav: Invalid argument. ReadCD MMC 12: scsi sendcmd: fatal 
error
CDB:  BE 04 00 00 00 00 00 00 4B 10 00 00
cmd finished after 0.000s timeout 60s

fails too. This is a command that cannot fail with an audio CD.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to