From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 21 03:09:19 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8113106564A for ; Fri, 21 Oct 2011 03:09:19 +0000 (UTC) (envelope-from mnorwick@centurytel.net) Received: from mail961c35.nsolutionszone.com (mail961c35.nsolutionszone.com [209.235.152.151]) by mx1.freebsd.org (Postfix) with ESMTP id 9988D8FC15 for ; Fri, 21 Oct 2011 03:09:19 +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 mail961c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id p9L19Nbx030579 for ; Fri, 21 Oct 2011 01:09:25 GMT Message-ID: <4EA0C642.6080509@centurytel.net> Date: Thu, 20 Oct 2011 20:09:22 -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-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=5evdw4iMqN/JdwfqWffyRdC2utGnej+UzE5jqTExdn8= c=1 sm=1 a=_tW4y8GFV1YA:10 a=3WPTVEtZbjMA:10 a=8nJEP1OIZ-IA:10 a=nRHtrj2pbMUmV2THcod+iQ==:17 a=UBb_-2KpAFYW75PSoqUA:9 a=uqx1wirB7mfgWF7kMAsA:7 a=wPNLvfGTeEIA:10 a=nRHtrj2pbMUmV2THcod+iQ==:117 Subject: Can't play an audio CD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2011 03:09:20 -0000 Good Day; I am trying to get a Dell Latitude D630 laptop to play audio CD's without success. The following is the question I posed to freebsd-questions@; "It seems that I still cannot figure this out. No amount of searching the docs or mailing lists has gotten me closer to a solution. I csup'd the source tree again last night and built another kernel and world for; *default release=cvs tag=RELENG_9 *default delete use-rel-suffix /usr/src/sys/amd64/conf/KERNEL_101811 contains (among other things); # ATA controllers device ahci # AHCI-compatible SATA controllers device ata # Legacy ATA/SATA controllers options ATA_CAM # Handle legacy controllers with CAM options ATA_STATIC_ID # Static device numbering device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA # SCSI Controllers # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) device ch # SCSI media changers 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) This resulted in; $uname -a FreeBSD ****.****.net 9.0-RC1 FreeBSD 9.0-RC1 #1: Wed Oct 19 05:37:43 CDT 2011 michael@****.****.net:/usr/obj/usr/src/sys/KERNEL_101811 amd64 and the following devices in /dev; $ ls -l cd* crw-rw-rw- 1 root operator 0, 105 Oct 19 19:08 cd0 lrwxr-xr-x 1 root wheel 8 Oct 19 19:08 cdrom -> /dev/cd0 /etc/devfs.conf contains; # Commonly used by many ports #link acd0 cdrom link /dev/cd0 cdrom perm /dev/cd0 0660 # Allow a user in the wheel group to query the smb0 device perm /dev/smb0 0660 # Allow members of group operator to cat things to the speaker #own speaker root:operator #perm speaker 0660 perm /dev/pass0 0660 perm /dev/xpt0 0660 perm /dev/pass1 0660 #perm /dev/xpt1 0660 perm /dev/mdctl 0660 perm /dev/md0 0660 perm /dev/bpf0 0660 perm /dev/bpf1 0660 perm /dev/bpf2 0660 perm /dev/bpf3 0660 perm /dev/bpf4 0660 link /tmp shm $ cat /boot/loader.conf atapicam_load="YES" hw.ata.atapi_dma=0 linux_load="YES" snd_hda_load="YES" $ cat /etc/rc.conf hostname="****.****.net" keymap=us.iso.kbd ifconfig_bge0=" inet 192.168.1.22 netmask 255.255.255.0" defaultrouter="192.168.1.1" hald_enable="YES" dbus_enable="YES" gdm_enable="YES" sshd_enable="YES" linux_enable="YES" abi_enable="YES" sysctl_enable="YES" ntpd_enable="YES" powerd_enable="YES" $dmesg 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: cd present [26466 x 2048 byte records] (cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on logical unit) (cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on logical unit) (cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on logical unit) (cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on logical unit) (cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on logical unit) (cd0:ata0:0:0:0): cddone: got error 0x5 back with a data CD in the drive during reboot. Trying to manually mount the drive results in; $ sudo mount_cd9660 /dev/cd0 /media/dvdrom mount_cd9660: /dev/cd0: Invalid argument $ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# proc /proc procfs rw 0 0 /dev/ada0p2 / ufs rw 1 1 /dev/ada0p3 none swap sw 0 0 /dev/ada0p4 /var ufs rw 2 2 /dev/ada0p5 /usr ufs rw 2 2 /dev/ada0p6 /home ufs rw 2 2 linproc /compat/linux/proc linprocfs rw 0 0 /dev/cd0 /media/dvdrom cd9660 rw,noauto 0 0 $ cdcontrol info Starting track = 1, ending track = 1, TOC size = 18 bytes track start duration block length type ------------------------------------------------- 1 0:02.00 5:52.66 0 26466 data 170 5:54.66 - 26466 - - Before I recompiled the kernel, when I inserted a music CD, Gnome would display a folder containing the *.wav files but I could not play them (with or without the CLI tool). Now I cannot even access a data CD. Again, the machine is a Dell Latitude D630 laptop." Continuing to trouble shoot I changed I changed /boot/loader.conf to: $ cat /boot/loader.conf atapicam_load="YES" hw.ata.atapi_dma="0" linux_load="YES" lindev_load="YES" linprocfs_load="YES" linsysfs_load="YES" sound_load="YES" snd_hda_load="YES" pf_load="YES" I needed the linux and pf_load statements for another reason and those features work as expected. I have rebooted several times and tried the old original freebsd 9 kernel (%boot kernel.orig) from the initial install with the same result - can't play an audio CD. I can now - mount_cd9660 - a data CD with my custom kernel booted. I know sound works because gnome audio themes work. The current /etc/rc.conf is as follows; $ cat /etc/rc.conf hostname="****.****.net" keymap=us.iso.kbd ifconfig_bge0=" inet 192.168.1.22 netmask 255.255.255.0" defaultrouter="192.168.1.1" #hald_enable="YES" #dbus_enable="YES" #polkitd_enable="YES" gnome_enable="YES" gdm_enable="YES" sshd_enable="YES" linux_enable="YES" abi_enable="YES" sysctl_enable="YES" ntpd_enable="YES" powerd_enable="YES" $ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# proc /proc procfs rw 0 0 /dev/ada0p2 / ufs rw 1 1 /dev/ada0p3 none swap sw 0 0 /dev/ada0p4 /var ufs rw 2 2 /dev/ada0p5 /usr ufs rw 2 2 /dev/ada0p6 /home ufs rw 2 2 linproc /compat/linux/proc linprocfs rw 0 0 #/dev/cd0 /media/dvdrom cd9660 rw,noauto 0 0 As was suggested, I have run the command line tools and have gotten mixed results, such as; $ camcontrol devlist at scbus1 target 0 lun 0 (pass0,cd0) at scbus2 target 0 lun 0 (ada0,pass1) and; $cdcontrol play 1 - results in drive activity but again, no audio. Any further wisdom or pointers would be greatly appreciated. Thank You, Michael