1 |
I noticed similar behavior on the externally connected usb storage devices. |
2 |
|
3 |
On the example of the SD card reader, when you insert the card, /dev/sdb |
4 |
appears, but not the actual partition (/dev/sdb1) |
5 |
|
6 |
So you have to do fdisk /dev/sdb, then quit, then the /dev/sdb1 is |
7 |
magically available for mounting. |
8 |
|
9 |
Think it is an issue with udev. |
10 |
|
11 |
kos |
12 |
|
13 |
-- |
14 |
Respectfully, |
15 |
Konstantin V. Gavrilenko |
16 |
|
17 |
|
18 |
Arhont Ltd - Information Security |
19 |
|
20 |
web: http://www.arhont.com |
21 |
http://www.wi-foo.com |
22 |
e-mail: k.gavrilenko@××××××.com |
23 |
|
24 |
tel: +44 (0) 870 44 31337 |
25 |
fax: +44 (0) 117 969 0141 |
26 |
|
27 |
PGP: Key ID - 0xE81824F4 |
28 |
PGP: Server - keyserver.pgp.com |
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
Petr Kocmid wrote: |
35 |
> On Monday 17 April 2006 17:49, Frédéric Grosshans wrote: |
36 |
> |
37 |
>>Le lundi 17 avril 2006 à 17:26 +0200, Petr Kocmid a écrit : |
38 |
> |
39 |
> |
40 |
>>>What fdisk -l /dev/sda says when you plug it in? You should get something |
41 |
>>>as: |
42 |
>> |
43 |
>>[snip] |
44 |
>>I don't get anything :-( |
45 |
>> sanduleak ~ # fdisk -l /dev/sda |
46 |
>> sanduleak ~ # |
47 |
>> |
48 |
>>This is (sadly) consistent with the lack of /dev/sda1 device. |
49 |
> |
50 |
> |
51 |
> So be it, let's suppose there is something wrong with your udev config. |
52 |
> Please: |
53 |
> |
54 |
> 1. start udevmonitor as root |
55 |
> 2. plug the disk in |
56 |
> 3. post all reported events here |
57 |
> |
58 |
> With that, we can distinguish between some kernel driver issue and wrong udev |
59 |
> config issue. |
60 |
> |
61 |
> An example of mine (plug and unplug): |
62 |
> |
63 |
> udevmonitor prints the received event from the kernel [UEVENT] |
64 |
> and the event which udev sends out after rule processing [UDEV] |
65 |
> |
66 |
> UEVENT[1145286498.800967] |
67 |
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1 |
68 |
> UEVENT[1145286498.801510] |
69 |
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 |
70 |
> UEVENT[1145286498.801871] add@/class/scsi_host/host1 |
71 |
> UEVENT[1145286498.801903] add@/class/usb_device/usbdev2.11 |
72 |
> UDEV [1145286499.117809] |
73 |
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1 |
74 |
> UDEV [1145286500.144200] |
75 |
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 |
76 |
> UDEV [1145286500.189516] add@/class/scsi_host/host1 |
77 |
> UDEV [1145286500.260429] add@/class/usb_device/usbdev2.11 |
78 |
> UEVENT[1145286503.802883] |
79 |
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 |
80 |
> UEVENT[1145286505.816923] add@/block/sda |
81 |
> UEVENT[1145286505.820912] add@/block/sda/sda1 |
82 |
> UEVENT[1145286505.821358] add@/class/scsi_device/1:0:0:0 |
83 |
> UDEV [1145286505.948708] |
84 |
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 |
85 |
> UDEV [1145286506.029988] add@/class/scsi_device/1:0:0:0 |
86 |
> UDEV [1145286506.053558] add@/block/sda |
87 |
> UDEV [1145286506.172919] add@/block/sda/sda1 |
88 |
> UEVENT[1145287609.215202] remove@/class/scsi_device/1:0:0:0 |
89 |
> UEVENT[1145287609.215715] remove@/block/sda/sda1 |
90 |
> UEVENT[1145287609.216008] remove@/block/sda |
91 |
> UEVENT[1145287609.216298] |
92 |
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 |
93 |
> UEVENT[1145287609.216670] remove@/class/scsi_host/host1 |
94 |
> UEVENT[1145287609.216960] |
95 |
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 |
96 |
> UEVENT[1145287609.217293] remove@/class/usb_device/usbdev2.11 |
97 |
> UEVENT[1145287609.217586] |
98 |
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1 |
99 |
> UDEV [1145287609.242609] remove@/class/scsi_device/1:0:0:0 |
100 |
> UDEV [1145287609.475791] remove@/block/sda/sda1 |
101 |
> UDEV [1145287609.527505] remove@/block/sda |
102 |
> UDEV [1145287609.559272] remove@/class/usb_device/usbdev2.11 |
103 |
> UDEV [1145287609.708917] remove@/class/scsi_host/host1 |
104 |
> UDEV [1145287609.714372] |
105 |
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0/host1/target1:0:0/1:0:0:0 |
106 |
> UDEV [1145287609.799645] |
107 |
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0 |
108 |
> UDEV [1145287609.833336] |
109 |
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1 |
110 |
> |
111 |
> |
112 |
> |
113 |
> |
114 |
|
115 |
|
116 |
-- |
117 |
gentoo-user@g.o mailing list |