Re: problem with BD sessions after 4GB

2007-11-30 Thread Bill Davidsen

Thomas Schmitt wrote:

Hi,

Arnold Maderthaner:
  

 Mounted Media: 43h, BD-RE


growisofs -M /dev/dvdrw -R -J -joliet-long -use-the-force-luke=4gms
:-( next session would cross 4GB boundary, aborting...



This is contrary to what i read from the source code.

You will have to obtain a source tarball of dvd+rw-tools
and take a look into growisofs.c .
Search for the error message text which i get to see
like this:

else if (next_session  (0x20-0x5000)) /* 4GB/2K-40MB/2K */
if ((mmc_profile0x)0x20 ||
((mmc_profile0x)0x40  !no_4gb_check))
fprintf (stderr,:-( next session would cross 4GB 
boundary, aborting...\n),
exit (FATAL_START(ENOSPC));

Disable it by spoiling the size test:

else if (0  next_session  (0x20-0x5000)) /* 4GB/2K-40MB/2K */
...

compile and check whether it will work then.

If you are curious then leave the test active and
print the media type as perceived by growisofs:

fprintf (stderr,:-( next session would cross 4GB 
boundary (0x%X), aborting...\n,
(unsigned) (mmc_profile0x) ),

The hex number given in brackets would be supposed to be
0x43 ... but that does not match source and program behavior.
I would be curious :))


Particularly since the media reported after the write was 0x43. But I 
think it's more likely that the media type is correct, and this test 
just should not be done. The logic to skip this test may be failing. Of 
course the media check could be put into the test instead of your debug 
0  to be sure this media is allowed to be large.


--
Bill Davidsen [EMAIL PROTECTED]
 Woe unto the statesman who makes war without a reason that will still
 be valid when the war is over... Otto von Bismark 




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



Re: problem with BD sessions after 4GB

2007-11-30 Thread Thomas Schmitt
Hi,

Arnold Maderthaner:
  Mounted Media: 43h, BD-RE
   growisofs -M /dev/dvdrw -R -J -joliet-long -use-the-force-luke=4gms
   :-( next session would cross 4GB boundary, aborting...

This is contrary to what i read from the source code.

You will have to obtain a source tarball of dvd+rw-tools
and take a look into growisofs.c .
Search for the error message text which i get to see
like this:

else if (next_session  (0x20-0x5000)) /* 4GB/2K-40MB/2K */
if ((mmc_profile0x)0x20 ||
((mmc_profile0x)0x40  !no_4gb_check))
fprintf (stderr,:-( next session would cross 4GB 
boundary, aborting...\n),
exit (FATAL_START(ENOSPC));

Disable it by spoiling the size test:

else if (0  next_session  (0x20-0x5000)) /* 4GB/2K-40MB/2K */
...

compile and check whether it will work then.

If you are curious then leave the test active and
print the media type as perceived by growisofs:

fprintf (stderr,:-( next session would cross 4GB 
boundary (0x%X), aborting...\n,
(unsigned) (mmc_profile0x) ),

The hex number given in brackets would be supposed to be
0x43 ... but that does not match source and program behavior.
I would be curious :))


Have a nice day :)

Thomas


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



Re: problem with BD sessions after 4GB

2007-11-30 Thread Joerg Schilling
Arnold Maderthaner [EMAIL PROTECTED] wrote:

 Hi !

 Here is the mediainfo after formatting the BD-RE:
 [EMAIL PROTECTED]:/# dvd+rw-mediainfo /dev/dvdrw
 INQUIRY:[Optiarc ][BDRW BD-M100A   ][1.0e]
 GET [CURRENT] CONFIGURATION:

What do you get with cdrecord -minfo

and with cdrecord -atip

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


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