[haiku-bugs] Re: [Haiku] #11455: Hybrid CDDA/ISO9660 CD KDLs

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 13 Nov 2014 09:22:25 -0000

#11455: Hybrid CDDA/ISO9660 CD KDLs
-------------------------------------+----------------------------
   Reporter:  pulkomandy             |      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 pulkomandy):

 Ok, and a more interesting test:
 {{{
 dd if=/dev/disk/0/1/0/1 of=datatrack
 mountvolume datatrack
 }}}

 Trying to access the mounted volume leads to a very similar crash, with
 the same block number.

 The data track is 23.06MB big. The panic message is:
 {{{
 could not read block 211161: bytesRead: 0, error: No error
 }}}

 Assuming 2048 bytes per block, there would be only 11806 blocks in the
 data track. So 211161 is massively out of range. It seems to be an offset
 of 412MB, which could well be the absolute position on the CD. So it seems
 we assume ISO9660 uses offsets from the start of the session (partition),
 whereas it uses offsets from the start of the disc. And we can only notice
 this when the session is not the first one on the disc.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11455#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: