linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unable to burn DVDs
@ 2005-01-10 21:48 Laurent CARON
  2005-01-10 22:29 ` Lennart Sorensen
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Laurent CARON @ 2005-01-10 21:48 UTC (permalink / raw)
  To: linux-kernel

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, bediger@teal.csn.org, on X interfaces


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-10 21:48 Unable to burn DVDs Laurent CARON
@ 2005-01-10 22:29 ` Lennart Sorensen
  2005-01-10 22:42   ` Laurent CARON
  2005-01-10 23:50 ` Kasper Sandberg
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 19+ messages in thread
From: Lennart Sorensen @ 2005-01-10 22:29 UTC (permalink / raw)
  To: Laurent CARON; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-10 22:29 ` Lennart Sorensen
@ 2005-01-10 22:42   ` Laurent CARON
  0 siblings, 0 replies; 19+ messages in thread
From: Laurent CARON @ 2005-01-10 22:42 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-10 21:48 Unable to burn DVDs Laurent CARON
  2005-01-10 22:29 ` Lennart Sorensen
@ 2005-01-10 23:50 ` Kasper Sandberg
  2005-01-11  7:08 ` Jan Engelhardt
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 19+ messages in thread
From: Kasper Sandberg @ 2005-01-10 23:50 UTC (permalink / raw)
  To: Laurent CARON; +Cc: LKML Mailinglist

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
> 


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-10 21:48 Unable to burn DVDs Laurent CARON
  2005-01-10 22:29 ` Lennart Sorensen
  2005-01-10 23:50 ` Kasper Sandberg
@ 2005-01-11  7:08 ` Jan Engelhardt
  2005-01-11 16:11   ` Alan Cox
  2005-01-11 18:30   ` Laurent CARON
  2005-01-11 20:08 ` Peter Osterlund
  2005-01-12  7:25 ` Unable to burn DVDs (possible pktcdvd problem?) Paul
  4 siblings, 2 replies; 19+ messages in thread
From: Jan Engelhardt @ 2005-01-11  7:08 UTC (permalink / raw)
  To: Laurent CARON; +Cc: linux-kernel

> 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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-11  7:08 ` Jan Engelhardt
@ 2005-01-11 16:11   ` Alan Cox
  2005-01-11 18:30   ` Laurent CARON
  1 sibling, 0 replies; 19+ messages in thread
From: Alan Cox @ 2005-01-11 16:11 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Laurent CARON, Linux Kernel Mailing List

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.



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-11  7:08 ` Jan Engelhardt
  2005-01-11 16:11   ` Alan Cox
@ 2005-01-11 18:30   ` Laurent CARON
  2005-01-11 18:47     ` Grzegorz Kulewski
       [not found]     ` <abdc35ac0501111439dc965e6@mail.gmail.com>
  1 sibling, 2 replies; 19+ messages in thread
From: Laurent CARON @ 2005-01-11 18:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jan Engelhardt

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.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-11 18:30   ` Laurent CARON
@ 2005-01-11 18:47     ` Grzegorz Kulewski
  2005-01-11 19:00       ` Laurent CARON
  2005-01-11 19:10       ` Jan Engelhardt
       [not found]     ` <abdc35ac0501111439dc965e6@mail.gmail.com>
  1 sibling, 2 replies; 19+ messages in thread
From: Grzegorz Kulewski @ 2005-01-11 18:47 UTC (permalink / raw)
  To: Laurent CARON; +Cc: linux-kernel, Jan Engelhardt

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-11 18:47     ` Grzegorz Kulewski
@ 2005-01-11 19:00       ` Laurent CARON
  2005-01-11 19:10       ` Jan Engelhardt
  1 sibling, 0 replies; 19+ messages in thread
From: Laurent CARON @ 2005-01-11 19:00 UTC (permalink / raw)
  To: Grzegorz Kulewski; +Cc: linux-kernel, Jan Engelhardt

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-11 18:47     ` Grzegorz Kulewski
  2005-01-11 19:00       ` Laurent CARON
@ 2005-01-11 19:10       ` Jan Engelhardt
  2005-01-11 20:09         ` Sipos Ferenc
  1 sibling, 1 reply; 19+ messages in thread
From: Jan Engelhardt @ 2005-01-11 19:10 UTC (permalink / raw)
  Cc: linux-kernel

> 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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-10 21:48 Unable to burn DVDs Laurent CARON
                   ` (2 preceding siblings ...)
  2005-01-11  7:08 ` Jan Engelhardt
@ 2005-01-11 20:08 ` Peter Osterlund
  2005-01-12  7:25 ` Unable to burn DVDs (possible pktcdvd problem?) Paul
  4 siblings, 0 replies; 19+ messages in thread
From: Peter Osterlund @ 2005-01-11 20:08 UTC (permalink / raw)
  To: Laurent CARON; +Cc: linux-kernel

Laurent CARON <lcaron@apartia.fr> 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 - petero2@telia.com
http://web.telia.com/~u89404340

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-11 19:10       ` Jan Engelhardt
@ 2005-01-11 20:09         ` Sipos Ferenc
  2005-01-11 21:51           ` Nick Sanders
  0 siblings, 1 reply; 19+ messages in thread
From: Sipos Ferenc @ 2005-01-11 20:09 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-11 20:09         ` Sipos Ferenc
@ 2005-01-11 21:51           ` Nick Sanders
  2005-01-12 17:00             ` Bill Davidsen
  0 siblings, 1 reply; 19+ messages in thread
From: Nick Sanders @ 2005-01-11 21:51 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
       [not found]     ` <abdc35ac0501111439dc965e6@mail.gmail.com>
@ 2005-01-11 22:54       ` Laurent CARON
  0 siblings, 0 replies; 19+ messages in thread
From: Laurent CARON @ 2005-01-11 22:54 UTC (permalink / raw)
  To: linux-kernel
  Cc: athschk@yahoo.de <athschk@yahoo.de> athschk@yahoo.de
	<athschk@yahoo.de>

athschk@yahoo.de <athschk@yahoo.de> athschk@yahoo.de <athschk@yahoo.de> 
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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs (possible pktcdvd problem?)
  2005-01-10 21:48 Unable to burn DVDs Laurent CARON
                   ` (3 preceding siblings ...)
  2005-01-11 20:08 ` Peter Osterlund
@ 2005-01-12  7:25 ` Paul
  4 siblings, 0 replies; 19+ messages in thread
From: Paul @ 2005-01-12  7:25 UTC (permalink / raw)
  To: linux-kernel

Laurent CARON <lcaron@apartia.fr>, 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
set@pobox.com
	


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-11 21:51           ` Nick Sanders
@ 2005-01-12 17:00             ` Bill Davidsen
  2005-01-18 10:56               ` Michal Schmidt
  0 siblings, 1 reply; 19+ messages in thread
From: Bill Davidsen @ 2005-01-12 17:00 UTC (permalink / raw)
  To: Nick Sanders; +Cc: linux-kernel

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 (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
  last possible moment - but no longer"  -me

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-12 17:00             ` Bill Davidsen
@ 2005-01-18 10:56               ` Michal Schmidt
  2005-01-18 23:41                 ` Bill Davidsen
  2005-01-19  9:26                 ` Nick Sanders
  0 siblings, 2 replies; 19+ messages in thread
From: Michal Schmidt @ 2005-01-18 10:56 UTC (permalink / raw)
  To: Bill Davidsen, Nick Sanders; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1235 bytes --]

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

[-- Attachment #2: verify_command.patch --]
[-- Type: text/x-patch, Size: 490 bytes --]

--- linux-2.6.11-mm1/drivers/block/scsi_ioctl.c.orig	2005-01-17 20:42:40.000000000 +0100
+++ linux-2.6.11-mm1/drivers/block/scsi_ioctl.c	2005-01-17 20:43:14.000000000 +0100
@@ -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]);
 	}

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-18 10:56               ` Michal Schmidt
@ 2005-01-18 23:41                 ` Bill Davidsen
  2005-01-19  9:26                 ` Nick Sanders
  1 sibling, 0 replies; 19+ messages in thread
From: Bill Davidsen @ 2005-01-18 23:41 UTC (permalink / raw)
  To: Michal Schmidt; +Cc: Nick Sanders, linux-kernel

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 (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
  last possible moment - but no longer"  -me

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Unable to burn DVDs
  2005-01-18 10:56               ` Michal Schmidt
  2005-01-18 23:41                 ` Bill Davidsen
@ 2005-01-19  9:26                 ` Nick Sanders
  1 sibling, 0 replies; 19+ messages in thread
From: Nick Sanders @ 2005-01-19  9:26 UTC (permalink / raw)
  To: Michal Schmidt; +Cc: Bill Davidsen, linux-kernel

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2005-01-19  9:30 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-10 21:48 Unable to burn DVDs Laurent CARON
2005-01-10 22:29 ` Lennart Sorensen
2005-01-10 22:42   ` Laurent CARON
2005-01-10 23:50 ` Kasper Sandberg
2005-01-11  7:08 ` Jan Engelhardt
2005-01-11 16:11   ` Alan Cox
2005-01-11 18:30   ` Laurent CARON
2005-01-11 18:47     ` Grzegorz Kulewski
2005-01-11 19:00       ` Laurent CARON
2005-01-11 19:10       ` Jan Engelhardt
2005-01-11 20:09         ` Sipos Ferenc
2005-01-11 21:51           ` Nick Sanders
2005-01-12 17:00             ` Bill Davidsen
2005-01-18 10:56               ` Michal Schmidt
2005-01-18 23:41                 ` Bill Davidsen
2005-01-19  9:26                 ` Nick Sanders
     [not found]     ` <abdc35ac0501111439dc965e6@mail.gmail.com>
2005-01-11 22:54       ` Laurent CARON
2005-01-11 20:08 ` Peter Osterlund
2005-01-12  7:25 ` Unable to burn DVDs (possible pktcdvd problem?) Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).