View previous topic :: View next topic |
Author |
Message |
Rainer06 n00b
Joined: 25 Mar 2006 Posts: 13 Location: Nuremberg
|
Posted: Mon Jun 17, 2013 7:14 pm Post subject: USB stick does not mount |
|
|
Hi,
It seems that automounting is no longer working out-of-the-box in Gentoo.
Neither Gnome nor KDE would mount my USB stick in Gentoo with ~amd64 keyword.
The same USB stick was automounting in Gentoo about 1 year ago.
There is some output from udiskctl though when plugging in the USB stick:
# udisksctl monitor
Monitoring the udisks daemon. Press Ctrl+C to exit.
21:11:11.780: The udisks-daemon is running (name-owner :1.25).
21:11:17.641: Added /org/freedesktop/UDisks2/drives/Generic__USB3_2e0_CRW_____0_000000009092
org.freedesktop.UDisks2.Drive:
CanPowerOff: true
Configuration: {}
ConnectionBus: usb
Ejectable: true
Id: Generic--USB3.0-CRW-----0-000000009092
Media:
MediaAvailable: false
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: true
Model: USB3.0 CRW -0
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: true
Revision: 1.00
RotationRate: -1
Seat: seat0
Serial: 000000009092
SiblingId: /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0
Size: 0
SortKey: 01hotplug/1371496277637658
TimeDetected: 1371496277637658
TimeMediaDetected: 0
Vendor: Generic-
WWN:
21:11:17.650: Added /org/freedesktop/UDisks2/block_devices/sdf
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdf
DeviceNumber: 2128
Drive: '/org/freedesktop/UDisks2/drives/Generic__USB3_2e0_CRW_____0_000000009092'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id:
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdf
ReadOnly: false
Size: 0
Symlinks: /dev/disk/by-id/usb-Generic-_USB3.0_CRW_-0_000000009092-0:0
/dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:0
Unfortunately, all attempts to mount the USB stick fail.
I would appreciate all suggestions what I have to do to mount the USB stick.
Thank you. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Jun 17, 2013 7:28 pm Post subject: |
|
|
What happens when you use udisksctl to mount the stick from terminal ? |
|
Back to top |
|
|
Rainer06 n00b
Joined: 25 Mar 2006 Posts: 13 Location: Nuremberg
|
Posted: Tue Jun 18, 2013 4:29 am Post subject: |
|
|
# udisksctl mount --block-device /dev/sdf
Object /org/freedesktop/UDisks2/block_devices/sdf is not a mountable filesystem.
# udisks --mount /dev/sdf
Mount failed: Error mounting: mount: no medium found on /dev/sdf |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Jun 18, 2013 9:43 am Post subject: |
|
|
That's a bit odd.
Can 'mount' mount it ? |
|
Back to top |
|
|
Rainer06 n00b
Joined: 25 Mar 2006 Posts: 13 Location: Nuremberg
|
Posted: Wed Jun 19, 2013 6:00 am Post subject: |
|
|
No, I cannot mount it either, the error message is the same:
# mount /dev/sdf /mnt
mount: no medium found on /dev/sdf
I am quite lost, the stick was mounting before
and there is a filesystem which can be mounted.
The problem may be related to the particular
USB stick having a Realtek chip. I have tried
other USB sticks and they can be mounted.
However, the Hardware support for the
Realtek chip is enabled in the kernel,
and the same USB stick was mounting
with some older udev and before udisk
was introduced... |
|
Back to top |
|
|
Rainer06 n00b
Joined: 25 Mar 2006 Posts: 13 Location: Nuremberg
|
Posted: Wed Jun 19, 2013 6:02 am Post subject: |
|
|
lsusb yields the following for the USB stick:
Bus 002 Device 035: ID 0bda:0306 Realtek Semiconductor Corp. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Jun 19, 2013 8:53 am Post subject: |
|
|
That little thing: if 'mount' can't mount it, udisks plays no role here. |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Wed Jun 19, 2013 8:00 pm Post subject: |
|
|
it says its usb3, did you investigate enabling usb3? ive seen posts saying that usb3 support is its own kernel option. |
|
Back to top |
|
|
Rainer06 n00b
Joined: 25 Mar 2006 Posts: 13 Location: Nuremberg
|
Posted: Wed Jun 19, 2013 8:25 pm Post subject: |
|
|
Thank you for the suggestion regarding USB3.
I have checked the kernel configuration and
xHCI HCD (USB 3.0) support is enabled. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Wed Jun 19, 2013 9:10 pm Post subject: |
|
|
Have you checked the USB stick? It may be dead. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
Rainer06 n00b
Joined: 25 Mar 2006 Posts: 13 Location: Nuremberg
|
Posted: Thu Jun 20, 2013 5:40 am Post subject: |
|
|
Yes, the problem was with the Hardware itself.
The USB stick is an adaptor for SD and micro-SD cards.
I was using two adaptors at the same time:
I was using a micro-SD card in a micro-SD-to-SD adaptor
which was then plugged into the SD card port of the USB stick.
Plugging in the micro-SD card directly into the
micro-SD port of the USB stick is working.
Thank you for all the feedback and support!
Now I just would like to learn about the new
handling of removable media in Linux.
Do you know of any good overview or Wiki web site for that?
It seems that the old mount points /mnt/xxxx
are no longer used and can be removed?
It seems that there is no "eject" functionality any more?
It seems that there is no notification in KDE or Gnome
about mounting the removable media in /run/media/<username> ? |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Jun 20, 2013 8:25 am Post subject: |
|
|
For Gnome, useflags on gvfs matter, for KDE - IIRC it's solid.
The path, where it gets mounted, doesn't matter either way, as in both the backend receives the path in response, if mounting is successful. |
|
Back to top |
|
|
editheraven n00b
Joined: 22 Oct 2013 Posts: 1
|
Posted: Tue Oct 22, 2013 3:08 pm Post subject: |
|
|
I have solved this problem like this : I connected it to an android device (4.0.1+), it asked to format the device, I have waited and voila : the device is recognised now and fully working. I don't know why linux have trouble opening the device. |
|
Back to top |
|
|
|