[haiku-bugs] Re: [Haiku] #8460: ISO9660 can not read CDs bigger than 4.7G

  • From: "jahaiku" <trac@xxxxxxxxxxxx>
  • Date: Sat, 14 Apr 2012 13:48:34 -0000

#8460: ISO9660 can not read CDs bigger than 4.7G
-------------------------------------+----------------------------
   Reporter:  jahaiku                |      Owner:  nobody
       Type:  bug                    |     Status:  new
   Priority:  normal                 |  Milestone:  R1
  Component:  File Systems/ISO 9660  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by jahaiku):

 Replying to [comment:15 jahaiku]:
 >
 > > Do all files show wrong content or does this happen only with those
 which have
 > > block numbers above 2097151 (= 4 GiB - 2 KiB) ?
 >
 > Yes, looks like all files above block 2097151 are corrupted.
 > From xorriso:
 > {{{
 > snip
 > File data lba:  0 ,   703998 ,   524288 , 1073741824 , '/OSb/bigFile1'
 > File data lba:  0 ,  1228286 ,   524288 , 1073741824 , '/OSb/bigFile2'
 > File data lba:  0 ,  1752574 ,   524288 , 1073741824 , '/OSb/bigFile3'
 > File data lba:  0 ,  2276862 ,   524288 , 1073741824 , '/OSb/bigFile4'
 > snip
 > }}}
 > Checking MD5s inside haiku results in wrong checksums beginning from
 bigFile4 and all following files.
 >
 >
 > I have now added these lines into the requested places:
 > {{{
 >    TRACE(("JA - %d %d %d %d \n", (int)offset,
 (int)node->startLBN[FS_DATA_FORMAT],
 (int)node->volume->logicalBlkSize[FS_DATA_FORMAT], (int)vecs->offset ));
 > and
 >    TRACE(("JA - %d %d %d %d \n", (int)pos,
 (int)node->startLBN[FS_DATA_FORMAT],
 (int)volume->logicalBlkSize[FS_DATA_FORMAT], (int)fileVec.offset ));
 > }}}
 >
 > Now I have called md5sum for bigFile4 and I get this:
 > {{{
 > snip
 > 2012-04-14 13:22:10 KERN: JA - 0 2276862 2048 368046080
 > 2012-04-14 13:22:10 KERN: JA - 32768 2276862 2048 368078848
 > 2012-04-14 13:22:10 KERN: JA - 65536 2276862 2048 368111616
 > 2012-04-14 13:22:10 KERN: JA - 98304 2276862 2048 368144384
 > 2012-04-14 13:22:10 KERN: JA - 131072 2276862 2048 368177152
 > 2012-04-14 13:22:10 KERN: JA - 163840 2276862 2048 368209920
 > 2012-04-14 13:22:10 KERN: JA - 196608 2276862 2048 368242688
 > snip
 > }}}
 >
 >
 For the file after bigFile4 with xorriso info:[[BR]]
 {{{
 2801150 | 1 | 234
 }}}
 I get:
 {{{
 2012-04-14 13:42:38 KERN: JA - 0 2801150 2048 1441787904
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8460#comment:16>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: