mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* hfs cdrom broken in 2.4.13pre
@ 2001-10-20 22:03 Giuliano Pochini
  2001-10-22 21:44 ` Alan Cox
  0 siblings, 1 reply; 6+ messages in thread
From: Giuliano Pochini @ 2001-10-20 22:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: linuxppc-dev


Kernel 2.4.13pre1 on powerpc. I can no longer mount HFS-formatted cdroms.
The last kernel I'm sure it worked fine is 2.4.7

Oct 20 23:58:51 Jay kernel: ll_rw_block: device 0b:00: only 2048-char blocks
implemented (512) 
Oct 20 23:58:51 Jay kernel: hfs_fs: unable to read block 0x00000002 from dev
0b:00 
Oct 20 23:58:51 Jay kernel: hfs_fs: Unable to read superblock 
Oct 20 23:58:51 Jay kernel: ll_rw_block: device 0b:00: only 2048-char blocks
implemented (512) 
Oct 20 23:58:51 Jay kernel: hfs_fs: unable to read block 0x00000000 from dev
0b:00 
Oct 20 23:58:51 Jay kernel: hfs_fs: Unable to read block 0. 

Bye.


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

* Re: hfs cdrom broken in 2.4.13pre
  2001-10-20 22:03 hfs cdrom broken in 2.4.13pre Giuliano Pochini
@ 2001-10-22 21:44 ` Alan Cox
  2001-10-22 22:34   ` Hollis Blanchard
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2001-10-22 21:44 UTC (permalink / raw)
  To: Giuliano Pochini; +Cc: linux-kernel, linuxppc-dev

> Kernel 2.4.13pre1 on powerpc. I can no longer mount HFS-formatted cdroms.
> The last kernel I'm sure it worked fine is 2.4.7

Mount it over loopback device. We at some point need to make that bit
transparent.

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

* Re: hfs cdrom broken in 2.4.13pre
  2001-10-22 21:44 ` Alan Cox
@ 2001-10-22 22:34   ` Hollis Blanchard
  2001-10-22 22:51     ` Alan Cox
  0 siblings, 1 reply; 6+ messages in thread
From: Hollis Blanchard @ 2001-10-22 22:34 UTC (permalink / raw)
  To: Alan Cox, Giuliano Pochini; +Cc: linux-kernel, linuxppc-dev

on 22/10/01 4:44 PM, Alan Cox at alan@lxorguk.ukuu.org.uk wrote:
> 
>> Kernel 2.4.13pre1 on powerpc. I can no longer mount HFS-formatted cdroms.
>> The last kernel I'm sure it worked fine is 2.4.7
> 
> Mount it over loopback device.

Why has that become necessary?

-Hollis


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

* Re: hfs cdrom broken in 2.4.13pre
  2001-10-22 22:34   ` Hollis Blanchard
@ 2001-10-22 22:51     ` Alan Cox
  2001-10-22 22:56       ` Tom Rini
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2001-10-22 22:51 UTC (permalink / raw)
  To: Hollis Blanchard; +Cc: Alan Cox, Giuliano Pochini, linux-kernel, linuxppc-dev

> on 22/10/01 4:44 PM, Alan Cox at alan@lxorguk.ukuu.org.uk wrote:
> > 
> >> Kernel 2.4.13pre1 on powerpc. I can no longer mount HFS-formatted cdroms.
> >> The last kernel I'm sure it worked fine is 2.4.7
> > 
> > Mount it over loopback device.
> 
> Why has that become necessary?

Primarily because the glue in the middle isnt covering up for your CD-ROM
any more.

Alan

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

* Re: hfs cdrom broken in 2.4.13pre
  2001-10-22 22:51     ` Alan Cox
@ 2001-10-22 22:56       ` Tom Rini
  2001-10-23  2:11         ` Brad Boyer
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2001-10-22 22:56 UTC (permalink / raw)
  To: Alan Cox; +Cc: Hollis Blanchard, Giuliano Pochini, linux-kernel, linuxppc-dev

On Mon, Oct 22, 2001 at 11:51:51PM +0100, Alan Cox wrote:
> 
> > on 22/10/01 4:44 PM, Alan Cox at alan@lxorguk.ukuu.org.uk wrote:
> > >
> > >> Kernel 2.4.13pre1 on powerpc. I can no longer mount HFS-formatted cdroms.
> > >> The last kernel I'm sure it worked fine is 2.4.7
> > >
> > > Mount it over loopback device.
> >
> > Why has that become necessary?
> 
> Primarily because the glue in the middle isnt covering up for your CD-ROM
> any more.

No, really.  What's changed to break HFS cdrom support?

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

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

* Re: hfs cdrom broken in 2.4.13pre
  2001-10-22 22:56       ` Tom Rini
@ 2001-10-23  2:11         ` Brad Boyer
  0 siblings, 0 replies; 6+ messages in thread
From: Brad Boyer @ 2001-10-23  2:11 UTC (permalink / raw)
  To: Tom Rini
  Cc: Alan Cox, Hollis Blanchard, Giuliano Pochini, linux-kernel, linuxppc-dev

Tom Rini wrote:
> No, really.  What's changed to break HFS cdrom support?

Based on the messages and glancing over the hfs code, I would guess
that the CD-ROM block device driver used to fake accessing the drive
at any random block size. The hfs code depends on being able to use
a particular block size (512) and if the driver for the block device
doesn't support it, stuff breaks.

(super.c lines 394-416/491 byte 10778/12361 87%)

        /* set the device driver to 512-byte blocks */
        set_blocksize(dev, HFS_SECTOR_SIZE);

To be more flexible, the hfs code shouldn't force a hard coded block size.

	Brad Boyer
	flar@allandria.com


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

end of thread, other threads:[~2001-10-23  2:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-20 22:03 hfs cdrom broken in 2.4.13pre Giuliano Pochini
2001-10-22 21:44 ` Alan Cox
2001-10-22 22:34   ` Hollis Blanchard
2001-10-22 22:51     ` Alan Cox
2001-10-22 22:56       ` Tom Rini
2001-10-23  2:11         ` Brad Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®