From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 17:34:28 2007 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 B8AF716A41B for ; Thu, 6 Dec 2007 17:34:28 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id 8798F13C467 for ; Thu, 6 Dec 2007 17:34:26 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 5AF8C65505 for ; Thu, 6 Dec 2007 11:34:26 -0600 (CST) Date: Thu, 06 Dec 2007 11:34:25 -0600 From: Paul Schmehl To: FreeBSD Questions Message-ID: <00F787E8C720E8E8327BD5A1@utd59514.utdallas.edu> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: CD/DVD writer no longer works 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: Thu, 06 Dec 2007 17:34:28 -0000 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 ATA/ATAPI revision 6 Slave: acd1 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 ATA/ATAPI revision 6 Slave: acd1 ATA/ATAPI revision 5 Camcontrol sees the device fine as well. root@utd59514# camcontrol devlist at scbus0 target 0 lun 0 (da0,pass0) at scbus1 target 0 lun 0 (cd0,pass1) 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/