Hi everyone,

I am experiencing some problems with USB memory devices (memory sticks and compact flash through a USB adaptor). When I plug them, the kernel recognises them, but for some unknown reason, the corresponding devices for the partitions under /dev do not appear. If I invoke fdisk twice, these devices finally appear.

Let me rephrase it with an example. A few seconds after plugging a USB memory stick, /dev/uba appears. If I try to mount /dev/uba1, it fails. Then I invoke "fdisk -l /dev/uba" twice and then the mounting succeds. This happens both with the low performance USB block driver (/dev/ub?) and the SCSI emulation (dev/sd?), compiled into separate kernels. I have read somewhere else that using directly /dev/uba should do the trick, but I cannot erase the partitions.

On the other hand, if I plug the USB memory stick *before* booting, the kernel recognizes it and the devices are properly created (a least with the low performance USB block driver, the SCSI emulation does not seem to work that good). This leads me to think that there is something wrong in udev or hotplug, but I do not know very well this packages.

I have been looking at the mailing list and back in 2004 (29/05/2004) something like that was reported, but since at that time kernel 2.4 was used, I do not think that the answer applies.

Has anybody had these problems? I would appreciate any hint or pointer on where to look for an answer.

Thanks in advance,

Pedro
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to