Growisofs fails to burn DVD+R DL multisesion above 4.5Gb if argument -M /dev/device is before -use-the-force-luke=4gms in argument list.

Bug #1411728 reported by Juja
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dvd+rw-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Growisofs uses no_4gb_check flag before parsing -use-the-force-luke=4gms, if -M /dev/device is before it on argument list.

Juja (juliansuhr)
summary: - growisofs fails to burn DVD-R DL multisesion above 4.5Gb if argument -M
+ Growisofs fails to burn DVD-R DL multisesion above 4.5Gb if argument -M
/dev/device is before -use-the-force-luke=4gms in argument list.
Revision history for this message
Thomas Schmitt (scdbackup) wrote :

Hi,

are you really sure that the medium is DVD-R DL and not DVD+R DL.
DVD-R DL is said to be incapable of multi-session at all. I never
bought one. So i cannot tell what my drives would offer to do with
them.
I would be interested in seeing the output of

  dvd+rw-mediainfo /dev/sr0

The 4GB-check-problem is obviously in the loop beginning at
growisofs.c:2990

    for (i=1;i<argc;i++)

The interpretation of no_4gb_check happens inside this loop
rather than after it.

        if (dev_found && in_device)
            ...
                    if (/*(mmc_profile&0xFFFF)<0x20 ||*/
                        ((mmc_profile&0xFFFF)<0x40 && !no_4gb_check))

Of course one would have to check carefully whether it is ok
to move this whole interpretation out of the loop.

An interesting question is why the the check is disabled for
Blu-ray media: ((mmc_profile&0xFFFF)<0x40
The problem tackled by this 4 GB check is in old Linux kernels
(and still in modern FreeBSD) which take the byte address of the
directory record (inode) as 32-bit inode number. So if the
directory tree is stored above 4 GB, the inode numbers roll over
and inodes are not found any more.
This mount problem does not depend on the media type.

Have a nice day :)

Thomas

Revision history for this message
Juja (juliansuhr) wrote :

Here is the output of dvd+rw-mediainfo /dev/sr0.

INQUIRY: [IBM SATA][ DEVICE 81Y3661 ][SA80]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 2Bh, DVD+R Double Layer
 Media ID: RITEK/S06
 Current Write Speed: 2.4x1385=3324KB/s
 Write Speed #0: 6.0x1385=8310KB/s
 Write Speed #1: 2.4x1385=3324KB/s
 Speed Descriptor#0: 01/4173823 R@3101059.2x1385=4294967040KB/s W@6.0x1385=8310KB/s
 Speed Descriptor#1: 01/4173823 R@3101059.2x1385=4294967040KB/s W@2.4x1385=3324KB/s
READ DVD STRUCTURE[#0h]:
 Media Book Type: 00h, DVD-ROM book [revision 0]
 Legacy lead-out at: 2086912*2KB=4273995776
DVD+R DOUBLE LAYER BOUNDARY INFORMATION:
 L0 Data Zone Capacity: 2086912*2KB, can no longer be set
READ DISC INFORMATION:
 Disc status: appendable
 Number of Sessions: 6
 State of Last Session: empty
 "Next" Track: 6
 Number of Tracks: 6
READ TRACK INFORMATION[#1]:
 Track State: partial/complete
 Track Start Address: 0*2KB
 Free Blocks: 0*2KB
 Track Size: 418832*2KB
READ TRACK INFORMATION[#2]:
 Track State: partial/complete
 Track Start Address: 420880*2KB
 Free Blocks: 0*2KB
 Track Size: 419584*2KB
READ TRACK INFORMATION[#3]:
 Track State: partial/complete
 Track Start Address: 842512*2KB
 Free Blocks: 0*2KB
 Track Size: 419776*2KB
READ TRACK INFORMATION[#4]:
 Track State: partial/complete
 Track Start Address: 1264336*2KB
 Free Blocks: 0*2KB
 Track Size: 421408*2KB
READ TRACK INFORMATION[#5]:
 Track State: partial/complete
 Track Start Address: 1687792*2KB
 Free Blocks: 0*2KB
 Track Size: 421856*2KB
READ TRACK INFORMATION[#6]:
 Track State: blank
 Track Start Address: 2111696*2KB
 Next Writable Address: 2111696*2KB
 Free Blocks: 2062128*2KB
 Track Size: 2062128*2KB
 ROM Compatibility LBA: 265696
FABRICATED TOC:
 Track#1 : 14@0
 Track#2 : 14@420880
 Track#3 : 14@842512
 Track#4 : 14@1264336
 Track#5 : 14@1687792
 Track#AA : 14@2109648
 Multi-session Info: #5@1687792
READ CAPACITY: 2109648*2048=4320559104

summary: - Growisofs fails to burn DVD-R DL multisesion above 4.5Gb if argument -M
+ Growisofs fails to burn DVD+R DL multisesion above 4.5Gb if argument -M
/dev/device is before -use-the-force-luke=4gms in argument list.
Revision history for this message
Thomas Schmitt (scdbackup) wrote :

So you do not have a miracle burner which can do multi-session on DVD-R DL. :))

Well, if i were the maintainer of dvd+rw-tools in Ubuntu, i would flatly disable
the 4 GB check or replace the error message and exit() by a loud warning message.

(I would also fix https://bugs.launchpad.net/ubuntu/+source/dvd+rw-tools/+bug/1113679
resp. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713016 .
But actually i am the developer of xorriso, not a distro maintainer.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.