From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 00:38:09 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 6C09B16A418 for ; Mon, 10 Sep 2007 00:38:09 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp102.math.arizona.edu (smtp102.math.arizona.edu [128.196.102.202]) by mx1.freebsd.org (Postfix) with ESMTP id 33F9913C45B for ; Mon, 10 Sep 2007 00:38:09 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp102.math.arizona.edu with local-bsmtp (Exim 4.50) id 1IUXHx-0002ri-2o for questions@freebsd.org; Sun, 09 Sep 2007 17:38:06 -0700 Received: from 71-220-146-155.tcsn.qwest.net ([71.220.146.155] helo=.domain.actdsltmp) by smtp102.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1IUXHk-0002rP-2d; Sun, 09 Sep 2007 17:37:52 -0700 Message-ID: <46E491DA.9030504@math.arizona.edu> Date: Sun, 09 Sep 2007 17:37:46 -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:38:09 -0000 Absolute success!!! Media is completely readable. I still cannot get Gnome rw tools to behave and K3b is complaining about few outdated packages which I am afraid to update since probably the Gnome depends on it but who cares. Command line rules! Thanks a lot body one more time! Predrag Punosevac 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. >