From owner-freebsd-scsi@FreeBSD.ORG Fri Jul 25 14:43:52 2003 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 9DDFE37B401 for ; Fri, 25 Jul 2003 14:43:52 -0700 (PDT) Received: from mail.tinkerbox.org (adsl-64-168-139-138.dsl.snfc21.pacbell.net [64.168.139.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29EA643FA3 for ; Fri, 25 Jul 2003 14:43:52 -0700 (PDT) (envelope-from bruno@tinkerbox.org) Received: from [192.168.137.4] (unknown [192.168.137.4]) by mail.tinkerbox.org (Postfix) with ESMTP id 9CA9D19D4; Fri, 25 Jul 2003 14:43:51 -0700 (PDT) Date: Fri, 25 Jul 2003 14:43:51 -0700 (PDT) From: bruno schwander X-Sender: bruno@duron.bschwand.net To: "Kenneth D. Merry" In-Reply-To: <20030725211720.GA66248@panzer.kdm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-scsi@freebsd.org Subject: Re: atapicam and 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: Fri, 25 Jul 2003 21:43:53 -0000 turns out that the problem is simply permissions on /dev/pass and /dev/xpt. As root, all works fine, so I'll setup groups and permissions appropriately. Thanks anyway ! bruno On Fri, 25 Jul 2003, Kenneth D. Merry wrote: > On Fri, Jul 25, 2003 at 13:40:29 -0700, bruno schwander wrote: > > > > I am trying to get cdrecord to work with my IDE cd writer. > > > > I added the scsi support as well as atapicam in my kernel (FreeBSD > > 4.8-STABLE #0: Tue Jul 22 12:09:08 PDT 2003) > > > > relevant dmesg > > --------------------------- > > acd0: DVD-ROM at ata0-master PIO3 > > acd1: CD-RW at ata3-master PIO4 > > Mounting root from ufs:/dev/ad4s1a > > cd0 at ata0 bus 0 target 0 lun 0 > > cd0: Removable CD-ROM SCSI-0 device > > cd0: 11.000MB/s transfers > > cd0: Attempt to query device size failed: NOT READY, Medium not present > > cd1 at ata3 bus 0 target 0 lun 0 > > cd1: Removable CD-ROM SCSI-0 device > > cd1: 16.000MB/s transfers > > cd1: cd present [1 x 2048 byte records] > > --------------------------- > > > > so it looks good > > > > camcontrol devlist gives > > ------------------------------- > > at scbus0 target 0 lun 0 (pass0,cd0) > > at scbus3 target 0 lun 0 (pass1,cd1) > > ------------------------------- > > > > so I gather that I should use cdrecord --device 3,0,0 etc. (as I found > > in some other maillist) > > > > however, cdrecord complains with > > ------------------------------ > > ERROR: Cannot open SCSI device '3,0,0': > > ERROR: Please use option '--device bus,id,lun', e.g. --device 0,6,0 > > ERROR: Cannot setup device 3,0,0. > > ------------------------------ > > > > and cdrecord scanbus does not list any available drives. > > > > What gives ? anything missing ? It seems everything is there... > > First, make sure camcontrol can talk directly to the drive: > > camcontrol tur cd1 -v > > If you can't talk to the drive, make sure you have device nodes for at > least pass0 and pass1: > > cd /dev > sh ./MAKEDEV pass4 > > (That will create pass0-pass3) > > Ken > -- > Kenneth Merry > ken@kdm.org >