SD-Card slot empty but Kernel think it's attached

Bug #994414 reported by Daniel Mehrmann on 2012-05-04
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

Well, my Netbook has a normal harddisk and a SD-Card slot reader. My main disk runs fine:

[ 1.450126] ata1.00: ATA-8: SAMSUNG HM400LI, 2TF00_00, max UDMA7
[ 1.450160] ata1.00: 781422768 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 1.466126] ata1.00: configured for UDMA/133
[ 1.466581] scsi 0:0:0:0: Direct-Access ATA SAMSUNG HM400LI 2TF0 PQ: 0 ANSI: 5
[ 1.466990] sd 0:0:0:0: [sda] 781422768 512-byte logical blocks: (400 GB/372 GiB)
[ 1.467089] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1.467252] sd 0:0:0:0: [sda] Write Protect is off
[ 1.467272] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.467392] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.503545] sda: sda1 sda2 sda3
[ 1.504727] sd 0:0:0:0: [sda] Attached SCSI disk

But my SD-Card reader slot is always empty and i never used a card before.
Every time my system starts the kernel found it and attach a device, which might
be wrong because its empty:

[ 7.870635] scsi 2:0:0:0: Direct-Access Generic- Multi-Card 1.00 PQ: 0 ANSI: 0 CCS
[ 7.873147] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 7.877771] sd 2:0:0:0: [sdb] Attached SCSI removable disk

Well, now the kernel tries to find out some technical data about the device which
doesn't work of course. So my kernel log get spamed time of time:

[ 3162.653370] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3162.655854] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3162.655871] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3214.365502] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3214.367989] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3214.368075] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3266.081262] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3266.083747] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3266.083762] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3317.789397] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3317.791884] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3317.791902] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3369.505377] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3369.507895] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3369.507907] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3421.273894] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3421.276593] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3421.276618] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3472.925298] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3472.927689] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3472.927701] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3524.733456] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3524.736477] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3524.736492] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3576.349309] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3576.351723] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3576.351742] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3628.069311] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3628.071883] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3628.071897] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3679.817327] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3679.819567] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3679.819581] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3731.481617] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3731.483965] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3731.483980] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3783.197740] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3783.200521] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3783.200546] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3834.914066] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3834.916535] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3834.916559] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3886.622010] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3886.624539] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3886.624563] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3938.329534] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3938.332172] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3938.332193] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 3990.045405] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 3990.047906] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 3990.047923] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4041.757695] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4041.760435] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4041.760462] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4093.469553] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4093.472076] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4093.472099] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4145.181688] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4145.184681] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4145.184700] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4196.893696] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4196.896237] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4196.896261] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4248.605581] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4248.608300] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4248.608324] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4300.317841] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4300.321615] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4300.321641] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4352.029367] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4352.031840] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4352.031857] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4403.741610] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4403.744248] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4403.744271] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4455.453497] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4455.456091] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4455.456114] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4507.209586] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4507.211813] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4507.211822] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4557.349379] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4557.351736] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4557.351752] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4609.133525] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4609.135887] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4609.135905] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4660.789539] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4660.792139] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4660.792162] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4712.501813] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4712.504343] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4712.504371] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4764.193195] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4764.195975] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4764.195991] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4815.901707] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4815.904339] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4815.904362] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4867.613597] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4867.616470] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4867.616484] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4919.325588] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4919.328206] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4919.328231] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 4971.037722] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4971.040240] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 4971.040263] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5022.749500] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5022.752088] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5022.752110] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5074.465791] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5074.472321] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5074.472347] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5126.173506] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5126.175992] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5126.176085] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5177.887247] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5177.894991] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5177.895007] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5229.677649] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5229.680671] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5229.680689] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5281.309528] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5281.311888] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5281.311905] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5333.021795] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5333.027917] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5333.027943] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5384.733429] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5384.735919] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5384.735936] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5436.493690] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5436.496199] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5436.496234] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5488.157457] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5488.160502] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5488.160516] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5539.869736] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5539.872224] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5539.872246] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5591.581608] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5591.584212] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5591.584235] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5643.293490] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5643.296267] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5643.296292] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5695.001616] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5695.004247] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 5695.004270] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 5746.717369] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 5746.719869] sd 2:0:0:0: [sdb] Asking for cache data failed

This should be fixed.
Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-24-generic 3.2.0-24.37
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: daniel 3607 F.... pulseaudio
                      daniel 4118 F.... xfce4-volumed
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xffe00000 irq 41'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,14620210,00100001'
   Controls : 20
   Simple ctrls : 11
Date: Fri May 4 08:39:30 2012
HibernationDevice: RESUME=UUID=21ce1016-5efb-4326-bf9b-a0cf492460f5
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MachineType: LG Electronics X110-G.A7HXG
ProcEnviron:
 LANGUAGE=de_DE:en
 TERM=xterm
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic root=/dev/mapper/sys-root ro crashkernel=384M-2G:64M,2G-:128M
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-24-generic N/A
 linux-backports-modules-3.2.0-24-generic N/A
 linux-firmware 1.79
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
StagingDrivers: r8187se
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/18/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: EN021IL1.10N
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: X110
dmi.board.vendor: LG Electronics Inc.
dmi.board.version: Ver.001
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: LG Electronics Inc.
dmi.chassis.version: Ver.001
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrEN021IL1.10N:bd12/18/2008:svnLGElectronics:pnX110-G.A7HXG:pvrVer.001:rvnLGElectronicsInc.:rnX110:rvrVer.001:cvnLGElectronicsInc.:ct3:cvrVer.001:
dmi.product.name: X110-G.A7HXG
dmi.product.version: Ver.001
dmi.sys.vendor: LG Electronics

Brad Figg (brad-figg) on 2012-05-04
Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: kernel
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.4kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc5-precise/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete

Ok, I'll do that on monday next week (07.05.2012), because i don't have my system at home right now.

I'm using this kernel right now:

daniel@Homer-Mobil:~$ uname -a
Linux Homer-Mobil 3.4.0-030400rc6-generic #201205061835 SMP Sun May 6 22:42:47 UTC 2012 i686 i686 i386 GNU/Linux

and the "bug" is still there :-(

I've attached new log - and install files.
I hope this might help you. :-)

tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed

Oops, i think my bugreport seems duplicate of 925760. Sorry for that.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers