Comment 1 for bug 10617

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #0)
> First, when I try to burn a cd with nautilus-cd-burner
> as a normal user, it tells me :
> "Reload rewritable or blank media
> Please replace the in-drive media by a rewritable or blank media."
> But the cd in the cd-writer _is_ blank.
> N-c-b keeps telling me that message.

Please attach the output from lshal when a blank media is inserted.

> Then, when I try to burn (as a normal user, again) with cdrecord
> in command-line with this command :
> "cdrecord -v dev=ATAPI:/dev/cdrom driveropts=burnproof -data image.iso",
> I get the following:
> "cdrecord: Drive does not support TAO recording.
> cdrecord: Illegal write mode for this drive."
>
> Trying again with cdrecord, but this time as root, it works ... not
> totally perfectly.

Make sure that the permissions on the device are correct, and that you are NOT
using ide-scsi emulation (as was necessary with older kernels).

> Weirder : if I burn an iso image placed on my IDE disk,
> the burning process is a lot slower, cdrecord
> hangs each time a few Mbytes are "burned" (5-6Mbytes)
> and the average write speed decreases to reach
> 6x !!!

It sounds like DMA is not enabled on your IDE disk.

> I've wondered if this was due to a 2.6.8 kernel problem,
> so I installed a 2.6.7 (kernel-image-2.6.7-1-k7
> from Ubuntu) ... same problem, but I noticed
> a weird message I don't have with 2.6.8 :
> "Nov 23 22:43:21 localhost kernel: cdrom: hdb: mrw address space DMA selected
> Nov 23 22:43:21 localhost kernel:
> Nov 23 22:43:21 localhost kernel: device-mapper: error adding target to table"
> The latter is repeated several times.

and apparently DMA *is* enabled on your CD device, at least with the 2.6.7 that
you tried, which sometimes does not work well.

> Because I have a dual-boot Ubuntu/Debian-Sid,
> I tried on my Debian (kernel 2.6.7-1-k7, the same as Ubuntu 2.6.7 one).
> I have no problem writing an iso (no matter if this iso is placed
> on my IDE or SCSI hard disk), it works well and fast.

Ubuntu does not have a 2.6.7 kernel. If you upgraded a Debian system to Ubuntu,
follow the instructions at http://www.ubuntulinux.org/wiki/WartyUpgradeNotes.
If you installed Warty from CD, you would have a 2.6.8.1 kernel.