From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 00:24:20 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9034716A419 for ; Mon, 10 Sep 2007 00:24:20 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp224.math.arizona.edu (smtp224.math.arizona.edu [128.196.224.202]) by mx1.freebsd.org (Postfix) with ESMTP id 57C0E13C474 for ; Mon, 10 Sep 2007 00:24:20 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp224.math.arizona.edu with local-bsmtp (Exim 4.50) id 1IUX59-00005z-1u for questions@freebsd.org; Sun, 09 Sep 2007 17:24:52 -0700 Received: from 71-220-146-155.tcsn.qwest.net ([71.220.146.155] helo=.domain.actdsltmp) by smtp224.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1IUX4x-00005g-My; Sun, 09 Sep 2007 17:24:39 -0700 Message-ID: <46E48EA3.9060406@math.arizona.edu> Date: Sun, 09 Sep 2007 17:24:03 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.4 (X11/20070713) MIME-Version: 1.0 To: Martin Tournoij , questions@freebsd.org References: <46E47D1C.6060303@math.arizona.edu> <20070909232810.GA41146@glitch.rwxrwxrwx.net> In-Reply-To: <20070909232810.GA41146@glitch.rwxrwxrwx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: The HELO/EHLO greeting .domain.actdsltmp is invalid X-Outgoing-Spam-Score: -5.9 (-----) Cc: Subject: Re: DVD-RW drive 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: Mon, 10 Sep 2007 00:24:20 -0000 I add atapicam_load="YES" into loader.conf file dmesg is still acd0: DVDR at ata0-slave UDMA66 However from the command line [root@ ~]# growisofs -dvd-compat -Z /dev/cd0=/usr/home/Pedja/TeXLive/texlive2007-live-20070212.iso Executing 'builtin_dd if=/usr/home/Pedja/TeXLive/texlive2007-live-20070212.iso of=/dev/pass0 obs=32k seek=0' Apparently success. Thank you. I read the Handbook so many times but I obviously didn't read my kernel properly. Thanks again! Martin Tournoij wrote: > On Sun 09 Sep 2007 16:09, Predrag Punosevac wrote: > >> I have a very strange problem with my DVD-RW drive. Namely the drive is for some reason recognized as read only >> >> acd0: DVDR at ata0-slave UDMA66 >> >> I am running FreeBSD 6.2 stable with generic kernel (I didn't compile nor install my own kernel) >> so the following lines are present in my GENERIC >> >> [pedja@ /usr/src/sys/i386/conf]$ more GENERIC >> >> # ATA and ATAPI devices >> device ata >> device atadisk # ATA disk drives >> device ataraid # ATA RAID drives >> device atapicd # ATAPI CDROM drives >> device atapifd # ATAPI floppy drives >> device atapist # ATAPI tape drives >> options ATA_STATIC_ID # Static device numbering >> # SCSI peripherals >> device scbus # SCSI bus (required for SCSI) >> device ch # SCSI media changers >> device da # Direct Access (disks) >> device sa # Sequential Access (tape etc) >> device cd # CD >> device pass # Passthrough device (direct SCSI access) >> device ses # SCSI Environmental Services (and SAF-TE) >> >> >> I also edited my load.conf file with >> >> hw.ata.ata_dma="1" >> hw.ata.atapi_dma="1" >> >> >> I altered the permissions devfs.conf and fstab file so that I can read and write but that is not even important since I can not >> write anything even from the command line >> >> I also get >> >> [pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/acd0 >> /dev/acd0: unable to open: Inappropriate ioctl for device >> [pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/cd0 >> /dev/cd0: unable to open: Inappropriate ioctl for device >> >> Whole behavior is even more strange since the optical drive was working flawlessly on PC-BSD 1.3 which is FreeBSD 6.1 stable. >> >> Any suggestions. >> >> Thank you so much >> > You need to use ATAPICAM if you want to use ATA cd-writers, see the > FreeBSD handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM > > A small addition to the handbook: > You don't need to reboot your machine, the command: > $ kldload atapicam > Will load the module at runtime. > > Use /dev/cd0 instead of /dev/acd0 for all writing purposes. > > Maybe PCBSD does this automagiclly? Can't comment on that since I > don't use PCBSD. >