[PC-BSD Testing] PCBSD 9.0-RC1 USB Mount Problem (continued)

Paul Dufresne dufresnep at gmail.com
Tue Nov 1 08:41:24 PDT 2011


I too would have some problems with my other 8 GB usb keys.
Same mark same model. One would work fine, the other not.

One would say DBUS error org.freedesktop.DBUS.Error.NoReply: Message
did not receive a reply.

dmesg last lines would show:
ugen4.2: <FLASH> at usbus4
umass0: <FLASH Drive SKUSB20, class 0/0, rev 2.00/0.00, addr 2> on usbus4
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:3:0:-1: Attached to scbus3
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <FLASH Drive SK_USB20 1.00> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 7830MB (16035840 512 byte sectors: 255H 63S/T 998C)
ugen4.2: <FLASH> at usbus4 (disconnected)
umass0: at uhub4, port 2, addr 2 (disconnected)
(da0:umass-sim0:0:0:0): lost device - 0 outstanding
(da0:umass-sim0:0:0:0): removing device entry
ugen4.2: <FLASH> at usbus4
umass0: <FLASH Drive SKUSB20, class 0/0, rev 2.00/0.00, addr 2> on usbus4
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:3:0:-1: Attached to scbus3
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <FLASH Drive SK_USB20 1.00> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 7830MB (16035840 512 byte sectors: 255H 63S/T 998C)
pid 6401 (gvfs-hal-volume-mon), uid 1001: exited on signal 11
[root at pcbsd-3091] ~#

Well, I wanted to say something too about msdos filesystem support.
When trying to 'mkfs.msdos' on a usb key of 2GB, I would have two
errors... something like not enough sectors.

Was thinking about finding where mkfs.msdos was coming from, and see
if it is not an old version that would not know how to handle 2048
bytes sectors (that what fdisk reported for this usb key).

But I did not figure out from which port, mkfs.msdos is coming from yet.

Let me retry to give some meat to this message:
hum... cannot redo... last time I saved the partition table empty in
the hope that XP would
be able to format it... it did not.

Now, I seems to not be able to see the disk anymore:
dmesg | tail:
umass0: <FLASH Drive SKUSB20, class 0/0, rev 2.00/0.00, addr 2> on usbus4
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:3:0:-1: Attached to scbus3
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <FLASH Drive SK_USB20 1.00> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 7830MB (16035840 512 byte sectors: 255H 63S/T 998C)
pid 6401 (gvfs-hal-volume-mon), uid 1001: exited on signal 11
ugen4.2: <FLASH> at usbus4 (disconnected)
umass0: at uhub4, port 2, addr 2 (disconnected)
(da0:umass-sim0:0:0:0): lost device - 0 outstanding
(da0:umass-sim0:0:0:0): removing device entry
deget(): pcbmap returned 6
deget(): pcbmap returned 6
deget(): pcbmap returned 6
ugen4.2: <USB MF> at usbus4
umass0: <Internal Device> on usbus4
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:3:0:-1: Attached to scbus3
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <SigmaTel MSCN 0100> Removable Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 1928MB (493568 4096 byte sectors: 255H 63S/T 30C)
deget(): pcbmap returned 6
deget(): pcbmap returned 6
deget(): pcbmap returned 6
deget(): pcbmap returned 6
deget(): pcbmap returned 6
deget(): pcbmap returned 6
[root at pcbsd-3091] ~#
[root at pcbsd-3091] ~# ls -lh /dev/da*
crw-rw-rw-  1 root  operator    0, 126 Nov  1 11:33 /dev/da0
[root at pcbsd-3091] ~# fdisk /dev/da0
fdisk: could not detect sector size
[root at pcbsd-3091] ~#

2011/11/1, Kris Moore <kris at pcbsd.org>:
> On 10/26/2011 15:18, Ian Robinson wrote:
>> Ian Robinson previous said:
>>
>> Re:  USB mounting -- Although the system recognizes that a USB thumb
>> drive or USB hard disk has been connected (and little graphic window
>> pops up near the clock), the system generates an error and will not
>> mount USB stick or USB [hard] drive.
>>
>> Following up on this, the USB stick was formated FAT32; the USB Hard
>> Disk was formatted NTFS.  The specific error message for the FAT32
>> memory stick was:
>>
>> "An error occurred while accessing '244.7 MB Removable Media', the
>> system responded: org.freebsd.HAL.Device.Volume.UnknownFailure:
>> mount_msdosfs:  C: no such file or directory"
>>
>> I can mount the drives from the command line.
>>
>> Since one must be root to execute a mount, I thus wonder whether this
>> is a rights issue where the mounting routine requires some switch to
>> root to complete the mount.   I do not remember having this problem
>> with the BETA versions.
>>
>> --
>> Ian Robinson
>> Salem, Ohio
>>
>>
>>
>> _______________________________________________
>> Testing mailing list
>> Testing at lists.pcbsd.org
>> http://lists.pcbsd.org/mailman/listinfo/testing
>
> Fixed this for RC2. In the meantime you can fix by editing /etc/profile
> and /etc/csh.cshrc. Make sure to un-comment the LANG=en_US.UTF-8 in both.
>
> --
> Kris Moore
> PC-BSD Software
> iXsystems
>
>


More information about the Testing mailing list