[Kernel-packages] [Bug 1398859] Re: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep
I also see this with exfat, so it rather seems to be related to fuse (as both ntfs-3g and exfat use fuse). Curiously I do not see this when running the tests on my laptop or on the Scalingstack cloud infra, just when I run them in QEMU. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1398859 Title: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep Status in linux package in Ubuntu: Confirmed Status in udisks2 package in Ubuntu: Fix Released Bug description: Since Mid-November the udisks2 test (https://jenkins.qa.ubuntu.com/job /vivid-adt-udisks2/? shows it happened between Nov 13 and 19) exhibits a regression with NTFS: Unmounting causes the ntfs-3g process to go into kernel deep sleep and umount hangs forever. This can be reproduced with sudo apt install ntfs-3g sudo modprobe scsi_debug # check dmesg which drive this created; e. g. /dev/sda sudo mkntfs -F /dev/sda sudo mount /dev/sda /mnt Now you have a process which is happy: root 12821 0.0 0.0 15272 1948 ?Ss 15:49 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw You can work with /mnt, edit files, etc. But now unmount: sudo umount /mnt This never returns, and the process goes into uninterruptible kernel sleep ("D"): root 12928 0.0 0.0 15272 1948 ?Ds 15:55 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw The strace for the umount until the hang is ubuntu@autopkgtest:~$ sudo strace -vvtts1024 -p 12928 Process 12928 attached 15:56:17.938299 read(4, "0\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 135168) = 48 15:56:22.338931 read(4, "(\0\0\0&\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 135168) = 40 15:56:22.339637 sendto(5, "<29>Dec 3 15:56:22 ntfs-3g[12928]: Unmounting /dev/sda ()\n", 59, MSG_NOSIGNAL, NULL, 0) = 59 15:56:22.340509 fsync(3)= 0 15:56:22.341188 fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 15:56:22.341759 close(3 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: ntfs-3g 1:2013.1.13AR.1-2ubuntu3 ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7 Uname: Linux 3.16.0-25-generic x86_64 ApportVersion: 2.15-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Wed Dec 3 15:48:12 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2014-11-20 (13 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141119) SourcePackage: ntfs-3g UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398859/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1398859] Re: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep
> Curiously I do not see this when running the tests on my laptop And of course in the minute I write this it does happen again (I ran the test maybe 20 times today, and only just now it happened): [11359.569157] INFO: task systemd-udevd:341 blocked for more than 120 seconds. [11359.569163] Not tainted 4.8.0-29-generic #31~lp1626436ProposedWithTwoPatches [11359.569165] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [11359.569167] systemd-udevd D a31788e77ba8 0 341 1 0x0100 [11359.569173] a31788e77ba8 00ff84c71a68 a3149967 a31788e82ac0 [11359.569177] 88e77db0 a31788e78000 a317893bc070 a317893bc088 [11359.569179] a31788e77be0 a3149cf771c0 a31788e77bc0 85296905 [11359.569182] Call Trace: [11359.569190] [] schedule+0x35/0x80 [11359.569193] [] rwsem_down_read_failed+0x103/0x160 [11359.569197] [] call_rwsem_down_read_failed+0x18/0x30 [11359.569200] [] down_read+0x20/0x40 [11359.569202] [] get_super.part.7+0x95/0xd0 [11359.569204] [] get_super+0x26/0x30 [11359.569208] [] fsync_bdev+0x18/0x60 [11359.569211] [] invalidate_partition+0x24/0x50 [11359.569213] [] rescan_partitions+0x53/0x2b0 [11359.569216] [] ? security_capable+0x48/0x60 [11359.569218] [] __blkdev_reread_part+0x65/0x70 [11359.569220] [] blkdev_reread_part+0x23/0x40 [11359.569222] [] blkdev_ioctl+0x425/0x910 [11359.569225] [] ? __seccomp_filter+0x67/0x260 [11359.569228] [] block_ioctl+0x3d/0x50 [11359.569231] [] do_vfs_ioctl+0xa3/0x610 [11359.569233] [] ? __secure_computing+0x43/0xe0 [11359.569236] [] ? syscall_trace_enter+0xce/0x2f0 [11359.569239] [] SyS_ioctl+0x79/0x90 [11359.569241] [] do_syscall_64+0x5e/0xc0 [11359.569244] [] entry_SYSCALL64_slow_path+0x25/0x25 [11359.569320] INFO: task mount.ntfs:15670 blocked for more than 120 seconds. [11359.569323] Not tainted 4.8.0-29-generic #31~lp1626436ProposedWithTwoPatches [11359.569324] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [11359.569325] mount.ntfs D a314d0d1bd68 0 15670 5268 0x [11359.569329] a314d0d1bd68 00010003 a3178bef9c80 a3149967 [11359.569332] 3d862ecf a314d0d1c000 a3149cf771dc a3149967 [11359.569334] a3149cf771e0 a314d0d1bd80 85296905 [11359.569337] Call Trace: [11359.569340] [] schedule+0x35/0x80 [11359.569342] [] schedule_preempt_disabled+0xe/0x10 [11359.569344] [] __mutex_lock_slowpath+0xb9/0x130 [11359.569347] [] mutex_lock+0x1f/0x30 [11359.569350] [] blkdev_put+0x20/0x110 [11359.569352] [] blkdev_close+0x34/0x70 [11359.569354] [] __fput+0xe7/0x230 [11359.569356] [] fput+0xe/0x10 [11359.569358] [] task_work_run+0x80/0xa0 [11359.569361] [] exit_to_usermode_loop+0xc2/0xd0 [11359.569363] [] syscall_return_slowpath+0x4e/0x60 [11359.569366] [] entry_SYSCALL_64_fastpath+0xa6/0xa8 root 15670 0.0 0.0 16040 460 ?Ds 10:41 0:00 /sbin/mount.ntfs /dev/sdb /run/media/root/553BDB6430706196 -o rw,nodev,nosuid,uid=0,gid=0,uhelper=udisks2 (uninterruptible kernel deep sleep, 'D' state). -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1398859 Title: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep Status in linux package in Ubuntu: Confirmed Status in udisks2 package in Ubuntu: Fix Released Bug description: Since Mid-November the udisks2 test (https://jenkins.qa.ubuntu.com/job /vivid-adt-udisks2/? shows it happened between Nov 13 and 19) exhibits a regression with NTFS: Unmounting causes the ntfs-3g process to go into kernel deep sleep and umount hangs forever. This can be reproduced with sudo apt install ntfs-3g sudo modprobe scsi_debug # check dmesg which drive this created; e. g. /dev/sda sudo mkntfs -F /dev/sda sudo mount /dev/sda /mnt Now you have a process which is happy: root 12821 0.0 0.0 15272 1948 ?Ss 15:49 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw You can work with /mnt, edit files, etc. But now unmount: sudo umount /mnt This never returns, and the process goes into uninterruptible kernel sleep ("D"): root 12928 0.0 0.0 15272 1948 ?Ds 15:55 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw The strace for the umount until the hang is ubuntu@autopkgtest:~$ sudo strace -vvtts1024 -p 12928 Process 12928 attached 15:56:17.938299 read(4, "0\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 135168) = 48 15:56:22.338931 read(4, "(\0\0\0&\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 135168) = 40 15:56:22.339637 sendto(5, "<29>Dec 3 15:56:22 ntfs-3g[12928]: Unmounting /dev/sda ()\n", 59, MSG_NOSIGNAL, NULL, 0) = 59 15:56:22.340509 fsync(3)
[Kernel-packages] [Bug 1398859] Re: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep
The workaround doesn't work any more, and the test does not actually depend on ntfs-3g any more, so this must rather be fixed in our base images. ** Changed in: udisks2 (Ubuntu) Status: In Progress => Fix Released ** Changed in: udisks2 (Ubuntu) Milestone: ubuntu-16.03 => None -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1398859 Title: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep Status in linux package in Ubuntu: Confirmed Status in udisks2 package in Ubuntu: Fix Released Bug description: Since Mid-November the udisks2 test (https://jenkins.qa.ubuntu.com/job /vivid-adt-udisks2/? shows it happened between Nov 13 and 19) exhibits a regression with NTFS: Unmounting causes the ntfs-3g process to go into kernel deep sleep and umount hangs forever. This can be reproduced with sudo apt install ntfs-3g sudo modprobe scsi_debug # check dmesg which drive this created; e. g. /dev/sda sudo mkntfs -F /dev/sda sudo mount /dev/sda /mnt Now you have a process which is happy: root 12821 0.0 0.0 15272 1948 ?Ss 15:49 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw You can work with /mnt, edit files, etc. But now unmount: sudo umount /mnt This never returns, and the process goes into uninterruptible kernel sleep ("D"): root 12928 0.0 0.0 15272 1948 ?Ds 15:55 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw The strace for the umount until the hang is ubuntu@autopkgtest:~$ sudo strace -vvtts1024 -p 12928 Process 12928 attached 15:56:17.938299 read(4, "0\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 135168) = 48 15:56:22.338931 read(4, "(\0\0\0&\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 135168) = 40 15:56:22.339637 sendto(5, "<29>Dec 3 15:56:22 ntfs-3g[12928]: Unmounting /dev/sda ()\n", 59, MSG_NOSIGNAL, NULL, 0) = 59 15:56:22.340509 fsync(3)= 0 15:56:22.341188 fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 15:56:22.341759 close(3 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: ntfs-3g 1:2013.1.13AR.1-2ubuntu3 ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7 Uname: Linux 3.16.0-25-generic x86_64 ApportVersion: 2.15-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Wed Dec 3 15:48:12 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2014-11-20 (13 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141119) SourcePackage: ntfs-3g UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398859/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1398859] Re: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep
The kernel issue still happens (see http://autopkgtest.ubuntu.com/packages/u/udisks2/xenial/amd64/), so the workaround needs to come back. ** Changed in: udisks2 (Ubuntu) Status: Fix Released => In Progress ** Changed in: udisks2 (Ubuntu) Milestone: ubuntu-15.01 => ubuntu-16.03 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1398859 Title: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep Status in linux package in Ubuntu: Confirmed Status in udisks2 package in Ubuntu: In Progress Bug description: Since Mid-November the udisks2 test (https://jenkins.qa.ubuntu.com/job /vivid-adt-udisks2/? shows it happened between Nov 13 and 19) exhibits a regression with NTFS: Unmounting causes the ntfs-3g process to go into kernel deep sleep and umount hangs forever. This can be reproduced with sudo apt install ntfs-3g sudo modprobe scsi_debug # check dmesg which drive this created; e. g. /dev/sda sudo mkntfs -F /dev/sda sudo mount /dev/sda /mnt Now you have a process which is happy: root 12821 0.0 0.0 15272 1948 ?Ss 15:49 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw You can work with /mnt, edit files, etc. But now unmount: sudo umount /mnt This never returns, and the process goes into uninterruptible kernel sleep ("D"): root 12928 0.0 0.0 15272 1948 ?Ds 15:55 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw The strace for the umount until the hang is ubuntu@autopkgtest:~$ sudo strace -vvtts1024 -p 12928 Process 12928 attached 15:56:17.938299 read(4, "0\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 135168) = 48 15:56:22.338931 read(4, "(\0\0\0&\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 135168) = 40 15:56:22.339637 sendto(5, "<29>Dec 3 15:56:22 ntfs-3g[12928]: Unmounting /dev/sda ()\n", 59, MSG_NOSIGNAL, NULL, 0) = 59 15:56:22.340509 fsync(3)= 0 15:56:22.341188 fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 15:56:22.341759 close(3 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: ntfs-3g 1:2013.1.13AR.1-2ubuntu3 ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7 Uname: Linux 3.16.0-25-generic x86_64 ApportVersion: 2.15-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Wed Dec 3 15:48:12 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2014-11-20 (13 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141119) SourcePackage: ntfs-3g UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398859/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1398859] Re: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep
** Changed in: linux (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1398859 Title: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep Status in linux package in Ubuntu: Confirmed Status in udisks2 package in Ubuntu: Fix Released Bug description: Since Mid-November the udisks2 test (https://jenkins.qa.ubuntu.com/job /vivid-adt-udisks2/? shows it happened between Nov 13 and 19) exhibits a regression with NTFS: Unmounting causes the ntfs-3g process to go into kernel deep sleep and umount hangs forever. This can be reproduced with sudo apt install ntfs-3g sudo modprobe scsi_debug # check dmesg which drive this created; e. g. /dev/sda sudo mkntfs -F /dev/sda sudo mount /dev/sda /mnt Now you have a process which is happy: root 12821 0.0 0.0 15272 1948 ?Ss 15:49 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw You can work with /mnt, edit files, etc. But now unmount: sudo umount /mnt This never returns, and the process goes into uninterruptible kernel sleep ("D"): root 12928 0.0 0.0 15272 1948 ?Ds 15:55 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw The strace for the umount until the hang is ubuntu@autopkgtest:~$ sudo strace -vvtts1024 -p 12928 Process 12928 attached 15:56:17.938299 read(4, "0\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 135168) = 48 15:56:22.338931 read(4, "(\0\0\0&\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 135168) = 40 15:56:22.339637 sendto(5, "<29>Dec 3 15:56:22 ntfs-3g[12928]: Unmounting /dev/sda ()\n", 59, MSG_NOSIGNAL, NULL, 0) = 59 15:56:22.340509 fsync(3)= 0 15:56:22.341188 fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 15:56:22.341759 close(3 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: ntfs-3g 1:2013.1.13AR.1-2ubuntu3 ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7 Uname: Linux 3.16.0-25-generic x86_64 ApportVersion: 2.15-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Wed Dec 3 15:48:12 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2014-11-20 (13 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141119) SourcePackage: ntfs-3g UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398859/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1398859] Re: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Tags added: bot-stop-nagging -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1398859 Title: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep Status in linux package in Ubuntu: Confirmed Status in udisks2 package in Ubuntu: Fix Released Bug description: Since Mid-November the udisks2 test (https://jenkins.qa.ubuntu.com/job /vivid-adt-udisks2/? shows it happened between Nov 13 and 19) exhibits a regression with NTFS: Unmounting causes the ntfs-3g process to go into kernel deep sleep and umount hangs forever. This can be reproduced with sudo apt install ntfs-3g sudo modprobe scsi_debug # check dmesg which drive this created; e. g. /dev/sda sudo mkntfs -F /dev/sda sudo mount /dev/sda /mnt Now you have a process which is happy: root 12821 0.0 0.0 15272 1948 ?Ss 15:49 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw You can work with /mnt, edit files, etc. But now unmount: sudo umount /mnt This never returns, and the process goes into uninterruptible kernel sleep ("D"): root 12928 0.0 0.0 15272 1948 ?Ds 15:55 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw The strace for the umount until the hang is ubuntu@autopkgtest:~$ sudo strace -vvtts1024 -p 12928 Process 12928 attached 15:56:17.938299 read(4, "0\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 135168) = 48 15:56:22.338931 read(4, "(\0\0\0&\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 135168) = 40 15:56:22.339637 sendto(5, "<29>Dec 3 15:56:22 ntfs-3g[12928]: Unmounting /dev/sda ()\n", 59, MSG_NOSIGNAL, NULL, 0) = 59 15:56:22.340509 fsync(3)= 0 15:56:22.341188 fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 15:56:22.341759 close(3 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: ntfs-3g 1:2013.1.13AR.1-2ubuntu3 ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7 Uname: Linux 3.16.0-25-generic x86_64 ApportVersion: 2.15-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Wed Dec 3 15:48:12 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2014-11-20 (13 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141119) SourcePackage: ntfs-3g UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398859/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1398859] Re: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep
** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1398859 Title: unmounting NTFS causes mount.ntfs process to get stuck in eternal kernel deep sleep Status in linux package in Ubuntu: New Status in udisks2 package in Ubuntu: Fix Released Bug description: Since Mid-November the udisks2 test (https://jenkins.qa.ubuntu.com/job /vivid-adt-udisks2/? shows it happened between Nov 13 and 19) exhibits a regression with NTFS: Unmounting causes the ntfs-3g process to go into kernel deep sleep and umount hangs forever. This can be reproduced with sudo apt install ntfs-3g sudo modprobe scsi_debug # check dmesg which drive this created; e. g. /dev/sda sudo mkntfs -F /dev/sda sudo mount /dev/sda /mnt Now you have a process which is happy: root 12821 0.0 0.0 15272 1948 ?Ss 15:49 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw You can work with /mnt, edit files, etc. But now unmount: sudo umount /mnt This never returns, and the process goes into uninterruptible kernel sleep ("D"): root 12928 0.0 0.0 15272 1948 ?Ds 15:55 0:00 /sbin/mount.ntfs /dev/sda /mnt -o rw The strace for the umount until the hang is ubuntu@autopkgtest:~$ sudo strace -vvtts1024 -p 12928 Process 12928 attached 15:56:17.938299 read(4, "0\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 135168) = 48 15:56:22.338931 read(4, "(\0\0\0&\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 135168) = 40 15:56:22.339637 sendto(5, "<29>Dec 3 15:56:22 ntfs-3g[12928]: Unmounting /dev/sda ()\n", 59, MSG_NOSIGNAL, NULL, 0) = 59 15:56:22.340509 fsync(3)= 0 15:56:22.341188 fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0 15:56:22.341759 close(3 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: ntfs-3g 1:2013.1.13AR.1-2ubuntu3 ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7 Uname: Linux 3.16.0-25-generic x86_64 ApportVersion: 2.15-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Wed Dec 3 15:48:12 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2014-11-20 (13 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141119) SourcePackage: ntfs-3g UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398859/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp