Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2012, 11:08 PM
john_rambo john_rambo is offline
Member
 
Join Date: Jul 2011
Posts: 81
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via Skype™ to john_rambo
Default My USB Drive doesnt get mounted automatically
Hi,
My USB Drive doesnt get mounted automatically.

I am using PCBSD9 LXDE. When I right click the drive on PCMANFM & select mount volume nothing happens.

I have to keep the pen drive plugged in before boot to have it recognized.
__________________
PCBSD 9.1 (64)
Athlon 64 X 2 5600+ RAM 2GB
Reply With Quote
  #2  
Old 08-23-2012, 11:32 PM
David30 David30 is offline
Senior Member
 
Join Date: Jun 2012
Posts: 325
Thanks: 20
Thanked 30 Times in 29 Posts
Default
I've been having the same problem. It affects USB2 and USB3 devices.
Reply With Quote
  #3  
Old 08-24-2012, 01:19 AM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 2,494
Thanks: 17
Thanked 436 Times in 354 Posts
Default
This is a known limitation in PC-BSD 9.0-Release. It relies on the actual file manager to mount/unmount the device properly, which (since they are usually programs initially created for linux) is not always done properly for FreeBSD.
The upcoming PC-BSD 9.1 (for which the first release candidate is now available) has a new tray application for mounting/unmounting storage devices. If you get a chance, you will want to try it out as it should make connecting external devices a whole lot simpler.
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #4  
Old 08-26-2012, 03:00 AM
john_rambo john_rambo is offline
Member
 
Join Date: Jul 2011
Posts: 81
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via Skype™ to john_rambo
Default
Upgraded to 9.1. Problem is solved. Thanks.
__________________
PCBSD 9.1 (64)
Athlon 64 X 2 5600+ RAM 2GB
Reply With Quote
  #5  
Old 08-26-2012, 04:20 PM
john_rambo john_rambo is offline
Member
 
Join Date: Jul 2011
Posts: 81
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via Skype™ to john_rambo
Default
Problem is actually not solved. Here's what happens :
I keep my mp3 player plugged in before boot.
After boot the mp3 player is detected.
Then when I plug in my pen drive the led on the pen drive keeps blinking continuously, then the whole system hangs & I have to hard reset the PC.
__________________
PCBSD 9.1 (64)
Athlon 64 X 2 5600+ RAM 2GB
Reply With Quote
  #6  
Old 08-27-2012, 06:12 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 364
Thanks: 3
Thanked 22 Times in 16 Posts
Default
Originally Posted by john_rambo View Post
Then when I plug in my pen drive the led on the pen drive keeps blinking continuously, then the whole system hangs & I have to hard reset the PC.
Does it happens if you don't have two devices connected at the same time?
How is the pendrive formatted?
Reply With Quote
  #7  
Old 08-27-2012, 07:13 PM
john_rambo john_rambo is offline
Member
 
Join Date: Jul 2011
Posts: 81
Thanks: 3
Thanked 0 Times in 0 Posts
Send a message via Skype™ to john_rambo
Default
Originally Posted by fluca1978 View Post
Does it happens if you don't have two devices connected at the same time?
How is the pendrive formatted?
I checked. I only happens if my mp3 player is plugged in already. I got it.No usb drive before boot. After boot plug them one by one. My pen drive is formatted with fat32.
__________________
PCBSD 9.1 (64)
Athlon 64 X 2 5600+ RAM 2GB
Reply With Quote
  #8  
Old 08-28-2012, 06:11 AM
fluca1978 fluca1978 is offline
Senior Member
 
Join Date: Mar 2011
Posts: 364
Thanks: 3
Thanked 22 Times in 16 Posts
Default
I suspect it is a problem with the USB controller that is not reinitializing correctly if a device is plugged at boot. It's just a guess.
Reply With Quote
  #9  
Old 01-24-2013, 07:02 AM
manumart1 manumart1 is offline
Junior Member
 
Join Date: Nov 2011
Location: Spain
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default
Computer: Dell Optiflex 745, Intel Core 2 6300, 1.86 GHz, 1GB RAM
OS: PC-BSD 9.1 64 bits, KDE and LXDE installed (but only KDE used, never LXDE)

The monitor only works with VESA, but that is not the problem.
The problem is about the USB Flash Disks. I have tried four disk, and only one of them is detected by the Mount Tray. Here are de details:

=================
USB Flash Disk 1 OKEY, detected by Mount Tray
=================

ls /dev/da*
/dev/da0

file -s /dev/da0
/dev/da0: x86 boot sector, code offset 0x58, OEM-ID "MSDOS5.0", sectors/cluster 8, reserved sectors 38, Media descriptor 0xf8, heads 255, sectors 1974784 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 1925, serial number 0x24986c33, unlabeled

dmesg:
ugen2.2: <Kingston> at usbus2
umass0: <Kingston DataTraveler 2.00000000203, class 0/0, rev 2.00/2.00, addr 2> on usbus2
umass0: SCSI over Bulk-Only; quirks = 0x4100
umass0:5:0:-1: Attached to scbus5
da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
da0: <Kingston DataTraveler 2.0 1.00> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 964MB (1974784 512 byte sectors: 64H 32S/T 964C)


==================
USB Flash Disk 2 ERROR, NOT detected by Mount Tray
==================

ls /dev/da*
/dev/da0 /dev/da0s1

file -s /dev/da0
/dev/da0: x86 boot sector; partition 1: ID=0x6, active, starthead 1, startsector 32, 2015200 sectors, code offset 0xbe

file -s /dev/da0s1
/dev/da0s1: x86 boot sector, code offset 0x3c, OEM-ID "MSDOS5.0", sectors/cluster 32, root entries 512, Media descriptor 0xf8, sectors/FAT 246, heads 255, hidden sectors 32, sectors 2015200 (volumes > 32 MB) , reserved 0x1, serial number 0xe075abab, unlabeled, FAT (16 bit)

dmesg:
ugen2.2: <Kingston> at usbus2
umass0: <Kingston DataTraveler 2.0, class 0/0, rev 2.00/1.10, addr 2> on usbus2
umass0: SCSI over Bulk-Only; quirks = 0x4100
umass0:5:0:-1: Attached to scbus5
da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
da0: <Kingston DataTraveler 2.0 PMAP> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 984MB (2015232 512 byte sectors: 64H 32S/T 984C)


==================
USB Flash Disk 3 ERROR, NOT detected by Mount Tray
==================

ls /dev/da*
/dev/da0 /dev/da0s1

file -s /dev/da0
/dev/da0: x86 boot sector, Microsoft Windows XP MBR, Serial 0xc3072e18; partition 1: ID=0x6, active, starthead 1, startsector 504, 3917320 sectors, code offset 0xc0

file -s /dev/da0s1
/dev/da0s1: x86 boot sector, code offset 0x3c, OEM-ID "MSDOS5.0", sectors/cluster 64, root entries 512, Media descriptor 0xf8, sectors/FAT 240, heads 255, hidden sectors 504, sectors 3917320 (volumes > 32 MB) , serial number 0xf02fcac3, unlabeled, FAT (16 bit)

dmesg:
ugen2.2: <General> at usbus2
umass0: <General USB Flash Disk, class 0/0, rev 2.00/11.00, addr 2> on usbus2
umass0: SCSI over Bulk-Only; quirks = 0x4000
umass0:5:0:-1: Attached to scbus5
da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
da0: <General USB Flash Disk 1100> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 1913MB (3917824 512 byte sectors: 255H 63S/T 243C)


==================
USB Flash Disk 4 ERROR, NOT detected by Mount Tray
==================

ls /dev/da*
/dev/da0 /dev/da0s1

file -s /dev/da0
/dev/da0: x86 boot sector, Microsoft Windows XP mbr,Serial 0x98ac0b; partition 1: ID=0xb, active, starthead 1, startsector 32, 2009056 sectors, code offset 0x33

file -s /dev/da0s1
/dev/da0s1: x86 boot sector, code offset 0x58, OEM-ID "MSDOS5.0", sectors/cluster 8, reserved sectors 34, Media descriptor 0xf8, heads 255, hidden sectors 32, sectors 2009056 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 1959, serial number 0x3006c4eb, unlabeled

dmesg:
ugen2.2: <CBM> at usbus2
umass0: <CBM Flash Disk, class 0/0, rev 2.00/1.00, addr 2> on usbus2
umass0: SCSI over Bulk-Only; quirks = 0x4100
umass0:5:0:-1: Attached to scbus5
da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
da0: <CBM Flash Disk 5.00> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 981MB (2009088 512 byte sectors: 64H 32S/T 981C)


--------

These four disk are normal disk without any partition, they function ok under Windows... although estrangely:
- Disk 1, capacity 962 MB (1.009.098.752 bytes)
- Disk 2, capacity 982 MB (1.029.750.784 bytes)
Disk 1 and 2 are Kingston 1GB and were buyed the same day at the same shop some years ago.

I tried re-scanning devices via Mount Tray, but it seems to take too much time and did not finish, the message "scanning..." did nor disappeared.

As the USB Flash Disk 1 was detected OK by Mount Tray, I clicked the Mount button, and a new PCManFM window was opened. I did not know how to access the disk via Dolphin. I also wonder why PCManFM is openned, because I have never used LXDE, only KDE, and I have not changed the preferred file manager.

But there exists a problem. Under PCManFM, right click, create a new document, menu view-refresh, and a new "empty" document appeared at the Flash Disk. This is ok, but afterwards I was not able to write to that file any more, because I had no permissions. The owner of the file was root and the group wheel, and only the owner had permission to write to the file. Also, I viewed that another file with the same name as the original but terminated at "~" was at the disk.

The only way I found to write a new document "with content" was using a terminal at directory "[usuario1@pcbsd-5429] /media/KINGSTON/". Using vi I created a file text and saved it to the Flash Disk,... but could not modify it any more because root was the owner. (Using this procedure I saved to a file the text with the tests, to post at this forum, because I do not have internet yet via PCBSD)

Regards,
Manuel
Reply With Quote
  #10  
Old 01-26-2013, 05:11 PM
q/pa q/pa is offline
Senior Member
 
Join Date: Jan 2013
Location: Germany
Posts: 176
Thanks: 26
Thanked 19 Times in 16 Posts
Default
Hi everyone,

I'm having the same problem. None of my USB flash disks is automounted.

(PCBSD 9.1 x64 on a Lenovo B560 laptop with nvidia 310M/Intel GMA HD graphics (optimus is deactivated in BIOS)).

ls /dev/da*
/dev/da0 /dev/da0s1

file -s /dev/da0
/dev/da0: x86 boot sector, Microsoft Windows XP mbr,Serial 0xb04761; partition 1: ID=0x6, active, starthead 1, startsector 32, 2023392 sectors, code offset 0x33

file -s /dev/da0s1
/dev/da0s1: x86 boot sector; partition 4: ID=0x49, active, starthead 1, startsector 1394627663, 21337 sectors, Microsoft Windows 98 Bootloader, code offset 0x3e, OEM-ID "@SWIN4.1", sectors/cluster 32, root entries 512, Media descriptor 0xf8, sectors/FAT 248, heads 32, hidden sectors 32, sectors 2023392 (volumes > 32 MB) , serial number 0xb04761, label: "DISK_IMG ", FAT (16 bit)

dmesg
ugen0.6: <USB0710B> at usbus0
umass0: <USB0710B Flash Disk, class 0/0, rev 2.00/1.00, addr 6> on usbus0
umass0: SCSI over Bulk-Only; quirks = 0x4100
umass0:4:0:-1: Attached to scbus4
da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
da0: <USB0710B Flash Disk 5.00> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 988MB (2023424 512 byte sectors: 64H 32S/T 988C)


Automounting does work, though, when the flash disk is connected before booting!

Manually mounting does work, too: mount -t msdosfs /dev/da0s1 /mnt/usb

The mount tray doesn't work with any of the tested flash disks, but it works well with the other partitions of my harddisk.
Reply With Quote
Reply

Tags
mount tray, usb

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 03:38 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, 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.