Skip to contentSkip to conversation

mke2fs hangs while running on /dev/loop0 - kernel version 2.4

DISCUSSION Amit D Chaudhary 2 participants 3 messages Feb 28, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I am hoping someone knows more about this case. I have a intel pc running linux 2.4 and the last command below hangs and the statements as they are printed. Even kill -9 does not get it to terminate.

#touch img.test
#dd if=/dev/zero of=img.test bs=1k count=2000
2000+0 records in
2000+0 records out
#losetup /dev/loop0 img.test
#mke2fs

mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
256 inodes, 2000 blocks
100 blocks (5.00%) reserved for the super user First data block=1
1 block group
8192 blocks per group, 8192 fragments per group 256 inodes per group

Writing inode tables: done
......

Thanks
Amit

#1 lore raw

Em Tue, Feb 27, 2001 at 06:25:08PM -0800, Amit D Chaudhary escreveu:

Quoted 11 lines

I am hoping someone knows more about this case. I have a intel pc running linux 2.4 and the last command below hangs and the statements as they are printed. Even kill -9 does not get it to terminate.

#touch img.test
#dd if=/dev/zero of=img.test bs=1k count=2000
2000+0 records in
2000+0 records out
#losetup /dev/loop0 img.test
#mke2fs

known bug, try 2.4.2-ac5 (ac6 seems to have some small problems, Keith seems to have fixed with a patch some moments ago) some friends of mine said 2.4.2-ac seems to make loop behave, haven't checked

- Arnaldo

#2 lore raw
In reply to Amit D Chaudhary

Hi Arnaldo,

Thanks every much for the pointer. Yes, with 2.4.2-ac5 the problem is gone. Also, there was another similar problem with lilo stalling that is gone too.

Regards
Amit

Quoted 18 lines · Arnaldo Carvalho de Melo

Em Tue, Feb 27, 2001 at 06:25:08PM -0800, Amit D Chaudhary escreveu:

Quoted 9 lines

I am hoping someone knows more about this case. I have a intel pc running linux 2.4 and the last command below hangs and the statements as they are printed. Even kill -9 does not get it to terminate.

#touch img.test
#dd if=/dev/zero of=img.test bs=1k count=2000
2000+0 records in
2000+0 records out
#losetup /dev/loop0 img.test
#mke2fs

known bug, try 2.4.2-ac5 (ac6 seems to have some small problems, Keith seems to have fixed with a patch some moments ago) some friends of mine said 2.4.2-ac seems to make loop behave, haven't checked

- Arnaldo