Re: dvd+rw-tools 7.0: iso burning problem

2006-10-10 Thread Andy Polyakov
I faced a problem with dvd+rw-tools (6.0, 6.1 und 7.0) when I tried to 
burn a DVD-Iso-Image to a dvd using the command line


growisofs -Z 
/dev/scd2=/media/CDWserver/export/Server/DVD-Images/KNOPPIX_V5.0.1DVD-2006-06-01-DE.iso 


But it gives an invalid argument error:
 Output
Executing 'builtin_dd 
if=/media/CDWserver/export/Server/DVD-Images/KNOPPIX_V5.0.1DVD-2006-06-01-DE.iso 
of=/dev/scd2 obs=32k seek=0'

:-( write failed: Invalid argument

The following command line works well:

cat KNOPPIX_V5.0.1DVD-2006-06-01-DE.iso | growisofs -Z 
/dev/scd2=/dev/fd/0


Why is there is difference between these two commands. Why does the 
second work and the first not?


I'd bet on the fact that growisofs opens file with O_DIRECT, while cat 
doesn't.


For public reference. It turned to be the problem with ext3 
implementation under 2.4 missing direct I/O method, which appears to be 
trivial [and erroneous] omission in kernel source [at lest ext2 
implements this method]. One would normally expect O_DIRECT flag 
rejected already at open(2), but it doesn't seem to be the case. It 
remains mystery why it was not noticed earlier by 2.4 users. Next 
version shall compensate for this by banning O_DIRECT under 2.4 
[naturally at run-time]. Meanwhile those who suffer from this can modify 
#ifdef O_DIRECT line in growisofs.c as #ifdef __notdef__ to work around 
the problem. A.


P.S. for Marcus. The final conclusion slightly differs from one I gave 
you in private conversation, but it the workaround is the same.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dvd+rw-tools 7.0: iso burning problem

2006-10-10 Thread scdbackup
Hi,

 [...] problem with ext3 implementation under 2.4 [...]
 It remains mystery why it was not noticed earlier by 2.4 users.

On my 2.4.21 kernel SuSE 9.0 and ext3 based /home there
is no problem with growisofs 7.0 and this command:

  growisofs -Z /dev/sr1=/home/fertig.iso

Shrug.


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dvd+rw-tools 7.0: iso burning problem

2006-10-10 Thread Marcus Roeckrath
Hi Thomas,

Am Dienstag, 10. Oktober 2006 22:01 schrieb [EMAIL PROTECTED]:

  [...] problem with ext3 implementation under 2.4 [...]
  It remains mystery why it was not noticed earlier by 2.4 users.

 On my 2.4.21 kernel SuSE 9.0 and ext3 based /home there
 is no problem with growisofs 7.0 and this command:

   growisofs -Z /dev/sr1=/home/fertig.iso

I found the problem on kernel 2.4.26 used by the german eisfair linux 
server project. It occurs with dvd-rw-tools 6.0-7.0.

-- 

Gruss Marcus

Marcus Roeckrath -- Vikarsbusch 8 -- D-48308 Senden -- Germany
Phone  : +49-2536-9944 -- Fax : +49-2536-9943
E-Mail : [EMAIL PROTECTED]
WWW: http://home.foni.net/~marcusroeckrath/


pgpnZYJEyXTmJ.pgp
Description: PGP signature


Re: dvd+rw-tools 7.0: iso burning problem

2006-10-10 Thread Marcus Roeckrath
Hi Andy,

Am Dienstag, 10. Oktober 2006 21:20 schrieb Andy Polyakov:

 It remains mystery why it was not noticed earlier by 2.4 users.

I had written two reports on this mailinglist in june 2006 but got no 
comment on it.

 P.S. for Marcus. The final conclusion slightly differs from one I gave
 you in private conversation, but it the workaround is the same.

Ok, I will wait for dvd+rw-tools 7.1 to compile a new package for the 
eisfair project. Till then I use the workaround you gave me in private 
mail: ifdef USE_O_DIRECT instead of ifdef O_DIRECT.

-- 

Gruss Marcus

Marcus Roeckrath -- Vikarsbusch 8 -- D-48308 Senden -- Germany
Phone  : +49-2536-9944 -- Fax : +49-2536-9943
E-Mail : [EMAIL PROTECTED]
WWW: http://home.foni.net/~marcusroeckrath/


pgpgziVkSTeiD.pgp
Description: PGP signature


Re: dvd+rw-tools 7.0: iso burning problem

2006-10-10 Thread Andy Polyakov

It remains mystery why it was not noticed earlier by 2.4 users.


I had written two reports on this mailinglist in june 2006 but got no 
comment on it.


Sorry about that. Life does not always turn the way we like:-) Yet, you 
have to admit it's somewhat mysterious, because June is ~1/2 year[!] 
after first release utilizing O_DIRECT... Cheers. A.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dvd+rw-tools 7.0: iso burning problem

2006-10-07 Thread Andy Polyakov
I faced a problem with dvd+rw-tools (6.0, 6.1 und 7.0) when I tried to burn 
a DVD-Iso-Image to a dvd using the command line


growisofs 
-Z /dev/scd2=/media/CDWserver/export/Server/DVD-Images/KNOPPIX_V5.0.1DVD-2006-06-01-DE.iso
 
But it gives an invalid argument error:


 Output
Executing 'builtin_dd 
if=/media/CDWserver/export/Server/DVD-Images/KNOPPIX_V5.0.1DVD-2006-06-01-DE.iso 
of=/dev/scd2 obs=32k seek=0'

:-( write failed: Invalid argument



This was a problem with 6.x on Linux for files residing on NFS, but it's 
fixed in 7.0. Double-check that you're running 7.0 and run the command 
under strace [on Linux or whatever system call tracing utility for your 
OS] and [to save the public bandwidth] send the system call trace to me.



The following command line works well:

cat KNOPPIX_V5.0.1DVD-2006-06-01-DE.iso | growisofs -Z /dev/scd2=/dev/fd/0

Why is there is difference between these two commands. Why does the second 
work and the first not?


I'd bet on the fact that growisofs opens file with O_DIRECT, while cat 
doesn't. A.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



dvd+rw-tools 7.0: iso burning problem

2006-10-05 Thread Marcus Roeckrath
Hi Andy,

I faced a problem with dvd+rw-tools (6.0, 6.1 und 7.0) when I tried to burn 
a DVD-Iso-Image to a dvd using the command line

growisofs 
-Z 
/dev/scd2=/media/CDWserver/export/Server/DVD-Images/KNOPPIX_V5.0.1DVD-2006-06-01-DE.iso
 
But it gives an invalid argument error:

 Output
Executing 'builtin_dd 
if=/media/CDWserver/export/Server/DVD-Images/KNOPPIX_V5.0.1DVD-2006-06-01-DE.iso
 
of=/dev/scd2 obs=32k seek=0'
:-( write failed: Invalid argument


The following command line works well:

cat KNOPPIX_V5.0.1DVD-2006-06-01-DE.iso | growisofs -Z /dev/scd2=/dev/fd/0

I have had a look on the sources but couldn't figure out which is the 
reason for this problem.

Why is there is difference between these two commands. Why does the second 
work and the first not?

Using dvd+rw-tools 5.21.4.10.8 both commands works perfect.

-- 

Greetings from Marcus


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]