From owner-freebsd-questions@FreeBSD.ORG Mon Nov 17 14:02:14 2003 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 DE78816A4CE for ; Mon, 17 Nov 2003 14:02:14 -0800 (PST) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EBD543FF9 for ; Mon, 17 Nov 2003 14:02:13 -0800 (PST) (envelope-from sa.deutscher@tiscali.de) Received: from localhost (217.235.7.87) by webmail.tiscali.de (6.7.019) id 3F9D2A0E008D3E8A for freebsd-questions@freebsd.org; Mon, 17 Nov 2003 23:02:11 +0100 Received: by localhost (IBM OS/2 SENDMAIL VERSION 2.0/2.0) id XAA074.69; Mon, 17 Nov 2003 23:13:19 -0500 Date: Mon, 17 Nov 2003 23:13:17 +0000 From: "Stefan A. Deutscher" To: freebsd-questions@freebsd.org Message-ID: <20031117231317.B3319@tiscali.de> References: <20031117002611.A3319@tiscali.de> <200311161648.26977.kstewart@owt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.15i In-Reply-To: <200311161648.26977.kstewart@owt.com>; from Kent Stewart on Sun, Nov 16, 2003 at 04:48:26PM -0800 X-Operating-System: OS/2 2.45 X-Machine-Uptime: localhost: uptime is 1 day, 21:38 hours and 15 seconds Subject: Re: DVD-RAM on FreeBSD 5.1R (LG 4040)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sad@mailaps.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 22:02:15 -0000 On Sun, Nov 16, 2003 at 04:48:26PM -0800, Kent Stewart wrote: > On Sunday 16 November 2003 04:26 pm, Stefan A. Deutscher wrote: > > Hi all, > > > > just got an ATAPI LG 4040 multiwriter (CD-R/RW, DVD+/-R,+/-RW, and > > DVD-RAM) and wish to use it on FreeBSD 5.1. While still having to > > configure the system to address it in UDMA rather than PIO 4 mode, it > > installed fine. Reading and writing CDs in all possible variations works > > fine with burncd. Yet many of my scripts are written for cdrecord, so > > I'd rather stick with that tool instead of learing yet another one. > > > > Two questions arise > > > > (a) How do I get such a unit to treat DVD-RAM just as slow, random > > access optical media (much like an MO-Disk)? > > I do not wish to do burncd or cdrecord on it, I wish to write to it > > directly, if possible. > > Alas, I could not put a new disk label on the blank (disklabel says > > 'unknown type: auto'), and newfs does not like it either. So I am > > stuck. > > > > (b) Google and the online handbook (for 4.x though) tell me that I > > need > > > > device atapicam > > device scbus > > device pass > > > > in my kernel to get to use the ATAPI unit like a SCSI unit > > (e.g. with cdrecord and friends). However, on 5.1R I cannot find any > > mention of an atapicam device, neither in GENERIC nor in the hints > > nor NOTES. Now, what's a man to do? > > > > > > I checked the freebsd.org FAQs and archives, google and the news groups, > > but most stuff there is not really conclusive. In case this is a FAQ, > > after all, please just post a pointer. > > > > Any hints are much appreciated. > > ruby# more /boot/loader.conf > # -- sysinstall generated deltas -- # > userconfig_script_load="YES" > hw.ata.atapi_dma="1" > > Enough of a hint :). > > Kent Thanks, Kent! Now the DVD drive works in DMA mode rather than PIO, and writes to DVD+RW at 3.1 MB/s or about as fast as my SCSI CD-ROM can read out the FBSD 5.1 image. Neat. Alas, I still have no clue how to convince the DVD-RAM disk to cooperate. Any thoughts? Cheers, Stefan -- ============================================================================ Stefan A. Deutscher | Donostia International Physics Center | office: ++34-943-018174 Universidad del Pais Vasco, Facultad de Quimica | fax : ++34-943-015600 Departamento de Fisica de Materiales | home : ++34-943-270647 Apartado 1072, San Sebastian 20080, Spain | email : sad@mailaps.org ============================================================================