You are not logged in.

#1 2014-02-20 17:11:44

vlatk0
Member
From: Croatia
Registered: 2013-02-16
Posts: 13

Burning to disc reports no errors but nothing gets written

Hi,

I'we been trying to burn archbang ISO to CD. I tried using "wodim -v -sao dev=/dev/sr0 archbang-2013.09.01-x86_64.iso" and everything seemd to be going fine according to my console output, but CD is still empty after this process.

This is my console burning output:

┌─[vlatko@arch]─[~/Desktop]
└──╼ wodim -v -sao dev=/dev/sr0 archbang-2013.09.01-x86_64.iso 
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
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    : 'TSSTcorp'
Identification : 'CDDVDW SN-208AB '
Revision       : 'TO03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0012 (DVD-RAM) 
Profile: 0x0011 (DVD-R sequential recording) 
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
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 : 763136 = 745 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 4194304 = 4096 KB
Track 01: data   440 MB        
Total size:      505 MB (50:03.73) = 225280 sectors
Lout start:      505 MB (50:05/55) = 225280 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -12369 (97:17/06)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 69
Manufacturer: Moser Baer India Limited
Manufacturer is guessed because of the orange forum embargo.
The orange forum likes to get money for recent information.
The information for this media may not be correct.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 134569
Speed set to 4234 KB/s
Starting to write CD/DVD at speed  24.0 in real SAO mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:  440 of  440 MB written (fifo 100%) [buf  99%]  21.3x.
Track 01: Total bytes read/written: 461373440/461373440 (225280 sectors).
Writing  time:  221.043s
Average write speed  14.0x.
Min drive buffer fill was 76%
Fixating...
Fixating time:    6.901s
BURN-Free was never needed.
wodim: fifo had 7268 puts and 7268 gets.
wodim: fifo was 0 times empty and 6294 times full, min fill was 95%.

This is my device. It uses generis driver mmc_cdr, maybe i ought to install different driver?

┌─[✗]─[vlatko@arch]─[~/Desktop]
└──╼ wodim dev=/dev/sr0 -checkdrive
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identification : 'CDDVDW SN-208AB '
Revision       : 'TO03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
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

Thanks in advance smile

Offline

#2 2014-02-20 17:24:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Burning to disc reports no errors but nothing gets written

What does

wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.

mean?

Offline

#3 2014-02-20 17:36:59

vlatk0
Member
From: Croatia
Registered: 2013-02-16
Posts: 13

Re: Burning to disc reports no errors but nothing gets written

No idea. I tried runnig wodim as root, warning is gone but still nothing on disc.

sudo wodim -v -sao dev=/dev/sr0 archbang-2013.09.01-x86_64.iso 
[sudo] password for vlatko: 
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    : 'TSSTcorp'
Identification : 'CDDVDW SN-208AB '
Revision       : 'TO03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0012 (DVD-RAM) 
Profile: 0x0011 (DVD-R sequential recording) 
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 763136 = 745 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 4194304 = 4096 KB
Track 01: data   440 MB        
Total size:      505 MB (50:03.73) = 225280 sectors
Lout start:      505 MB (50:05/55) = 225280 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -12369 (97:17/06)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 69
Manufacturer: Moser Baer India Limited
Manufacturer is guessed because of the orange forum embargo.
The orange forum likes to get money for recent information.
The information for this media may not be correct.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 134569
Speed set to 4234 KB/s
Starting to write CD/DVD at speed  24.0 in real SAO mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:  440 of  440 MB written (fifo 100%) [buf  99%]  21.3x.
Track 01: Total bytes read/written: 461373440/461373440 (225280 sectors).
Writing  time:  229.889s
Average write speed  13.8x.
Min drive buffer fill was 75%
Fixating...
Fixating time:    6.889s
BURN-Free was never needed.
wodim: fifo had 7268 puts and 7268 gets.
wodim: fifo was 0 times empty and 6276 times full, min fill was 93%.

Offline

#4 2014-02-20 20:50:22

teckk
Member
Registered: 2013-02-21
Posts: 590

Re: Burning to disc reports no errors but nothing gets written

Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

Try:

wodim speed=8 -tao dev=/dev/sr0 /path/file.iso
cat file.iso > /dev/sr0
dd if=/path/file.iso of=/dev/sr0 bs=2048

For DVD use:

growisofs -dvd-compat -speed=8  -use-the-force-luke=tty -Z /dev/sr0=/path/file.iso

Edit:
Also since that file has - in it I would quote it.

command "archbang-2013.09.01-x86_64.iso"

Last edited by teckk (2014-02-20 20:55:13)

Offline

#5 2014-02-21 14:51:46

vlatk0
Member
From: Croatia
Registered: 2013-02-16
Posts: 13

Re: Burning to disc reports no errors but nothing gets written

Hi teckk, thanks for your answer.

When i try: wodim speed=8 -tao dev=/dev/sr0 /path/file.iso it just hangs after "Last chance to quit [...]"
I can hear the CD spinnig, but not very intensely ...

┌─[✗]─[vlatko@arch]─[~/Desktop]
└──╼ sudo wodim speed=8 -tao dev=/dev/sr0 "archbang-2013.09.01-x86_64.iso" 
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identification : 'CDDVDW SN-208AB '
Revision       : 'TO03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
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
Speed set to 1764 KB/s
Starting to write CD/DVD at speed  10.0 in real TAO mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.

I eventually hit CTRL-C and abort operation.

When i try: sudo cat file.iso > /dev/sr0 i get :

┌─[✗]─[vlatko@arch]─[~/Desktop]
└──╼ sudo cat "archbang-2013.09.01-x86_64.iso" > /dev/sr0 
bash: /dev/sr0: Read-only file system

And for: dd if=/path/file.iso of=/dev/sr0 bs=2048 i get:

sudo dd if="archbang-2013.09.01-x86_64.iso" of=/dev/sr0 bs=2048
[sudo] password for vlatko: 
dd: failed to open ‘/dev/sr0’: Read-only file system

Offline

#6 2014-02-21 14:53:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Burning to disc reports no errors but nothing gets written

You can't burn a CD with 'dd', it's good only for writing the iso to a pendrive or for ripping the CD to a file.

Offline

#7 2014-02-21 15:35:52

vlatk0
Member
From: Croatia
Registered: 2013-02-16
Posts: 13

Re: Burning to disc reports no errors but nothing gets written

I tried installing k3b and running it with root privilegies (sudo k3b). It beahved without any error but still, the disc is BLANK!

It really frustrates me, does anyone have any idea how to go about detecting a problem.

How is it possible that I don't get any errors?

Here's debugging output of k3b: http://pastebin.com/uhE0aYdx

Offline

#8 2014-02-21 15:41:54

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Burning to disc reports no errors but nothing gets written

Any chance your DVD drive is faulty? Can it read disks that you know have data on them? Can the disks you've burnt be read by other PCs?

Last edited by WorMzy (2014-02-21 15:43:40)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2014-02-21 15:45:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Burning to disc reports no errors but nothing gets written

I have visited this thread thrice now.  There is something that is just not right, because the output produced when you burn the disk looks okay to me.

Let's take a different tack.  You assert that the disk is blank.  How did you determine that?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#10 2014-02-21 18:29:13

teckk
Member
Registered: 2013-02-21
Posts: 590

Re: Burning to disc reports no errors but nothing gets written

It does look like it wrote and fixated. I never thought about that ewaller, a failing to mount disk first to read it.

To the OP:
Can you mount the CD manually after you burn it? Something like,

mkdir ~/stuff
mount -t iso9660 /dev/sr0 ~/stuff
ls ~/stuff

If so then look in the wiki for auto mounting file systems.
If not it looks like your drive isn't working.

dd and cat.
I assumed that an Arch user would know that to access a raw device node one would need to be root. Probably not a good thing to encourage anyway.

Offline

#11 2014-02-21 19:53:40

vlatk0
Member
From: Croatia
Registered: 2013-02-16
Posts: 13

Re: Burning to disc reports no errors but nothing gets written

ewaller wrote:

I have visited this thread thrice now.  There is something that is just not right, because the output produced when you burn the disk looks okay to me.
Let's take a different tack.  You assert that the disk is blank.  How did you determine that?

k3b and thunar. After the process I insert the disk back into the tray. Thunar reports that the disk in the tray is empty and k3b (and wodim) are willing to accept it as something they could write on.

I got sick of this and checked the discs on a different machine (Win 7). The discs were empty, I burned the iso on Win machine no problem.

teckk wrote:

It does look like it wrote and fixated. I never thought about that ewaller, a failing to mount disk first to read it.

To the OP:
Can you mount the CD manually after you burn it? Something like,

mkdir ~/stuff
mount -t iso9660 /dev/sr0 ~/stuff
ls ~/stuff

If so then look in the wiki for auto mounting file systems.
If not it looks like your drive isn't working.

WorMzy wrote:

Any chance your DVD drive is faulty? Can it read disks that you know have data on them? Can the disks you've burnt be read by other PCs?

My arch automounts and reads data disks without any hickups, I tested this using an old backup DVD with photos and the archbang disk I burned on my Windows machine.

teckk wrote:

dd and cat.
I assumed that an Arch user would know that to access a raw device node one would need to be root. Probably not a good thing to encourage anyway.

I don't know at what are you getting at, I did use sudo for dd and cat. Are you trying to say I had to be actually logged in as root?

I use my Arch linux without any (major) problems for a couple months now and I seldom use CDs. I wanted an arch live CD because or recent libgcrypt mess (I couldnt load my kernel). I searched my room for a some kind of linux live CD to chroot into my system and repair this, after extensive search I found an ancient backtrack DVD so I wanted someting more appropriate.

Even though I don't use my CD burner that often it really annoys me that part of my system is broken like that.

Last edited by vlatk0 (2014-02-21 19:57:45)

Offline

#12 2014-02-22 00:14:59

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Burning to disc reports no errors but nothing gets written

I've just restarted it because it writes nothing to the CD, and the next time it does.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#13 2014-02-22 06:01:34

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Burning to disc reports no errors but nothing gets written

If you are having trouble with wodim (cdrkit), give cdrtools a try. It works much better in my opinion.

Offline

#14 2014-02-24 09:03:35

vlatk0
Member
From: Croatia
Registered: 2013-02-16
Posts: 13

Re: Burning to disc reports no errors but nothing gets written

x33a wrote:

If you are having trouble with wodim (cdrkit), give cdrtools a try. It works much better in my opinion.

I use cdrtools.

┌─[vlatko@arch]─[~]
└──╼ pacman -Q cdrtools
cdrtools 3.01a22-1
┌─[vlatko@arch]─[~]
└──╼ pacman -Q cdrkit
error: package 'cdrkit' was not found

I'll try using cdrkit, though. Thaks for the suggestion.

Offline

#15 2014-02-24 10:00:12

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Burning to disc reports no errors but nothing gets written

Since you were using wodim, I thought you used cdrkit. cdrtools only provides wodim as a symlink to cdrecord. Try calling cdrecord directly, and see if it makes a difference.

Offline

#16 2014-02-24 11:26:36

vlatk0
Member
From: Croatia
Registered: 2013-02-16
Posts: 13

Re: Burning to disc reports no errors but nothing gets written

x33a wrote:

Since you were using wodim, I thought you used cdrkit. cdrtools only provides wodim as a symlink to cdrecord. Try calling cdrecord directly, and see if it makes a difference.

Ok I installed cdrkit via pacman. I installed dvd+rw-tools also.

I made an attempt to burn an different ISO to dvd:

growisofs -dvd-compat -Z /dev/sr0="bbqlinux-2013.12.15-x86_64.iso"

At first, command started to execute fine, but after a while it stalled at 31% giving me an IO error eventually. I tested the DVD once again in my sys tray, it was empty :(

Searching the web I stumbled upon this command:

┌─[vlatko@arch]─[~]
└──╼ wodim -scanbus
wodim: No such file or directory. 
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.

I'm not sure how to interpret this since "wodim dev=/dev/sr0 -checkdrive" returns:

┌─[✗]─[vlatko@arch]─[~]
└──╼ wodim dev=/dev/sr0 -checkdrive
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'TSSTcorp'
Identification : 'CDDVDW SN-208AB '
Revision       : 'TO03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
wodim: Cannot load media with this drive!
wodim: Try to load media by hand.
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

I saw on the forum one sloution was to modprobe sr_mod but that module is loaded:

┌─[vlatko@arch]─[~]
└──╼ lsmod | grep sr
sr_mod                 14930  0 
cdrom                  34880  1 sr_mod
scsi_mod              132250  5 sg,usb_storage,libata,sd_mod,sr_mod

Out of ideas :((

Offline

#17 2014-02-24 11:56:28

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: Burning to disc reports no errors but nothing gets written

Have you validated that the drive is working correctly? Have you tried a different CD/DVD drive or usb drive?

Offline

Board footer

Powered by FluxBB