You are not logged in.
Pages: 1
Hello,
I'm unable to burn CD/DVD or erase DVD-RW. Software I've tried includes xfburn, brasero, k3b, and cdrecord from cdrkit. I'd have been suspcious of hardware if it weren't for flawless reading and booting from CDs. Every gui software complains that it can not find or access the device, yet k3b recognizes the burner by its model.
Last edited by bstaletic (2015-01-13 14:33:51)
Offline
Could you provide steps + error for cdrecord?
Offline
As a user:
bstaletic@archlinux ~ % cdrecord -v gracetime=2 dev=/dev/sr0 -eject blank=fast
TOC Type: 1 = CD-ROM
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
wodim: Permission denied.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
As root with blank=fast:
bstaletic@archlinux ~ % sudo cdrecord -v gracetime=2 dev=/dev/sr0 -eject blank=fast -- INSERT --
[sudo] password for bstaletic:
TOC Type: 1 = CD-ROM
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.11
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identification : 'DVDRAM GH22NS70 '
Revision : 'EX00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A (DVD+RW)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW) (current)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM) (current)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 18699 kB/s 106x CD 13x DVD
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in real BLANK mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Performing OPC...
Error: this media does not support blanking, ignoring.
This drive or media does not support the 'BLANK media' command
wodim: Cannot blank disk, aborting.
wodim: Some drives do not support all blank types.
wodim: Try again with wodim blank=all.
As root with blank=all
bstaletic@archlinux ~ % sudo cdrecord -v gracetime=2 dev=/dev/sr0 -eject blank=all -- INSERT --
TOC Type: 1 = CD-ROM
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.11
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identification : 'DVDRAM GH22NS70 '
Revision : 'EX00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A (DVD+RW)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW) (current)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM) (current)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 18223 kB/s 103x CD 13x DVD
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in real BLANK mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Performing OPC...
Error: this media does not support blanking, ignoring.
This drive or media does not support the 'BLANK media' command
wodim: Cannot blank disk, aborting.
Offline
What error do you get when burning a fresh disc?
You wrote that you try to erase a DVD-RW, did you try a +RW too?
Did you try dvd+rw-tools directly?
Do you get the same errors with CD-RW?
I might be really really wrong but as I understand the logs cdrecord uses a DVD+RW profile
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A (DVD+RW)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW) (current)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM) (current)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
while you have a -RW disc, but that is just a huge guess.
Offline
dvd+rw-format says the disk is already formated, yet I can read its content (bootable FreeBSD).
Here's the actual output:
sudo dvd+rw-format /dev/sr0
* BD/DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 7.1.
* 4.7GB DVD+RW media detected.
- media is already formatted, lead-out is currently at
4590208 KiB which is 100.0% of total capacity.
- you have the option to re-run dvd+rw-format with:
-lead-out to elicit lead-out relocation for better
DVD-ROM compatibility, data is not affected;
-force to enforce new format (not recommended)
and wipe the data
I'm currently running the above command with -force and it started doing something, will edit to report if it erased it completely.
EDIT:
"dvd+rw-format /dev/sr0 -force" exited with no errors, and now I can not mount this DVD as it has no data on it.
Just tried burning a random file to this DVD using "wodim -tao speed=2 dev=/dev/sr0 -v -data test.iso" and it worked.
So why are gui tools failing to do anything but create iso files?
Last edited by bstaletic (2015-01-13 14:21:30)
Offline
Turns out there's been a permission issue, which I just fixed and everything is working.
EDIT:
Solution:
As I'm not using systemd my user (bstaletic) didn't have it's permissions elevated to use /dev/sr0. Adding bstaletic to optical group solved the problem.
Last edited by bstaletic (2015-01-13 14:35:26)
Offline
Hi,
the drive detects a DVD+RW medium, not a DVD-RW.
DVD+RW (and also formatted DVD-RW) cannot be blanked in the
sense of MMC specs resp. cdrecord. They rather can be
overwritten without previous preparation. If you want to erase
their content, just overwrite them completely. E.g. by:
dd if=/dev/zero bs=1M count=4482 of=/dev/sr0
If you want to invalidate an ISO 9660 filesystem, then it
suffices to overwrite the first MB
dd if=/dev/zero bs=1M count=1 of=/dev/sr0
Re-formatting DVD+RW is not guaranteed to invalidate
the medium content. Further it is said to wear off
the medium. That's why dvd+rw-format refuses to reformat
without option -force.
Have a nice day
Thomas
Offline
Thanks for the info. It will prove very useful.
Offline
Pages: 1