Looks like the mount(8) double /etc/mtab lock deadlock bug mentioned at https://qa.mandriva.com/show_bug.cgi?id=48674#c12
Check /proc/locks. /bin/mount is hanging. Szaka On Mon, 23 Mar 2009, Pascal Terjan wrote: > Szabolcs Szakacsits <sz...@...> writes: > > > On Thu, 19 Mar 2009, Frederik Himpe wrote: > > > On Thu, 19 Mar 2009 19:12:53 +0200, Szabolcs Szakacsits wrote: > > > > On Thu, 19 Mar 2009, Frederik Himpe wrote: > > > > > > > >> On Mandriva's bugzilla, there are lots of reports [1] about the system > > > >> starting to hang during mounting of the NTFS partitions with ntfs-3g. > > > >> The system continues to boot when pressing Ctrl-C. This seems to happen > > > >> especially at the first boot after installation, which makes me think > > > >> that this could be caused by the recover option now in ntfs-3g > > > >> (ntfsresize probably marked the ntfs file system as dirty during > > > >> installation). > > > > > > > > Ntfs-3g triggers a recently introduced bug in mount(8) which can cause > > > > mount to hang. 'strace -f' will confirm it. Fix must be already > > > > available for mount(8). > > > > > > Do you know where this fix can be found? > > > > I suppose in the latest package or git which contains the mount(8) > > utility the problematic Mandriva distribution version uses. > > I can't any fix in util-linux-ng git that may look related > > BTW fedora has the same issue > https://bugzilla.redhat.com/show_bug.cgi?id=486619 > > I could manage to get a shell on such box, after it hanged > gdb and strace can't give any info > > # dmesg | grep fuse > fuse init (API version 7.11) > > # uname -a > Linux localhost 2.6.29-desktop-0.rc8.3.1mnb #1 SMP Wed Mar 18 14:28:50 BRT > 2009 > i686 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GNU/Linux > > root 1582 0.0 0.0 3104 652 ? S 17:21 0:00 /bin/mount -i > -f -t fuseblk -o rw,allow_other,blksize=4096 /dev/sda1 /mnt/windows > root 2595 0.0 0.0 3104 808 ? S 17:22 0:00 mount -a -t > nonfs,nfs4,smbfs,cifs,ncpfs,gfs -O noencrypted > > # gdb mount -p 1582 > GNU gdb 6.8-5mdv2009.1 (Mandriva Linux release 2009.1) > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i586-mandriva-linux-gnu"... > Attaching to program: /bin/mount, process 1582 > > and stops there, have to be killed -9 > > # cat /proc/1582/wchan > fuse_get_req > > After kill -9 1582 mount worked fine > > I don't know if this is related to 2.6.29 or ntfs-3g 2009.2.1 and can't easily > test as it's very hard to reproduce > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > ntfs-3g-devel mailing list > ntfs-3g-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ ntfs-3g-devel mailing list ntfs-3g-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel