From owner-freebsd-questions Tue Nov 20 13:57:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pom.INS.cwru.edu (pom.INS.CWRU.Edu [129.22.8.234]) by hub.freebsd.org (Postfix) with ESMTP id 3279A37B416 for ; Tue, 20 Nov 2001 13:57:24 -0800 (PST) Received: from po.cwru.edu (adsl-64-109-42-158.dsl.clevoh.ameritech.net [64.109.42.158]) by pom.INS.cwru.edu with ESMTP (8.11.6+cwru/CWRU-1.1-smtprelay) id fAKLvNU14149; Tue, 20 Nov 2001 16:57:23 -0500 (EST) (from sjh13@po.cwru.edu for ) Message-ID: <3BFAD1CC.4090603@po.cwru.edu> Date: Tue, 20 Nov 2001 16:57:32 -0500 From: Steven Huwig User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.5) Gecko/20011105 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: CD-RW perpetually busy (even after reboot) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I've got a Creative Labs CD-RW, and I've burnt many a CD on it in FreeBSD. Unfortunately, now it's acting odd. Specifically, whenever any attempt is made to access it, it replies "device busy." This lasts past a reboot (meaning I can't do anything with it at all). It is not already mounted. This all started when I recompiled my kernel for IPSEC (still at 4.4-RELEASE) and then tried to burn a CD. It hung, and eventually I killed the process. This is the relevant portion of /var/log/messages : Nov 14 14:36:02 mulder /kernel: acd1: SEND_OPC_INFO command timeout - resetting Nov 14 14:36:02 mulder /kernel: ata1: resetting devices .. done Nov 14 14:36:37 mulder /kernel: acd1: SEND_OPC_INFO command timeout - resetting Nov 14 14:36:37 mulder /kernel: ata1: resetting devices .. done Nov 14 14:36:46 mulder su: steve to root on /dev/ttyp0 Nov 14 14:38:06 mulder su: steve to root on /dev/ttyp3 Nov 14 14:39:03 mulder /kernel: acd1: WRITE_BIG - MEDIUM ERROR asc=73 ascq=03 error=00 Nov 14 14:39:03 mulder /kernel: acd1: CLOSE_TRACK/SESSION - ILLEGAL REQUEST asc=2c ascq=00 error=00 Nov 14 14:41:29 mulder /kernel: acd1: SEND_OPC_INFO command timeout - resetting Nov 14 14:41:29 mulder /kernel: ata1: resetting devices .. ata1-slave: timeout waiting for command=ef s=80 e=20 Nov 14 14:41:29 mulder /kernel: ata1-slave: timeout waiting to give command=ef s=80 e=20 Nov 14 14:41:29 mulder /kernel: done Ever since then, I have not been able to access acd1. The other device on the bus is fine, and everything seems to autodetect properly at boot. acd1: CD-RW at ata1-slave using WDMA2 (I have tried switching to PIO with no effect.) The following is output to dmesg when I try to mount something from /dev/acd1: "ata1-slave: too many segments in DMA table" When I switch to PIO, it doesn't give me any error message, but still claims the device is busy. I've disassembled and reassembled the machine since then (upgrading memory / HD), and it's still nonfunctional. According to fstat, nothing is using acd1. So, can you help me figure out what's going on? I'm worried that I may have zapped my CD-RW drive or something. I don't have any other operating systems to test this theory, though. Is there a way to "reset" this device? (as it looks like the machine was trying to do this and failed) Thanks! (please follow up via e-mail, I'm not subscribed to -questions.) -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message