2005-01-10 22:00:55

by Laurent CARON

[permalink] [raw]
Subject: Unable to burn DVDs

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

--
The only "intuitive" interface is the nipple. After that, it's all learned.
-- Bruce Ediger, [email protected], on X interfaces


2005-01-10 22:42:08

by Lennart Sorensen

[permalink] [raw]
Subject: Re: Unable to burn DVDs

On Mon, Jan 10, 2005 at 10:48:19PM +0100, Laurent CARON wrote:
> 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?

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

2005-01-10 22:50:53

by Laurent CARON

[permalink] [raw]
Subject: Re: Unable to burn DVDs

Lennart Sorensen wrote:

>On Mon, Jan 10, 2005 at 10:48:19PM +0100, Laurent CARON wrote:
>
>
>>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?
>>
>>
>
>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

--
Why don't you pair `em up in threes? -Yogi Berra

2005-01-11 00:08:36

by Kasper Sandberg

[permalink] [raw]
Subject: Re: Unable to burn DVDs

same thing happens to me!

On Mon, 2005-01-10 at 22:48 +0100, Laurent CARON wrote:
> 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
>

2005-01-11 07:08:13

by Jan Engelhardt

[permalink] [raw]
Subject: Re: Unable to burn DVDs

> 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.

> 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?

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



Jan Engelhardt
--
ENOSPC

2005-01-11 17:47:48

by Alan

[permalink] [raw]
Subject: Re: Unable to burn DVDs

On Maw, 2005-01-11 at 07:08, Jan Engelhardt wrote:
> > 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?
>
> /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.


2005-01-11 18:30:28

by Laurent CARON

[permalink] [raw]
Subject: Re: Unable to burn DVDs

Jan Engelhardt wrote:

>>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.
>
>
>
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

--
To give happiness is to deserve happiness.

2005-01-11 18:48:08

by Grzegorz Kulewski

[permalink] [raw]
Subject: Re: Unable to burn DVDs

On Tue, 11 Jan 2005, Laurent CARON wrote:

> Jan Engelhardt wrote:
>
>>> 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.
>>
>>
>>
> 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

2005-01-11 19:00:13

by Laurent CARON

[permalink] [raw]
Subject: Re: Unable to burn DVDs

Grzegorz Kulewski wrote:

> On Tue, 11 Jan 2005, Laurent CARON wrote:
>
>> Jan Engelhardt wrote:
>>
>>>> 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.
>>>
>>>
>>>
>> 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

> 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

2005-01-11 19:11:20

by Jan Engelhardt

[permalink] [raw]
Subject: Re: Unable to burn DVDs

> 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.

> 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)

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



Jan Engelhardt
--
ENOSPC

2005-01-11 20:06:09

by Sipos Ferenc

[permalink] [raw]
Subject: Re: Unable to burn DVDs

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:
> > 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.
>
> > 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)
>
> > course or EXT2 or any other but better for your media without journal) on such
> > device.
>
>
>
> Jan Engelhardt

2005-01-11 20:09:51

by Peter Osterlund

[permalink] [raw]
Subject: Re: Unable to burn DVDs

Laurent CARON <[email protected]> writes:

> 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

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.

--
Peter Osterlund - [email protected]
http://web.telia.com/~u89404340

2005-01-11 21:53:21

by Nick Sanders

[permalink] [raw]
Subject: Re: Unable to burn DVDs

On Tuesday 11 January 2005 20:09, Sipos Ferenc wrote:
> 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

2005-01-11 23:01:14

by Laurent CARON

[permalink] [raw]
Subject: Re: Unable to burn DVDs

[email protected] <[email protected]> [email protected] <[email protected]>
wrote:

>hi,
>
>you can burn cds, dvds with --cdrecord on commandline or simply use
>k3b on X. What system are you working with?
>
>regards.
>alex
>
>
>
It does NOT work under 2.6.10

It worked fine under 2.6.9.

Took my old .config and compiled 2.6.10, just plain 2.6.10

2005-01-12 07:25:14

by Paul

[permalink] [raw]
Subject: Re: Unable to burn DVDs (possible pktcdvd problem?)

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
>
>
> 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]


2005-01-12 16:58:06

by Bill Davidsen

[permalink] [raw]
Subject: Re: Unable to burn DVDs

Nick Sanders wrote:
> On Tuesday 11 January 2005 20:09, Sipos Ferenc wrote:
>
>>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.

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.

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

2005-01-18 10:58:26

by Michal Schmidt

[permalink] [raw]
Subject: Re: Unable to burn DVDs

Bill Davidsen wrote:
> Nick Sanders wrote:
>>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


Attachments:
verify_command.patch (490.00 B)

2005-01-18 23:39:07

by Bill Davidsen

[permalink] [raw]
Subject: Re: Unable to burn DVDs

Michal Schmidt wrote:
> Bill Davidsen wrote:
>
>> Nick Sanders wrote:
>>
>>> 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 )

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 ;-)

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

2005-01-19 09:30:54

by Nick Sanders

[permalink] [raw]
Subject: Re: Unable to burn DVDs

On Tuesday 18 January 2005 10:56, Michal Schmidt wrote:

>
> 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

Hi

Thanks, this fixes it. I can now burn more than 1 DVD as a user.

Thanks

Nick