Date: Mon, 10 Oct 2011 11:44:50 +0100 From: Frank Shute <frank@shute.org.uk> To: "Michael D. Norwick" <mnorwick@centurytel.net> Cc: freebsd general questions <freebsd-questions@freebsd.org> Subject: Re: Can't access a music CD Message-ID: <20111010104450.GA28895@orange.esperance-linux.co.uk> In-Reply-To: <4E92BF3C.8080807@centurytel.net> References: <4E924B4D.4050801@centurytel.net> <20111010063740.GA23603@orange.esperance-linux.co.uk> <4E92BF3C.8080807@centurytel.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D"YES" > >>atapicam_load=3D"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 >=20 > $ cdcontrol status > Audio status =3D 21<void>, current track =3D 1, current position =3D 0:00= .09 > Media catalog is active, number "0826663409727\000\013" > Left volume =3D 216, right volume =3D 216 > $ cdcontrol reset > cdcontrol: Inappropriate ioctl for device > $ cdcontrol play > $ cdcontrol status > Audio status =3D 17<playing>, current track =3D 1, current position =3D 1= :05.18 > No media catalog info available > Left volume =3D 216, right volume =3D 216 This looks like it's playing. Is the CD/DVD drive active? >=20 > $ tail /var/log/messages > Oct 10 04:30:50 bucksnort kernel: (cd0:ata0:0:0:0): cddone: got error=20 > 0x6 back > Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service=20 > 'org.freedesktop.SystemToolsBackends.SMBConfig' failed: Launch helper=20 > exited with unknown return code 255 > Oct 10 04:30:55 bucksnort dbus[1953]: [system] Activated service=20 > 'org.freedesktop.SystemToolsBackends.NFSConfig' failed: Launch helper=20 > exited with unknown return code 255 > Oct 10 04:30:56 bucksnort dbus[1953]: [system] Activating service=20 > name=3D'org.gnome.SettingsDaemon.DateTimeMechanism' (using servicehelper) > Oct 10 04:30:56 bucksnort dbus[1953]: [system] Successfully activated=20 > service 'org.gnome.SettingsDaemon.DateTimeMechanism' > Oct 10 04:37:41 bucksnort kernel: (cd0:ata0:0:0:0): MODE_SENSE(6)=20 > failed, increasing minimum CDB size to 10 bytes > Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): READ SUB-CHANNEL.=20 > 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=20 > Status Error > Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI status: Check=20 > Condition > Oct 10 04:39:43 bucksnort kernel: (cd0:ata0:0:0:0): SCSI sense: ILLEGAL= =20 > REQUEST asc:0,11 (Audio play operation in progress) Again, looks like it's playing.... >=20 > Still will not play. Tried 2 different CD's. >=20 > Thank You, If the drive is active and you're not getting sound out: What does: $ mixer & $ cat /dev/sndstat show? Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk6SzJkACgkQHduKvUAgeK6VCQCggpOmAZ3BeiUjkK36XTCQafeC 3lIAnjs3fKfW+uSi3zVXQE5pWBWqz7zN =rpKw -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- --nFreZHaLTZJo0R7j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111010104450.GA28895>