Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Unable to mount USB sticks using file manager
Date: Sat, 26 Nov 2016 18:55:56
Message-Id: 1990927.Ju8HLAN9fd@dell_xps
1 Hi All,
2
3 I'm not sure what I am missing on a laptop to be able to mount USB sticks as
4 plain user. This laptop has been built with a no-multilib profile. The users
5 are members of the plugdev group.
6
7 I don't want to create an fstab entry to be able to do this, because various
8 USB sticks are being plugged in at any time. In dolphin I get this error
9 reported:
10
11 "An error occurred while accessing '512MB', the system responded: An
12 unspecified error has occurred: Not authorized to perform operation."
13
14 This laptop is using x11-wm/enlightenment-0.20.6, just like other laptops
15 which have no problem mounting USB sticks using a file manager. The only
16 difference being other laptops have multilib profiles.
17
18 When I plug in a USB disk I get:
19 ==================================================
20 Nov 26 18:08:39 [dbus] [system] Activating service
21 name='org.freedesktop.UDisks2' (using servicehelper)
22 Nov 26 18:08:39 [udisksd] udisks daemon version 2.1.7 starting
23 Nov 26 18:08:39 [dbus] [system] Successfully activated service
24 'org.freedesktop.UDisks2'
25 Nov 26 18:08:39 [udisksd] Acquired the name org.freedesktop.UDisks2 on the
26 system message bus
27 Nov 26 18:09:11 [kernel] [ 950.236065] usb 2-1: new high-speed USB device
28 number 3 using ehci-pci
29 Nov 26 18:09:11 [kernel] [ 950.354981] usb 2-1: New USB device found,
30 idVendor=1516, idProduct=8628
31 Nov 26 18:09:11 [kernel] [ 950.354994] usb 2-1: New USB device strings:
32 Mfr=1, Product=2, SerialNumber=3
33 Nov 26 18:09:11 [kernel] [ 950.355001] usb 2-1: Product: Gizmo!
34 overdrive505724545
35 Nov 26 18:09:11 [kernel] [ 950.355073] usb 2-1: Manufacturer: Crucial
36 Nov 26 18:09:11 [kernel] [ 950.355083] usb 2-1: SerialNumber: 505724545
37 Nov 26 18:09:11 [kernel] [ 950.355970] usb-storage 2-1:1.0: USB Mass Storage
38 device detected
39 Nov 26 18:09:11 [kernel] [ 950.357622] scsi host6: usb-storage 2-1:1.0
40 Nov 26 18:09:11 [kernel] [ 950.389457] usbcore: registered new interface
41 driver uas
42 Nov 26 18:09:12 [kernel] [ 951.360232] scsi 6:0:0:0: Direct-Access
43 Crucial Gizmo! overdrive 1.00 PQ: 0 ANSI: 2
44 Nov 26 18:09:12 [kernel] [ 951.360677] sd 6:0:0:0: Attached scsi generic sg2
45 type 0
46 Nov 26 18:09:12 [kernel] [ 951.363207] sd 6:0:0:0: [sdb] 997888 512-byte
47 logical blocks: (511 MB/487 MiB)
48 Nov 26 18:09:12 [kernel] [ 951.365780] sd 6:0:0:0: [sdb] Write Protect is off
49 Nov 26 18:09:12 [kernel] [ 951.366583] sd 6:0:0:0: [sdb] No Caching mode page
50 found
51 Nov 26 18:09:12 [kernel] [ 951.366586] sd 6:0:0:0: [sdb] Assuming drive
52 cache: write through
53 Nov 26 18:09:12 [kernel] [ 951.370104] sdb:
54 Nov 26 18:09:12 [kernel] [ 951.372102] sd 6:0:0:0: [sdb] Attached SCSI
55 removable disk
56 Nov 26 18:10:01 [CROND] (root) CMD (test -x /usr/sbin/run-crons &&
57 /usr/sbin/run-crons)
58 ==================================================
59
60
61 Udisks shows this when I plug in the USB stick:
62 ==============================================
63 $ udisksctl monitor
64 Monitoring the udisks daemon. Press Ctrl+C to exit.
65 18:24:41.715: The udisks-daemon is running (name-owner :1.11).
66 18:24:52.659: Added
67 /org/freedesktop/UDisks2/drives/Crucial_Gizmo_21_overdrive_505724545
68 org.freedesktop.UDisks2.Drive:
69 CanPowerOff: true
70 Configuration: {}
71 ConnectionBus: usb
72 Ejectable: true
73 Id: Crucial-Gizmo!-overdrive-505724545
74 Media:
75 MediaAvailable: true
76 MediaChangeDetected: true
77 MediaCompatibility:
78 MediaRemovable: true
79 Model: Gizmo! overdrive
80 Optical: false
81 OpticalBlank: false
82 OpticalNumAudioTracks: 0
83 OpticalNumDataTracks: 0
84 OpticalNumSessions: 0
85 OpticalNumTracks: 0
86 Removable: true
87 Revision: 1.00
88 RotationRate: -1
89 Seat: seat0
90 Serial: 505724545
91 SiblingId:
92 /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0
93 Size: 510918656
94 SortKey: 01hotplug/1480184692658374
95 TimeDetected: 1480184692658374
96 TimeMediaDetected: 1480184692658374
97 Vendor: Crucial
98 WWN:
99 18:24:52.661: Added /org/freedesktop/UDisks2/block_devices/sdb
100 org.freedesktop.UDisks2.Block:
101 Configuration: []
102 CryptoBackingDevice: '/'
103 Device: /dev/sdb
104 DeviceNumber: 2064
105 Drive:
106 '/org/freedesktop/UDisks2/drives/Crucial_Gizmo_21_overdrive_505724545'
107 HintAuto: true
108 HintIconName:
109 HintIgnore: false
110 HintName:
111 HintPartitionable: true
112 HintSymbolicIconName:
113 HintSystem: false
114 Id: by-uuid-289E-047D
115 IdLabel: 512MB
116 IdType: vfat
117 IdUUID: 289E-047D
118 IdUsage: filesystem
119 IdVersion: FAT16
120 MDRaid: '/'
121 MDRaidMember: '/'
122 PreferredDevice: /dev/sdb
123 ReadOnly: false
124 Size: 510918656
125 Symlinks: /dev/disk/by-id/usb-
126 Crucial_Gizmo__overdrive_505724545-0:0
127 /dev/disk/by-label/512MB
128 /dev/disk/by-path/pci-0000:00:1d.7-
129 usb-0:1:1.0-scsi-0:0:0:0
130 /dev/disk/by-uuid/289E-047D
131 org.freedesktop.UDisks2.Filesystem:
132 MountPoints:
133 ===========================================================
134
135 Trying to mount the USB by using the enlightenment file manager or dolphin,
136 does not generate anything in udisksctl or in the logs ...
137
138 Any ideas?
139 --
140 Regards,
141 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Unable to mount USB sticks using file manager Alexander Kapshuk <alexander.kapshuk@×××××.com>