Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2012, 12:06 AM
seniorninja seniorninja is offline
Junior Member
 
Join Date: Oct 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default USB devices not mounting correctly after first eject. PCBSD64bit. LXDE. RC3
Hello,

Problem

When I plug in my kindle, external HD, etc, via USB it works the first time. After I eject the device and plug it back again it doesn't show the contents of the mounted drive.

The following makes me think that is not that it doesn't mount at all, but rather that it partially mounts, or somehow a variable is not reset and perhaps the contents of the drive are locked or otherwise inaccessible.

$ /usr/local/etc/amount/amount da0s1 msdosfs/Kindle

da0s1 msdosfs Kindle
cdev=da0s1 dev=da0s1
umounting da0s1 msdosfs/Kindle... p1
success


Temporary: (somewhat annoying) solution

Log off my desktop use and log back in.


Thank you for your help. Please let me know if I can help by providing more details.

My system is

$ uname -a
FreeBSD mebo 9.0-RC3 FreeBSD 9.0-RC3 #2: Mon Dec 5 15:02:57 PST 2011 root@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC amd64

I'm running LXDE.


EDIT: I'm running zfs (in case that is a file system type of error)
__________________
--
I am not what I am.

Last edited by seniorninja; 01-03-2012 at 12:09 AM. Reason: More info.
Reply With Quote
  #2  
Old 01-03-2012, 06:24 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 353
Thanks: 2
Thanked 18 Times in 14 Posts
Default
When you try to mount it back are you using the command line? Is there any particular error message that can help understanding the problem? Does dmesg show the re-attached USB device?
Reply With Quote
  #3  
Old 01-04-2012, 01:21 AM
seniorninja seniorninja is offline
Junior Member
 
Join Date: Oct 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default
fluca1978: I am not using the command line. It automounts when I plug it in.

Ok, so i figured something else out. If i don't hit the eject button and simply unplug it i get this error:

DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending.
__________________
--
I am not what I am.
Reply With Quote
  #4  
Old 01-04-2012, 09:59 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 353
Thanks: 2
Thanked 18 Times in 14 Posts
Default
I had problems with the automount of msdos usb sticks, maybe this can help you.
Reply With Quote
  #5  
Old 07-03-2012, 04:50 PM
drulavigne drulavigne is offline
Administrator
 
Join Date: Nov 2009
Posts: 767
Thanks: 13
Thanked 31 Times in 30 Posts
Default
9.1 provides a new Mount Tray which should fix these issues. If you get a chance to try the latest snapshot or upcoming beta1, let us know if you still have errors.
Reply With Quote
  #6  
Old 07-10-2012, 08:31 AM
pcbsd64 pcbsd64 is offline
Member
 
Join Date: Aug 2009
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Originally Posted by drulavigne View Post
9.1 provides a new Mount Tray which should fix these issues. If you get a chance to try the latest snapshot or upcoming beta1, let us know if you still have errors.
Is Mount Tray a script and is there a way I can get it without trying the latest snapshot?
The last time I updated to 9-STABLE 20120622 it broke my Xorg.
__________________
PcBSD 9.1 BETA1 Gnome/spectrwm Home page & PBI's
Salix 13.37 MATE/awesome Slkbuilds Pkgbuilds
Commodore 128 GEOS Commodore Server

Last edited by pcbsd64; 07-10-2012 at 07:33 PM. Reason: syntax error
Reply With Quote
  #7  
Old 07-11-2012, 01:05 PM
drulavigne drulavigne is offline
Administrator
 
Join Date: Nov 2009
Posts: 767
Thanks: 13
Thanked 31 Times in 30 Posts
Default
Yup, follow the instructions in http://blog.pcbsd.org/2012/07/new-fe...the-impatient/. If you only want mounttray instead of the whole control panel, change the cd after the first make install to:

cd ../pc-mounttray
Reply With Quote
  #8  
Old 07-11-2012, 07:59 PM
pcbsd64 pcbsd64 is offline
Member
 
Join Date: Aug 2009
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I was able to install Mount Tray only and it works quite well.
Nice job!

EDIT


Actually there is one problem when inserting my Sansa E140 I get

Code:
-Program now ready for use 
New device detected: "" "/dev/da1" "" 
 - Ignoring device (Unknown filesystem) 
New device detected: "USB-Device-0" "/dev/da0s1" "USB:::FAT" 
New device detected: "" "/dev/da0" "" 
 - Ignoring device (Unknown filesystem)
after adding

Code:
%wheel ALL = NOPASSWD: /sbin/mount_msdosfs
to sudoers and doing

Code:
chmod 0660 media
as root then running

Code:
pc-mounttray
instead of

Code:
sudo pc-mounttray
makes it mount FAT USB filesystems with user access.

I feel there must be a better way. I'm either missing something or doing it wrong, but this seems to be a pretty drastic "fix" to me.
__________________
PcBSD 9.1 BETA1 Gnome/spectrwm Home page & PBI's
Salix 13.37 MATE/awesome Slkbuilds Pkgbuilds
Commodore 128 GEOS Commodore Server

Last edited by pcbsd64; 07-12-2012 at 04:45 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:41 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.