From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 22:59:03 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 0F7C316A417 for ; Thu, 26 Jul 2007 22:59:03 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from conn-smtp.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.freebsd.org (Postfix) with ESMTP id DB43713C457 for ; Thu, 26 Jul 2007 22:59:02 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 063758147; Thu, 26 Jul 2007 17:59:02 -0500 (CDT) Received: by mail.tcbug.org (Postfix, from userid 1001) id D2CAF341CA2; Thu, 26 Jul 2007 17:59:01 -0500 (CDT) Date: Thu, 26 Jul 2007 17:59:01 -0500 From: Josh Paetzel To: Paul Schmehl Message-ID: <20070726225901.GA12734@tcbug.org> Mail-Followup-To: Paul Schmehl , FreeBSD Questions References: <2C3AFA6026995677B921EC78@utd59514.utdallas.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2C3AFA6026995677B921EC78@utd59514.utdallas.edu> Cc: FreeBSD Questions Subject: Re: Can't burn cds 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, 26 Jul 2007 22:59:03 -0000 Paul Schmehl wrote: > Hopefully someone can point me in the right direction. > > uname -v > FreeBSD 6.0-SECURITY #0: Wed Feb 14 12:22:36 UTC 2007 > root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > > grep cd /var/run/dmesg.boot > acd0: DVDROM at ata0-master UDMA33 > acd1: CDRW at ata0-slave UDMA33 > > camcontrol devlist > at scbus0 target 0 lun 0 (da0,pass0) > > camcontrol inquiry 0:0:0 > pass0: Fixed Direct Access SCSI-4 device > pass0: Serial Number 2CAH3H6P > pass0: 40.000MB/s transfers > > camcontrol inquiry 0:1:0 > camcontrol: cam_open_btl: no passthrough device found at 0:1:0 > > camcontrol inquiry da0 > pass0: Fixed Direct Access SCSI-4 device > pass0: Serial Number 2CAH3H6P > pass0: 40.000MB/s transfers > > camcontrol inquiry da1 > camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed > cam_lookup_pass: No such file or directory > cam_lookup_pass: either the pass driver isn't in your kernel > cam_lookup_pass: or da1 doesn't exist > > ls /dev/acd* > /dev/acd0 /dev/acd1 > > cdcontrol -f /dev/acd1 > Compact Disc Control utility, version 2.0 > Type `?' for command list > > cdcontrol> eject > cdcontrol> close > cdcontrol> info > cdcontrol: getting toc header: Input/output error > cdcontrol: Input/output error > > burncd -ef /dev/acd1 data > /home/pauls/Downloads/RedHat/RHEL4-U5-x86_64-ES-disc1.iso fixate > burncd: ioctl(CDRIOCWRITESPEED): Input/output error > > What the heck is going on? The device is there. Dmesg shows that the kernel > knows what it is. Yet I can't read or write cds, and, as you can see, > camcontrol thinks it's non-existant. Yet cdcontrol will open and close the > drive but can't provide any info??? What am I missing? > > -- > Paul Schmehl (pauls@utdallas.edu) camcontrol isn't going to know anything about IDE devices, it only knows about SCSI. It's hard to see without the propmpts, but are you trying to use burncd as root? A normal user isn't going to have the neccessary privs. to write a cd by default. cdcontrol is simply telling you it can't read the TOC of the cd in the drive, presumably because there's no cd in it. I haven't used cdcontrol in ages, but it's possible it needs root (in the case that you were using it as a normal user with a disk in the drive) -- Thanks, Josh Paetzel