public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* File size limit exceeded with mkfs
@ 2001-11-20 16:02 Jason Tackaberry
  2001-11-20 18:33 ` Andreas Dilger
  0 siblings, 1 reply; 9+ messages in thread
From: Jason Tackaberry @ 2001-11-20 16:02 UTC (permalink / raw)
  To: linux-kernel

Hi everyone.  Please CC any responses to me as I'm not subscribed to
this list.

I just installed a shiny new 80GB disk as primary slave and decided to
upgrade to 2.4.14+ext3 patch.  It appears that with this kernel, and
also with 2.4.15-pre7, when trying to mkfs partitions greater than 2GB,
I get "file size limit exceeded" and mkfs aborts.  I can successfully
mkfs partitions <= 2GB.

I do not have this problem with 2.4.7; all works well.  Wondering if the
difference was ext3, I tried compiling 2.4.15-pre7 without ext3 support
and the same problem occured.

The disk is

   hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63

on a dual PIII-800 (SMP kernel).  Please let me know if I can supply
additional information.

Cheers,
Jason.

-- 
Academic Computing Support Specialist         Assistant Section Editor
Algoma University College                     http://linux.com/develop
Sault Ste. Marie, Ontario                 
705-949-2301 x330                                   Personal Home Page
http://www.auc.ca                                     http://sault.org


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: File size limit exceeded with mkfs
@ 2001-11-22 10:21 Peter Seiderer
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Seiderer @ 2001-11-22 10:21 UTC (permalink / raw)
  To: linux-kernel

Horst von Brand wrote:
> This kind of differences (direct root login vs su) usualy are due to 
> different environment variable settings. 

Not in this case, it is because after 'su -' userland tries to
set the RLIMIT_FSIZE to unlimited with with the constant
0x7fffffff which is different from the one kernel uses internal
0xffffffff (see http://www.uwsg.indiana.edu/hypermail/linux/kernel/0111.1/0036.html and all next messages).

If this is more a gnulib or kernel mistake ? I don't know, but
the kernel uses sys_old_getrlimit and gives 0x7fffffff back to userland.

I think in this case the kernel should do the same in the other direction
(leafing a hole form 0x7fffffff to 0xffffffff where you could not set
the FSIZE).

Cheers,
 Peter


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

end of thread, other threads:[~2001-11-22 10:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-20 16:02 File size limit exceeded with mkfs Jason Tackaberry
2001-11-20 18:33 ` Andreas Dilger
2001-11-20 20:29   ` Jason Tackaberry
2001-11-20 20:43     ` Matti Aarnio
2001-11-20 23:56       ` Neil Brown
2001-11-20 23:35     ` Andreas Dilger
2001-11-21  0:24       ` Mohammad A. Haque
2001-11-20 23:21   ` Horst von Brand
  -- strict thread matches above, loose matches on Subject: below --
2001-11-22 10:21 Peter Seiderer

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