Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2007 11:34:25 -0600
From:      Paul Schmehl <pauls@utdallas.edu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   CD/DVD writer no longer works
Message-ID:  <00F787E8C720E8E8327BD5A1@utd59514.utdallas.edu>

next in thread | raw e-mail | index | archive | help
Sometime in the past (I don't know when) my CD/DVD write device stopped=20
working.  I can no longer burn cds or even put known good cds in the drive=20
and mount them.  I *used* to be able to burn cds fine using burncd.

root@utd59514# burncd -ef /dev/acd1 data=20
/home/pauls/Downloads/FreeBSD/6.2-RELEASE-amd64-disc1.iso fixate
burncd: ioctl(CDRIOCWRITESPEED): Input/output error
root@utd59514# mount /dev/acd
acd0  acd1
root@utd59514# mount /dev/acd1 /mnt/cdrom/
mount: /dev/acd1: Input/output error

I'm wondering where to go to troubleshoot this problem.

I'm loading atapicam.
root@utd59514# kldstat
Id Refs Address    Size     Name
 1   21 0xc0400000 6f6668   kernel
 2    1 0xc0af7000 5fa0     snd_ich.ko
 3    2 0xc0afd000 22b88    sound.ko
 4    1 0xc0b20000 4ae8     atapicam.ko
 5    1 0xc0b25000 1fde4    radeon.ko
 6    2 0xc0b45000 fd68     drm.ko
 7    1 0xc0b55000 59f20    acpi.ko
 8    1 0xc4e57000 6000     linprocfs.ko
 9    1 0xc4e5d000 16000    linux.ko
10    1 0xc5111000 d000     ipfw.ko

I can see the device using atacontrol.
root@utd59514# atacontrol info ata0
Master: acd0 <HL-DT-STDVD-ROM GDR8163B/0D20> ATA/ATAPI revision 6
Slave:  acd1 <TSSTcorpCD-RW TS-H292B/DE03> ATA/ATAPI revision 5

I can tell what mode the device is in.
root@utd59514# atacontrol mode acd1
current mode =3D UDMA33

The channel reinits without errors.
root@utd59514# atacontrol reinit ata0
Master: acd0 <HL-DT-STDVD-ROM GDR8163B/0D20> ATA/ATAPI revision 6
Slave:  acd1 <TSSTcorpCD-RW TS-H292B/DE03> ATA/ATAPI revision 5

Camcontrol sees the device fine as well.
root@utd59514# camcontrol devlist
<Maxtor 3200 0344>                 at scbus0 target 0 lun 0 (da0,pass0)
<HL-DT-ST DVD-ROM GDR8163B 0D20>   at scbus1 target 0 lun 0 (cd0,pass1)
<TSSTcorp CD-RW   TS-H292B DE03>   at scbus1 target 1 lun 0 (cd1,pass2)

Yet cdrecord also fails.
root@utd59514# cdrecord -v speed=3D2 dev=3D1,1,0=20
/home/pauls/Downloads/FreeBSD/6.2-RELEASE-amd64-disc1.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent=20
defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.0) Copyright (C) 1995-2004=20
J=EF=BF=B6rg Schilling
TOC Type: 1 =3D CD-ROM
scsidev: '1,1,0'
scsibus: 1 target: 1 lun: 0
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 0
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'TSSTcorp'
Identifikation : 'CD-RW   TS-H292B'
Revision       : 'DE03'
Device seems to be: Generic mmc CD-RW.
Current: 0x0000
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R
Drive buf size : 1016064 =3D 992 KB
FIFO size      : 4194304 =3D 4096 KB
Track 01: data   616 MB
Total size:      707 MB (70:07.13) =3D 315535 sectors
Lout start:      708 MB (70:09/10) =3D 315535 sectors
cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable =
error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00 00 00 00 =

00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
cdrecord: No disk / Wrong disk!

I just upgraded from FreeBSD 6.0 RELEASE to 6.2 RELEASE hoping that might=20
solve the problem.  (I cvsupped the sources and ran make=20
buildworld/buildkernel, etc.)

Do I have a hardware failure?  Or is something else wrong?

--=20
Paul Schmehl (pauls@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00F787E8C720E8E8327BD5A1>