You are not logged in.

#1 2011-07-07 21:11:20

yasar11732
Member
Registered: 2010-11-29
Posts: 127

Cannot unmount mp3 player using thunar

Hi,

When I try to unmount my mp3 player using thunar, it doesn't unmount it (No problems with normal usb memories). When I fuser on it, after I tried unmount it, there seems to be like 10 processes using it. When I force quit them with

fuser -m /dev/sdc --kill

I return to terminal (jumping from X) and see a page full of errors. I can return to X with ctrl+alt+f7. My mp3 player is this: "Philips GoGear SA2RGA02SN RaGa 2GB"

I am using xfce4, with all group + xfce4-utils installed. I don't use login manager, my xinitrc and .bash_profile is as follows:

.bash_profile wrote:

[[ -f ~/.bashrc ]] && . ~/.bashrc

startx

.xinitrc wrote:

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi
exec ck-launch-session dbus-launch xfce4-session

So, I was wondering what is the problem, and is there a way to make is work normally.

Last edited by yasar11732 (2011-07-07 21:11:53)


Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.

Offline

#2 2011-07-08 03:08:41

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Cannot unmount mp3 player using thunar

Can you find out what those 10 processes are? And can you unmount it with "sudo umount /dev/sdc1"?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#3 2011-07-08 04:55:08

yasar11732
Member
Registered: 2010-11-29
Posts: 127

Re: Cannot unmount mp3 player using thunar

I realized that fuser -m /dev/sdc gives all processes owned by me at that moment. For example, it give me a list of processes that corresponds to this:

yasar     1602  0.0  0.1   5392  1584 tty1     S+   Jul07   0:00 -bash
yasar     1607  0.0  0.1   5340  1416 tty1     S+   Jul07   0:00 /bin/sh /usr/bin/startx
yasar     1624  0.0  0.0   3180   664 tty1     S+   Jul07   0:00 xinit /home/yasar/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.Z5Sbdk4zkQ
yasar     1631  0.0  0.0   2308   576 tty1     S    Jul07   0:00 ck-launch-session dbus-launch xfce4-session
yasar     1638  0.0  0.0   3348   488 tty1     S    Jul07   0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
yasar     1639  0.0  0.0   2568   324 ?        Ss   Jul07   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
yasar     1648  0.0  0.6  29736  7736 tty1     Sl   Jul07   0:00 xfce4-session
yasar     1652  0.0  0.1   3948  1804 ?        Ss   Jul07   0:02 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
yasar     1654  0.0  0.1   5688  2292 ?        S    Jul07   0:00 /usr/lib/xfce4/xfconf/xfconfd
yasar     1658  0.0  0.2  18872  3296 tty1     S    Jul07   0:00 xfsettingsd
yasar     1659  0.0  0.7  22760 10088 tty1     S    Jul07   0:00 xfwm4 --display :0.0 --sm-client-id 213d50e43-4189-4bd5-9bdd-88ba018ba437
yasar     1661  0.0  1.1  96096 14508 tty1     Sl   Jul07   0:01 xfce4-panel --display :0.0 --sm-client-id 2a62dfc23-f36b-4649-ad64-20a924b5116d
yasar     1662  0.0  1.1  97084 14700 tty1     S    Jul07   0:02 xfdesktop --display :0.0 --sm-client-id 26125b852-39ab-4370-a5b0-c7d1202d3eda
yasar     1663  0.0  2.8 164908 35964 tty1     S    Jul07   0:03 pidgin --session 2c569a522-b558-498c-bf66-1f315a40afa9 --display :0.0
yasar     1666  0.0  0.6  90492  8204 ?        Ssl  Jul07   0:00 xfce4-power-manager --restart --sm-client-id 2f89cd8c8-0544-4d3a-a10b-dad5242710ee
yasar     1671  0.0  0.1   8000  2208 ?        S    Jul07   0:00 /usr/lib/gvfs/gvfsd
yasar     1672  0.0  0.2  20864  3696 tty1     S    Jul07   0:00 xfce4-settings-helper --display :0.0 --sm-client-id 25a995b8d-9702-41bf-a2ae-f342bdc1ee79
yasar     1677  0.0  0.1  31104  2100 ?        Ssl  Jul07   0:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/yasar/.gvfs
yasar     1682  0.0  0.5  19748  6932 tty1     S    Jul07   0:00 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libsystray.so 1 14680110 systray Sistem çekmecesi Bildirim simgelerinin göründüğü alan
yasar     1684  0.0  0.3  34284  3924 ?        S    Jul07   0:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor
yasar     1686  0.0  0.7  81500  9440 tty1     S    Jul07   0:00 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel/plugins/libxfsm-logout-plugin.so 15 14680111 xfsm-logout-plugin Oturum Menüsü İçinde ekranı kilitle, askıya al, kapat veya çıkış yap seçenekleri yer alan bir menü gösterir
yasar     1710  0.0  0.6  19956  8100 tty1     S    Jul07   0:00 /usr/lib/xfce4/panel/wrapper /usr/lib/xfce4/panel-plugins/libdatetime.so 4 14680118 datetime Tarih & Saat Basit bir takvimi olan, tarih ve saat programcığı.
yasar     1711  0.0  0.9 104064 12216 tty1     Sl   Jul07   0:00 /usr/lib/xfce4/panel-plugins/xfce4-mixer-plugin  7 14680119 xfce4-mixer-plugin Ses Düzenleyicisi Ses kartınız için ses düzeyi ayarı
yasar     1722  0.0  0.7  83736  9188 tty1     S    Jul07   0:00 /usr/lib/xfce4/panel-plugins/xfce4-screenshooter-plugin  19 14680120 screenshooter Ekran görüntüsü Tüm ekranın, etkin pencerenin veya belirli bir alanın ekran görüntüsünü alır
yasar     1733  0.0  0.2   8608  3168 ?        S    Jul07   0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.11 /org/gtk/gvfs/exec_spaw/0
yasar     1744  0.0  1.0  93936 13108 tty1     Sl   Jul07   0:00 xfce4-notes
yasar     1744  0.0  1.0  93936 13108 tty1     Sl   Jul07   0:00 xfce4-notes
yasar     1746  0.0  0.7  83124  9996 tty1     S    Jul07   0:00 xfce4-clipman
yasar     1749  0.0  2.8 243924 37020 tty1     Sl   Jul07   0:08 /opt/dropbox/dropbox
yasar     1880  0.0  0.9  84240 11844 ?        Ss   Jul07   0:00 /usr/bin/xfrun4 --daemon
yasar     1927  0.0  1.4 115684 17920 ?        Sl   Jul07   0:03 /usr/bin/Thunar --daemon
yasar     1934  0.0  0.2   8516  3020 ?        S    Jul07   0:00 /usr/lib/gvfs/gvfsd-network --spawner :1.11 /org/gtk/gvfs/exec_spaw/1
yasar     1936  0.0  0.2   8312  2564 ?        S    Jul07   0:00 /usr/lib/gvfs/gvfsd-dnssd --spawner :1.11 /org/gtk/gvfs/exec_spaw/2
yasar     2024  4.5 19.5 311156 250340 tty1    Sl   Jul07  20:32 /home/yasar/.local/lib/opera/opera
yasar     2040  0.0  0.9  85560 12296 ?        S    Jul07   0:00 leafpad /home/yasar/.bash_profile
yasar     2045  0.0  0.9  93572 11700 ?        Ss   Jul07   0:00 gvim /home/yasar/.xinitrc
yasar     2052  0.0  2.1 101436 27788 tty1     Sl   00:04   0:12 /home/yasar/.local/lib/opera//operapluginwrapper 59 63 /usr/lib/mozilla/plugins/libflashplayer.so
yasar     2053  0.0  0.0   3108   556 tty1     S    00:04   0:00 /home/yasar/.local/lib/opera//operaplugincleaner 2024
yasar     2314  0.1  0.8  82336 10324 ?        S    07:25   0:00 /usr/lib/xfce4/notifyd/xfce4-notifyd
yasar     2319  0.0  0.9  55268 12388 ?        Sl   07:25   0:00 /usr/lib/tumbler-1/tumblerd
yasar     2328  0.8  1.2  97348 15368 ?        Ssl  07:26   0:00 terminal

And also, I can unmount it from terminal (it seems to be normally unmounted) but when I unplug it, it send me terminal (tty1), and in a couple of secons I can switch back to tty7 again.


Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.

Offline

#4 2011-07-08 07:36:51

yasar11732
Member
Registered: 2010-11-29
Posts: 127

Re: Cannot unmount mp3 player using thunar

And also, even after I unplug it, I can still see it under /dev/disk/by-id as a broken link.


Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.

Offline

#5 2011-07-08 20:29:06

yasar11732
Member
Registered: 2010-11-29
Posts: 127

Re: Cannot unmount mp3 player using thunar

Bump! Still unresolved.


Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.

Offline

#6 2011-07-09 03:33:37

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Cannot unmount mp3 player using thunar

Such bumping is unproductive. This is how I understand the issue. You have an mp3 player plugged in and thunar claims that a process is using it. If you do one of three things:

1. kill that process
2. "sudo umount" the drive and then unplug it
3. unplug it without a "sudo umount"

you are "sent back to tty1" even though X is still running and can be accessed again on tty7.

What model of mp3 player is it? Does this happen with other usb devices (the mp3 player is usb right)? Try to find out if the player uses media transfer protocol or mass-storage device or a VFAT filesystem or something else. If there is proprietary weirdness on your mp3 player maybe there is a tool that can get rid of it or reformat it. For example, my USB drive came with some insecure Windows only thing called U3. To get rid of it, I downloaded the U3 uninstall tool and ran it on a Windows box with my USB drive mounted.

Something that could shed light on the issue... how are you mounting the device? If you use auto-mounting try turning that off and seeing if the problem still persists if you mount the mp3 storage manually with the "mount" command.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

Board footer

Powered by FluxBB