From owner-freebsd-questions@FreeBSD.ORG Sat Aug 15 18:02:14 2009 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 8EB20106568F for ; Sat, 15 Aug 2009 18:02:14 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ew0-f206.google.com (mail-ew0-f206.google.com [209.85.219.206]) by mx1.freebsd.org (Postfix) with ESMTP id 7473C8FC61 for ; Sat, 15 Aug 2009 18:02:13 +0000 (UTC) Received: by ewy2 with SMTP id 2so168396ewy.43 for ; Sat, 15 Aug 2009 11:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=v1vXA95veYO/pw5g9fBn6FC1iELlP/E0s+JNqxc78KM=; b=TsseniipVzzMLvXtHARDRh5x4MEH4/dKFQmQQ/dAxMsLKfKRnK4oybPePO/6tt6oTv N4P44JoCcRjnsl4Zelto45dpJZhThlDgL+jjlJmeXje/lxYwrhHp//0R0wmefCFI4ezN FXF0Wwe+J6fJZ0e43XpAYaG5kRq34M2t2dZY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=FRU3PeadlpSLjaXtJBhbTuaw/HwSwI1yBgaMxU7mTAadJqgXB1ffi+eU6uzKVtGBXb f5z/njrJMEKPu/0Lod4akbvVvdQKg/sVomGu33TTI3lBKck5eFNJ+4My3GpDWrCuX/hJ aljqaJ+exv66sLB1lVuxB2lpyVIT10zJ9wAdg= MIME-Version: 1.0 Received: by 10.216.28.193 with SMTP id g43mr665234wea.192.1250359331899; Sat, 15 Aug 2009 11:02:11 -0700 (PDT) Date: Sat, 15 Aug 2009 18:02:11 +0000 Message-ID: From: "b. f." To: fernando.apesteguia@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: 7.2 burncd and cdrecord problem 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: Sat, 15 Aug 2009 18:02:14 -0000 > I'm trying to get my CD drive to work without so much success. > Reading is fine, but when I try to burn a CD I get errors in dmesg. >Using cdrecord -blank=fast dev=3,0,0 I get: First, I hope that you are using sysutils/cdrtools-devel rather than sysutils/cdrtools. The latter is several years out of date, and the upstream maintainer of the software has said that no one should be using it, but the maintainer of the FreeBSD port has so far been unwilling to update it. ... >And dmesg shows: >acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00 >acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x26 ascq=0x00 It is not unusual for some errors to appear, even during normal operation, so these don't necessarily indicate a problem, although it was good that you posted them. You should run the cdrecord command with -vv (yes, two v's) to get verbose error messages from cdrecord. This should give you a better idea of why cdrecord is failing. If the error messages from -vv are not enough, you can also add -VV, although this affects the timing of the operations, and should be used with care when recording. I have had problems like this in the past, when a disk was corrupted, and cdrecord balked at blanking it. I used blank=all with either the -immed flag, or the -force flag, or both, to solve the problems. If you are using cdrtools, you should probably use the cd(4) driver together with atapicam(4), rather than the acd(4) driver. To prevent possible problems, it is safer to prevent both drivers from attaching to the same device. I usually remove: device atapicd from my kernel, and just use: device ata device atapicam device scbus device cd device pass I don't know whether it is possible to disable the acd(4) driver using just loader.conf(5), device.hints(5), or some other means at boot- or run-time, but you could look into that if you don't want to go to the trouble of removing it from your kernel. b.