From owner-freebsd-questions@FreeBSD.ORG Sun Sep 5 06:08:27 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E27016A4CE for ; Sun, 5 Sep 2004 06:08:27 +0000 (GMT) Received: from advmail.lsn.net (advmail.lsn.net [66.90.138.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CBD843D1D for ; Sun, 5 Sep 2004 06:08:27 +0000 (GMT) (envelope-from norm@etherealconsulting.com) Received: from etherealconsulting.com (24-155-149-69.dyn.grandenetworks.net [24.155.149.69]) by advmail.lsn.net (8.12.8/8.12.4) with ESMTP id i8568a0A004791 for ; Sun, 5 Sep 2004 01:08:37 -0500 Message-ID: <413AAD5C.6010905@etherealconsulting.com> Date: Sun, 05 Sep 2004 01:08:28 -0500 From: Norm Vilmer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-questions@freebsd.org References: <4139DAEA.80504@etherealconsulting.com> <3523.67.167.52.21.1094325428.squirrel@www.l-i-e.com> <413AA077.4080606@etherealconsulting.com> In-Reply-To: <413AA077.4080606@etherealconsulting.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by Vexira Milter 1.0.6; VAE 6.27.0.6; VDF 6.27.0.46 Subject: Re: [Re: Unable to write to CD-R] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2004 06:08:27 -0000 Norm Vilmer wrote: > Richard Lynch wrote: > >>> cdrecord -scanbus >>> Cdrecord 2.00.3 (I386 ..... >>> cdrecord: Operation not permitted. Error opening /dev/pass0 Cam error >>> 'camreal_ >>> opendevice: coundn't open passthr. Cannot open SCSI driver. >> >> >> >> I dunno about all this other stuff, but to me, *THIS* looks like you >> don't >> have the IDE-SCSI module installed. >> >> The IDE-SCSI module "fools" the OS into believing your IDE CDRW device is >> "really" a SCSI device. >> >> Without that, cdrecord can't work, since it works through the SCSI >> interface. >> >> Under RedHat, you would find/download/install the ide-scsi software, and >> then do "insmod ide-scsi" >> >> You might also need to make some devices /dev/pg0 etc -- It's all in an >> FAQ somewheres for cdrecord. >> >> I gather from my minimal experience with FreeBSD that you'd be doing >> something more like pkgload (?) but the principle remains the same: You >> need a module to "fool" the OS into believing your CD/DVD burner is SCSI >> when it's not, or cdrecord simply won't talk to it. >> >> >>> cd0: Removable CD-ROM SCSI-0 device >> >> >> >> This, however, indicates that it *IS* a SCSI device... >> >> And its number is "0" >> >> In which case, I would start with: >> >> cdrecord dev=0,0,0 -data whatever.iso >> >> >>> at scbus1 target 0 lun 0 (pass0, cd0) >> >> >> >> Whoops! >> >> Also try: >> >> cdrecord dev=1,0,0 -data whatever.iso >> >> as it seems to be on bus 1. >> >> Do all of this as 'root' If you can get it to work as root, then >> evaluate >> how badly you need it to work for other users, and what "holes" you open >> up to do so. >> > I am logged in as root. Tried cdrecord dev=1,0,0 -data (it is on bus 1) > but I get the same error message. Also, tried setting the permissions > on acd* cd* xpt* pass* devices in /dev. No change. I really get this > feeling the OS thinks it is a read-only drive. > > When FreeBSD is installed, it gets some information from the BIOS. > Lots of important stuff like the geometry of your hard drive, etc. > If the BIOS is reporting this wrong or not the same way FreeBSD > see a device, things can break. Is there a flag somewhere I can > flip so that the OS know it can write to this device (the DVD-RW)? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I am burning a cd!!!! The problem was kern.securelevel=2. Set to 1, and it works great. Thanks to everyone that responded.