linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 13602] some HFS CD-ROM's can't be read
       [not found] <bug-13602-11613@https.bugzilla.kernel.org/>
@ 2010-10-28 12:53 ` bugzilla-daemon
  2010-10-28 15:28   ` James Bottomley
  2010-10-28 16:06 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 7+ messages in thread
From: bugzilla-daemon @ 2010-10-28 12:53 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=13602


Christoph Hellwig <hch@lst.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|HFS/HFSPLUS                 |SCSI
         AssignedTo|hch@lst.de                  |linux-scsi@vger.kernel.org
            Product|File System                 |IO/Storage




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bug 13602] some HFS CD-ROM's can't be read
  2010-10-28 12:53 ` [Bug 13602] some HFS CD-ROM's can't be read bugzilla-daemon
@ 2010-10-28 15:28   ` James Bottomley
  0 siblings, 0 replies; 7+ messages in thread
From: James Bottomley @ 2010-10-28 15:28 UTC (permalink / raw)
  To: bugzilla-daemon; +Cc: linux-scsi

On Thu, 2010-10-28 at 12:53 +0000, bugzilla-daemon@bugzilla.kernel.org
wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=13602
> 
> 
> Christoph Hellwig <hch@lst.de> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>           Component|HFS/HFSPLUS                 |SCSI
>          AssignedTo|hch@lst.de                  |linux-scsi@vger.kernel.org
>             Product|File System                 |IO/Storage

Why is this actually a bug?  Linux has never supported filesystem block
sizes smaller than device ones ... we don't have the necessary RMW code
for it.  The sr driver supports 512 byte sectors but *only* if the CD
was burned with them (which isn't always possible depending on CD
burner) and the reader supports them.  I'd need the dmesgs to be sure
but i'd guess READ_CAPACITY on this cd returns 2048 as the block size.

James



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 13602] some HFS CD-ROM's can't be read
       [not found] <bug-13602-11613@https.bugzilla.kernel.org/>
  2010-10-28 12:53 ` [Bug 13602] some HFS CD-ROM's can't be read bugzilla-daemon
@ 2010-10-28 16:06 ` bugzilla-daemon
  2010-10-28 16:40 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-10-28 16:06 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=13602





--- Comment #4 from Anonymous Emailer <anonymous@kernel-bugs.osdl.org>  2010-10-28 16:06:44 ---
Reply-To: James.Bottomley@suse.de

On Thu, 2010-10-28 at 12:53 +0000, bugzilla-daemon@bugzilla.kernel.org
wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=13602
> 
> 
> Christoph Hellwig <hch@lst.de> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>           Component|HFS/HFSPLUS                 |SCSI
>          AssignedTo|hch@lst.de                  |linux-scsi@vger.kernel.org
>             Product|File System                 |IO/Storage

Why is this actually a bug?  Linux has never supported filesystem block
sizes smaller than device ones ... we don't have the necessary RMW code
for it.  The sr driver supports 512 byte sectors but *only* if the CD
was burned with them (which isn't always possible depending on CD
burner) and the reader supports them.  I'd need the dmesgs to be sure
but i'd guess READ_CAPACITY on this cd returns 2048 as the block size.

James

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 13602] some HFS CD-ROM's can't be read
       [not found] <bug-13602-11613@https.bugzilla.kernel.org/>
  2010-10-28 12:53 ` [Bug 13602] some HFS CD-ROM's can't be read bugzilla-daemon
  2010-10-28 16:06 ` bugzilla-daemon
@ 2010-10-28 16:40 ` bugzilla-daemon
  2010-10-31 21:17 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-10-28 16:40 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=13602


Bill McGonigle <bill-osdl.org-bugzilla@bfccomputing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Kernel Version|2.6.29.4-167.fc11.i586      |2.6.34.7-56.fc13.x86_64




--- Comment #5 from Bill McGonigle <bill-osdl.org-bugzilla@bfccomputing.com>  2010-10-28 16:40:30 ---
@Christoph: good workaround.  I can losetup my /dev/sr0 and mount the discs
(tested 1 anyway).  I need to omit the session=1 option on the loopback but it
does mount that way.  Just to be sure, I confirmed sr0 won't mount without the
session option.  Not sure what would happen if the data were on session=2.

For the HFS vs. SCSI question, I'm not clear why 22 out of 25 discs in this set
work OK but the remaining 3 would not.  They're factory-stamped discs, no idea
how they were mastered.

The only dmesg I get is:

 hfs: unable to set blocksize to 512
 hfs: can't find a HFS filesystem on dev sr0.

This is now kernel 2.6.34.7-56.fc13.x86_64.

Not sure if it's helpful, but here are the /sys sizes:

[bfccomputing@zpm sr0]$ more `pwd`/queue/*size
::::::::::::::
/sys/block/sr0/queue/hw_sector_size
::::::::::::::
2048
::::::::::::::
/sys/block/sr0/queue/logical_block_size
::::::::::::::
2048
::::::::::::::
/sys/block/sr0/queue/max_segment_size
::::::::::::::
65536
::::::::::::::
/sys/block/sr0/queue/minimum_io_size
::::::::::::::
2048
::::::::::::::
/sys/block/sr0/queue/optimal_io_size
::::::::::::::
0
::::::::::::::
/sys/block/sr0/queue/physical_block_size
::::::::::::::
2048

I can't even say this is a feature implemented in MacOSX for compatibility that
linux lacks - for all I know, they do some sort of loopback mount automagically
if certain kinds of discs are detected.

I don't know if there are any linux equivalents for doing something similar by
the kernel; one could imagine userland machinations that could do the right
thing, though perhaps costly.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 13602] some HFS CD-ROM's can't be read
       [not found] <bug-13602-11613@https.bugzilla.kernel.org/>
                   ` (2 preceding siblings ...)
  2010-10-28 16:40 ` bugzilla-daemon
@ 2010-10-31 21:17 ` bugzilla-daemon
  2012-06-12  9:47 ` bugzilla-daemon
  2012-06-12  9:47 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-10-31 21:17 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=13602





--- Comment #6 from Christoph Hellwig <hch@lst.de>  2010-10-31 21:17:53 ---
Old SGI, SUN and apparently mac systems did support CDROMs with 512 byte
sectors.  In MMC5 there is only a vague reference to them beeing supported by
the deprecated block descriptors taken from older SPC specs in some drives.

Searching on the internet implies you need very specific CDROM drives to use
the SGI/SUN 512 byte sector CDROMs.

I think we safely say there is no way to properly support this in Linux and we
we can close this bug.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 13602] some HFS CD-ROM's can't be read
       [not found] <bug-13602-11613@https.bugzilla.kernel.org/>
                   ` (3 preceding siblings ...)
  2010-10-31 21:17 ` bugzilla-daemon
@ 2012-06-12  9:47 ` bugzilla-daemon
  2012-06-12  9:47 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-06-12  9:47 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=13602


Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alan@lxorguk.ukuu.org.uk
         Resolution|                            |WILL_NOT_FIX




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 13602] some HFS CD-ROM's can't be read
       [not found] <bug-13602-11613@https.bugzilla.kernel.org/>
                   ` (4 preceding siblings ...)
  2012-06-12  9:47 ` bugzilla-daemon
@ 2012-06-12  9:47 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-06-12  9:47 UTC (permalink / raw)
  To: linux-scsi

https://bugzilla.kernel.org/show_bug.cgi?id=13602


Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-06-12  9:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-13602-11613@https.bugzilla.kernel.org/>
2010-10-28 12:53 ` [Bug 13602] some HFS CD-ROM's can't be read bugzilla-daemon
2010-10-28 15:28   ` James Bottomley
2010-10-28 16:06 ` bugzilla-daemon
2010-10-28 16:40 ` bugzilla-daemon
2010-10-31 21:17 ` bugzilla-daemon
2012-06-12  9:47 ` bugzilla-daemon
2012-06-12  9:47 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).