From owner-freebsd-questions Wed Jul 21 9:52:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 122031551B for ; Wed, 21 Jul 1999 09:52:06 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.9.3/8.9.3) with ESMTP id SAA29482 for ; Wed, 21 Jul 1999 18:51:36 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id SAA03168 for ; Wed, 21 Jul 1999 18:51:25 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id SAA06935 for ; Wed, 21 Jul 1999 18:51:35 +0200 (CEST) Date: Wed, 21 Jul 1999 18:51:35 +0200 From: Andre Albsmeier To: tyl Cc: Andre Albsmeier , freebsd-questions@FreeBSD.ORG Subject: Re: How to make cdrecord work Message-ID: <19990721185135.A11703@internal> References: <19990719184921.A66960@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: ; from tyl on Wed, Jul 21, 1999 at 11:24:18PM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 21-Jul-1999 at 23:24:18 +0800, tyl wrote: > On Mon, 19 Jul 1999, Andre Albsmeier wrote: > > > > ahc0: external cable not present > > Never use automatic termination! :-) > > Thanks, after I disable automatic termination in SCSI BIOS > the messages disappeared. Several people say that automatic termination produces problems and I got the same experience. > > > What does "camcontrol devlist -v" say? > > scbus-1 on xpt0 bus 0: > < > at scbus-1 target -1 lun -1 (xpt0) > scbus0 on ahc0 bus 0: > at scbus0 target 0 lun 0 (pass0,da0) > at scbus0 target 1 lun 0 (pass1,da1) > at scbus0 target 3 lun 0 (pass2,cd0) > at scbus0 target 4 lun 0 (pass3,cd1) > at scbus0 target 6 lun 0 (pass4,cd2) > < > at scbus0 target -1 lun -1 () > > > It seems that you have at least 3 CDROMs/Cdwriters in the machine. > Yes, as you see :) There are 3 CDROMs on my machine So the /dev/pass4 should be the right one. > > > > controller ahc0 > > controller scbus0 at ahc0 > > device pass0 at scbus0 target 0 > ... > > device cd0 at scbus0 target 6 > > Sometimes I think that 'dmesg' shows the proper devices, theoratically > speaking, I should not have the necessary to define the SCSI device so > detailed in the kernel :) > > > I would always use the port. > I have get the distfiles back, and be trying to make it ... > > > Are you running cdrecord as root? Maybe it can't access /dev/xpt0 and > > /dev/passxxx. > > Yes, I have try both normal user and root, when I am a normal user, it > has the warning messages > cdrecord: Permission denied. Open of /dev/xpt0 failed. > cdrecord: Permission denied. Cannot open SCSI driver. OK, as user, of course, you need the right permissions. This is what I would do if I had your system: chown root:operator /path/to/cdrecord chmod 2711 /path/to/cdrecord chmod 660 /dev/xpt0 chmod 660 /dev/pass4 export CDR_DEVICE=0,6,0 or setenv CDR_DEVICE 0,6,0 /path/to/cdrecord -checkdrive -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message