From owner-freebsd-questions Wed Feb 2 12:53: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from enterweb.enterit.com (enterweb.enterit.com [209.45.199.22]) by builder.freebsd.org (Postfix) with ESMTP id 72BE14123 for ; Wed, 2 Feb 2000 12:53:02 -0800 (PST) Received: from KWAN [209.45.199.38] by enterweb.enterit.com with ESMTP (SMTPD32-5.04) id A92D94A010A; Wed, 02 Feb 2000 15:53:01 DT Message-Id: <4.2.0.58.20000202154804.00a40e40@mail.enterit.com> X-Sender: notjames@mail.pseudonet.org X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Wed, 02 Feb 2000 15:59:00 -0500 To: Stephen From: Jim C Subject: Re: CDrecord issues Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <4.2.0.58.20000202105928.00a30b88@mail.enterit.com> References: <20000202092022.A17219@visi.com> <4.2.0.58.20000202100505.00a30b70@mail.enterit.com> <4.2.0.58.20000202100505.00a30b70@mail.enterit.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I recompiled to the latest version 1.8a40 but to no avail. In fact,= =20 now I can't even perform a -scanbus with cdrecord. My CDRW passthrough is= =20 /dev/pass2 (??) but scanbus is trying to use /dev/pass0 only. The man page= =20 doesn't state (at least from what I have read) how to make cdrecord=20 -scanbus check a different device instead of /dev/pass0. I have already=20 tried cdrecord -scanbus /dev/pass2 but I get the following error: (hist 504)# uname -a FreeBSD notjames.enterit.com 3.4-RELEASE FreeBSD 3.4-RELEASE #5: (hist 501)# ./cdrecord -xa2 dev=3D1,6,0 /services/etc_bak.iso Cdrecord 1.8 (i386-unknown-freebsd3.2) Copyright (C) 1995-2000 J=F7rg= Schilling scsidev: '1,6,0' scsibus: 1 target: 6 lun: 0 ./cdrecord: Operation not permitted. Cannot open SCSI driver. ./cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are= =20 root . (hist 502)# ./cdrecord -scanbus Cdrecord 1.8 (i386-unknown-freebsd3.2) Copyright (C) 1995-2000 J=F7rg= Schilling ./cdrecord: Operation not permitted. Error opening /dev/pass0 Cam error=20 'cam_rea l_open_device: couldn't open passthr. Cannot open SCSI driver. ./cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are= =20 root . (hist 503)# ls -al /dev/pas* crw------- 1 root operator 31, 0 Dec 23 11:43 /dev/pass0 crw------- 1 root operator 31, 1 Dec 23 11:43 /dev/pass1 crw------- 1 root operator 31, 2 Dec 23 11:43 /dev/pass2 crw------- 1 root operator 31, 3 Dec 23 11:43 /dev/pass3 (some optional info) (hist 505)# camcontrol devlist -v scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) scbus0 on ncr0 bus 0: at scbus0 target 0 lun 0 (pass0,da0) < > at scbus0 target -1 lun -1 () scbus1 on ahc0 bus 0: at scbus1 target 2 lun 0 (pass1,da1) at scbus1 target 6 lun 0 (pass2,cd0) < > at scbus1 target -1 lun -1 () Hmm...now I was tinkering with camcrontrol and I got this: (hist 507)# camcontrol periphlist -v camcontrol: cam_real_open_device: couldn't open passthrough device= /dev/pass0 cam_real_open_device: Operation not permitted Why on earth would I get this? I recompiled the kernel with the following= =20 options before I started to perform any camcontrol commands: ::snip:: # Recommended by cdrecord FAQ for # more reliable CD burning... options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=3D199309L" ::snip:: Think this might have had anything to do with my problems? Thanks in advance Jim At 11.00 02.02.00 -0500, Jim C wrote: >I will try 1.8a40 (Im using 1.8a21). I have camcontrol. For my drive its=20 >pass2. But I don't >know what that has to do with this. Does CAM help cdrecord write in= someway? > >Thanks!! > >Jim > >At 09.20 02.02.00 -0600, Stephen wrote: >>On Wed, Feb 02, 2000 at 10:15:37AM -0500, Jim C wrote: >> > I have been trying to record CDs for a loooong time now. I have never= had >> > success on the FreeBSD system. In short it just won't record. = According >> > to cdrecord the recorder is supported by cdrecord. Here are the out=20 >> files. >> > >> > (hist 500)# mkisofs -l -p "Jim C" -R -v -o /services/etc_bak.iso /etc >> > >> > (hist 501)# ls >> > analog/ etc.new/ etc_bak.iso misc/ src/ system/ system_backups/ >> > >> > (hist 503)# >> > cdrecord -v -debug -ignsize -isosize -xa2 -dummy dev=3D1,6,0 >> > /services/etc_bak.iso >> > >> > Here is the output from that... >> > >>[clipped] >> >>I don't have a Sony CD-R, but have some experience using cdrecord with >>Plextor and Yamaha drives. A couple of things to try: >> >>cdrecord 1.8 is now available. Try upgrading to that version. >> >>And do you have CAM support in your kernel (I believe it's device pass0)? >> >>sk >> >>-- >>sdk@yuck.net >> >> >> >>To Unsubscribe: send mail to majordomo@FreeBSD.org >>with "unsubscribe freebsd-questions" in the body of the message > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message