Re: [Re: Unable to write to CD-R]
Norm Vilmer wrote: [ ... ] I am burning a cd The problem was kern.securelevel=2. Set to 1, and it works great. Thanks to everyone that responded. Oh, yes-- setting the securelevel too high would certainly cause the problems you've seen. I'm not sure how we can better document this issue, though. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Re: Unable to write to CD-R]
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)? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I am burning a cd The problem was kern.securelevel=2. Set to 1, and it works great. Thanks to everyone that responded. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Re: Unable to write to CD-R]
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)? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [Re: Unable to write to CD-R]
> 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. -- Like Music? http://l-i-e.com/artists.htm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to write to CD-R
Andrew L. Gould wrote: On Friday 03 September 2004 03:56 pm, Norm Vilmer wrote: I am having trouble burning an iso image to a CD-R using FreeBSD 4.10. I have tried using burncd , cdrecord, and growifofs, all appear to have basically the same problem (see details below) "Operation not permitted". The only thing bugs me is dmesg reports my drive as a DVD-R. I am not sure if this is the problem or how to addressing correcting it if it is. Note: the BIOS report the drive to be TOSHIBA DVD-ROM SD-R6112 1031. Can anyone give me some direction as to what I should try next, or better, I can the burner working? Details: FYI: I read the CD-Writing Howto and several other articles and followed the instructions therein to the best of my ability (you be the judge). This included: - logging in as root; - adding "device atapicam" to the kernel configuration and rebuilding the kernel; - creating /etc/devfs.conf as follows: linkacd0cdrom linkacd0dvd permacd00660 permcd0 0660 permpass0 0660 permpass1 0660 permpass2 0660 permpass3 0660 permxpt00666 Once atapicam is installed, the CDROM device should have changed from /dev/acd0c to /dev/cd0c. From my pc: ls -alh /dev/cd0c crw-r- 2 root operator 15, 2 May 27 12:17 /dev/cd0c - installing cdrecord, dvd+rw-tools - ensure that the drive can read CD's and DVDs - running ./MAKEDEV pass10 in the /dev directory also added these hw.ata.ata_dma="1" hw.ata.atapi_dma="1" to /boot/loader.conf mount -t cd9660 /dev/cd0 /cdrom # works fine CD's and DVD's Here's some things I tried: burncd -f /dev/acd0c -s 12 data 5.2.1-RELEASE-i386-disc1.iso fixate burncd: open(/dev/acd0c): Operation not permitted Once you have atapicam working, burncd should not work. Also, as per above, /dev/acd0c should no longer represent the CDROM. 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. growisofs -dvd-compat -speed=4 -Z /dev/cd0c=5.2.1-RELEASE-i386-disc1.iso :-( unable to cam_open_pass("/dev/pass0", O_RDWR): Operation not : permitted. dmesg |grep DVD acd0: DVD-R at ata1-master UDMA33 cd0: Removable CD-ROM SCSI-0 device atacontrol list ATA channel 0: Master: ad0 ATA/ATAPI rev 6 Slave: no device present ATA channel 1: Master: acd0 ATA/ATAPI rev 5 Slave: no device present camcontrol devlist at scbus1 target 0 lun 0 (pass0, cd0) Hardware: MB: VIA EPIA-CL1, 512MB RAM, Award BIOS 6.00pw Burner: Toshiba SD-R6112 DVD-RW I think the fact that the DVD-ROM is in the camcontrol devlist indicates that atapicam is working. The question remains as to why 'cdrecord -scanbus' didn't work. 1. Are you sure the DVD-RW also burns CD's? 2. Do you know if anyone has gotten this Toshiba model to burn DVD-RW's using FreeBSD? Good luck, Andrew Gould I reviewed the drives specs, and it does burn CD-R's and CD-RW's in addition to DVD's. I will do another post asking if anyone else has gotten this burner to work with FreeBSD. Do you know if there is a way to bet a more verbose message (why the operation is not permitted) or to debug this problem (I am confortable working with C/C++ but have never looked any FreeBSD source)? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to write to CD-R
On Friday 03 September 2004 03:56 pm, Norm Vilmer wrote: > I am having trouble burning an iso image to a CD-R using FreeBSD > 4.10. I have tried using > burncd , cdrecord, and growifofs, all appear to have basically the > same problem (see details below) > "Operation not permitted". The only thing bugs me is dmesg reports my > drive as a DVD-R. > I am not sure if this is the problem or how to addressing correcting > it if it is. Note: the BIOS > report the drive to be TOSHIBA DVD-ROM SD-R6112 1031. > > Can anyone give me some direction as to what I should try next, or > better, I can the burner working? > > Details: > > FYI: I read the CD-Writing Howto and several other articles and > followed the instructions therein to the best of my ability (you be > the judge). This included: > > - logging in as root; > - adding "device atapicam" to the kernel configuration and > rebuilding the kernel; > - creating /etc/devfs.conf as follows: > > linkacd0cdrom > linkacd0dvd > permacd00660 > permcd0 0660 > permpass0 0660 > permpass1 0660 > permpass2 0660 > permpass3 0660 > permxpt00666 Once atapicam is installed, the CDROM device should have changed from /dev/acd0c to /dev/cd0c. From my pc: ls -alh /dev/cd0c crw-r- 2 root operator 15, 2 May 27 12:17 /dev/cd0c > > - installing cdrecord, dvd+rw-tools > - ensure that the drive can read CD's and DVDs > - running ./MAKEDEV pass10 in the /dev directory > > also added these > > hw.ata.ata_dma="1" > hw.ata.atapi_dma="1" > > to /boot/loader.conf > > mount -t cd9660 /dev/cd0 /cdrom # works fine CD's and DVD's > > Here's some things I tried: > > burncd -f /dev/acd0c -s 12 data 5.2.1-RELEASE-i386-disc1.iso fixate > burncd: open(/dev/acd0c): Operation not permitted Once you have atapicam working, burncd should not work. Also, as per above, /dev/acd0c should no longer represent the CDROM. > > 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. > > growisofs -dvd-compat -speed=4 -Z > /dev/cd0c=5.2.1-RELEASE-i386-disc1.iso > > :-( unable to cam_open_pass("/dev/pass0", O_RDWR): Operation not > : permitted. > > dmesg |grep DVD > acd0: DVD-R at ata1-master UDMA33 > cd0: Removable CD-ROM SCSI-0 device > > atacontrol list > ATA channel 0: > Master: ad0 ATA/ATAPI rev 6 > Slave: no device present > ATA channel 1: > Master: acd0 ATA/ATAPI rev 5 > Slave: no device present > > camcontrol devlist >at scbus1 target 0 lun 0 (pass0, cd0) > > Hardware: > > MB: VIA EPIA-CL1, 512MB RAM, Award BIOS 6.00pw > Burner: Toshiba SD-R6112 DVD-RW > I think the fact that the DVD-ROM is in the camcontrol devlist indicates that atapicam is working. The question remains as to why 'cdrecord -scanbus' didn't work. 1. Are you sure the DVD-RW also burns CD's? 2. Do you know if anyone has gotten this Toshiba model to burn DVD-RW's using FreeBSD? Good luck, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[Re: Unable to write to CD-R]
Original Message Subject: Unable to write to CD-R Date: Fri, 03 Sep 2004 15:56:45 -0500 From: Norm Vilmer <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] I am having trouble burning an iso image to a CD-R using FreeBSD 4.10. I have tried using burncd , cdrecord, and growifofs, all appear to have basically the same problem (see details below) "Operation not permitted". One thing that bugs me is that dmesg reports my drive as a DVD-R. I am not sure if this is the problem or how to addressing correcting it. Note: the BIOS reports the drive to be TOSHIBA DVD-ROM SD-R6112 1031, not a DVD-RW. Can anyone give me some direction as to what I should try next, or better yet, how I can get the burner working? Details: FYI: I read the CD-Writing Howto and several other articles and followed the instructions therein to the best of my ability (you be the judge). This included: - logging in as root; - adding "device atapicam" to the kernel configuration and rebuilding the kernel; - creating /etc/devfs.conf as follows: linkacd0cdrom linkacd0dvd permacd00660 permcd0 0660 permpass0 0660 permpass1 0660 permpass2 0660 permpass3 0660 permxpt00666 - installing cdrecord, dvd+rw-tools - ensure that the drive can read CD's and DVDs - running ./MAKEDEV pass10 in the /dev directory also added these hw.ata.ata_dma="1" hw.ata.atapi_dma="1" to /boot/loader.conf mount -t cd9660 /dev/cd0 /cdrom # works fine CD's and DVD's Here's some things I tried: burncd -f /dev/acd0c -s 12 data 5.2.1-RELEASE-i386-disc1.iso fixate burncd: open(/dev/acd0c): Operation not permitted 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. growisofs -dvd-compat -speed=4 -Z /dev/cd0c=5.2.1-RELEASE-i386-disc1.iso :-( unable to cam_open_pass("/dev/pass0", O_RDWR): Operation not permitted. dmesg |grep DVD acd0: DVD-R at ata1-master UDMA33 cd0: Removable CD-ROM SCSI-0 device atacontrol list ATA channel 0: Master: ad0 ATA/ATAPI rev 6 Slave: no device present ATA channel 1: Master: acd0 ATA/ATAPI rev 5 Slave: no device present camcontrol devlist at scbus1 target 0 lun 0 (pass0, cd0) Hardware: MB: VIA EPIA-CL1, 512MB RAM, Award BIOS 6.00pw Burner: Toshiba SD-R6112 DVD-RW Andrew L. Gould wrote: Were you logged in as root? Andrew Gould Norm Vilmer wrote: Sorry about the last response, I think I have my mail client setup better for text and continuing the message at the botton rather than the top. Yes. I was logged in as root. I also played with the permissions in /dev giving the u=rw,o=rw,u=rw, but it did not do anything so I put the permissions back. Is it possible the OS thinks the device is a read-only device? How Do I go about debugging this problem, i.e., can I find out where the problem is in the code? Can I get a more verbosity show why the operation is not permitted? Norm Vilmer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to write to CD-R
On Friday 03 September 2004 03:56 pm, Norm Vilmer wrote: > I am having trouble burning an iso image to a CD-R using FreeBSD > 4.10. I have tried using > burncd , cdrecord, and growifofs, all appear to have basically the > same problem (see details below) > "Operation not permitted". The only thing bugs me is dmesg reports my > drive as a DVD-R. > I am not sure if this is the problem or how to addressing correcting > it if it is. Note: the BIOS > report the drive to be TOSHIBA DVD-ROM SD-R6112 1031. > > Can anyone give me some direction as to what I should try next, or > better, I can the burner working? > > Details: > > FYI: I read the CD-Writing Howto and several other articles and > followed the instructions therein to the best of my ability (you be > the judge). This included: > > - logging in as root; > - adding "device atapicam" to the kernel configuration and > rebuilding the kernel; > - creating /etc/devfs.conf as follows: > > linkacd0cdrom > linkacd0dvd > permacd00660 > permcd0 0660 > permpass0 0660 > permpass1 0660 > permpass2 0660 > permpass3 0660 > permxpt00666 > > - installing cdrecord, dvd+rw-tools > - ensure that the drive can read CD's and DVDs > - running ./MAKEDEV pass10 in the /dev directory > > also added these > > hw.ata.ata_dma="1" > hw.ata.atapi_dma="1" > > to /boot/loader.conf > > mount -t cd9660 /dev/cd0 /cdrom # works fine CD's and DVD's > > Here's some things I tried: > > burncd -f /dev/acd0c -s 12 data 5.2.1-RELEASE-i386-disc1.iso fixate > burncd: open(/dev/acd0c): Operation not permitted > > 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. > > growisofs -dvd-compat -speed=4 -Z > /dev/cd0c=5.2.1-RELEASE-i386-disc1.iso > > :-( unable to cam_open_pass("/dev/pass0", O_RDWR): Operation not > : permitted. > > dmesg |grep DVD > acd0: DVD-R at ata1-master UDMA33 > cd0: Removable CD-ROM SCSI-0 device > > atacontrol list > ATA channel 0: > Master: ad0 ATA/ATAPI rev 6 > Slave: no device present > ATA channel 1: > Master: acd0 ATA/ATAPI rev 5 > Slave: no device present > > camcontrol devlist >at scbus1 target 0 lun 0 (pass0, cd0) > > Hardware: > > MB: VIA EPIA-CL1, 512MB RAM, Award BIOS 6.00pw > Burner: Toshiba SD-R6112 DVD-RW > Were you logged in as root? Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"