NetBSD-Bugs archive

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

Re: port-amd64/45652: cdplay doesn't work



On Fri, Nov 25, 2011 at 10:05 AM, Jonathan A. Kollasch
<jakllsch%kollasch.net@localhost> wrote:
> The following reply was made to PR port-amd64/45652; it has been noted by 
> GNATS.
>
> From: "Jonathan A. Kollasch" <jakllsch%kollasch.net@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: port-amd64/45652: cdplay doesn't work
> Date: Fri, 25 Nov 2011 15:00:37 +0000
>
>  If there are any errors from the cd(4) driver in dmesg after attempting
>  to 'play' they might be useful to see.

cd0(piixide0:0:0):  Check Condition on CDB: 0x28 00 00 00 00 00 00 00 01 00
    SENSE KEY:  Illegal Request
                Incorrect Length Indicator Set
     ASC/ASCQ:  Illegal Mode For This Track

cd0: dos partition I/O error
cd0(piixide0:0:0):  Check Condition on CDB: 0x5a 08 0e 00 00 00 00 00 18 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Field in CDB
         SKSV:  Error in CDB, Offset 2

cd0(piixide0:0:0):  Check Condition on CDB: 0x5a 00 0e 00 00 00 00 00 18 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Field in CDB
         SKSV:  Error in CDB, Offset 2



>
>  Also, please provide output from 'scsictl cd0 identify'.

dca@salome:~$ scsictl cd0 identify
scsictl: cd0: Permission denied
dca@salome:~$ sudo scsictl cd0 identify
/dev/rcd0d: scsibus0 target 0 lun 0 <HL-DT-ST, DVD-RAM GSA-H60N, CX04>


>
>  Does running 'play' after 'digital' in cdplay(1) work?

Yes!

>
>  I suspect that newer optical drives may no longer implement analog
>  playback.

This machine was purchased in 6/2008, so about 3.5 years old.

The optical drive is

cd0 at atapibus0 drive 0: <HL-DT-STDVD-RAM GSA-H60N, M0084E11213,
CX04> cdrom removable

Your conjecture (about lack of hardware support for analog playback)
sounds right. If so, cdplay ought to detect it, if that's possible,
and select the correct mode itself. Or, at the very least, some better
explanation in the man page that would help the user, who typically
knows nothing of analog vs. digital transfer modes, to make the right
choice himself. Or something more explicit in the error message than
complaining about the IOCTL argument, e.g., "If you get this error,
try enabling 'digital' transfer mode".

Thanks for your help.

/Don


>
>


Home | Main Index | Thread Index | Old Index