Can't access a music CD (or any other media now)

Michael D. Norwick mnorwick at centurytel.net
Thu Oct 20 01:25:49 UTC 2011


On 10/18/11 14:57, Alexander Best wrote:
> On Thu Oct 13 11, Lowell Gilbert wrote:
>> Alexander Best<arundel at freebsd.org>  writes:
>>
< snip >

Good Day;

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)

/usr/src/UPDATING and /usr/src/sys/amd64/conf/NOTES did not seem to 
contain anything applicable to this issue.

The buildkernel KERNCONF=KERNEL_101811 step 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 cd 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

No /dev/acd* devices but I would think that there are not supposed to be.

/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/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 (snipped somewhat)

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: 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 
(using the command line or not).  Now I cannot even access a data CD.  
Again, the machine is a Dell Latitude D630 laptop.
The livefs CD - FreeBSD 8.2 amd64 dated 05/14/2011 boots to the 
sysinstall screen so i assume the drive is ok.

Thank You,
Michael









More information about the freebsd-questions mailing list