Skip to contentSkip to conversation

Unable to burn DVDs

DISCUSSION Laurent CARON 12 participants 19 messages Jan 10, 2005 – Jan 19, 2005 1 message not in the archive Block layer

lore
Share & tools
lore
#0 lore raw

Hello,

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar

WARNING: /dev/scd0 already carries isofs!
About to execute 'mkisofs -R -J /root/sendmail.mc | builtin_dd of=/dev/scd0 obs=32k seek=0' INFO:ingISO-8859-15 character encoding detected by locale settings.
Assuming ISO-8859-15 encoded filenames on source filesystem,
use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
/dev/scd0: "Current Write Speed" is 4.1x1385KBps.
:-[ WRITE@LBA=0h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error
:-( write failed: Input/output error

Needless to say it works fine with 2.6.9

Am I missing something?

Thanks

Laurent

Signature · 2 lines
The only "intuitive" interface is the nipple.  After that, it's all learned.
	-- Bruce Ediger, [email protected], on X interfaces
#1 lore raw
Quoted 25 lines · Laurent CARON

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar

WARNING: /dev/scd0 already carries isofs!
About to execute 'mkisofs -R -J /root/sendmail.mc | builtin_dd of=/dev/scd0 obs=32k seek=0'
INFO:ingISO-8859-15 character encoding detected by locale settings.
Assuming ISO-8859-15 encoded filenames on source filesystem, use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
/dev/scd0: "Current Write Speed" is 4.1x1385KBps.
:-[ WRITE@LBA=0h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error :-( write failed: Input/output error

Quoted 3 lines

Needless to say it works fine with 2.6.9

Am I missing something?

Is it actually a scsi device?

I haven't tried myself with 2.6.10 yet, but with 2.6.9 and older I have just used /dev/hda to access my dvd writer. Seemed much better than ide-scsi at least. Of course if it is usb or firewire I guess the scsi interface is required.

Len Sorensen

#2 lore raw
Quoted 32 lines · Lennart Sorensen
Quoted 23 lines · Laurent CARON

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar

WARNING: /dev/scd0 already carries isofs!
About to execute 'mkisofs -R -J /root/sendmail.mc | builtin_dd of=/dev/scd0 obs=32k seek=0' INFO:ingISO-8859-15 character encoding detected by locale settings.
Assuming ISO-8859-15 encoded filenames on source filesystem,
use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
/dev/scd0: "Current Write Speed" is 4.1x1385KBps.
:-[ WRITE@LBA=0h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error
:-( write failed: Input/output error

Quoted 5 lines

Needless to say it works fine with 2.6.9

Am I missing something?

Quoted 10 lines

Is it actually a scsi device?

I haven't tried myself with 2.6.10 yet, but with 2.6.9 and older I have just used /dev/hda to access my dvd writer. Seemed much better than ide-scsi at least. Of course if it is usb or firewire I guess the scsi interface is required.

Len Sorensen

It is an internal IDE drive (laptop)

Same when using /dev/hdc or /dev/scd0

Laurent

Signature · 1 line
 Why don't you pair `em up in threes? -Yogi Berra
#3 lore raw
In reply to Laurent CARON

same thing happens to me!

Quoted 35 lines · Laurent CARON

Hello,

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar

WARNING: /dev/scd0 already carries isofs!
About to execute 'mkisofs -R -J /root/sendmail.mc | builtin_dd of=/dev/scd0 obs=32k seek=0'
INFO:ingISO-8859-15 character encoding detected by locale settings.
Assuming ISO-8859-15 encoded filenames on source filesystem, use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
/dev/scd0: "Current Write Speed" is 4.1x1385KBps.
:-[ WRITE@LBA=0h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error :-( write failed: Input/output error

Needless to say it works fine with 2.6.9

Am I missing something?

Thanks

Laurent

#4 lore raw
In reply to Laurent CARON
Quoted 10 lines

Hello,

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar

I remember ide-scsi being broken now since you can use /dev/hdX directly for writing CDs.

Quoted 14 lines

WARNING: /dev/scd0 already carries isofs!
About to execute 'mkisofs -R -J /root/sendmail.mc | builtin_dd of=/dev/scd0 obs=32k seek=0'
INFO:ingISO-8859-15 character encoding detected by locale settings. Assuming ISO-8859-15 encoded filenames on source filesystem, use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
/dev/scd0: "Current Write Speed" is 4.1x1385KBps.
: -[ WRITE@LBA=0h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error : -( write failed: Input/output error

Quoted 2 lines

Needless to say it works fine with 2.6.9
Am I missing something?

/dev/hdX of course won't work if ide-scsi is loaded, I guess.

Jan Engelhardt

Signature · 1 line
ENOSPC
#5 lore raw
Quoted 14 lines · Jan Engelhardt
Quoted 14 lines

WARNING: /dev/scd0 already carries isofs!
About to execute 'mkisofs -R -J /root/sendmail.mc | builtin_dd of=/dev/scd0 obs=32k seek=0'
INFO:ingISO-8859-15 character encoding detected by locale settings. Assuming ISO-8859-15 encoded filenames on source filesystem, use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
/dev/scd0: "Current Write Speed" is 4.1x1385KBps.
: -[ WRITE@LBA=0h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error : -( write failed: Input/output error

Quoted 4 lines
Quoted 2 lines

Needless to say it works fine with 2.6.9
Am I missing something?

/dev/hdX of course won't work if ide-scsi is loaded, I guess.

Its using /dev/scd0 which is just fine. It also read the volume successfully since it was able to warn that the drive already had an fs and to get the write speed and other properties.

#6 lore raw
In reply to Jan Engelhardt
Quoted 6 lines · Jan Engelhardt
Quoted 6 lines

Hello,

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Quoted 11 lines
Quoted 6 lines

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar

I remember ide-scsi being broken now since you can use /dev/hdX directly for writing CDs.

doesn't work for me

growisofs -Z /dev/hdc -R -J ~/sendmail.mc
:-( unable to open64("/dev/hdc",O_RDONLY): No such device or address

Signature · 1 line
To give happiness is to deserve happiness.
#7 lore raw
Quoted 15 lines · Laurent CARON
Quoted 13 lines · Jan Engelhardt
Quoted 12 lines

Hello,

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar
Quoted 8 lines
Quoted 4 lines

I remember ide-scsi being broken now since you can use /dev/hdX directly for writing CDs.

doesn't work for me

growisofs -Z /dev/hdc -R -J ~/sendmail.mc
:-( unable to open64("/dev/hdc",O_RDONLY): No such device or address

Do you have /dev/hdc?
Also if you have scsi emulation loaded it (IIRC) eats your normal device. Just try without it.

Also there is packet cdrw/dvd+-rw driver in kernel now (2.6.10?) that permits you to mount normal filesystem (for example UDF, but FAT or ISO - readonly of course or EXT2 or any other but better for your media without journal) on such device.

Grzegorz Kulewski

#8 lore raw
Quoted 21 lines · Grzegorz Kulewski
Quoted 19 lines · Laurent CARON
Quoted 17 lines · Jan Engelhardt
Quoted 12 lines

Hello,

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar

I remember ide-scsi being broken now since you can use /dev/hdX directly for writing CDs.

Quoted 9 lines
Quoted 4 lines

doesn't work for me

growisofs -Z /dev/hdc -R -J ~/sendmail.mc
:-( unable to open64("/dev/hdc",O_RDONLY): No such device or address

Do you have /dev/hdc?
Also if you have scsi emulation loaded it (IIRC) eats your normal device. Just try without it.

it is without ide-scsi

Quoted 1 line

Also there is packet cdrw/dvd+-rw driver in kernel now (2.6.10?) that permits you to mount normal filesystem (for example UDF, but FAT or ISO - readonly of course or EXT2 or any other but better for your media without journal) on such device.

I don't want UDF

#9 lore raw
In reply to Grzegorz Kulewski
Quoted 1 line

Also there is packet cdrw/dvd+-rw driver in kernel now (2.6.10?) that permits

I've got susekotd-2.6.8-0, which is a 2.6.9-rc2 if I'm not mistaken.

Quoted 1 line

you to mount normal filesystem (for example UDF, but FAT or ISO - readonly of

No, it's all read-write, see
http://marc.theaimsgroup.com/?l=linux-kernel&m=110297545900945&w=2
(It's really readwrite, no "-o ro" done by user- or kernelspace)

Quoted 2 lines

course or EXT2 or any other but better for your media without journal) on such device.

Jan Engelhardt

Signature · 1 line
ENOSPC
#10 lore raw

Hi!

For me, dvd writing works only when I run growisofs with root permissions (using 2.6.10 kernel, /dev/hdc without ide-scsi)

Feri

2005-01-11, k keltezéssel 20.10-kor Jan Engelhardt ezt írta:

Quoted 16 lines
Quoted 1 line

Also there is packet cdrw/dvd+-rw driver in kernel now (2.6.10?) that permits

I've got susekotd-2.6.8-0, which is a 2.6.9-rc2 if I'm not mistaken.

Quoted 1 line

you to mount normal filesystem (for example UDF, but FAT or ISO - readonly of

No, it's all read-write, see
http://marc.theaimsgroup.com/?l=linux-kernel&m=110297545900945&w=2
(It's really readwrite, no "-o ro" done by user- or kernelspace)

Quoted 2 lines

course or EXT2 or any other but better for your media without journal) on such device.

Jan Engelhardt

#11 lore raw
Quoted 5 lines · Sipos Ferenc

Hi!

For me, dvd writing works only when I run growisofs with root permissions (using 2.6.10 kernel, /dev/hdc without ide-scsi)

For me when running growisofs with user permissions on 2.6.10 (ide-cd) it works perfectly 1st time but 2nd time fails with the error below. It works fine when run as root.

:-( unable to PREVENT MEDIA REMOVAL: Operation not permitted

As an aside audio cd burning with cdrecord works as long as the '-text' option isn't used, if it is the process hangs.

Nick

#12 lore raw
Quoted 9 lines · Nick Sanders
Quoted 5 lines · Sipos Ferenc

Hi!

For me, dvd writing works only when I run growisofs with root permissions (using 2.6.10 kernel, /dev/hdc without ide-scsi)

Quoted 5 lines

For me when running growisofs with user permissions on 2.6.10 (ide-cd) it works perfectly 1st time but 2nd time fails with the error below. It works fine when run as root.

:-( unable to PREVENT MEDIA REMOVAL: Operation not permitted

As an aside audio cd burning with cdrecord works as long as the '-text' option isn't used, if it is the process hangs.

I reported a similar thing with cdrecord, writing a first session successfully using the -multi flag, but not being able to append to it or read the size with the "-msinfo" flag. I was totally blown off and told I didn't have permissions on the device, even though I was able to write to it.

I believe the true answer is that the SCSI command filter is blocking a command needed to perform the operation, probably a command to lock the door of the drive. In my case I have permissions to write the CD, just not to read the info needed to write additional sessions.

Signature · 3 lines
   -bill davidsen ([email protected])
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me
#13 lore raw
Quoted 12 lines · Bill Davidsen
Quoted 5 lines · Nick Sanders

For me when running growisofs with user permissions on 2.6.10 (ide-cd) it works perfectly 1st time but 2nd time fails with the error below. It works fine when run as root.

:-( unable to PREVENT MEDIA REMOVAL: Operation not permitted

As an aside audio cd burning with cdrecord works as long as the '-text' option isn't used, if it is the process hangs.

I reported a similar thing with cdrecord, writing a first session successfully using the -multi flag, but not being able to append to it or read the size with the "-msinfo" flag. I was totally blown off and told I didn't have permissions on the device, even though I was able to write to it.

I believe the true answer is that the SCSI command filter is blocking a command needed to perform the operation, probably a command to lock the door of the drive. In my case I have permissions to write the CD, just not to read the info needed to write additional sessions.

Hello,
Bill and Nick, could you try the attached patch that I sent to Jens Axboe yesterday? (You can see the mail with an explanation on
http://marc.theaimsgroup.com/?l=linux-kernel&m=110599420505734&w=2 )

Michal

drivers/block/scsi_ioctl.c renamed from drivers/block/scsi_ioctl.c.orig +1 -3
@@ -197,9 +197,7 @@ static int verify_command(struct file *f
 	if (type & CMD_WRITE_SAFE) {
 		if (file->f_mode & FMODE_WRITE)
 			return 0;
-	}
-
-	if (!(type & CMD_WARNED)) {
+	} else if (!(type & CMD_WARNED)) {
 		cmd_type[cmd[0]] = CMD_WARNED;
 		printk(KERN_WARNING "scsi: unknown opcode 0x%02x\n", cmd[0]);
 	}
#14 lore raw
Quoted 12 lines · Michal Schmidt
Quoted 10 lines · Bill Davidsen
Quoted 5 lines · Nick Sanders

For me when running growisofs with user permissions on 2.6.10 (ide-cd) it works perfectly 1st time but 2nd time fails with the error below. It works fine when run as root.

:-( unable to PREVENT MEDIA REMOVAL: Operation not permitted

As an aside audio cd burning with cdrecord works as long as the '-text' option isn't used, if it is the process hangs.

Quoted 8 lines
Quoted 4 lines

I reported a similar thing with cdrecord, writing a first session successfully using the -multi flag, but not being able to append to it or read the size with the "-msinfo" flag. I was totally blown off and told I didn't have permissions on the device, even though I was able to write to it.

I believe the true answer is that the SCSI command filter is blocking a command needed to perform the operation, probably a command to lock the door of the drive. In my case I have permissions to write the CD, just not to read the info needed to write additional sessions.

Hello,
Bill and Nick, could you try the attached patch that I sent to Jens Axboe yesterday? (You can see the mail with an explanation on
http://marc.theaimsgroup.com/?l=linux-kernel&m=110599420505734&w=2 )

Thank you, I will try to get it in tomorrow if I can replicate the issue with a USB CD burner, otherwise I will have to wait until Fri or Sat to try it on an IDE atached unit. Or I can try to get it going in my laptop, that has an FC2 install right now, so it should (eventually) build a kernel ;-)

Signature · 3 lines
   -bill davidsen ([email protected])
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me

A message that is not in the archive (sent off-list or not yet received): [email protected]

#18 lore raw
In reply to Laurent CARON
Quoted 24 lines · Laurent CARON

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar

WARNING: /dev/scd0 already carries isofs!
About to execute 'mkisofs -R -J /root/sendmail.mc | builtin_dd of=/dev/scd0 obs=32k seek=0'
INFO:ingISO-8859-15 character encoding detected by locale settings.
Assuming ISO-8859-15 encoded filenames on source filesystem, use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
/dev/scd0: "Current Write Speed" is 4.1x1385KBps.
:-[ WRITE@LBA=0h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error :-( write failed: Input/output error

Quoted 1 line

Needless to say it works fine with 2.6.9

According to the Mt Fuji spec, 4/08/03 means:

LOGICAL UNIT COMMUNICATION CRC ERROR (ULTRA-DMA/32)

I don't know what could be causing this error though.

Signature · 2 lines
Peter Osterlund - [email protected]
http://web.telia.com/~u89404340
#19 lore raw

Re: Unable to burn DVDs (possible pktcdvd problem?)

In reply to Laurent CARON
Quoted 27 lines · Laurent CARON <[email protected]>, on Mon Jan 10, 2005 [10:48:19 PM] said:

Hello,

I recently upgraded to 2.6.10 and tried (today) to burn a dvd with growisofs.

It seems there is a problem

Here is the output

# growisofs -Z /dev/scd0 -R -J ~/foobar

WARNING: /dev/scd0 already carries isofs!
About to execute 'mkisofs -R -J /root/sendmail.mc | builtin_dd of=/dev/scd0 obs=32k seek=0'
INFO:ingISO-8859-15 character encoding detected by locale settings.
Assuming ISO-8859-15 encoded filenames on source filesystem, use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
/dev/scd0: "Current Write Speed" is 4.1x1385KBps.
:-[ WRITE@LBA=0h failed with SK=4h/ASC=08h/ACQ=03h]: Input/output error :-( write failed: Input/output error

Quoted 7 lines

Needless to say it works fine with 2.6.9

Am I missing something?

Thanks

Laurent

	Hi;

	Using 2.6.10... (this hasnt happend under previous kernels,

but I cant swear as to the last one I burned a dvd under.)
I too had a strange thing happen when I just tried to burn a
dvd with growisofs. First, it didnt work as non-root. (failed with unable to set MODE, no dmesg) So, I became root, and it burnt all right. But then the media wouldnt eject when I hit the eject button. As a regular user I used the 'eject' command, but it failed. I ran 'eject' as root, and it claimed to fail, but actually ejected the disc.
We see this in dmesg:
program eject is using a deprecated SCSI ioctl, p lease convert it to SG_IO
scsi: unknown opcode 0x1e

After this, though is when things get odd. Xine failed to play
any dvd in the drive-- well, it would play the menu intro, but fail when you clicked on a title. mplayer did better, but bombed out when I tried to seek, and the drive refused to eject the disc after using any of these programs by hitting the manual button, but required root to run the 'eject' command. No dmesg errors.
I rebooted and things work as expected with xine and mplayer
on the dvd drive now. I dont know if the burning process was responsible for messing up the drive state, or if it was possibly that I had previously used the pktcdvd driver... since I notice that there was a kernel pktcdvd thread running previously, and not now. I wish I had thought to tear down the pktcdvd association before rebooting...
Anyway, Ill probably burn another dvd soon, and see what happens.

Paul
[email protected]