Re: mke2fs (and mkreiserfs) core dumps

Andreas Dilger (adilger@clusterfs.com)
Wed, 13 Mar 2002 14:54:20 -0700


On Mar 13, 2002 13:37 -0800, David Rees wrote:
> On Wed, Mar 13, 2002 at 01:55:37PM -0700, Andreas Dilger wrote:
> > On Mar 13, 2002 12:31 -0800, David Rees wrote:
> > > I've got an interesting situation here where mke2fs and mkreiserfs core dump
> > > with the message: File size limit exceeded (core dumped)
> >
> > This is a ulimit bug caused by the kernel and libc 2.1. If you log into
> > the system as root at the console (no su) it should work.
> >
> > > The kernel is 2.4.18-rc4 + Trond's NFS_ALL patch.
> >
> > I thought that the fix for this was in the 2.4.18 kernel, but I guess
> > not.
>
> Thanks for the info. This explains why I didn't have any problems
> partitioning the 3ware's RAID, I was logged into the console.
>
> Is there anyway I can avoid logging into the console? It can be a PITA if
> the machine happens to be far away.

If you don't have any "ulimit" calls in the login, it should also be OK.
It's just that some vendor startup scripts set a ulimit for non-root
users. Trying to set it back to "unlimited" doesn't work.

Cheers, Andreas

--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

- 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/