From owner-freebsd-questions@FreeBSD.ORG Mon Oct 10 10:44:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 861FE106566C for ; Mon, 10 Oct 2011 10:44:57 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp1.iomartmail.com (asmtp1.iomartmail.com [62.128.201.248]) by mx1.freebsd.org (Postfix) with ESMTP id 055ED8FC16 for ; Mon, 10 Oct 2011 10:44:56 +0000 (UTC) Received: from asmtp1.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id p9AAipYO027568; Mon, 10 Oct 2011 11:44:51 +0100 Received: from orange.esperance-linux.co.uk (host-92-22-130-66.as13285.net [92.22.130.66]) (authenticated bits=0) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id p9AAio15027557; Mon, 10 Oct 2011 11:44:50 +0100 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 94F8433C1F; Mon, 10 Oct 2011 11:44:50 +0100 (BST) Date: Mon, 10 Oct 2011 11:44:50 +0100 From: Frank Shute To: "Michael D. Norwick" Message-ID: <20111010104450.GA28895@orange.esperance-linux.co.uk> References: <4E924B4D.4050801@centurytel.net> <20111010063740.GA23603@orange.esperance-linux.co.uk> <4E92BF3C.8080807@centurytel.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <4E92BF3C.8080807@centurytel.net> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-STABLE amd64 X-Organisation: 'shute.org.uk' Cc: freebsd general questions Subject: Re: Can't access a music CD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2011 10:44:57 -0000 --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: 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, 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, 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--