Date: Wed, 21 Jul 1999 18:51:35 +0200 From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: tyl <tyl@project.m2.ntu.edu.tw> Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, freebsd-questions@FreeBSD.ORG Subject: Re: How to make cdrecord work Message-ID: <19990721185135.A11703@internal> In-Reply-To: <Pine.BSF.4.05.9907212315190.16408-100000@project.m2.ntu.edu.tw>; from tyl on Wed, Jul 21, 1999 at 11:24:18PM %2B0800 References: <19990719184921.A66960@internal> <Pine.BSF.4.05.9907212315190.16408-100000@project.m2.ntu.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
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: > <QUANTUM FIREBALL ST2.1S 0F0C> at scbus0 target 0 lun 0 (pass0,da0) > <SEAGATE ST51080N 0958> at scbus0 target 1 lun 0 (pass1,da1) > <TEAC CD-ROM CD-532S 1.0A> at scbus0 target 3 lun 0 (pass2,cd0) > <MATSHITA CD-ROM CR-508 XS03> at scbus0 target 4 lun 0 (pass3,cd1) > <RICOH MP6200S 2.20> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990721185135.A11703>