23721
![]() |
|
|
|
|
|||||||
| Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Code:
# ll /dev/da* ls: No match. Code:
# camcontrol devlist <SEMC Int.Memory 0000> at scbus0 target 0 lun 0 (da0,pass0) <SEMC Mem-Stick 0000> at scbus1 target 0 lun 0 (da1,pass1) Code:
# ll /dev/da* crw-r----- 1 root operator - 0, 147 Dec 14 20:37:26 2009 /dev/da0 crw-r----- 1 root operator - 0, 149 Dec 14 20:37:27 2009 /dev/da1 "Something" made it ready/loaded, as I did: Code:
# camcontrol load da1 Code:
hald_enable="YES" dbus_enable="YES" Code:
# camcontrol rescan all Re-scan of bus 0 was successful Re-scan of bus 1 was successful Code:
# ll /dev/da* crw-r----- 1 root operator - 0, 147 Dec 14 20:37:26 2009 /dev/da0 crw-r----- 1 root operator - 0, 149 Dec 14 20:37:27 2009 /dev/da1 So I do this: Code:
# mount -t msdosfs -o -m=600,-M=700 /dev/da1s1 ~/mobile mount_msdosfs: /dev/da1s1: No such file or directory Excluding slice 1 Code:
# mount -t msdosfs -o -m=600,-M=700 /dev/da1 ~/mobile mount_msdosfs: /dev/da1: Invalid argument Code:
# ll /dev/da* crw-r----- 1 root operator - 0, 147 Dec 14 20:37:26 2009 /dev/da0 crw-r----- 1 root operator - 0, 149 Dec 14 20:37:27 2009 /dev/da1 crw-r----- 1 root operator - 0, 150 Dec 14 20:46:21 2009 /dev/da1s1 Code:
# mount -t msdosfs -o -m=600,-M=700 /dev/da1s1 ~/mobile Is this a bug? |
|
#2
|
|||
|
|||
|
Maybe explained by my post and others in the thread Nov 2008.
"Can't mount usb flash drive" (desktop usage >> Multimedia subforum(s).) |
|
#3
|
||||
|
||||
|
I disagree with you.
Those post are nothing but a trial and error attempts, with no final solution. I will be very simple. Concentrate on this: When I plugin USB device, I want it to immidieatly show as: Code:
# ll /dev/da* crw-r----- 1 root operator - 0, 147 Dec 14 20:37:26 2009 /dev/da0 crw-r----- 1 root operator - 0, 150 Dec 14 20:46:21 2009 /dev/da0s1 crw-r----- 1 root operator - 0, 149 Dec 14 20:37:27 2009 /dev/da1 crw-r----- 1 root operator - 0, 150 Dec 14 20:46:21 2009 /dev/da1s1 Code:
# ll /dev/da* crw-r----- 1 root operator - 0, 147 Dec 14 20:37:26 2009 /dev/da0 crw-r----- 1 root operator - 0, 149 Dec 14 20:37:27 2009 /dev/da1 |
|
#4
|
|||
|
|||
|
(My 8.0-RELEASE does exactly the same with HTC Dream/T-mobile G1.)
|
|
#5
|
|||
|
|||
|
Could be a bug or a regression. Did it behave similarly on 7.x or you have only tried 8.0?
Also, I'm just curious. Why do you enable HAL if you want to manually mount the device? Isn't HAL usually used to auto-detect and auto-mount devices?
__________________
May the source be with you! |
|
#6
|
|||
|
|||
|
I have tried on 7.1-RELEASE-p8: it's the same.
|
|
#7
|
||||
|
||||
|
I use hal because other ports need it(ie: Xorg). Not because this exact case.
It sucks a big time, a fact, that you first have to intentionally cause an error, with attempt to mount device itself in order for device to be rescanned by OS and to properly show device's slices in /dev |
|
#8
|
|||
|
|||
|
I recollect one of the moderators on this or
daemonforums.org explaining it better. |
|
#9
|
|||
|
|||
|
Has someone filed a PR?
|
|
#10
|
||||
|
||||
|
I did not.
![]() Actually..., I've never done such a thing, so I have no experience with it. If someone did, than post a link to it, so we could track a progress. |
|
#11
|
|||
|
|||
|
It's best if someone who can reproduce the bug logs the PR...
|
|
#12
|
|||
|
|||
|
Does stopping hald solve the problem?
|
|
#13
|
||||
|
||||
|
I booted without hald.
It didn't affect issue in any way, except that mouse worked in default console, but not when I started X. I must notice that after a reebot, with usb memory leaved plugged in, all devices were properly showed with theirs slices in /dev/da* This type of scan is obviously not initiated when usb is plugged in afterwords. |
|
#14
|
|||
|
|||
|
You aren't connecting indirectly through an external USB hub, are you?
__________________
May the source be with you! |
|
#15
|
||||
|
||||
|
No, I simply plug it in a usb slot on my midi case
|
|
#16
|
|||
|
|||
|
And other devices such as mice or pendrives work fine?
__________________
May the source be with you! |
|
#17
|
|||
|
|||
|
Frontend ports by any chance? If so, try the ports on the back of the case also. I have seen some motherboards where the front / back usb ports worked differently.
__________________
Torfinn |
|
#18
|
|||
|
|||
|
That's why I'm asking the above question. These may all be connected to 1 root hub only. You may check the MoBo diagrams, but I thought plugging a pendrive or mouse in was easier.
__________________
May the source be with you! |
|
#19
|
||||
|
||||
|
In a back of a case are 4 usb slots.(directly on a MB)
In front of a case are 2 usb slots.(wired to MB) usb mouse and this mem are always plugged in front case usb slots. Now I've attached mem in a back of a case. Nothing changed. |
|
#20
|
||||
|
||||
|
I tried it on a laptop and all is same.
Here are some sys messages Code:
da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: <SEMC Mem-Stick 0000> Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present Code:
GEOM: da1: partition 1 does not start on a track boundary. GEOM: da1: partition 1 does not end on a track boundary. |
|
#21
|
|||
|
|||
|
Then destroy the slices, recreate them and do a newfs.
__________________
May the source be with you! |
|
#22
|
||||
|
||||
|
But this is a mobile phone.
I simply bought it formatted "as is". Factory did this. |
|
#23
|
||||
|
||||
|
But this doesn't explain, why is all properly displayed/detected, if USB device is attached prior to booting.
If I attach USB device afterwards, then I have to initiate an error, in order to get a properly displayed/detected devices/slices |
|
#24
|
|||
|
|||
|
My phone also formats its memory card with no regard to cylinder boundaries, but I don't have this problem...
|
|
#25
|
||||
|
||||
|
Quote:
Code:
... da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: <SEMC Int.Memory 0000> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (probe1:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe1:umass-sim1:1:0:0): CAM Status: SCSI Status Error (probe1:umass-sim1:1:0:0): SCSI Status: Check Condition (probe1:umass-sim1:1:0:0): UNIT ATTENTION asc:29,0 (probe1:umass-sim1:1:0:0): Power on, reset, or bus device reset occurred (probe1:umass-sim1:1:0:0): Retrying Command (per Sense Data) (probe1:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe1:umass-sim1:1:0:0): CAM Status: SCSI Status Error (probe1:umass-sim1:1:0:0): SCSI Status: Check Condition (probe1:umass-sim1:1:0:0): NOT READY asc:3a,0 (probe1:umass-sim1:1:0:0): Medium not present (probe1:umass-sim1:1:0:0): Unretryable error da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: <SEMC Mem-Stick 0000> Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present can't re-use a leaf (minimum_cmd_size)! ugen4.2: <Sony Ericsson> at usbus4 (disconnected) umass0: at uhub4, port 2, addr 2 (disconnected) (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry umass1: at uhub4, port 2, addr 2 (disconnected) (da1:umass-sim1:1:0:0): lost device (da1:umass-sim1:1:0:0): removing device entry Any indication to this issue? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOWTO: GELI+ZFS for whole system inc. root with boot from USB stick | donnex | Howtos & FAQs (Moderated) | 21 | October 14th, 2011 21:58 |
| Encrypting a File System: No pass w/usb key | ieska328 | General | 1 | July 2nd, 2009 17:06 |
| Install USB mouse, after install system | centurion | Installing & Upgrading | 21 | March 21st, 2009 02:32 |
| gnome-system-monitor's bug. | fender0107401 | GNOME | 1 | March 9th, 2009 04:25 |
| Cant use my web cam | alie | Peripheral Hardware | 1 | February 10th, 2009 16:19 |