Skip to contentSkip to conversation

2.4.16-pre1 : e2fsck, File size limit exceeded (core dumped)

DISCUSSION Jean-Luc Coulon 2 participants 2 messages Nov 25, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I've two partitions. /dev/hda1 where I can boot 2.2.20 or 2.4.16-pre1, /dev/hda3
with only 2.4.16-pre1.

When I boot 2.2 one the first one and I try a e2fsck on the second one, I get :

[root@debian-f5ibh] ~ # e2fsck -f /dev/hda3
e2fsck 1.25 (20-Sep-2001)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hda3: 79176/250368 files (1.5% non-contiguous), 277317/500023 blocks

Now, if I boot 2.4.16-pre1, I have the following :

e2fsck 1.25 (20-Sep-2001)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hda3: 79176/250368 files (1.5% non-contiguous), 277317/500023 blocks
File size limit exceeded (core dumped)

I tried a e1fsck -f /dev/hda1 from 2.4.16-pre1, I get :

[root@debian-f5ibh] ~ # e2fsck -f /dev/hda1
e2fsck 1.25 (20-Sep-2001)
Pass 1: Checking inodes, blocks, and sizes
Special (device/socket/fifo) inode 1342156 has non-zero size. Fix<y>? yes

File size limit exceeded (core dumped)

If I do the e2fsck from 2.2.20, all is right and the sero-sized inod is fixed.

Does anybody is interested by the core ;-)
---------
Regards
jean-Luc

#1 lore raw
Quoted 5 lines · Jean-Luc Coulon

I've two partitions. /dev/hda1 where I can boot 2.2.20 or 2.4.16-pre1, /dev/hda3 with only 2.4.16-pre1.

Now, if I boot 2.4.16-pre1, I have the following :

Quoted 9 lines

e2fsck 1.25 (20-Sep-2001)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hda3: 79176/250368 files (1.5% non-contiguous), 277317/500023 blocks
File size limit exceeded (core dumped)

This is a kernel bug. It can be avoided by running as a user with no filesystem limits. Note that _any_ call to "ulimit" is currently broken, especially "ulimit -f unlimited", which will actually impose a 2GB file limit on the block device. Remove any "ulimit" statements from the system startup or root .bash* scripts, and you should be OK.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/