Re: problem with BD sessions after 4GB

2007-12-03 Thread Arnold Maderthaner
HI !

this is the output of -minfo:
[EMAIL PROTECTED]:/opt/schily/bin# ./cdrecord -minfo dev=/dev/hdb
Cdrecord-ProDVD-ProBD-Clone 2.01.01a36 (i686-pc-linux-gnu) Copyright
(C) 1995-2007 J?rg Schilling
scsidev: '/dev/hdb'
devname: '/dev/hdb'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'Optiarc '
Identifikation : 'BDRW BD-M100A   '
Revision   : '1.0e'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-3 BD-RE driver (mmc_bdre).
Driver flags   : NO-CD BD MMC-3 BURNFREE
Supported modes: PACKET SAO
Mounted media class:  BD
Mounted media type:   BD-RE
Disk Is erasable
data type:standard
disk status:  complete
session status:   complete
BG format status: none
first track:  1
number of sessions:   1
first track in last sess: 1
last track in last sess:  1
Disk Is unrestricted
Disk type: DVD, HD-DVD or BD

Track  Sess Type   Start Addr End Addr   Size
==
1 1 Data   0  11826175   11826176

Last session start address: 0
Last session leadout start address: 11826176

this is the output of -atip:

[EMAIL PROTECTED]:/opt/schily/bin# ./cdrecord -atip dev=/dev/hdb
Cdrecord-ProDVD-ProBD-Clone 2.01.01a36 (i686-pc-linux-gnu) Copyright
(C) 1995-2007 J?rg Schilling
scsidev: '/dev/hdb'
devname: '/dev/hdb'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'Optiarc '
Identifikation : 'BDRW BD-M100A   '
Revision   : '1.0e'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-3 BD-RE driver (mmc_bdre).
Driver flags   : NO-CD BD MMC-3 BURNFREE
Supported modes: PACKET SAO
Disk type:  'BDW' (BD-RE)
Disk class: 02
Manufacturer:   'SONY'
Media type: 'ES1'
Disk:   is not in cartridge
Media cartrige: write protect is off
Free Spare Blocks:  393216
Alloc Spare Blocks: 393216
rzone size: 40
rzone number:   1
border number:  1
ljrs:   0
track mode: 4 copy: 0
damage: 0
reserved track: 0 blank: 0 incremental: 0 fp: 0
data mode:  1
lra valid:  0
nwa valid:  0
rzone start:0
next wr addr:   0
free blocks:0
blocking factor:32
rzone size: 11826176
last recorded addr: 0
read compat lba:0

Capacity  Blklen/Sparesz.  Format-type  Type
1182617612288 0x00  Formatted Media
1182617612288 0x00  Reserved (0)
11564032 2048 0x01  Reserved (0)
1182617612288 0x30  Reserved (0)
1156403220480 0x30  Reserved (0)
12088320 4096 0x30  Reserved (0)
12219392 2048 0x31  Reserved (0)


yours

Arnold

On 11/30/07, Joerg Schilling <[EMAIL PROTECTED]> wrote:
> "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
>


-- 
Arnold Maderthaner
J4Care Inc.



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_profile&0x)<0x20 ||
((mmc_profile&0x)<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_profile&0x) ),

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_profile&0x)<0x20 ||
((mmc_profile&0x)<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_profile&0x) ),

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]



Re: problem with BD sessions after 4GB

2007-11-30 Thread Arnold Maderthaner
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:
 Mounted Media: 43h, BD-RE
 Media ID:SONY/ES1
 Current Write Speed:   2.0x4495=8991KB/s
 Write Speed #0:2.0x4495=8991KB/s
 Speed Descriptor#0:01/12088319 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
BD SPARE AREA INFORMATION:
 Spare Area:131072/131072=100.0% free
READ DISC INFORMATION:
 Disc status:   complete
 Number of Sessions:1
 State of Last Session: complete
 Number of Tracks:  1
READ FORMAT CAPACITIES:
 formatted: 12088320*2048=24756879360
 00h(3000): 11826176*2048=24220008448
 01h(800):  11564032*2048=23683137536
 30h(3000): 11826176*2048=24220008448
 30h(5000): 11564032*2048=23683137536
 30h(1000): 12088320*2048=24756879360
 31h(800):  12219392*2048=25025314816
READ TRACK INFORMATION[#1]:
 Track State:   complete
 Track Start Address:   0*2KB
 Free Blocks:   0*2KB
 Track Size:12088320*2KB
FABRICATED TOC:
 Track#1  : [EMAIL PROTECTED]
 Track#AA : [EMAIL PROTECTED]
 Multi-session Info:[EMAIL PROTECTED]
READ CAPACITY:  12088320*2048=24756879360

and this is the mediainfo after writing 4100MB to the BD-RE. After
that I cannot open a session anymore:

[EMAIL PROTECTED]:/backup# dvd+rw-mediainfo /dev/dvdrw
INQUIRY:[Optiarc ][BDRW BD-M100A   ][1.0e]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 43h, BD-RE
 Media ID:SONY/ES1
 Current Write Speed:   2.0x4495=8991KB/s
 Write Speed #0:2.0x4495=8991KB/s
 Speed Descriptor#0:01/12088319 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
BD SPARE AREA INFORMATION:
 Spare Area:131072/131072=100.0% free
READ DISC INFORMATION:
 Disc status:   complete
 Number of Sessions:1
 State of Last Session: complete
 Number of Tracks:  1
READ FORMAT CAPACITIES:
 formatted: 12088320*2048=24756879360
 00h(3000): 11826176*2048=24220008448
 01h(800):  11564032*2048=23683137536
 30h(3000): 11826176*2048=24220008448
 30h(5000): 11564032*2048=23683137536
 30h(1000): 12088320*2048=24756879360
 31h(800):  12219392*2048=25025314816
READ TRACK INFORMATION[#1]:
 Track State:   complete
 Track Start Address:   0*2KB
 Free Blocks:   0*2KB
 Track Size:12088320*2KB
FABRICATED TOC:
 Track#1  : [EMAIL PROTECTED]
 Track#AA : [EMAIL PROTECTED]
 Multi-session Info:[EMAIL PROTECTED]
READ CAPACITY:  12088320*2048=24756879360



On 11/29/07, Thomas Schmitt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > I get the following error with growisofs version 7.0.1:
> > growisofs -M /dev/dvdrw -R -J -joliet-long -use-the-force-luke=4gms -root
> > svn/
> > :-( next session would cross 4GB boundary, aborting...
> >
> > I want to write many session to a BD-RW to backup svn dumps. How could
> > I do that ?
>
> http://fy.chalmers.se/~appro/linux/DVD+RW/
> "Technical Ramblings"
> tell why the test is considered necessary
> and mentions option
>  -use-the-force-luke=4gms
>
> Strange enough, ramblings and source of 7.0 say
> that the test is disabled with BD-RE anyway.
> What do you get from
>  dvd+rw-mediainfo /dev/dvdrw
> as content of this output line
>  Mounted Media: ...
>
>
> Have a nice day :)
>
> Thomas
>
>


-- 
Arnold Maderthaner
J4Care Inc.


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



Re: problem with BD sessions after 4GB

2007-11-29 Thread Joerg Schilling
"Arnold Maderthaner" <[EMAIL PROTECTED]> wrote:

> Hi !
>
> I get the following error with growisofs version 7.0.1:
> growisofs -M /dev/dvdrw -R -J -joliet-long -use-the-force-luke=4gms -root svn/
> :-( next session would cross 4GB boundary, aborting...
>
> I want to write many session to a BD-RW to backup svn dumps. How could
> I do that ?

BD-RW media does not exist. Do you mean BD-RE?

AFAIK, BD-RE does not support multi-session. grosiwofs may do something that 
is not multi-session.

Your problem seems to be an artificial problem from growisofs.

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]



Re: problem with BD sessions after 4GB

2007-11-29 Thread Thomas Schmitt
Hi,

> I get the following error with growisofs version 7.0.1:
> growisofs -M /dev/dvdrw -R -J -joliet-long -use-the-force-luke=4gms -root
> svn/
> :-( next session would cross 4GB boundary, aborting...
> 
> I want to write many session to a BD-RW to backup svn dumps. How could
> I do that ?

http://fy.chalmers.se/~appro/linux/DVD+RW/
"Technical Ramblings"
tell why the test is considered necessary
and mentions option
 -use-the-force-luke=4gms

Strange enough, ramblings and source of 7.0 say
that the test is disabled with BD-RE anyway.
What do you get from
 dvd+rw-mediainfo /dev/dvdrw
as content of this output line
 Mounted Media: ...


Have a nice day :)

Thomas


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



problem with BD sessions after 4GB

2007-11-29 Thread Arnold Maderthaner
Hi !

I get the following error with growisofs version 7.0.1:
growisofs -M /dev/dvdrw -R -J -joliet-long -use-the-force-luke=4gms -root svn/
:-( next session would cross 4GB boundary, aborting...

I want to write many session to a BD-RW to backup svn dumps. How could
I do that ?

yours

Arnold
-- 
Arnold Maderthaner
J4Care Inc.


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