Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB stick does not mount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Rainer06
n00b
n00b


Joined: 25 Mar 2006
Posts: 13
Location: Nuremberg

PostPosted: Mon Jun 17, 2013 7:14 pm    Post subject: USB stick does not mount Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5438

PostPosted: Mon Jun 17, 2013 7:28 pm    Post subject: Reply with quote

What happens when you use udisksctl to mount the stick from terminal ?
Back to top
View user's profile Send private message
Rainer06
n00b
n00b


Joined: 25 Mar 2006
Posts: 13
Location: Nuremberg

PostPosted: Tue Jun 18, 2013 4:29 am    Post subject: Reply with quote

# 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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5438

PostPosted: Tue Jun 18, 2013 9:43 am    Post subject: Reply with quote

That's a bit odd.
Can 'mount' mount it ?
Back to top
View user's profile Send private message
Rainer06
n00b
n00b


Joined: 25 Mar 2006
Posts: 13
Location: Nuremberg

PostPosted: Wed Jun 19, 2013 6:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Rainer06
n00b
n00b


Joined: 25 Mar 2006
Posts: 13
Location: Nuremberg

PostPosted: Wed Jun 19, 2013 6:02 am    Post subject: Reply with quote

lsusb yields the following for the USB stick:

Bus 002 Device 035: ID 0bda:0306 Realtek Semiconductor Corp.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5438

PostPosted: Wed Jun 19, 2013 8:53 am    Post subject: Reply with quote

That little thing: if 'mount' can't mount it, udisks plays no role here.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1235
Location: 42.68n 85.41w

PostPosted: Wed Jun 19, 2013 8:00 pm    Post subject: Reply with quote

it says its usb3, did you investigate enabling usb3? ive seen posts saying that usb3 support is its own kernel option.
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
https://wiki.gentoo.org/index.php?title=Special:Contributions/666threesixes666&offset=&limit=500&target=666threesixes666
Back to top
View user's profile Send private message
Rainer06
n00b
n00b


Joined: 25 Mar 2006
Posts: 13
Location: Nuremberg

PostPosted: Wed Jun 19, 2013 8:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1393

PostPosted: Wed Jun 19, 2013 9:10 pm    Post subject: Reply with quote

Have you checked the USB stick? It may be dead.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Rainer06
n00b
n00b


Joined: 25 Mar 2006
Posts: 13
Location: Nuremberg

PostPosted: Thu Jun 20, 2013 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5438

PostPosted: Thu Jun 20, 2013 8:25 am    Post subject: Reply with quote

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
View user's profile Send private message
editheraven
n00b
n00b


Joined: 22 Oct 2013
Posts: 1

PostPosted: Tue Oct 22, 2013 3:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum