public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Large Block Devices not supported in 64 bit
@ 2006-09-06 15:12 Christian Schmid
  2006-09-08 10:45 ` Chris Boot
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Schmid @ 2006-09-06 15:12 UTC (permalink / raw)
  To: linux-kernel

Hello.

I run kernel 2.6.17.11 vanilla in 64 bit mode with 32 bit emulation.

Unfortunately there is no support for file-systems bigger than 2 TB in 64 bit mode.

erikm in #kernelnewbies told me to report it here:

<Dragony> statfs("/MD2", 0xff8deca4)              = -1 EOVERFLOW (Value too large for defined data type)
<erikm> Dragony: prolly no LBD support
<erikm> Dragony: ah wait, you probably do have support for large block devices, but the 32 bit 
portability syscall forgot to support it
<erikm> Dragony: see block/Kconfig
<Dragony> #XXX - it makes sense to enable this only for 32-bit subarch's, not for x86_64
<Dragony> #for instance.
<Dragony> config LBD
<Dragony>         bool "Support for Large Block Devices"
<Dragony>         depends on X86 || (MIPS && 32BIT) || PPC32 || (S390 && !64BIT) || SUPERH || UML
<Dragony> yes but this option only appears in 32 bit mode not in 64 bit mode
<erikm> Dragony: hence my comment
<Dragony> actually /MD2 is mounted and i can access the files, but not any stats
<erikm> Dragony: it *IS* supported, but not properly backported to the 32 bit compatibility layer
<Dragony> hmm what can i do?
<erikm> Dragony: post to lkml

Can someone help me?

Regards,
Chris

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

* Re: Large Block Devices not supported in 64 bit
  2006-09-06 15:12 Large Block Devices not supported in 64 bit Christian Schmid
@ 2006-09-08 10:45 ` Chris Boot
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Boot @ 2006-09-08 10:45 UTC (permalink / raw)
  To: Christian Schmid; +Cc: linux-kernel

On 6 Sep 2006, at 16:12, Christian Schmid wrote:

> Hello.
>
> I run kernel 2.6.17.11 vanilla in 64 bit mode with 32 bit emulation.
>
> Unfortunately there is no support for file-systems bigger than 2 TB  
> in 64 bit mode.

There is. There just isn't any support for having the feature turned  
off. After all, the code needed on 32-bit systems to have large files  
(64-bit file offsets) isn't necessary on 64-bit systems: file offsets  
are already 64-bit by nature.

HTH,
Chris

-- 
Chris Boot
bootc@bootc.net
http://www.bootc.net/



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

end of thread, other threads:[~2006-09-08 10:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06 15:12 Large Block Devices not supported in 64 bit Christian Schmid
2006-09-08 10:45 ` Chris Boot

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