blob: 08ab814566db11f01fe2c506fedb88ae99785d45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Media mounting broken
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Media%20mounting%20broken&In-Reply-To=%3C4F27B427.1000302%40ono.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="011680.html">
<LINK REL="Next" HREF="011660.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Media mounting broken</H1>
<B>JA Magallón</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Media%20mounting%20broken&In-Reply-To=%3C4F27B427.1000302%40ono.com%3E"
TITLE="[Mageia-dev] Media mounting broken">jamagallon at ono.com
</A><BR>
<I>Tue Jan 31 10:28:07 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="011680.html">[Mageia-dev] [Mageia-discuss] Servers downtime scheduled from Feb. 1 to 2 for maintenance
</A></li>
<LI>Next message: <A HREF="011660.html">[Mageia-dev] Media mounting broken
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11659">[ date ]</a>
<a href="thread.html#11659">[ thread ]</a>
<a href="subject.html#11659">[ subject ]</a>
<a href="author.html#11659">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi all...
Since some time ago, automounting of media (USB, CD) seems gone nuts.
How can I debug this ?
First of all, I have udisks2 installed, not udisks, even if the later
is also in the repos. I suppose newer version supersedes it, as it is
required by gnome-disk-utility (formerly palimpsest).
For example, when inserting a USB thumb drive, udev seems to catch it:
werewolf:~# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[8140.437415] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4 (usb)
KERNEL[8140.437527] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0 (usb)
KERNEL[8140.437682] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17 (scsi)
KERNEL[8140.437767] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/scsi_host/host17 (scsi_host)
UDEV [8140.444785] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4 (usb)
UDEV [8140.449742] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0 (usb)
UDEV [8140.452579] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17 (scsi)
UDEV [8140.455196] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/scsi_host/host17 (scsi_host)
KERNEL[8141.438425] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0 (scsi)
KERNEL[8141.438459] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0 (scsi)
KERNEL[8141.438636] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/scsi_disk/17:0:0:0 (scsi_disk)
KERNEL[8141.438658] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/scsi_device/17:0:0:0 (scsi_device)
KERNEL[8141.438679] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/bsg/17:0:0:0 (bsg)
UDEV [8141.441583] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0 (scsi)
KERNEL[8141.441768] add /devices/virtual/bdi/8:128 (bdi)
UDEV [8141.444283] add /devices/virtual/bdi/8:128 (bdi)
UDEV [8141.444538] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0 (scsi)
UDEV [8141.447279] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/scsi_disk/17:0:0:0 (scsi_disk)
UDEV [8141.447705] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/scsi_device/17:0:0:0 (scsi_device)
UDEV [8141.447880] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/bsg/17:0:0:0 (bsg)
KERNEL[8141.584293] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/block/sdi (block)
KERNEL[8141.584332] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/block/sdi/sdi1 (block)
UDEV [8141.813113] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/block/sdi (block)
UDEV [8141.919823] add /devices/pci0000:00/0000:00:1a.7/usb7/7-4/7-4:1.0/host17/target17:0:0/17:0:0:0/block/sdi/sdi1 (block)
Also udisks2:
werewolf:~# udisksctl monitor
Monitoring the udisks daemon. Press Ctrl+C to exit.
10:22:37.751: The udisks-daemon is running (name-owner :1.65).
10:22:45.296: Added /org/freedesktop/UDisks2/drives/LG_USB_Drive_AA00000000003834
org.freedesktop.UDisks2.Drive:
ConnectionBus: usb
Ejectable: true
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: true
Model: USB Drive
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: true
Revision: 1100
RotationRate: -1
Serial: AA00000000003834
Size: 2029518848
SortKey: 01hotplug/1328001765294221
TimeDetected: 1328001765294221
TimeMediaDetected: 1328001765294221
Vendor: LG
WWN:
10:22:45.298: Added /org/freedesktop/UDisks2/block_devices/sdi
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdi
DeviceNumber: 2176
Drive: '/org/freedesktop/UDisks2/drives/LG_USB_Drive_AA00000000003834'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSystem: false
IdLabel:
IdType:
IdUUID:
IdUsage:
IdVersion:
PreferredDevice: /dev/sdi
ReadOnly: false
Size: 2029518848
Symlinks: /dev/disk/by-id/usb-LG_USB_Drive_AA00000000003834-0:0
/dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0
org.freedesktop.UDisks2.PartitionTable:
Type: dos
10:22:45.403: Added /org/freedesktop/UDisks2/block_devices/sdi1
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdi1
DeviceNumber: 2177
Drive: '/org/freedesktop/UDisks2/drives/LG_USB_Drive_AA00000000003834'
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSystem: false
IdLabel: LG SUSANA
IdType: vfat
IdUUID: F097-3210
IdUsage: filesystem
IdVersion: FAT16
PreferredDevice: /dev/sdi1
ReadOnly: false
Size: 2029502464
Symlinks: /dev/disk/by-id/usb-LG_USB_Drive_AA00000000003834-0:0-part1
/dev/disk/by-label/LG\x20SUSANA
/dev/disk/by-path/pci-0000:00:1a.7-usb-0:4:1.0-scsi-0:0:0:0-part1
/dev/disk/by-uuid/F097-3210
org.freedesktop.UDisks2.Filesystem:
MountPoints:
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 16384
Size: 2029502464
Table: '/org/freedesktop/UDisks2/block_devices/sdi'
Type: 0x06
UUID:
These are the same logs for an empty DVD disk:
udev:
KERNEL[8232.929362] change /devices/pci0000:00/0000:00:1f.2/host5/target5:0:0/5:0:0:0/block/sr0 (block)
UDEV [8232.983491] change /devices/pci0000:00/0000:00:1f.2/host5/target5:0:0/5:0:0:0/block/sr0 (block)
udisks2:
10:24:09.656: /org/freedesktop/UDisks2/drives/WDC_WD3200AVJS_63WDA0_WD_WCARW2347788: org.freedesktop.UDisks2.Drive.Ata: Properties Changed
SmartUpdated: 1328001849
10:24:09.827: /org/freedesktop/UDisks2/drives/ST3320620AS_6QF1QZVN: org.freedesktop.UDisks2.Drive.Ata: Properties Changed
SmartUpdated: 1328001849
10:24:09.980: /org/freedesktop/UDisks2/drives/ST3500418AS_5VM8G8RY: org.freedesktop.UDisks2.Drive.Ata: Properties Changed
SmartUpdated: 1328001849
10:24:10.159: /org/freedesktop/UDisks2/drives/ST3250310AS_5RY14KMR: org.freedesktop.UDisks2.Drive.Ata: Properties Changed
SmartUpdated: 1328001850
10:24:16.466: /org/freedesktop/UDisks2/drives/HL_DT_ST_DVDRAM_GH22NS50_K1197AJ3056: org.freedesktop.UDisks2.Drive: Properties Changed
TimeMediaDetected: 1328001856464043
OpticalNumTracks: 1
OpticalNumSessions: 1
OpticalBlank: true
Optical: true
Media: optical_dvd_r
MediaAvailable: true
Size: 2048
10:24:16.466: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed
Size: 2048
And these for a Mageia-1 install DVD:
udev:
KERNEL[8366.561352] change /devices/pci0000:00/0000:00:1f.2/host5/target5:0:0/5:0:0:0/block/sr0 (block)
UDEV [8375.155151] change /devices/pci0000:00/0000:00:1f.2/host5/target5:0:0/5:0:0:0/block/sr0 (block)
udisks2:
10:26:38.636: /org/freedesktop/UDisks2/block_devices/sr0: Added interface org.freedesktop.UDisks2.Filesystem
MountPoints:
10:26:38.637: /org/freedesktop/UDisks2/drives/HL_DT_ST_DVDRAM_GH22NS50_K1197AJ3056: org.freedesktop.UDisks2.Drive: Properties Changed
TimeMediaDetected: 1328001998635413
OpticalNumDataTracks: 1
OpticalNumTracks: 1
OpticalNumSessions: 1
Optical: true
Media: optical_dvd
MediaAvailable: true
Size: 3906994176
10:26:38.638: /org/freedesktop/UDisks2/block_devices/sr0: org.freedesktop.UDisks2.Block: Properties Changed
IdLabel: 1-x86_64
IdType: iso9660
IdUsage: filesystem
Size: 3906994176
Symlinks: /dev/cdrom1
/dev/cdrw1
/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH22NS50_K1197AJ3056
/dev/disk/by-id/wwn-0x5001480000000000
/dev/disk/by-label/1-x86_64
/dev/disk/by-path/pci-0000:00:1f.2-scsi-5:0:0:0
/dev/dvd1
/dev/dvdrw1
So what is the next step to check ?
--
J.A. Magallon <jamagallon()ono!com> \ Winter is coming...
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="011680.html">[Mageia-dev] [Mageia-discuss] Servers downtime scheduled from Feb. 1 to 2 for maintenance
</A></li>
<LI>Next message: <A HREF="011660.html">[Mageia-dev] Media mounting broken
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11659">[ date ]</a>
<a href="thread.html#11659">[ thread ]</a>
<a href="subject.html#11659">[ subject ]</a>
<a href="author.html#11659">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|