-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
umount failed when format without partition #26
Comments
fuse-exfat should work with any block device. It makes no difference between a whole device and a partition. Try to attach to the |
kernel 3.10.73+ |
|
I tried, but there's no detail information. ps x338 ? Ss 0:00 mount.exfat /dev/mmcblk0 /sdcard -o errors=remount-ro gdb -p 338GNU gdb (crosstool-NG - Linaro Multilib GCC [CortexA9 & ARMv6k] 2014.09) 7.8-2014.09 |
Maybe it hung into libfuse, but libfuse is stripped, no more debug info. |
I can't debug this issue for you. I can only give some advice:
|
I try to get the stack trace of mount.exfat, but when "umount" cmd hangs, the gdb also hangs, "Ctrl+C" still can't get interrupt signal, so can't get backtrace.
but no I/O errors in kernel at all. |
It's very strange that thread hangs in BTW you can run Does unmounting of other FUSE-based filesystems (like ntfs-3g) work? |
when insert sdcard, mount.exfat-fuse process will auto run, and fork child process.
I didn't try ext4 or f2fs because of tools not ready, but try vfat on board, umount is ok. |
From this void exfat_unmount(struct exfat* ef)
{
...
finalize_super_block(ef); <<< pwrite and fsync
exfat_close(ef->dev); <<< close
...
} I'd say it's a kernel bug given that |
No replies in 7 months, closing. Feel free to reopen if you have any new info. |
I'm using exfat 1.2.3 on soc board with microSD card.
Format card with command "mkfs.exfat /dev/mmcblk0", and the mount point is "/sdcard",
"umount /sdcard" will block. I try to trace the reason, it's blocked in system call "umount", and trace into kernel space, it's blocked in "fs/fuse/dev.c" wait_event_interruptible function.
But format with "mkfs.exfat /dev/mmcblk0p1", then "umount /sdcard" is ok.
So, is this a bug, which can't handle mmcblk0 umount?
The text was updated successfully, but these errors were encountered: