xfs
[Top] [All Lists]

Re: Anyone know what this error means?

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: Anyone know what this error means?
From: Derek Glidden <dglidden@xxxxxxxxxxxxxxx>
Date: 09 Jan 2002 12:33:57 -0500
Cc: Adam McKenna <adam-dated-1010968404.3db79f@xxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20020109115309.A3063@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <20020109003323.GW4511@xxxxxxxxxxxx> <20020109115309.A3063@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Tue, 2002-01-08 at 19:53, Nathan Scott wrote:
> On Tue, Jan 08, 2002 at 04:33:23PM -0800, Adam McKenna wrote:
> > This is an approx. 270 Gig RAID5 partition on an AMI Megaraid card on
> > 2.2.14-xfs (snapshot)..
> > 
> > I get the following error when trying to create the filesystem:
> > ...
> > File size limit exceeded
> > 
> 
> [assuming 2.4.14] - sounds familiar, think it was a bug from Linus'
> kernel; using a more recent kernel version (2.4.16/17) should fix it.

I did post this to lkml and got this in response from Andrew Morton:

> > 
> > I've been experiencing random and occasional encounters with "File size
> > limit exceeded" errors under 2.4 kernels when trying to make
> > filesystems.
> 
> I don't know if anyone has come forth to fix this yet.
> 
> Apparently it's something to do with your shell setting
> rlimits, and block devices are (bogusly) honouring those
> settings.
> 
> The word is that if you log in as `root' at the login
> prompt, rather than using `su', the problem goes away.

It apparently *is* a kernel bug, with the basic problem being that for
some reason the kernel isn't recognizing ulimits if you 'su' to the root
user.  (Although in my experience it will also pop up if you "ssh"
directly in as root.)  If you log into the console as "root" and attempt
the "mkfs" you should bypass this bug.  I've run into it numerous times
and I have been able to "mkfs" when logged in the console where I wasn't
able to if logged in remotely.  

AFAIK, it's *not* fixed in recent kernels, as I've had the problem as
recently as 2.4.16+xfs.  It seems to have popped in somewhere around
2.4.9 or 2.4.10 or so, as that's the first time I saw people complaining
about this problem on this list.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#!/usr/bin/perl -w
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map
{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;
$t^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)
[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h=5;$_=unxb24,join
"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*
8^$q<<6))<<9,$_=$t[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}
print+x"C*",@a}';s/x/pack+/g;eval 

usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \
    | extract_mpeg2 | mpeg2dec - 

         http://www.cs.cmu.edu/~dst/DeCSS/Gallery/
http://www.eff.org/                   http://www.anti-dmca.org/


<Prev in Thread] Current Thread [Next in Thread>