From owner-freebsd-questions@FreeBSD.ORG Mon Oct 10 09:47:44 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 38D161065678 for ; Mon, 10 Oct 2011 09:47:44 +0000 (UTC) (envelope-from mnorwick@centurytel.net) Received: from mail960c35.nsolutionszone.com (mail960c35.nsolutionszone.com [209.235.152.150]) by mx1.freebsd.org (Postfix) with ESMTP id DCDB58FC15 for ; Mon, 10 Oct 2011 09:47:43 +0000 (UTC) X-Authenticated-User: mnorwick.centurytel.net Received: from bucksnort.norwickhouse.net (174-124-37-123.dyn.centurytel.net [174.124.37.123]) (authenticated bits=0) by mail960c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id p9A9le9V012094 for ; Mon, 10 Oct 2011 09:47:42 GMT Message-ID: <4E92BF3C.8080807@centurytel.net> Date: Mon, 10 Oct 2011 04:47:40 -0500 From: "Michael D. Norwick" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0) Gecko/20110829 Thunderbird/6.0 MIME-Version: 1.0 To: freebsd general questions References: <4E924B4D.4050801@centurytel.net> <20111010063740.GA23603@orange.esperance-linux.co.uk> In-Reply-To: <20111010063740.GA23603@orange.esperance-linux.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=2xCENBmbyeZn6WhoOoEFpEbLTM7pfi+C5vFXndvBAu0= c=1 sm=1 a=_tW4y8GFV1YA:10 a=eSqDvTon1VwA:10 a=3WPTVEtZbjMA:10 a=8nJEP1OIZ-IA:10 a=nRHtrj2pbMUmV2THcod+iQ==:17 a=rPG9nXhwzxMnZdIqPBkA:9 a=luSlaCM58k4dC73gJLAA:7 a=wPNLvfGTeEIA:10 a=nRHtrj2pbMUmV2THcod+iQ==:117 Subject: Re: Can't access a music CD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2011 09:47:44 -0000 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="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, 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, current track = 1, current position = 1:05.18 No media catalog info available Left volume = 216, right volume = 216 $ 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) Still will not play. Tried 2 different CD's. Thank You, Michael