2000-11-13 16:38:51

by Guillaume Jaunet

[permalink] [raw]
Subject: mount -o loop problem


I'm working on an ARM Linux box, using kernel 2.4.0-test9 and

I'm trying to mount an image of a ramdisk in order to modify it. I
the following command :

mount -o loop -t ext2 ramdisk_ks /mnt/ramdisk

But this command fails. I get no output messages, loose control over
the box but I'm sure the scheduler is still running.

I thought about memory lack (the kernel would do calls to free some) but
I've still got 12Mb of available memory to mount a 8Mb ramdisk.

I've compiled kernel with loopback support, the ramdisk_ks file is the
decompressed image of my ramdisk and the mount point exists.

I've debugged the mount program with gdb, and it seems that the problem
is in the kernel : I can get to the mount system call, and then it

I've seen this specific point as been worked on recently and was
wondering if there wasn,t something wrong with it.

Guillaume J.