Can't access a music CD

Frank Shute frank at shute.org.uk
Mon Oct 10 10:44:57 UTC 2011


On Mon, Oct 10, 2011 at 04:47:40AM -0500, Michael D. Norwick wrote:
>
> On 10/10/11 01:37, Frank Shute wrote:
> >On Sun, Oct 09, 2011 at 08:33:01PM -0500, Michael D. Norwick wrote:
> >>Good Day;
> >>
> >>Since installing FreeBSD 9-beta2 (now 9-beta3) I have not been able to
> >>play a music cd with the dvd writer on this laptop.  It is a Dell
> >>Latitude D630.  I have built several new worlds and kernels with the
> >>following devices enabled in the kernel config.;
> >>
> >>device        scbus        # SCSI bus (required for ATA/SCSI)
> >>device        ch        # SCSI media changers
> >>device        atapicam
> >>device        da        # Direct Access (disks)
> >>device        sa        # Sequential Access (tape etc)
> >>device        cd        # CD
> >>device        pass        # Passthrough device (direct ATA/SCSI access)
> >>device        ses        # SCSI Environmental Services (and SAF-TE)
> >>
> >>$uname -a
> >>
> >>FreeBSD ****.****.net 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Oct  8
> >>19:48:29 CDT 2011
> >>michael@****.****.net:/usr/obj/usr/src/sys/KERNEL_100811  amd64
> >>
> >>This kernel was built after a recent csup and portsnap fetch.  The
> >>buildworld and buildkernel steps have executed several times without
> >>error.  A recent portupgrade only updated a couple of applications.
> >>
> >>dmesg says this;
> >>
> >>cd0 at ata0 bus 0 scbus1 target 0 lun 0
> >>cd0:<TSSTcorp DVD+-RW TS-L632H D300>  Removable CD-ROM SCSI-0 device
> >>cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
> >>cd0: Attempt to query device size failed: NOT READY, Medium not present
> >>- tray closed
> >>
> >>and /boot/loader.conf says this;
> >>
> >>linux_load="YES"
> >>atapicam_load="YES"
> >>
> >>With a music CD in the drive /var/log/messages says this;
> >>
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): READ(10). CDB: 28 0
> >>0 0 0 0 0 0 40 0
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI
> >>Status Error
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check
> >>Condition
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL
> >>REQUEST asc:64,0 (Illegal mode for this track)
> >>Oct  9 20:19:01 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error
> >>0x6 back
> >>
> >>and /etc/devfs.conf says this;
> >>
> >># Commonly used by many ports
> >>#link   acd0    cdrom
> >>link    cd0     cdrom
> >>own     cd0     root:wheel
> >>perm    cd0     0660
> >>
> >>I think I might be missing something in /etc/devfs.conf.  man devfs.conf
> >>or the handbook did not get me any closer to a solution.
> >>
> >>It worked under 8.2 on this machine.
> >>
> >>Thank You for the help.
> >>
> >What does:
> >
> >$ ls -l /dev | grep cd
> >
> >give you?
> >
> >I assume you're a member of wheel.
> >
> >Give cdcontrol(1) a go if the above looks ok.
> >
> >Make sure your volume isn't turned right down! (mixer(1))
> >
> >Have you checked out that your sound card is configured ok?
> >
> >$ cat /dev/sndstat
> >
> >
> >Regards,
> >
> $ ls -l /dev | grep cd
> crw-rw-rw-  1 root  wheel       0, 119 Oct 10 04:29 cd0
> lrwxr-xr-x  1 root  wheel            3 Oct 10 04:29 cdrom -> cd0
> 
> $ cdcontrol status
> Audio status = 21<void>, current track = 1, current position = 0:00.09
> Media catalog is active, number "0826663409727\000\013"
> Left volume = 216, right volume = 216
> $ cdcontrol reset
> cdcontrol: Inappropriate ioctl for device
> $ cdcontrol play
> $ cdcontrol status
> Audio status = 17<playing>, current track = 1, current position = 1:05.18
> No media catalog info available
> Left volume = 216, right volume = 216

This looks like it's playing. Is the CD/DVD drive active?

> 
> $ tail /var/log/messages
> Oct 10 04:30:50 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error 
> 0x6 back
> Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service 
> 'org.freedesktop.SystemToolsBackends.SMBConfig' failed: Launch helper 
> exited with unknown return code 255
> Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service 
> 'org.freedesktop.SystemToolsBackends.NFSConfig' failed: Launch helper 
> exited with unknown return code 255
> Oct 10 04:30:56 bucksnort dbus[1953]: [system] Activating service 
> name='org.gnome.SettingsDaemon.DateTimeMechanism' (using servicehelper)
> Oct 10 04:30:56 bucksnort dbus[1953]: [system] Successfully activated 
> service 'org.gnome.SettingsDaemon.DateTimeMechanism'
> Oct 10 04:37:41 bucksnort kernel: (cd0:ata0:0:0:0): MODE_SENSE(6) 
> failed, increasing minimum CDB size to 10 bytes
> Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): READ SUB-CHANNEL. 
> CDB: 42 2 40 2 0 0 0 0 18 0
> Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): CAM status: SCSI 
> Status Error
> Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check 
> Condition
> Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL 
> REQUEST asc:0,11 (Audio play operation in progress)

Again, looks like it's playing....

> 
> Still will not play.  Tried 2 different CD's.
> 
> Thank You,

If the drive is active and you're not getting sound out:

What does:

$ mixer

&

$ cat /dev/sndstat

show?


Regards,


-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20111010/ef60546c/attachment.pgp


More information about the freebsd-questions mailing list