Here's a brief video showing this behaviour. I think this is because perhaps dbus is not updating the status of the card reader. The tool we are using to test (watch for insert/remove events) is the script removable_storage_watcher found in /usr/share/checkbox/scripts
It watches dbus for an event and then exits with a 0 or 1 depending on whether it saw the event or not. this test does pass on insert events, indicating that dbus is showing that, but it fails on remove events, indicating that though the card is removed and unmounted, dbus still thinks its present. Again, this only seems to be occurring on Realtek card readers. (or at least this one model of realtek card readers). ** Attachment added: "100_0013.MOV" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/990041/+attachment/3126220/+files/100_0013.MOV ** Tags added: apport-collected precise staging ** Description changed: - On the first system I tried official cert for Precise on (20116-8229) - the mediacard remove tests are not working properly. The insert test - detects the insert of media cards, but the removal tests are not - detecting the removal of the cards (though the OS does properly handle - removal). + On the first system I tried official cert for Precise on (20116-8229) the mediacard remove tests are not working properly. The insert test detects the insert of media cards, but the removal tests are not detecting the removal of the cards (though the OS does properly handle removal). + --- + AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. + ApportVersion: 2.0.1-0ubuntu5 + Architecture: amd64 + ArecordDevices: + **** List of CAPTURE Hardware Devices **** + card 1: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog] + Subdevices: 1/1 + Subdevice #0: subdevice #0 + AudioDevicesInUse: + USER PID ACCESS COMMAND + /dev/snd/controlC1: ubuntu 1594 F.... pulseaudio + /dev/snd/controlC0: ubuntu 1594 F.... pulseaudio + Card0.Amixer.info: + Card hw:0 'Generic'/'HD-Audio Generic at 0xf0344000 irq 43' + Mixer name : 'ATI R6xx HDMI' + Components : 'HDA:1002aa01,00aa0100,00100200' + Controls : 6 + Simple ctrls : 1 + Card0.Amixer.values: + Simple mixer control 'IEC958',0 + Capabilities: pswitch pswitch-joined penum + Playback channels: Mono + Mono: Playback [on] + Card1.Amixer.info: + Card hw:1 'SB'/'HDA ATI SB at 0xf0340000 irq 16' + Mixer name : 'Conexant CX20590' + Components : 'HDA:14f1506e,17aa21f0,00100000' + Controls : 8 + Simple ctrls : 5 + Card29.Amixer.info: + Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown' + Mixer name : 'ThinkPad EC (unknown)' + Components : '' + Controls : 1 + Simple ctrls : 1 + Card29.Amixer.values: + Simple mixer control 'Console',0 + Capabilities: pswitch pswitch-joined penum + Playback channels: Mono + Mono: Playback [on] + DistroRelease: Ubuntu 12.04 + HibernationDevice: RESUME=UUID=796984c7-d337-4437-a705-cf3d7a24f1f2 + InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) + MachineType: LENOVO 129721U + Package: linux (not installed) + ProcEnviron: + TERM=xterm + PATH=(custom, no user) + LANG=en_US.UTF-8 + SHELL=/bin/bash + ProcFB: 0 radeondrmfb + ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=908e1261-cf13-4d02-b92e-00df29b07775 ro quiet splash initcall_debug vt.handoff=7 + ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14 + RelatedPackageVersions: + linux-restricted-modules-3.2.0-23-generic N/A + linux-backports-modules-3.2.0-23-generic N/A + linux-firmware 1.79 + SourcePackage: linux + StagingDrivers: rts_pstor + Tags: precise staging precise staging + Uname: Linux 3.2.0-23-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo + dmi.bios.date: 05/18/2011 + dmi.bios.vendor: LENOVO + dmi.bios.version: 8SET22WW (1.04 ) + dmi.board.asset.tag: Not Available + dmi.board.name: 129721U + dmi.board.vendor: LENOVO + dmi.board.version: Not Available + dmi.chassis.asset.tag: No Asset Information + dmi.chassis.type: 10 + dmi.chassis.vendor: LENOVO + dmi.chassis.version: Not Available + dmi.modalias: dmi:bvnLENOVO:bvr8SET22WW(1.04):bd05/18/2011:svnLENOVO:pn129721U:pvrThinkPadEdge:rvnLENOVO:rn129721U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: + dmi.product.name: 129721U + dmi.product.version: ThinkPad Edge + dmi.sys.vendor: LENOVO -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990041 Title: unmounting not handled properly with certain Realtek card readers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/990041/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
