From owner-freebsd-questions@FreeBSD.ORG Tue Mar 23 15:24:36 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 54BD316A4CE for ; Tue, 23 Mar 2004 15:24:36 -0800 (PST) Received: from starling.mail.pas.earthlink.net (starling.mail.pas.earthlink.net [207.217.120.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 296B643D2F for ; Tue, 23 Mar 2004 15:24:36 -0800 (PST) (envelope-from algould@datawok.com) Received: from 20-74.lctv-b4.cablelynx.com ([24.204.20.74]) by starling.mail.pas.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 3.36 #4) id 1B5vG6-0004Ww-00; Tue, 23 Mar 2004 15:24:34 -0800 Date: Tue, 23 Mar 2004 17:19:14 -0600 From: "Andrew L. Gould" To: Ed Alley Message-ID: <20040323231914.GA3255@datawok.com> References: <2805.128.115.36.14.1080057952@sun-qmail02.laserlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2805.128.115.36.14.1080057952@sun-qmail02.laserlink.net> User-Agent: Mutt/1.4.1i X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4ba3f94a60e7dde2f93cc3e5732aa1d3f1350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: freebsd-questions@freebsd.org Subject: Re: Trouble with atapicam and DVD+RW 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: Tue, 23 Mar 2004 23:24:36 -0000 On Tue, Mar 23, 2004 at 11:05:52AM -0500, Ed Alley wrote: > > Ed Alley wrote: > > >> Does FreeBSD support ATA DVD writers the same way that it > >> supports CD writers? I have been to SOS's web page, and > >> have looked at hardware support info, but have found no hint at > >> whether ATA DVD writers are supported under FreeBSD. > > >> Vulpes Velox replied: > > > Look for dvd+rw tools. > > >> Chuck Swiger replied: > > > Yes-- consider using "device atapicam" + the sysutils/dvd+rw-tools port. > > Thank-you Vulpes and Chuck; the atapicam mechanism looks like a fine idea. > However, > I am having problems getting it to work for me... > > O.K. I am running FreeBSD 4.9. I built a new kernel with: > > device ata0 at isa? port IO_WD1 irq 14 > device ata1 at isa? port IO_WD2 irq 15 > device ata > device atadisk # ATA disk drives > #device atapicd # ATAPI CDROM drives > #device atapifd # ATAPI floppy drives > #device atapist # ATAPI tape drives > device atapicam # CAM device > device scbus # Needed for CAM device > device pass # Needed to connect scsi to cam > device cd # SCSI cd connected through CAM > device > options ATA_STATIC_ID # Static device numbering > > Some output from dmesg: > > > Copyright (c) 1992-2003 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 4.9-RELEASE #0: Mon Mar 22 15:40:21 PST 2004 > root@jordan.llnl.gov:/usr/src/sys/compile/JORDAN.2 > > ... etc > > CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.02-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > Features=0xbfebfbff PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > real memory = 1073168384 (1048016K bytes) > avail memory = 1041809408 (1017392K bytes) > Preloaded elf kernel "kernel" at 0xc0374000. > Warning: Pentium 4 CPU: PSE disabled > Pentium Pro MTRR support enabled > > ...etc > > atapci0: port > 0xffa0-0xffaf,0x374-0x377,0x170-0x177, > 0x3f4-0x3f7,0x1f0-0x1f7 mem 0xfebffc00-0xfebfffff irq 9 at device 31.1 > on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > atapci1: port > 0xfea0-0xfeaf,0xfe30-0xfe33,0xfe20-0xfe27, > 0xfe10-0xfe13,0xfe00-0xfe07 irq 9 at device 31.2 on pci0 > ata2: at 0xfe00 on atapci1 > ata3: at 0xfe20 on atapci1 > > ...etc > > ad0: 76293MB [155009/16/63] at ata0-master UDMA33 > ad1: 38166MB [77545/16/63] at ata0-slave UDMA33 > Mounting root from ufs:/dev/ad0s1a > cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 16.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > cd1 at ata1 bus 0 target 1 lun 0 > cd1: <_NEC DVD+RW ND-1100A 10FD> Removable CD-ROM SCSI-0 device > cd1: 16.000MB/s transfers > cd1: Attempt to query device size failed: NOT READY, Medium not present > em0: Link is up 100 Mbps Full Duplex > cd9660: Joliet Extension (Level 1) > cd9660: Joliet Extension (Level 1) > cd9660: RockRidge Extension > > ------ > > The cd1 is an _NEC DVD+RW ND-1100A. It is connected as a slave to the HP > CD-Writer > that is the master on the second IDE channel. > > I have installed growisofs and cdrtools. cdrecord version is 2.00.3. > I can mount CDs on both cd0 and cd1. I can record CDs with cdrecord on cd0, > BUT I cannot record DVDs on cd1. > > I am using Memorex DVD-Rs. Rated at 4.7GB on the label. > > When I execute growisofs with one of these DVD-Rs in it I get: > > > growisofs -dvd-compat -Z /dev/cd1c=nycity.iso > :-( unable to open("/dev/cd1c",O_RDONLY): Device not configured > > However, I can mount CDs on it. It looks as though growisofs thinks that the > device is read-only. > > Any advice would be greatly appreciated; I was hoping to use this DVD > setup as > a back-up media as tapes are getting expensive. > > Ed Alley > A couple of us have experienced difficulties with Memorex media. Consider testing another brand. Best of luck, Andrew Gould