second "mount" hangs

David Woodhouse dwmw2 at
Sun Nov 18 14:25:12 EST 2001

rothwell at said:
>  I mounted a JFFS2 filesystem stored on a 16MB partition on a zip
> disk, using mtdblock and blktmd. I accidentally typed "mount /mnt/
> flash" rather than "umount /mnt/flash", and "mount" is now hung.
> Unkillable. /mnt/flash is still mounted and usable, but not
> unmountable. It seems I will have to reboot to umount the filesystem.
> I can't even eject the zip disk.

I think that the last time I saw this reported, it was also on a blkmtd 
device. A quick perusal of the blkmtd code shows that it uses sleep_on 
functions - which makes me instantly assume it's racy.

Simon - can you reproduce this problem?


More information about the linux-mtd mailing list