public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE:  RFC: i386: kill !4KSTACKS
@ 2005-09-02  6:08           ` Alex Davis
  2005-09-04 12:49             ` Denis Vlasenko
  0 siblings, 1 reply; 19+ messages in thread
From: Alex Davis @ 2005-09-02  6:08 UTC (permalink / raw)
  To: linux-kernel

ndiswrapper and driverloader will not work reliably with 4k stacks.
This is because of the Windoze drivers they use, to which, obviously,
they do not have the source. Since quite a few laptops have built-in
wireless cards by companies who will not release an open-source driver,
or won't release specs, ndiswrapper and driverloader are the only way
to get these cards to work. 
  Please don't tell me to "get a linux-supported wireless card". I don't
want the clutter of an external wireless adapter sticking out of my laptop,
nor do I want to spend money on a card when I have a free and working solution.

Thank you.

-Alex

I code, therefore I am

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-02  6:08           ` RFC: i386: kill !4KSTACKS Alex Davis
@ 2005-09-04 12:49             ` Denis Vlasenko
  2005-09-04 13:30               ` Ed Tomlinson
  2005-09-04 16:44               ` Paul Misner
  0 siblings, 2 replies; 19+ messages in thread
From: Denis Vlasenko @ 2005-09-04 12:49 UTC (permalink / raw)
  To: Alex Davis; +Cc: linux-kernel

On Friday 02 September 2005 09:08, Alex Davis wrote:
> ndiswrapper and driverloader will not work reliably with 4k stacks.
> This is because of the Windoze drivers they use, to which, obviously,
> they do not have the source. Since quite a few laptops have built-in
> wireless cards by companies who will not release an open-source driver,
> or won't release specs, ndiswrapper and driverloader are the only way
> to get these cards to work. 
>   Please don't tell me to "get a linux-supported wireless card". I don't
> want the clutter of an external wireless adapter sticking out of my laptop,
> nor do I want to spend money on a card when I have a free and working solution.

Please don't tell me to "care for closed-source drivers". I don't
want the pain of debugging crashes on the machines which run unknown code
in kernel space.

IOW, if you run closed source modules - it's _your_ problem, not ours.
--
vda

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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 12:49             ` Denis Vlasenko
@ 2005-09-04 13:30               ` Ed Tomlinson
  2005-09-04 14:49                 ` Alan Cox
  2005-09-04 16:44               ` Paul Misner
  1 sibling, 1 reply; 19+ messages in thread
From: Ed Tomlinson @ 2005-09-04 13:30 UTC (permalink / raw)
  To: Denis Vlasenko; +Cc: Alex Davis, linux-kernel

On Sunday 04 September 2005 08:49, Denis Vlasenko wrote:
> On Friday 02 September 2005 09:08, Alex Davis wrote:
> > ndiswrapper and driverloader will not work reliably with 4k stacks.
> > This is because of the Windoze drivers they use, to which, obviously,
> > they do not have the source. Since quite a few laptops have built-in
> > wireless cards by companies who will not release an open-source driver,
> > or won't release specs, ndiswrapper and driverloader are the only way
> > to get these cards to work. 
> >   Please don't tell me to "get a linux-supported wireless card". I don't
> > want the clutter of an external wireless adapter sticking out of my laptop,
> > nor do I want to spend money on a card when I have a free and working solution.
> 
> Please don't tell me to "care for closed-source drivers". I don't
> want the pain of debugging crashes on the machines which run unknown code
> in kernel space.
> 
> IOW, if you run closed source modules - it's _your_ problem, not ours.
> --

There is no logic to the above statement.  We know when a kernel is tainted and
do not try hard to debug problems when tainted .  We also know that ndiswrapper
and friends _currently_ let people use hardware that otherwise would have to run
MS stuff.  We know that 4K stacks hurt the above.  Do we really want to break working
configs just to enforce 4K stacks?  How does it hurt to make 4K the default and 
allow 8K?  What _might_ make sense is to make 8K a reason to taint the kernel.

Ed Tomlinson


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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 13:30               ` Ed Tomlinson
@ 2005-09-04 14:49                 ` Alan Cox
  0 siblings, 0 replies; 19+ messages in thread
From: Alan Cox @ 2005-09-04 14:49 UTC (permalink / raw)
  To: Ed Tomlinson; +Cc: Denis Vlasenko, Alex Davis, linux-kernel

On Sul, 2005-09-04 at 09:30 -0400, Ed Tomlinson wrote:
> MS stuff.  We know that 4K stacks hurt the above.  Do we really want to break working
> configs just to enforce 4K stacks?  How does it hurt to make 4K the default and 
> allow 8K?  What _might_ make sense is to make 8K a reason to taint the kernel.

The question is whether ndiswrapper can do stack switching itself. Since
as I understand it the NT stack is way more than 8K. Is there anything
else needed so it (and perhaps in future other 'hard cases') can handle
stacks themselves. We have seperate IRQ stack handling already which
should also help this.

So what is needed to make it go away - specific technical items or just
the persuasive effect of having to fix it ?


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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 12:49             ` Denis Vlasenko
  2005-09-04 13:30               ` Ed Tomlinson
@ 2005-09-04 16:44               ` Paul Misner
  2005-09-04 17:07                 ` Pekka Enberg
  1 sibling, 1 reply; 19+ messages in thread
From: Paul Misner @ 2005-09-04 16:44 UTC (permalink / raw)
  To: linux-kernel

On Sunday 04 September 2005 7:49 am, Denis Vlasenko wrote:
> On Friday 02 September 2005 09:08, Alex Davis wrote:
> > ndiswrapper and driverloader will not work reliably with 4k stacks.
> > This is because of the Windoze drivers they use, to which, obviously,
> > they do not have the source. Since quite a few laptops have built-in
> > wireless cards by companies who will not release an open-source driver,
> > or won't release specs, ndiswrapper and driverloader are the only way
> > to get these cards to work.
> >   Please don't tell me to "get a linux-supported wireless card". I don't
> > want the clutter of an external wireless adapter sticking out of my
> > laptop, nor do I want to spend money on a card when I have a free and
> > working solution.
>
> Please don't tell me to "care for closed-source drivers". I don't
> want the pain of debugging crashes on the machines which run unknown code
> in kernel space.
>
> IOW, if you run closed source modules - it's _your_ problem, not ours.
> --
> vda
> -
No one is asking you to 'care' about our problems running a notebook with a 
closed source driver under ndiswrapper.  We aren't asking you to debug 
problems with them either.  All we're asking is for you to not go out of your 
way to break existing working machines, and make it difficult to run Linux on 
them.  You are talking about knowingly removing an option that allows many 
machines to currently run without problems, some of them for reasons other 
than closed source code.

If you want 4k stacks to be the default, I have no problem with that.  If you 
want to rip out the provision for 8k stacks to be selectable at build time, 
that is a different issue entirely.

Paul

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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 16:44               ` Paul Misner
@ 2005-09-04 17:07                 ` Pekka Enberg
  2005-09-04 17:12                   ` Bas Westerbaan
  0 siblings, 1 reply; 19+ messages in thread
From: Pekka Enberg @ 2005-09-04 17:07 UTC (permalink / raw)
  To: Paul Misner; +Cc: linux-kernel

On 9/4/05, Paul Misner <paul@misner.org> wrote:
> No one is asking you to 'care' about our problems running a notebook with a
> closed source driver under ndiswrapper.  

Yes you are. You're asking for 4KSTACKS config option to maintained
and it is not something you get for free. Besides, if it is indeed
ripped out of mainline kernel, you can always keep it a separate patch
for ndiswrapper.

                                      Pekka

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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 17:07                 ` Pekka Enberg
@ 2005-09-04 17:12                   ` Bas Westerbaan
  2005-09-04 19:22                     ` Horst von Brand
  2005-09-04 19:33                     ` Adrian Bunk
  0 siblings, 2 replies; 19+ messages in thread
From: Bas Westerbaan @ 2005-09-04 17:12 UTC (permalink / raw)
  To: Pekka Enberg; +Cc: Paul Misner, linux-kernel

> Yes you are. You're asking for 4KSTACKS config option to maintained
> and it is not something you get for free. Besides, if it is indeed
> ripped out of mainline kernel, you can always keep it a separate patch
> for ndiswrapper.

Though 4K stacks are used a lot, they probably aren't used on all
configurations yet. Other situations may arise where 8K stacks may be
preferred. It is too early to kill 8K stacks imho.
-- 
Bas Westerbaan
http://blog.w-nz.com/
GPG Public Keys: http://w-nz.com/keys/bas.westerbaan.asc

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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 17:12                   ` Bas Westerbaan
@ 2005-09-04 19:22                     ` Horst von Brand
  2005-09-04 19:33                     ` Adrian Bunk
  1 sibling, 0 replies; 19+ messages in thread
From: Horst von Brand @ 2005-09-04 19:22 UTC (permalink / raw)
  To: bas.westerbaan; +Cc: Pekka Enberg, Paul Misner, linux-kernel

Bas Westerbaan <bas.westerbaan@gmail.com> wrote:
> > Yes you are. You're asking for 4KSTACKS config option to maintained
> > and it is not something you get for free. Besides, if it is indeed
> > ripped out of mainline kernel, you can always keep it a separate patch
> > for ndiswrapper.

> Though 4K stacks are used a lot, they probably aren't used on all
> configurations yet. Other situations may arise where 8K stacks may be
> preferred. It is too early to kill 8K stacks imho.

At least Fedora ships 4Kstacks kernel for quite a while now. No, it is not
"everywhere", but close.
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 17:12                   ` Bas Westerbaan
  2005-09-04 19:22                     ` Horst von Brand
@ 2005-09-04 19:33                     ` Adrian Bunk
  2005-09-04 20:13                       ` Bas Westerbaan
  2005-09-05 22:32                       ` RFC: i386: kill !4KSTACKS Thorild Selen
  1 sibling, 2 replies; 19+ messages in thread
From: Adrian Bunk @ 2005-09-04 19:33 UTC (permalink / raw)
  To: Bas Westerbaan; +Cc: Pekka Enberg, Paul Misner, linux-kernel

On Sun, Sep 04, 2005 at 07:12:33PM +0200, Bas Westerbaan wrote:
> > Yes you are. You're asking for 4KSTACKS config option to maintained
> > and it is not something you get for free. Besides, if it is indeed
> > ripped out of mainline kernel, you can always keep it a separate patch
> > for ndiswrapper.
> 
> Though 4K stacks are used a lot, they probably aren't used on all
> configurations yet. Other situations may arise where 8K stacks may be
> preferred. It is too early to kill 8K stacks imho.

Please name situations where 8K stacks may be preferred that do not 
involve binary-only modules.

> Bas Westerbaan

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 19:33                     ` Adrian Bunk
@ 2005-09-04 20:13                       ` Bas Westerbaan
  2005-09-04 20:37                         ` Dave Jones
  2005-09-05 22:32                       ` RFC: i386: kill !4KSTACKS Thorild Selen
  1 sibling, 1 reply; 19+ messages in thread
From: Bas Westerbaan @ 2005-09-04 20:13 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Pekka Enberg, Paul Misner, linux-kernel

> > Though 4K stacks are used a lot, they probably aren't used on all
> > configurations yet. Other situations may arise where 8K stacks may be
> > preferred. It is too early to kill 8K stacks imho.
> 
> Please name situations where 8K stacks may be preferred that do not
> involve binary-only modules.

I meant that there could be situations, which have not yet been found,
where it could be preferred to use 8K stacks instead of 4K. When you
switch from having 8K stacks as default to 4K stacks without
possibility for 8K stacks you'd possibly encounter these yet to be
found situations.

When on the other hand the 4K stacks are set as default, leaving the
option in, instead of removing it, these possible situations, when
found, could be resolved (temporarilly) by switching back to 8K
stacks.

After a while having 4K stacks as default would be a better time to
decide whether to remove the option or not instead of now.

-- 
Bas Westerbaan
http://blog.w-nz.com/
GPG Public Keys: http://w-nz.com/keys/bas.westerbaan.asc

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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 20:13                       ` Bas Westerbaan
@ 2005-09-04 20:37                         ` Dave Jones
  2005-09-07 16:38                           ` Bill Davidsen
  0 siblings, 1 reply; 19+ messages in thread
From: Dave Jones @ 2005-09-04 20:37 UTC (permalink / raw)
  To: Bas Westerbaan; +Cc: Adrian Bunk, Pekka Enberg, Paul Misner, linux-kernel

On Sun, Sep 04, 2005 at 10:13:10PM +0200, Bas Westerbaan wrote:
 > > > Though 4K stacks are used a lot, they probably aren't used on all
 > > > configurations yet. Other situations may arise where 8K stacks may be
 > > > preferred. It is too early to kill 8K stacks imho.
 > > 
 > > Please name situations where 8K stacks may be preferred that do not
 > > involve binary-only modules.
 > 
 > I meant that there could be situations, which have not yet been found,

And the boogeyman might really exist too.
This is just hypotetical hand-waving.

 > where it could be preferred to use 8K stacks instead of 4K. When you
 > switch from having 8K stacks as default to 4K stacks without
 > possibility for 8K stacks you'd possibly encounter these yet to be
 > found situations.

Fedora kernels have been built with 4K stacks for a long time.
(Since even before the option went upstream). The only things that
have been reported to have problems with 4KB stacks are..

- NDISwrapper / driverloader.
  (Shock, horror - no-one cares).
- XFS when used in conjunction with RAID
  Fixed now ?  (Though Neil Brown does have a pending patch for md
  to make that use less stack, which will also help).
- Reiser4
  Fixed 'soon'.

 > When on the other hand the 4K stacks are set as default, leaving the
 > option in, instead of removing it, these possible situations, when
 > found, could be resolved (temporarilly) by switching back to 8K
 > stacks.
 > 
 > After a while having 4K stacks as default would be a better time to
 > decide whether to remove the option or not instead of now.

This is what was proposed not long after the option got merged.
"After a while" has passed by quite a stretch.

		Dave


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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 19:33                     ` Adrian Bunk
  2005-09-04 20:13                       ` Bas Westerbaan
@ 2005-09-05 22:32                       ` Thorild Selen
  2005-09-05 23:06                         ` Kyle Moffett
  1 sibling, 1 reply; 19+ messages in thread
From: Thorild Selen @ 2005-09-05 22:32 UTC (permalink / raw)
  To: linux-kernel

Adrian Bunk <bunk@stusta.de> writes:
> Please name situations where 8K stacks may be preferred that do not 
> involve binary-only modules.

How about NFS-exporting a filesystem on LVM atop md?  I believe it has
been mentioned before in discussions that 8k stacks are strongly
recommended in this case.  Are those issues solved?


Thorild Selén
Datorföreningen Update / Update Computer Club, Uppsala, SE

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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-05 22:32                       ` RFC: i386: kill !4KSTACKS Thorild Selen
@ 2005-09-05 23:06                         ` Kyle Moffett
  0 siblings, 0 replies; 19+ messages in thread
From: Kyle Moffett @ 2005-09-05 23:06 UTC (permalink / raw)
  To: Thorild Selen; +Cc: linux-kernel

On Sep 5, 2005, at 18:32:32, Thorild Selen wrote:
> Adrian Bunk <bunk@stusta.de> writes:
>> Please name situations where 8K stacks may be preferred that do not
>> involve binary-only modules.
>
> How about NFS-exporting a filesystem on LVM atop md?  I believe it has
> been mentioned before in discussions that 8k stacks are strongly
> recommended in this case.  Are those issues solved?

I think the worst overflow case anyone found was  
nfs=>xfs=>lvm=>dm=>scsi, if
someone has such a configuration, please retest with current -mm or  
similar.
I think there are several patches in there to resolve the excessive  
stack
usage and a few to do some sort of bio chaining (Instead of recursive  
calls).
I don't remember what underlying hardware was behind the SCSI, but I  
suspect
something like iSCSI or USB would push some extra stack in there for  
stress
testing.

Cheers,
Kyle Moffett

--
I have yet to see any problem, however complicated, which, when you  
looked at
it in the right way, did not become still more complicated.
   -- Poul Anderson




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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-04 20:37                         ` Dave Jones
@ 2005-09-07 16:38                           ` Bill Davidsen
  2005-09-07 17:53                             ` Mike Galbraith
  0 siblings, 1 reply; 19+ messages in thread
From: Bill Davidsen @ 2005-09-07 16:38 UTC (permalink / raw)
  To: Dave Jones; +Cc: Adrian Bunk, Pekka Enberg, Paul Misner, linux-kernel

Dave Jones wrote:
> On Sun, Sep 04, 2005 at 10:13:10PM +0200, Bas Westerbaan wrote:
>  > > > Though 4K stacks are used a lot, they probably aren't used on all
>  > > > configurations yet. Other situations may arise where 8K stacks may be
>  > > > preferred. It is too early to kill 8K stacks imho.
>  > > 
>  > > Please name situations where 8K stacks may be preferred that do not
>  > > involve binary-only modules.
>  > 
>  > I meant that there could be situations, which have not yet been found,
> 
> And the boogeyman might really exist too.
> This is just hypotetical hand-waving.
> 
>  > where it could be preferred to use 8K stacks instead of 4K. When you
>  > switch from having 8K stacks as default to 4K stacks without
>  > possibility for 8K stacks you'd possibly encounter these yet to be
>  > found situations.
> 
> Fedora kernels have been built with 4K stacks for a long time.
> (Since even before the option went upstream). The only things that
> have been reported to have problems with 4KB stacks are..
> 
> - NDISwrapper / driverloader.
>   (Shock, horror - no-one cares).

Actually, people who want to run Linux on laptops instead of MS care a 
whole bunch! And not everyone has a committment from their employer to 
provide Linux compatible hardware, or the personal funds to spend extra 
to buy their own instead of getting a bargain laptop which may not be 
fully supported. 8KSTACKS is in and working, you are proposing to break 
Linux on a number of machines just to satisfy some personal distaste for 
the code, not because there is neat new code which fails to work with 8K 
stacks.

You must have something more useful to work on, which would ADD value to 
the kernel instead of breaking existing installations. Ripping out petty 
stuff which works is a waste of your time and talent, please find 
something better to do. Perhaps devise a way for programs like 
ndiswrapper to provide their own stack, for instance.

-- 
    -bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
  last possible moment - but no longer"  -me

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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-07 16:38                           ` Bill Davidsen
@ 2005-09-07 17:53                             ` Mike Galbraith
  2005-09-08 19:05                               ` Bill Davidsen
  0 siblings, 1 reply; 19+ messages in thread
From: Mike Galbraith @ 2005-09-07 17:53 UTC (permalink / raw)
  To: Bill Davidsen, Dave Jones
  Cc: Adrian Bunk, Pekka Enberg, Paul Misner, linux-kernel

At 12:38 PM 9/7/2005 -0400, Bill Davidsen wrote:

>You must have something more useful to work on, which would ADD value to 
>the kernel instead of breaking existing installations. Ripping out petty 
>stuff which works is a waste of your time and talent, please find 
>something better to do.

Ahem. Please...

>Perhaps devise a way for programs like ndiswrapper to provide their own 
>stack, for instance.

...follow your own suggestion instead of hammering someone else.

I've seen some discussion.  More of that, and less of this please.

         -Mike 


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

* Re: RFC: i386: kill !4KSTACKS
  2005-09-07 17:53                             ` Mike Galbraith
@ 2005-09-08 19:05                               ` Bill Davidsen
  2005-09-08 19:27                                 ` Large File Support in Kernel 2.6 Andreas Baer
  0 siblings, 1 reply; 19+ messages in thread
From: Bill Davidsen @ 2005-09-08 19:05 UTC (permalink / raw)
  To: Mike Galbraith; +Cc: Adrian Bunk, Pekka Enberg, Paul Misner, linux-kernel

Mike Galbraith wrote:
> At 12:38 PM 9/7/2005 -0400, Bill Davidsen wrote:
> 
>> You must have something more useful to work on, which would ADD value 
>> to the kernel instead of breaking existing installations. Ripping out 
>> petty stuff which works is a waste of your time and talent, please 
>> find something better to do.
> 
> 
> Ahem. Please...
> 
>> Perhaps devise a way for programs like ndiswrapper to provide their 
>> own stack, for instance.
> 
> 
> ...follow your own suggestion instead of hammering someone else.
> 
> I've seen some discussion.  More of that, and less of this please.

Frankly this should be done by someone who really understands the code, 
and considering the time it's likely to take it would probably be (a) 
someone with a desparate need, (b) someone rich or retired who doesn't 
work for a living and has the time, or (c) someone who works for a 
company which sells Linux distributions and therefore could get paid to 
do this. That lets me out on all counts, I would resent wasting the time 
to patch 8KSTACKS back in as a patch, but I could do that to make 
laptops useful. As Andi pointed out some architectures can't run 4k 
stacks, and at the memory sizes people typically use there would 
probably be a performance gain to do memory in 8k or larger blocks anyway.

I just see this as a large hassle for many laptop users and people with 
unconverted drivers, and no significant gain for most. 4k stacks work 
fine on most machines, but some people just can't use them.

-- 
    -bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
  last possible moment - but no longer"  -me

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

* Large File Support in Kernel 2.6
  2005-09-08 19:05                               ` Bill Davidsen
@ 2005-09-08 19:27                                 ` Andreas Baer
  2005-09-08 20:16                                   ` Mike Houston
  0 siblings, 1 reply; 19+ messages in thread
From: Andreas Baer @ 2005-09-08 19:27 UTC (permalink / raw)
  Cc: linux-kernel

I have a question about the Large File Support using Linux and glibc 2.3
on a 32-Bit machine. What's the correct limit for the file size and the
file system using LFS (just for the kernel, not to mention filesystem
limits etc)?

I found two references:


"The 2.6 kernel imposes its own limits on the size of files and file
systems handled by it. These are as follows:
- file size: On 32-bit systems, files may not exceed the size of 2 TB.
- file system size: File systems may be up to 2e73 bytes large. However,
this limit is still out of reach for the currently available hardware."

Source:
http://www.novell.com/documentation/suse91/suselinux-adminguide/html/apas04.html


"Kernel 2.6: For both 32-bit systems with option CONFIG_LBD set and for
64-bit systems: The size of a file system is limited to 2e73 (far too
much for today). On 32-bit systems (without CONFIG_LBD set) the size of
a file is limited to 2 TiB. Note that not all filesystems and hardware
drivers might handle such large filesystems."

Source: http://www.suse.de/~aj/linux_lfs.html


I think it's 2TB for the file size and 2e73 for the file system, but I
don't understand the second reference and the part about the CONIFG_LBD.
What is exactly the CONFIG_LBD option?

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

* Re: Large File Support in Kernel 2.6
  2005-09-08 19:27                                 ` Large File Support in Kernel 2.6 Andreas Baer
@ 2005-09-08 20:16                                   ` Mike Houston
  2005-09-09  8:39                                     ` Andreas Baer
  0 siblings, 1 reply; 19+ messages in thread
From: Mike Houston @ 2005-09-08 20:16 UTC (permalink / raw)
  To: Andreas Baer; +Cc: linux-kernel

On Thu, 08 Sep 2005 21:27:42 +0200
Andreas Baer <lnx1@gmx.net> wrote:


> I think it's 2TB for the file size and 2e73 for the file system, but
> I don't understand the second reference and the part about the
> CONIFG_LBD. What is exactly the CONFIG_LBD option?
> -

This is "Support for Large Block Devices" under Device Drivers/Block
Devices:

CONFIG_LBD:

Say Y here if you want to attach large (bigger than 2TB) discs to
your machine, or if you want to have a raid or loopback device
bigger than 2TB.  Otherwise say N.

The "2e73" refers to 2 to the exponent 73 bytes in size. Huge :-)

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

* Re: Large File Support in Kernel 2.6
  2005-09-08 20:16                                   ` Mike Houston
@ 2005-09-09  8:39                                     ` Andreas Baer
  0 siblings, 0 replies; 19+ messages in thread
From: Andreas Baer @ 2005-09-09  8:39 UTC (permalink / raw)
  To: Mike Houston; +Cc: linux-kernel



Mike Houston wrote:
> On Thu, 08 Sep 2005 21:27:42 +0200
> Andreas Baer <lnx1@gmx.net> wrote:
> 
> 
> 
>>I think it's 2TB for the file size and 2e73 for the file system, but
>>I don't understand the second reference and the part about the
>>CONIFG_LBD. What is exactly the CONFIG_LBD option?
>>-
> 
> 
> This is "Support for Large Block Devices" under Device Drivers/Block
> Devices:
> 
> CONFIG_LBD:
> 
> Say Y here if you want to attach large (bigger than 2TB) discs to
> your machine, or if you want to have a raid or loopback device
> bigger than 2TB.  Otherwise say N.
> 
> The "2e73" refers to 2 to the exponent 73 bytes in size. Huge :-)

So in other words, both the file size and the file system limit is 2e73
using CONFIG_LBD option, right? And 2TB are always possible?

Sorry, but I need to get pretty sure.

> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 

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

end of thread, other threads:[~2005-09-09  8:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4IcUz-7H2-27@gated-at.bofh.it>
     [not found] ` <4J2gx-3zf-3@gated-at.bofh.it>
     [not found]   ` <4J5R1-cH-21@gated-at.bofh.it>
     [not found]     ` <4J6ao-L9-21@gated-at.bofh.it>
     [not found]       ` <4J6jZ-Xg-11@gated-at.bofh.it>
     [not found]         ` <4J8vt-43Y-13@gated-at.bofh.it>
2005-09-02  6:08           ` RFC: i386: kill !4KSTACKS Alex Davis
2005-09-04 12:49             ` Denis Vlasenko
2005-09-04 13:30               ` Ed Tomlinson
2005-09-04 14:49                 ` Alan Cox
2005-09-04 16:44               ` Paul Misner
2005-09-04 17:07                 ` Pekka Enberg
2005-09-04 17:12                   ` Bas Westerbaan
2005-09-04 19:22                     ` Horst von Brand
2005-09-04 19:33                     ` Adrian Bunk
2005-09-04 20:13                       ` Bas Westerbaan
2005-09-04 20:37                         ` Dave Jones
2005-09-07 16:38                           ` Bill Davidsen
2005-09-07 17:53                             ` Mike Galbraith
2005-09-08 19:05                               ` Bill Davidsen
2005-09-08 19:27                                 ` Large File Support in Kernel 2.6 Andreas Baer
2005-09-08 20:16                                   ` Mike Houston
2005-09-09  8:39                                     ` Andreas Baer
2005-09-05 22:32                       ` RFC: i386: kill !4KSTACKS Thorild Selen
2005-09-05 23:06                         ` Kyle Moffett

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