From owner-freebsd-scsi@FreeBSD.ORG Thu Jul 1 19:29:18 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50C0A16A4CE for ; Thu, 1 Jul 2004 19:29:18 +0000 (GMT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7090643D49 for ; Thu, 1 Jul 2004 19:29:17 +0000 (GMT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id i61JRmui034804; Thu, 1 Jul 2004 13:27:48 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id i61JRmRa034803; Thu, 1 Jul 2004 13:27:48 -0600 (MDT) (envelope-from ken) Date: Thu, 1 Jul 2004 13:27:47 -0600 From: "Kenneth D. Merry" To: Darryl Message-ID: <20040701192747.GA34776@panzer.kdm.org> References: <001f01c45f9f$dcd5e2a0$0200a8c0@dts> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001f01c45f9f$dcd5e2a0$0200a8c0@dts> User-Agent: Mutt/1.4.1i cc: freebsd-scsi@freebsd.org Subject: Re: cdrecord X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 19:29:18 -0000 [ please wrap your lines at 80 columns ] On Thu, Jul 01, 2004 at 15:16:07 -0400, Darryl wrote: > Ok, I'm not sure where to go with this one so if anyone can point me in the right direction for this i'd be thankfull. > The problem is cdrecord will not see the the writer when -scanbus switch is used, but the drive does work as a CDrom. After FreeBSD was installed, I used "make install" for the cdrtools-2.0.3_2 package (Previous to freeBSD 4.10 installed was Windows 2000. No hardware has changed since I was able to burn CDs using EZ cd creator) Here is some information: > > 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Wed Jun 23 15:08:47 > > ahc0: port 0xb800-0xb8ff mem 0xd6800000-0xd6800fff irq 10 at device 9.0 on pci0 > aic7870: Wide Channel A, SCSI Id=7, 16/253 SCBs > > cd0 at ahc0 bus 0 target 6 lun 0 > cd0: Removable CD-ROM SCSI-2 device > cd0: 3.300MB/s transfers > cd0: cd present [1 x 2048 byte records] > > prompt# camcontrol devlist > at scbus0 target 0 lun 0 (pass0,da0) > at scbus0 target 1 lun 0 (pass1,da1) > at scbus0 target 2 lun 0 (pass2,da2) > at scbus0 target 3 lun 0 (pass3,da3) > at scbus0 target 6 lun 0 (pass4,cd0) > > > > prompt# cdrecord -scanbus > cdrecord: warning: low file descriptor limit (93) > Cdrecord 2.00.3 (i386-unknown-freebsd4.10) Copyright (C) 1995-2002 J?rg Schilling > Using libscg version 'schily-0.7' > scsibus0: > 0,0,0 0) 'COMPAQPC' 'FIREBALL1080S ' '1Q09' Disk > 0,1,0 1) 'QUANTUM ' 'LIGHTNING 540S ' '241E' Disk > 0,2,0 2) 'IBM ' 'DCAS-34330 !#' 'S65A' Disk > 0,3,0 3) 'IBM ' 'DCAS-34330 !#' 'S69D' Disk > 0,4,0 4) * > 0,5,0 5) * > 0,6,0 6) * > 0,7,0 7) * > > > The whole kernel config can be found here: http://www.mnsi.net/~dts/kernel/kernel.txt > > > At this point i'm not sure why the system can find the Ricoh RW drive and cdrecord can't. I don't know much about configuring the kernel for such a scsi device, and I don't know much about camcontrol. But I do think these have something to do with why cdrecord doesn't see it. Any information at all would help me greatly. You need to make sure you have a /dev/pass4 device in order for cdrecord to talk to it. Easy ways to check: camcontrol tur cd0 -v ls -la /dev/pass4 If you don't have it, you can make it like this: cd /dev sh MAKEDEV pass5 The '5' is the number of pass devices to make. Hopefully that'll fix your problem. Ken -- Kenneth Merry ken@kdm.org