CD/DVD writer no longer works

Paul Schmehl pauls at utdallas.edu
Thu Dec 6 09:34:28 PST 2007


Sometime in the past (I don't know when) my CD/DVD write device stopped 
working.  I can no longer burn cds or even put known good cds in the drive 
and mount them.  I *used* to be able to burn cds fine using burncd.

root at utd59514# burncd -ef /dev/acd1 data 
/home/pauls/Downloads/FreeBSD/6.2-RELEASE-amd64-disc1.iso fixate
burncd: ioctl(CDRIOCWRITESPEED): Input/output error
root at utd59514# mount /dev/acd
acd0  acd1
root at 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 at 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 at 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 at utd59514# atacontrol mode acd1
current mode = UDMA33

The channel reinits without errors.
root at 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 at 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 at utd59514# cdrecord -v speed=2 dev=1,1,0 
/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 
defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.0) Copyright (C) 1995-2004 
J￶rg Schilling
TOC Type: 1 = 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 = 992 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   616 MB
Total size:      707 MB (70:07.13) = 315535 sectors
Lout start:      708 MB (70:09/10) = 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 
solve the problem.  (I cvsupped the sources and ran make 
buildworld/buildkernel, etc.)

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

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



More information about the freebsd-questions mailing list