[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#733651: general: Any USB card reader works only after being replugged.



Package: general
Severity: grave
Justification: renders package unusable

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

After system reboot or replugging USB card reader into USB slot, the SD or MMC
or Memory Stick card appears in /dev/disks/by-id, say as /dev/sde,  and in
Nautilus panel.
After unmounting it from Nautilus or from command line it disappears as it
should.
But if memory card is pulled out and inserted again, it does not appear again
in Nautilus and dmesg shows no reaction.
At the same time the device /dev/sde still exists, even if memory card is
absent.
If I issue "fdisk -l /dev/sde" with inserted card, it appears in Nautilus and
in dmesg:

[ 4713.404064] sd 6:0:0:0: [sde] 62666752 512-byte logical blocks: (32.0
GB/29.8 GiB)
[ 4713.405183] sd 6:0:0:0: [sde] No Caching mode page found
[ 4713.405191] sd 6:0:0:0: [sde] Assuming drive cache: write through
[ 4713.407902] sd 6:0:0:0: [sde] No Caching mode page found
[ 4713.407911] sd 6:0:0:0: [sde] Assuming drive cache: write through
[ 4713.409345]  sde: sde1
[ 4713.821575] EXT4-fs (sde1): recovery complete
[ 4713.824733] EXT4-fs (sde1): mounted filesystem with ordered data mode. Opts:
(null)

If I unplug the mamory card, dmesg says:

[ 4779.180564] sde: detected capacity change from 32085377024 to 0

This behaviour began in september 2013 as far as I remember.
It was annoying, I thought my card reader was broken and I replaced it, but
problem still remained.
So it is a bug.

Affects cryptdisks as the key is stored on SD card.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (630, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: