cdrecord with Ubuntu 6.06 won't write cd Can anybody help?

This is the error message I get ron(a)ubuntu:~$ cdrecord -v /home/ron/Desktop/ubuntu-6.06-desktop-i386.iso cdrecord: No write mode specified. cdrecord: Asuming -tao mode. cdrecord: Future versions of cdrecord may have different drive dependent defaults. cdrecord: Continuing in 5 seconds... Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <cdrtools(a)packages.debian.org>. The original author should not be bothered with problems of this version. cdrecord: Warning: Running on Linux-2.6.15-23-386 cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris. TOC Type: 1 = CD-ROM scsidev: '/dev/cdrw' devname: '/dev/cdrw' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root? : Operation not permitted Using libscg version 'debian-0.8debian2'. cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling'). SCSI buffer size: 64512 atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'PIONEER ' Identifikation : 'DVD-RW DVR-110D' Revision : '1.37' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Current: 0x0009 Profile: 0x002B Profile: 0x001B Profile: 0x001A Profile: 0x0016 Profile: 0x0015 Profile: 0x0014 Profile: 0x0013 Profile: 0x0011 Profile: 0x0010 Profile: 0x000A Profile: 0x0009 (current) Profile: 0x0008 cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code. cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on DVD support. Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 1267712 = 1238 KB FIFO size : 4194304 = 4096 KB Track 01: data 697 MB Total size: 801 MB (79:23.98) = 357299 sectors Lout start: 801 MB (79:25/74) = 357299 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Is not unrestricted Is not erasable Disk sub type: Medium Type A, high Beta category (A+) (3) ATIP start of lead in: -11634 (97:26/66) ATIP start of lead out: 359846 (79:59/71) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 3 Manufacturer: CMC Magnetics Corporation Blocks total: 359846 Blocks current: 359846 Blocks remaining: 2547 Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root? : Operation not permitted Starting to write CD/DVD at speed 40 in real TAO mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is OFF. Performing OPC... Starting new track at sector: 0 Track 01: 0 of 697 MB written.cdrecord: Success. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 00 00 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 04 0E 13 00 00 0E 26 09 30 FE 08 01 00 00 Sense Key: 0x4 Hardware Error, Segment 0 Sense Code: 0x08 Qual 0x01 (logical unit communication time-out) Fru 0x0 Sense flags: Blk 236126208 (not valid) resid: 63488 cmd finished after 2.085s timeout 40s write track data: error after 0 bytes cdrecord: A write error occured. cdrecord: Please properly read the error message above. Writing time: 19.883s Average write speed 654.9x. Fixating... cdrecord: Success. close track/session: scsi sendcmd: no error CDB: 5B 00 02 00 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 05 00 00 00 00 0E 00 00 00 00 64 00 00 00 Sense Key: 0x5 Illegal Request, Segment 0 Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.006s timeout 480s cmd finished after 0.006s timeout 480s cdrecord: Cannot fixate disk. Fixating time: 2.016s cdrecord: fifo had 64 puts and 1 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. ron(a)ubuntu:~$

zcat wrote:
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
Try it using sudo perhaps?
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
I tried it with sudo however this error message may be the cause but I don't know how to fix it. cdrecord: Continuing in 5 seconds... Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <cdrtools(a)packages.debian.org>. The original author should not be bothered with problems of this version. cdrecord: Warning: Running on Linux-2.6.15-23-386 cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.

however this error message may be the cause but I don't know how to fix it.
cdrecord: Continuing in 5 seconds... Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <cdrtools(a)packages.debian.org>. The original author should not be bothered with problems of this version.
cdrecord: Warning: Running on Linux-2.6.15-23-386 cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
That error is not the problem. Do you still get this problem with sudo? Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root? Ian -- Ian McDonald Web: http://wand.net.nz/~iam4 Blog: http://imcdnzl.blogspot.com WAND Network Research Group Department of Computer Science University of Waikato New Zealand

It almost sounds like a hardware problem. Perhaps we could try putting the drive into a different system, or putting a known-good drive into your machine and see what happens? Give me a call sometime this afternoon if you want and we can take a better look at it.

zcat wrote:
It almost sounds like a hardware problem. Perhaps we could try putting the drive into a different system, or putting a known-good drive into your machine and see what happens?
Give me a call sometime this afternoon if you want and we can take a better look at it.
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
I changed the permissions on cdrecord and it still wouldn't work However I decided to try doing a reboot and then everything went. Thank you for your help.

I changed the permissions on cdrecord and it still wouldn't work However I decided to try doing a reboot and then everything went. Thank you for your help.
I've just been setting this up so I can burn some CD's for Roderick, and I notice that /usr/bin/cdrecord is a script which calls /usr/bin/cdrecord.shm. Setting scripts suid is very bad security. "sudo chmod u+x /usr/bin/cdrecord.shm" is probably what you want.

zcat wrote:
I changed the permissions on cdrecord and it still wouldn't work However I decided to try doing a reboot and then everything went. Thank you for your help.
I've just been setting this up so I can burn some CD's for Roderick, and I notice that /usr/bin/cdrecord is a script which calls /usr/bin/cdrecord.shm.
Setting scripts suid is very bad security. "sudo chmod u+x /usr/bin/cdrecord.shm" is probably what you want.
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
Thanks I did that and also changed cdrecord permissions back to root
participants (3)
-
Ian McDonald
-
Ron Dean
-
zcat