2011-02-19, 13:50
Update:
please see [LINUX] xbmc PRE-11.0 Git:50f0233, cannot unmount an usb stick after playing a file. for an updated version of this thread.
Problem: Cannot unmount a usb memory stick from where I played a media, a song, after I stopped playing.
Can unmount if xbmc is browsing only, eg. not playing anything.
Procedure followed, on xbmc-standalone up and running, Confluence skin.
Given mount usb stick point is:
it seems xbmc keeps a file opened even though the player is not working, preventing the unmount:
It appears the file is not released by xbmc, e.g. closed, and it seems to happen for audio files only.
I don't know if it happens for file types other than '.ogg'.
Now the scene description
=========================
Hardware: Asus AT3IONT-I DELUXE
From the first line of xbmc log:
Ubuntu 10.10 up to date 2011-02-18
xbmc is built from git, installed with make install.
The configure log, obtained with the following command lines:
can be seen here:
http://pastebin.ubuntu.com/569126
I did a:
then I rebuilt and installed with:
The full xbmc log of the test run described above, with debug enabled from the UI, can be seen here:
http://pastebin.ubuntu.com/569127
Let me know if any other information is needed.
please see [LINUX] xbmc PRE-11.0 Git:50f0233, cannot unmount an usb stick after playing a file. for an updated version of this thread.
Problem: Cannot unmount a usb memory stick from where I played a media, a song, after I stopped playing.
Can unmount if xbmc is browsing only, eg. not playing anything.
Procedure followed, on xbmc-standalone up and running, Confluence skin.
- enable debug log
- Insert a usb stick
- Select the just automounted device in 'Video > Files'.
- Play a Video, stop playing with the usual commands,
- backspace to the main Video > Files dialog, try to unmount via 'Context Menu > Remove safely' : removed, no problem.
- Pull out and reinsert the usb stick,
- Now select the just automounted device in 'Music > Files'.
- Play a stream, stop playing with the usual commands,
- backspace to the main Music > Files dialog, try to unmount via 'Context Menu > Remove safely' : no effect.
- disable debug log.
Given mount usb stick point is:
Code:
xbmc@media-player:~/xbmc-git/xbmc$ mount
...
/dev/sdb1 on /media/usb-pen2 type ext3 (rw,nosuid,nodev,uhelper=udisks)
Code:
xbmc@media-player:~$ lsof /dev/sdb1
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
xbmc.bin 2028 xbmc 40r REG 8,17 4236000 228409 /media/usb-pen2/home/beppe/Musica/BGA/TSOTTC.ogg
I don't know if it happens for file types other than '.ogg'.
Now the scene description
=========================
Hardware: Asus AT3IONT-I DELUXE
From the first line of xbmc log:
Code:
XBMC, Platform: Linux (Ubuntu 10.10, 2.6.35-25-generic x86_64). Built on Feb 19 2011 (Git:bc57d59)
xbmc is built from git, installed with make install.
The configure log, obtained with the following command lines:
Code:
./bootstrap
./configure --prefix=/opt/xbmc-devel --disable-debug --enable-gl --disable-gles --enable-vdpau --disable-vaapi --disable-vdadecoder --disable-openmax --disable-tegra --disable-profiling --enable-joystick --enable-xrandr --enable-goom --enable-pulse --enable-rtmp --enable-ffmpeg-libvorbis --disable-mid --enable-hal --enable-avahi --disable-asap-codec --enable-webserver --disable-libdts --disable-liba52 --disable-pulse --enable-non-free CFLAGS="" CXXFLAGS=""
xbmc@media-player:~/xbmc-git/xbmc$
http://pastebin.ubuntu.com/569126
I did a:
Code:
make clean
Code:
sudo make install'
http://pastebin.ubuntu.com/569127
Let me know if any other information is needed.