La vie personnelle du chat
Burnt by disc burning
I’ve been happily using various pieces of software over the last five years (especially nautilus-cd-burner and K3B) to burn ISO images, create data DVDs, etc. I’ve come to rely on that kind of stuff to work and keep working.
Not in Ubuntu 10.04. For some reason, I have been unable to burn a single data DVD tonight.

Let’s see:
- I tried dumping one or two files into a blank data project in Brasero, putting a blank DVD+R in and hitting the Burn button. It seemed to work, then failed a few seconds after starting the burn process and dumped a truncated error log (not very helpful, but available further down below).
- Cursing the good name of Brasero, I promptly uninstalled it and put nautilus-cd-burner back in place, expecting it to do the job where Brasero had left off (Brasero was at least able to create an ISO image). And there came the surprise. Nautilus didn’t work either. That’s news to me. Wait a second. I remember K3B not working either lately. Uh oh.
- I then tried from the command line, with the following command: growisofs -dvd-compat -Z /dev/sr0=GITS.iso
- This worked with a (freshly blanked) DVD+RW.
- …and then when I attempted the very same command with a DVD+R, it failed.
Is it growisofs’ fault? cdrecord? The kernel? Some other thing? There are so many pieces of software in the Linux CD/DVD burning ecosystem that it’s a maze for a non-connaisseur to figure out. And somehow, this is not very encouraging:

For the record, my computer is a Dell Inspiron 530n (ubuntu-certified desktop machine that has worked flawlessly so far) with an Optiarc DVD±RW AD-7200S. My Sony accucore DVD+R discs are the same ones I have kept purchasing over the years (the most reliable I have found).
Here is Brasero’s error log when trying to burn directly from a data DVD project, when trying to burn from a DVD ISO image, and here are my two attempts at using growisofs on the command line (DVD+RW = success, DVD+R = fail).
I’m stumped; I have wasted 3 blank discs and still haven’t been able to burn the data I wanted to give to a friend or even figure out why this is happening. Any ideas? Are there many users affected by this, or are we only a handful? Issues like these are hard to justify in an Ubuntu LTS release.
Update (2010 06 07): it seems the problem was Brasero creating incorrect ISO images. Trying to burn an existing ISO image works, so my drive, kernel, cdrkit/wodim/cdrecorder libraries are not to blame.
| This entry was posted by nekohayo on 31 May 2010 at 21:10, and is filed under Linux, Linux Planet, Planet GNOME, Planète Ubuntu Québec. Follow any responses to this post through RSS 2.0. You can skip to the end and leave a response. Pinging is currently not allowed. |
about 3 months ago
Brasero never worked for me.
K3B does work all the time.
about 3 months ago
It’ll be nice ten years from now when the FOSS community spends its time resources on extensive testing instead of redundant packaging.
about 3 months ago
I have seen this error too. I think there is nothing wrong with the image that was burned. After the image is burned it checks the cd/dvd image against the original and for some reason this check always fails. Just compare the checksum of the original and the image. Should be the same, at least most of the time :-) I get the best results with DVD-RW discs. DVD+RW fails a lot.
about 3 months ago
@Pieter: no, in my case it’s obviously wrong because it fails at the beginning of the burn, not at the end. The data did not have time to be written entirely.
about 3 months ago
What does dmesg say?
about 3 months ago
@Maciej: tons of the following lines repeated:
sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track
sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sr0, sector 0
I’ve seen this in some other(s) bug report(s), which could maybe be a sign of a kernel bug of some sort… for what it’s worth, that DVD±RW drive has no trouble playing back DVD videos, erasing discs, etc.
about 3 months ago
For some reason Debian, Ubuntu and some other distributions seem to use a broken replacement for the original cdrtools. Take a look at this statement from the developer of the original cdrtools for more information:
http://cdrecord.berlios.de/private/linux-dist.html
There is also a bug report that mentions a ppa to replace the tools:
https://bugs.launchpad.net/ubuntu/+source/cdrtools/+bug/213215
about 3 months ago
Try using cdrtools utilities instead of the one bundled by default. See this bug https://bugs.launchpad.net/ubuntu/+source/cdrtools/+bug/177154 for reference concerning the license issues discussed. Not sure if anything has been resolved, but a short summery: the tools in Ubuntu are forks of cdrtools’. Cdrtools seems much more stable, but has licensing issues.
about 3 months ago
I agree with Jonas; cdrtools is a better alternative. Neither wodim nor growisofs seem to be actively maintained these days.
Unfortunately I have received quite a few bug reports that look like yours and cdrtools may help. Another alternative would be to install libburn that should be automatically picked up and used by brasero if it sees it installed. Of course there is the risk of wasting another disc…
As for the bug you mentioned in brasero namely the truncated report, it was fixed in stable branch which is worth pulling and using until it hits ubuntu repositories.
about 3 months ago
Gnomebaker works fine for me, while Brasero is not reliable on my Dell desktop.
about 3 months ago
I too have been having problems randomly with Brasero, never with the older nautilus-burn stuff or other methods.
about 3 months ago
Tu peux tester Nero pour essayer un autre moteur
about 3 months ago
I know it sounds stupid and is definitely not a fix, but the following procedure works for me(TM):
1) switch of auto mounting of CDs/DVDs
2) reboot
3) burn with brasero, nautilus, etc as usual…
:-)
about 3 months ago
I get this error with Brasero, but the disk has been burned correctly, as can easily be tested. Obviously I will never know if I do have a real disk error using Brasero.
about 3 months ago
Where is the problem, just send few SCSI commands to your drive – you will need TEST UNIT READY to see if there is a disc. GET CONFIGURATION to see what kind of disc is inserted. READ DISC INFORMATION to see if it is blank or formatted. If the disc is DVD+RW (as in your case) and is not formatted, run background format using FORMAT UNIT. Then using WRITE(10) or WRITE(12) write your data on the disc. When you are done, issue SYNCHRONIZE CACHE and if the background format is still running, stop it using CLOSE TRACK/SESSION.
Commands should be issued using ioctl/SG_IO.
If you pay me, I will write you working iso burning application, not that piece of crap wodim is :-) But I’m not superman and it’ll take me a while.
> This worked with a (freshly blanked) DVD+RW.
DVD+RW cannot be blanked. DVD+RW can be either formatted or rewritten, blanking is possible only with DVD-RW and CD-RW. If brasero says it is blanking DVD+RW, it is piece of crap as it cannot succeed. The only thing it could do is rewrite part of thi disc with zeroes so it can look like it is blank, but there is no way to find out that DVD+RW is blank that is 100% working – heuristic analysis is required and heuristic analysis can give bad results…
about 3 months ago
Brasero is NOT nautilus-cd-burner or k3b.
The state of cd burning tools (cdrkit, dvd+rw-tools etc…) on linux is in a very bad state brasero is trying to get over it.
I encourage you to report bugs to gnome bugzilla and we try to get it fixed.
about 3 months ago
Brasero is NOT nautilus-cd-burner or k3b.
The state of cd burning tools (cdrkit, dvd+rw-tools etc…) on linux is in a very bad state brasero is trying to get over it.
I encourage you to report bugs to gnome bugzilla and we will try to get it fixed.
about 3 months ago
Me too =(
DVD+R just gets spit out by the laptop without recognising it.
about 3 months ago
Just for clarity. Is this problem only with DVD+R media? Does DVD-R media work?
Just as a check, I’ve asked a Fedora 13 user on irc to try the growisofs command with DVD+R media to do a burn. They’ve reported back that it works for them. I’ve also gotten reports that k3b and brasero work for users of DVD+R media. I don’t have any +R media myself. All I have is -R media.
And this isn’t meant to throw stones at your distribution of choice. Hopefully this comparative report will help you figure out where the problem actually is. Maybe there is a patch difference that you can track down that accounts for the difference in commandline growisofs behaviour across distributions.
I did a quick check of the patches applied to dvd+rw-tools in Fedora 13 and Ubuntu 10.04 packages and i didn’t see anything that stuck out as an obvious candidate. Maybe this is something at the kernel level? If it is then moving to an older Ubntu kernel or to a vanilla mainline kernel should change the behaviour and confirm its a kernel patch. Good luck tracking it down.
-jef
about 2 months ago
I have tried with the packages from https://launchpad.net/~brandonsnider/+archive/cdrtools ; no joy. This rather looks like a kernel issue to me, as it used to work fine a 1-2 ubuntu releases ago.
about 2 months ago
Try burning with 1x, 2x or 4x speed. I have the same problem on Fedora (and, worse, if I burn a coaster then the drive locks up and the only way to eject the CD is to reboot). But if I burn at no more than 4x speed, and not using the auto / highest possible speed, then it burns fine. If I select 4x then it burns at full speed (8.3x), incidentally.
Related bugs in Fedora illustrate the problem:
https://bugzilla.redhat.com/show_bug.cgi?id=496020
https://bugzilla.redhat.com/show_bug.cgi?id=523996
Whenever someone reports a problem like this, Jurg Schilling jumps into the bug report to point out how broken cdrtools is, e.g. http://cdrecord.berlios.de/private/linux-dist.html#problems . However I don’t get why nobody else in Fedora or Ubuntu has actually fixed the problems.
about 2 months ago
Sorry, the above comment should say Jurg Schilling likes to point out “how broken forks of cdrtools are, e.g. cdkit”. And it seems that he’s right, the forks are broken. Here’s more on the debate: http://en.wikipedia.org/wiki/Cdrkit#Fork
about 1 month ago
Argh. I’m in the freshly-released OpenSUSE 11.3 (GNOME), and I’m running into the same effing problem right down to dmesg results, except using Sony & Staples CD-R discs. Hope they fix it soon… :(