From owner-freebsd-questions@FreeBSD.ORG Sat Sep 4 15:37:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C6BB16A4CE for ; Sat, 4 Sep 2004 15:37:59 +0000 (GMT) Received: from invasion.mail.pas.earthlink.net (invasion.mail.pas.earthlink.net [207.217.120.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0839D43D31 for ; Sat, 4 Sep 2004 15:37:59 +0000 (GMT) (envelope-from algould@datawok.com) Received: from 22-243.lctv-b4.cablelynx.com ([24.204.22.243] helo=[192.168.63.10]) by invasion.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1C3cc2-0003jz-NY; Sat, 04 Sep 2004 08:37:58 -0700 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Sat, 4 Sep 2004 10:37:59 -0500 User-Agent: KMail/1.6.2 References: <4138DA8D.6060709@etherealconsulting.com> In-Reply-To: <4138DA8D.6060709@etherealconsulting.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409041037.59806.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4bfd336753c64c57c1232bc51171fdac68350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.204.22.243 cc: Norm Vilmer Subject: Re: Unable to write to CD-R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 15:37:59 -0000 On Friday 03 September 2004 03:56 pm, Norm Vilmer wrote: > I am having trouble burning an iso image to a CD-R using FreeBSD > 4.10. I have tried using > burncd , cdrecord, and growifofs, all appear to have basically the > same problem (see details below) > "Operation not permitted". The only thing bugs me is dmesg reports my > drive as a DVD-R. > I am not sure if this is the problem or how to addressing correcting > it if it is. Note: the BIOS > report the drive to be TOSHIBA DVD-ROM SD-R6112 1031. > > Can anyone give me some direction as to what I should try next, or > better, I can the burner working? > > Details: > > FYI: I read the CD-Writing Howto and several other articles and > followed the instructions therein to the best of my ability (you be > the judge). This included: > > - logging in as root; > - adding "device atapicam" to the kernel configuration and > rebuilding the kernel; > - creating /etc/devfs.conf as follows: > > link acd0 cdrom > link acd0 dvd > perm acd0 0660 > perm cd0 0660 > perm pass0 0660 > perm pass1 0660 > perm pass2 0660 > perm pass3 0660 > perm xpt0 0666 Once atapicam is installed, the CDROM device should have changed from /dev/acd0c to /dev/cd0c. From my pc: ls -alh /dev/cd0c crw-r----- 2 root operator 15, 2 May 27 12:17 /dev/cd0c > > - installing cdrecord, dvd+rw-tools > - ensure that the drive can read CD's and DVDs > - running ./MAKEDEV pass10 in the /dev directory > > also added these > > hw.ata.ata_dma="1" > hw.ata.atapi_dma="1" > > to /boot/loader.conf > > mount -t cd9660 /dev/cd0 /cdrom # works fine CD's and DVD's > > Here's some things I tried: > > burncd -f /dev/acd0c -s 12 data 5.2.1-RELEASE-i386-disc1.iso fixate > burncd: open(/dev/acd0c): Operation not permitted Once you have atapicam working, burncd should not work. Also, as per above, /dev/acd0c should no longer represent the CDROM. > > cdrecord -scanbus > Cdrecord 2.00.3 (I386 ..... > cdrecord: Operation not permitted. Error opening /dev/pass0 Cam error > 'camreal_ opendevice: coundn't open passthr. Cannot open SCSI driver. > > growisofs -dvd-compat -speed=4 -Z > /dev/cd0c=5.2.1-RELEASE-i386-disc1.iso > > :-( unable to cam_open_pass("/dev/pass0", O_RDWR): Operation not > : permitted. > > dmesg |grep DVD > acd0: DVD-R at ata1-master UDMA33 > cd0: Removable CD-ROM SCSI-0 device > > atacontrol list > ATA channel 0: > Master: ad0 ATA/ATAPI rev 6 > Slave: no device present > ATA channel 1: > Master: acd0 ATA/ATAPI rev 5 > Slave: no device present > > camcontrol devlist > at scbus1 target 0 lun 0 (pass0, cd0) > > Hardware: > > MB: VIA EPIA-CL10000, 512MB RAM, Award BIOS 6.00pw > Burner: Toshiba SD-R6112 DVD-RW > I think the fact that the DVD-ROM is in the camcontrol devlist indicates that atapicam is working. The question remains as to why 'cdrecord -scanbus' didn't work. 1. Are you sure the DVD-RW also burns CD's? 2. Do you know if anyone has gotten this Toshiba model to burn DVD-RW's using FreeBSD? Good luck, Andrew Gould