Package: udev
Version: 0.056-3
Severity: serious

Hi,

udev seems to be not working properly when I plug in/out my usb CF/SM/SD
card reader, plug it out, and plug it in again.  After plugging it out,
some devices seem to be left, after plugging it in some aren't created.
After some time it seems to try to correct itself, but sometimes removes
drives that really still are there.

It also not creating /dev/sda1 at the time I plug in the CF card while
the kernel does detect that I plug it in.  It only seems to detect it
after 5 minutes or something.

Example:
~$ ls -l /dev/sd*
brw-r-----  1 root hal 8,  0 Jul 12 19:04 /dev/sda
brw-r-----  1 root hal 8,  1 Jul 12 19:06 /dev/sda1
brw-r-----  1 root hal 8, 16 Jul 12 19:00 /dev/sdb
brw-r-----  1 root hal 8, 48 Jul 12 19:00 /dev/sdd
brw-r-----  1 root hal 8, 64 Jul 12 19:00 /dev/sde

Then I plug things out, and get:
brw-r-----  1 root hal 8, 0 Jul 12 19:04 /dev/sda

dmesg showed:
usb 1-2: USB disconnect, address 6


It's still showing sda for some reason while it does not exists.

If I know plug it in dmesg showed:
usb 1-2: new full speed USB device using address 7
scsi4 : SCSI emulation for USB Mass Storage devices
  Vendor: USB CRW   Model: CF Card       CF  Rev: 1.4F
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 1006992 512-byte hdwr sectors (516 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
 /dev/scsi/host4/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi4, channel 0, id 0, lun 0
  Vendor: USB CRW   Model: MS card       MS  Rev: 1.4F
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi4, channel 0, id 0, lun 1
  Vendor: USB CRW   Model: SM card       SM  Rev: 1.4F
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdd at scsi4, channel 0, id 0, lun 2
  Vendor: USB CRW   Model: SD card   MMC/SD  Rev: 1.4F
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sde at scsi4, channel 0, id 0, lun 3
USB Mass Storage device found at 7

And I see:
brw-r-----  1 root hal 8, 0 Jul 12 19:04 /dev/sda

Which is not what I expect.  I get to expect the input from the first
time again.

After about 1 minutes I get:
brw-r-----  1 root hal 8, 16 Jul 12 19:11 /dev/sdb
brw-r-----  1 root hal 8, 48 Jul 12 19:11 /dev/sdd
brw-r-----  1 root hal 8, 64 Jul 12 19:11 /dev/sde

Which really isn't what I want, now sda is completly gone.


Waiting 2 minutes, I get:
brw-r-----  1 root hal 8,  0 Jul 12 19:13 /dev/sda
brw-r-----  1 root hal 8, 16 Jul 12 19:11 /dev/sdb
brw-r-----  1 root hal 8, 48 Jul 12 19:11 /dev/sdd
brw-r-----  1 root hal 8, 64 Jul 12 19:11 /dev/sde

Which is better, but it's still missing sda1


After waiting for some more I get:
brw-r-----  1 root hal 8,  0 Jul 12 19:13 /dev/sda
brw-r-----  1 root hal 8,  1 Jul 12 19:15 /dev/sda1
brw-r-----  1 root hal 8, 16 Jul 12 19:11 /dev/sdb
brw-r-----  1 root hal 8, 48 Jul 12 19:11 /dev/sdd
brw-r-----  1 root hal 8, 64 Jul 12 19:11 /dev/sde

Which is what I expect to get at the moment I plugged it in, not 5
minutes after plugging it in.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to