Skip to contentSkip to conversation

Loopback almost-freeze?

DISCUSSION James Mastros 2 participants 3 messages Jan 15, 2001

lore
Share & tools
lore
#0 lore raw

Hey all. I recently noticed, while setting up a disk image for plex86, a bug in loopback mounting. This happens on at least 2.4.0 and 2.4.0-ac9.

Steps for me to reproduce (as root):
1) losetup /dev/loop0 losetup -o $((512*63)) /dev/loop0 /usr/src/emu/plex86/guest/hdd
2) mount /dev/loop0 /mnt
3) cp -R /chris/windows/* /mnt/windows
After a few minutes, the copy will stop. At this point, most new processes seem to hang. Sometimes, you can get an executable to start working at random, from which point forward it will work fine. Doing an ls in cp's /proc/nnn directory will hang as well. Sometimes SAK (SysRq-K) will kill hung processes, somtimes not. If it does, getty will run, but login won't normaly, so you can't log back in.

After the freeze, SysRq-U and S won't work -- they never display the per-device lines.

Step 3 doesn't have to be a simple cp. I did tar -cvvI /chris/windows/* |tar -xvvI /mnt/windows (or similar) to check once, and the same thing happened.

This is a single-drive system, so all the files in question are on the same hda, a IBM IDE drive on an AMD Viper chipset.

-=- James Mastros

PS -- Please CC me on replies; I'm not subscribed.

Signature · 8 lines
midendian: She never sleeps.
mousetrout: But I do.  I just regret it after I wake up.
AIM: theorbtwo homepage: http://www.rtweb.net/theorb/
ICBM: 40:04:15.100 N, 76:18:53.165 W
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 3 lines · James Mastros

Step 3 doesn't have to be a simple cp. I did tar -cvvI /chris/windows/* |tar -xvvI /mnt/windows (or similar) to check once, and the same thing happened.

Or bonnie.

-=- James Mastros
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 5 lines · James Mastros
Quoted 3 lines · James Mastros

Step 3 doesn't have to be a simple cp. I did tar -cvvI /chris/windows/* |tar -xvvI /mnt/windows (or similar) to check once, and the same thing happened.

Or bonnie.

Have you tried Jens Axboe's loop patch?

ftp.kernel.org/pub/linux/kernel/people/axboe/patches

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/