LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2006, 05:37 AM   #1
malcom80
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Rep: Reputation: 0
Unable to blank CD-RW


Good morning people.
Recently i got a DVD-RW burner Philps PBDV1640P.
It writes succesfully DVDR and CDR,
but some problems with CD-RW medias.
I have tried more times to blank a CD-RW with commands:
# cdrecord -v speed=6 dev=/dev/hdc blank=fast
but the process never succesfully completed!
I have changed the CD-RW (passing from Verbatim to TDK)
but the problem arises again.
So, for you, is my drive defective or do you think that is a software problem?

My distro is Ubuntu 5.10 with kernel 2.6.14.



Following the output of cdrecord:

miles@MYGNUBOX:~$ cdrecord -v speed=6 dev=/dev/hdc blank=all
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Joerg Schi lling
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@packages.debian. org>.
The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.14-miolinux2
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
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
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 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 '@(#)sc sitransp.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 : 'PHILIPS '
Identifikation : 'PBDV1640P '
Revision : 'B3.6'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0014
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A (current)
Profile: 0x0009
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 suppo rt.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R
Drive buf size : 1073152 = 1048 KB
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 2
Reference speed: 6
Is not unrestricted
Is erasable
Disk sub type: High speed Rewritable (CAV) media (1)
ATIP start of lead in: -11077 (97:34/23)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 4 1T speed high: 10
2T speed low: 2 2T speed high: 10
power mult factor: 2 6
recommended erase/write power: 5
A1 values: 24 2C DC
A2 values: 14 A4 4A
A3 values: 00 00 00
Disk type: Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Starting to write CD/DVD at speed 4 in real BLANK mode for single session.
Last chance to quit, starting real write 4 seconds.
0 seconds. Operation starts.
Performing OPC...
Blanking entire disk
cdrecord: Success. blank unit: scsi sendcmd: no error
CDB: A1 00 00 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 12 00 00 00 00 72 01 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x72 Qual 0x01 (session fixation error writing lead-in) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 229.531s timeout 9600s
cdrecord: Cannot blank disk, aborting.


Thank you very much.

Malcom
 
Old 01-02-2006, 06:01 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Try using Sony CD-RW. I think they make the best. My Sony DVD-RW works 5 times faster with Sony CD-RW media than with generic store brand media.

You might also try using a gui front end to the CD-RW tools. I like K3b. It's just so easy I wouldn't even consider using the CD-RW tools directly.
 
Old 01-02-2006, 07:09 AM   #3
malcom80
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the answer, stress_junkie.
I have just tried with K3B but i receive same "Medium Error" message (k3b erasing CD-RW tool uses cdrecord program...)! :-(
Besides, every CD-RW brand i have used gets the same result!
Please, Help me :|

malcom
 
Old 01-02-2006, 07:27 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Did you notice;

Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted

So try something like;
chmod +s /usr/bin/cdrecord
 
Old 01-02-2006, 04:17 PM   #5
malcom80
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Ok guys, i have fixed that.
Simply with this command (from root)
#cdrecord -v speed=2 dev=/dev/hdc blank=fast
(in practice reducing re-writing speed)

Tahnk you and bye
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipw2200 - Unable to load ucode, unable to load firmware blizinsk Linux - Wireless Networking 2 10-10-2004 08:28 AM
Unable to logon on as non-root user after update as unable to set executable context pls198 Fedora 2 04-09-2004 11:41 AM
Replace blank/almost blank lines in file Wynd Linux - General 3 01-27-2004 04:49 PM
unable to start x -- blank screen--slackware 9.1 markpelletier Linux - Software 6 11-19-2003 09:56 AM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration