Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2003 14:43:51 -0700 (PDT)
From:      bruno schwander <bruno@tinkerbox.org>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: atapicam and cdrecord
Message-ID:  <Pine.BSF.4.21.0307251442290.297-100000@duron.bschwand.net>
In-Reply-To: <20030725211720.GA66248@panzer.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <TOSHIBA DVD-ROM SD-M1002> at ata0-master PIO3
> >  acd1: CD-RW <LITE-ON LTR-40125S> at ata3-master PIO4
> >  Mounting root from ufs:/dev/ad4s1a
> >  cd0 at ata0 bus 0 target 0 lun 0
> >  cd0: <TOSHIBA DVD-ROM SD-M1002 0577> 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: <LITE-ON LTR-40125S ZS0J> 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
> >  -------------------------------
> >  <TOSHIBA DVD-ROM SD-M1002 0577>    at scbus0 target 0 lun 0 (pass0,cd0)
> >  <LITE-ON LTR-40125S ZS0J>          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
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0307251442290.297-100000>