I noticed similar behavior on the externally connected usb storage devices.

On the example of the SD card reader, when you insert the card, /dev/sdb
appears, but not the actual partition (/dev/sdb1)

So you have to do fdisk /dev/sdb, then quit, then the /dev/sdb1 is
magically available for mounting.

Think it is an issue with udev.

kos

-- 
Respectfully,
Konstantin V. Gavrilenko


Arhont Ltd - Information Security

web:    http://www.arhont.com
        http://www.wi-foo.com
e-mail: [EMAIL PROTECTED]

tel: +44 (0) 870 44 31337
fax: +44 (0) 117 969 0141

PGP: Key ID - 0xE81824F4
PGP: Server - keyserver.pgp.com





Petr Kocmid wrote:
> On Monday 17 April 2006 17:49, Frédéric Grosshans wrote:
> 
>>Le lundi 17 avril 2006 à 17:26 +0200, Petr Kocmid a écrit :
> 
> 
>>>What fdisk -l /dev/sda says when you plug it in? You should get something
>>>as:
>>
>>[snip]
>>I don't get anything :-(
>>      sanduleak ~ # fdisk -l /dev/sda
>>      sanduleak ~ #
>>
>>This is (sadly) consistent with the lack of /dev/sda1 device.
> 
> 
> So be it, let's suppose there is something wrong with your udev config. 
> Please:
> 
> 1. start udevmonitor as root
> 2. plug the disk in
> 3. post all reported events here
> 
> With that, we can distinguish between some kernel driver issue and wrong udev 
> config issue.
> 
> An example of mine (plug and unplug):
> 
> udevmonitor prints the received event from the kernel [UEVENT]
> and the event which udev sends out after rule processing [UDEV]
> 
> UEVENT[1145286498.800967] 
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1
> UEVENT[1145286498.801510] 
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0
> UEVENT[1145286498.801871] add@/class/scsi_host/host1
> UEVENT[1145286498.801903] add@/class/usb_device/usbdev2.11
> UDEV  [1145286499.117809] 
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1
> UDEV  [1145286500.144200] 
> add@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0
> UDEV  [1145286500.189516] add@/class/scsi_host/host1
> UDEV  [1145286500.260429] add@/class/usb_device/usbdev2.11
> UEVENT[1145286503.802883] 
> 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
> UEVENT[1145286505.816923] add@/block/sda
> UEVENT[1145286505.820912] add@/block/sda/sda1
> UEVENT[1145286505.821358] add@/class/scsi_device/1:0:0:0
> UDEV  [1145286505.948708] 
> 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
> UDEV  [1145286506.029988] add@/class/scsi_device/1:0:0:0
> UDEV  [1145286506.053558] add@/block/sda
> UDEV  [1145286506.172919] add@/block/sda/sda1
> UEVENT[1145287609.215202] remove@/class/scsi_device/1:0:0:0
> UEVENT[1145287609.215715] remove@/block/sda/sda1
> UEVENT[1145287609.216008] remove@/block/sda
> UEVENT[1145287609.216298] 
> 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
> UEVENT[1145287609.216670] remove@/class/scsi_host/host1
> UEVENT[1145287609.216960] 
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0
> UEVENT[1145287609.217293] remove@/class/usb_device/usbdev2.11
> UEVENT[1145287609.217586] 
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1
> UDEV  [1145287609.242609] remove@/class/scsi_device/1:0:0:0
> UDEV  [1145287609.475791] remove@/block/sda/sda1
> UDEV  [1145287609.527505] remove@/block/sda
> UDEV  [1145287609.559272] remove@/class/usb_device/usbdev2.11
> UDEV  [1145287609.708917] remove@/class/scsi_host/host1
> UDEV  [1145287609.714372] 
> 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
> UDEV  [1145287609.799645] 
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1/2-4.1:1.0
> UDEV  [1145287609.833336] 
> remove@/devices/pci0000:00/0000:00:14.4/0000:02:0e.2/usb2/2-4/2-4.1
> 
> 
> 
> 


-- 
gentoo-user@gentoo.org mailing list

Reply via email to