1180:0822 SD Card Reader Incomplete / Corrupt Files

Bug #875927 reported by martin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Confirmed
Medium
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

HP Pavillion dv6720ez Laptop with built-in SD (and multi-) card reader.

SD card reader displays incomplete or corrupted files. Eg, jpgs shown as random coloured thumbnail or random characters. Some files are not displayed at all. Some files are correctly displayed. Also 'Error interpreting JPEG file (Bogus DQT index 15)' and 'Error interpreting JPEG file (JPEG datastream contains no image)'

Opening an affected file (if you can see it) does not work. Different error messages occur - 'could not open file' or 'type not supported' 'could not display' etc. Some correctly displayed files also yield these messages.

Ejecting the card usually results in Nautilus closing/crashing. In some cases browsing the file structure or attempting to open some files also crashes Nautilus. When it closes there is no prompt for bug report.

The card reader was a problem a couple of years ago (8? Series of Ubuntu) on my HP Laptop - simply didn't work at all but since Karmic/Lucid it's worked flawlessly.

The bug is present in 10.10 and 11.04 (no change or improvement). 10.04 works perfectly.

Not having the Nautilus crashing problem anymore (in 11.10) and haven't seen the randomly coloured thumbnails (as shown in screenshot from bug report 649912.

Tested kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc1-precise/
Bug persists.
---
Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
Package: linux (not installed)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Tags: lucid
Uname: Linux 3.4.0-030400rc1-generic-pae i686
UnreportableReason: The running kernel is not an Ubuntu kernel
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
---
ApportVersion: 2.9.2-0ubuntu5
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 4590 F.... pulseaudio
CRDA:
 country DE:
  (2400 - 2483 @ 40), (N/A, 20)
  (5150 - 5250 @ 40), (N/A, 20), NO-OUTDOOR
  (5250 - 5350 @ 40), (N/A, 20), NO-OUTDOOR, DFS
  (5470 - 5725 @ 40), (N/A, 26), DFS
CasperVersion: 1.330
DistroRelease: Ubuntu 13.04
LiveMediaBuild: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130402.1)
Lsusb:
 Bus 001 Device 002: ID 0457:0151 Silicon Integrated Systems Corp. Super Flash 1GB / GXT 64MB Flash Drive
 Bus 001 Device 003: ID 064e:a110 Suyin Corp. HP Webcam
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Hewlett-Packard HP Pavilion dv6700 Notebook PC
MarkForUpload: True
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/username.seed boot=casper initrd=/casper/initrd.lz quiet splash --
ProcVersionSignature: Ubuntu 3.8.0-16.26-generic 3.8.5
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-16-generic N/A
 linux-backports-modules-3.8.0-16-generic N/A
 linux-firmware 1.104
Tags: raring
Uname: Linux 3.8.0-16-generic i686
UnreportableReason: Your system partition has less than 12 MB of free space available, which leads to problems using applications and installing updates. Please free some space.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 11/29/2007
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.25
dmi.board.name: 30D0
dmi.board.vendor: Quanta
dmi.board.version: 85.24
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.25:bd11/29/2007:svnHewlett-Packard:pnHPPaviliondv6700NotebookPC:pvrRev1:rvnQuanta:rn30D0:rvr85.24:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv6700 Notebook PC
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
---
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 4326 F.... pulseaudio
                      ubuntu 5347 F.... pulseaudio
CRDA:
 country DE:
  (2400 - 2483 @ 40), (N/A, 20)
  (5150 - 5250 @ 40), (N/A, 20), NO-OUTDOOR
  (5250 - 5350 @ 40), (N/A, 20), NO-OUTDOOR, DFS
  (5470 - 5725 @ 40), (N/A, 26), DFS
CasperVersion: 1.331
DistroRelease: Ubuntu 13.04
LiveMediaBuild: Ubuntu 13.04 "Raring Ringtail" - Release i386 (20130424)
Lsusb:
 Bus 001 Device 002: ID 0457:0151 Silicon Integrated Systems Corp. Super Flash 1GB / GXT 64MB Flash Drive
 Bus 001 Device 003: ID 064e:a110 Suyin Corp. HP Webcam
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Hewlett-Packard HP Pavilion dv6700 Notebook PC
MarkForUpload: True
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/username.seed boot=casper initrd=/casper/initrd.lz quiet splash --
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-19-generic N/A
 linux-backports-modules-3.8.0-19-generic N/A
 linux-firmware 1.106
Tags: raring
Uname: Linux 3.8.0-19-generic i686
UnreportableReason: Your system partition has less than 27 MB of free space available, which leads to problems using applications and installing updates. Please free some space.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 11/29/2007
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.25
dmi.board.name: 30D0
dmi.board.vendor: Quanta
dmi.board.version: 85.24
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.25:bd11/29/2007:svnHewlett-Packard:pnHPPaviliondv6700NotebookPC:pvrRev1:rvnQuanta:rn30D0:rvr85.24:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv6700 Notebook PC
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
martin (braaart) wrote :
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Halkola (halkola) wrote :

This bug affects also me. I have HP Pavilion dv6000 laptop with a builtin card reader. I have some garbled filenames and all the images on the card are corrupted.

"lspci | grep -i sd" brings up the following
07:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)

Please ask if there is any futher information I can provide. I'm stuck with 10.04 because of this bug. The good news is that it is working well for me.

Thanks!

Aleksi

Revision history for this message
Seth Forshee (sforshee) wrote :

This bug is missing log files needed to help diagnose your issue. Please open a terminal run 'apport-collect 875927' to attache the logs. After doing this, change the status of the bug to Confirmed. Thanks!

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Halkola (halkola) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: halkola 1476 F.... pulseaudio
 /dev/snd/pcmC0D0p: halkola 1476 F...m pulseaudio
CRDA: Error: [Errno 2] Tiedostoa tai hakemistoa ei ole
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xf2480000 irq 21'
   Mixer name : 'Conexant CX20549 (Venice)'
   Components : 'HDA:14f15045,103c30cf,00100100'
   Controls : 20
   Simple ctrls : 9
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=UUID=ea3c5f12-b8a7-4044-a0d7-bd203a10c7a3
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 003: ID 04f2:b015 Chicony Electronics Co., Ltd VGA 24fps UVC Webcam
 Bus 002 Device 002: ID 056a:0065 Wacom Co., Ltd Bamboo
 Bus 002 Device 003: ID 046d:c521 Logitech, Inc. Cordless Mouse Receiver
MachineType: Hewlett-Packard HP Pavilion dv6000 (GP639EA#UUW)
NonfreeKernelModules: nvidia wl
Package: linux (not installed)
ProcEnviron:
 PATH=(custom, no user)
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=39d72df2-58c7-4b56-8aac-3d16dedbf09a ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-12-generic N/A
 linux-backports-modules-3.0.0-12-generic N/A
 linux-firmware 1.60
Tags: oneiric running-unity
Uname: Linux 3.0.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 04/24/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.30
dmi.board.name: 30D0
dmi.board.vendor: Quanta
dmi.board.version: 85.26
dmi.chassis.asset.tag: dv6544eo
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.30:bd04/24/2008:svnHewlett-Packard:pnHPPaviliondv6000(GP639EA#UUW):pvrRev1:rvnQuanta:rn30D0:rvr85.26:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv6000 (GP639EA#UUW)
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard

tags: added: apport-collected oneiric running-unity
Revision history for this message
Halkola (halkola) wrote : AcpiTables.txt

apport information

Revision history for this message
Halkola (halkola) wrote : AlsaDevices.txt

apport information

Revision history for this message
Halkola (halkola) wrote : AplayDevices.txt

apport information

Revision history for this message
Halkola (halkola) wrote : BootDmesg.txt

apport information

Revision history for this message
Halkola (halkola) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Halkola (halkola) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Halkola (halkola) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Halkola (halkola) wrote : IwConfig.txt

apport information

Revision history for this message
Halkola (halkola) wrote : Lspci.txt

apport information

Revision history for this message
Halkola (halkola) wrote : PciMultimedia.txt

apport information

Revision history for this message
Halkola (halkola) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Halkola (halkola) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Halkola (halkola) wrote : ProcModules.txt

apport information

Revision history for this message
Halkola (halkola) wrote : PulseSinks.txt

apport information

Revision history for this message
Halkola (halkola) wrote : PulseSources.txt

apport information

Revision history for this message
Halkola (halkola) wrote : RfKill.txt

apport information

Revision history for this message
Halkola (halkola) wrote : UdevDb.txt

apport information

Revision history for this message
Halkola (halkola) wrote : UdevLog.txt

apport information

Revision history for this message
Halkola (halkola) wrote : WifiSyslog.txt

apport information

Revision history for this message
Halkola (halkola) wrote : Re: SD Card Reader Incomplete / Corrupt Files

I think I might have just done something rather silly. I ran the apport-collect on a new boot without having used the SD card before. Seth, tell me if I should redo it again after having inserted an SD card.

Cheers,
Aleksi

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.0.0-12.20)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.0.0-12.20
Revision history for this message
Halkola (halkola) wrote : Re: SD Card Reader Incomplete / Corrupt Files

Thanks for the quick reply. I'm unfamiliar with apt-get and the new gui tools. Could you tell me how to install the latest development kernel? Thanks!

Revision history for this message
Halkola (halkola) wrote :

I didn't manage to find 3.0.0-12.20, but I downloaded 3.0.6-030006 and 3.1.0-0301rc9 from http://kernel.ubuntu.com and installed those. They both behave identically to my previous kernel 3.0.0-12.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report at bugzilla.kernel.org? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

If you are comfortable with opening a bug upstream, It would be great if you can report back the upstream bug number in this bug report. That will allow us to link this bug to the upstream report.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Halkola (halkola) wrote :

I get timed out at bugzilla.kernel.org. At www.kernel.org it is also mentioned that bugzilla is for reporting kernel version 2.6 bugs only. Do you know if there is an alternative way to report bugs? Thanks!

Revision history for this message
martin (braaart) wrote :

I can confirm that this bug still exists!

I am beta testing version 12.04 and the behaviour is exactly the same as in 10.10, 11.04 and 11.10.

Changed in linux (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

martin, thank you for reporting this bug and helping make Ubuntu better. If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. 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. Please let us know your results.

Thanks in advance.

tags: added: needs-upstream-testing
removed: kernel-request-3.0.0-12.20
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
martin (braaart)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: removed: apport-collected needs-upstream-testing oneiric running-unity
Revision history for this message
martin (braaart) wrote :

Tested with upstream kernel (3.3.0-999) and bug still present. Couple more screenshots attached of typical behaviour. Files/Directories arre not only corrupted but many more are displayed than are actually present.

Revision history for this message
martin (braaart) wrote :
Revision history for this message
penalvch (penalvch) wrote :

martin, clease execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 875927

As well, since you mentioned this worked in Lucid but not afterwards, a kernel bisect would need to occur to identify the offending commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

description: updated
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: hw-specific natty oneiric precise regression-release
penalvch (penalvch)
tags: added: needs-bisect needs-upstream-testing
Revision history for this message
martin (braaart) wrote :

Upstream kernel (3.3.0-999) testing complete and bug behaviour same.

Apport-collect started and opened launchpad but had errors (see screenshot).

Revision history for this message
martin (braaart) wrote :

Kernel bisect I am unable to do.

Revision history for this message
penalvch (penalvch) wrote :
martin (braaart)
tags: added: apport-collected
description: updated
Revision history for this message
martin (braaart) wrote :
Revision history for this message
penalvch (penalvch) wrote :

martin, the issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions verbatim at https://wiki.ubuntu.com/Bugs/Upstream/kernel . If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

tags: added: maverick
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Triaged
description: updated
Revision history for this message
martin (braaart) wrote :

Bug filed in upstream kernel bugs:

https://bugzilla.kernel.org/show_bug.cgi?id=43101

penalvch (penalvch)
Changed in linux:
importance: Undecided → Unknown
status: New → Unknown
Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
martin (braaart) wrote :

Ok, we've established it's a kernel bug. Here's the response from Kernel Bug Tracker – Bug 43101 ( https://bugzilla.kernel.org/show_bug.cgi?id=43101 )

''Comment #3 From Alan 2012-09-05 16:35:54

kernel bugzilla is just used to track bug existence for the most part not for
getting stuff fixed necessarily. If you want stuff fixed that's something to
talk to your distribution about

Moved to MMC/SD''

Seems to be going round in a bit of a circle.

Revision history for this message
penalvch (penalvch) wrote :

martin, could you please boot into the Ubuntu repo kernel and execute the following at a terminal:
apport-collect 875927

As well, could you please test the newest mainline kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-rc1-quantal/ ?

Changed in linux (Ubuntu):
status: Triaged → Incomplete
tags: removed: apport-collected
tags: removed: oneiric
tags: added: lucid
removed: maverick
tags: added: needs-upstream-testing
Revision history for this message
martin (braaart) wrote :

Unfortunately the Quantal 3.5.0-15 kernel is unusable on my machine. Basically no useful mouse response so can't open/execute anything. I can move between the icons on the LHS but can't select anything (nor with key strokes). Therefore no apport-collect possible. I've attached a screenshot of the behaviour when I insert an SD card - basically just nonsense.

The newest mainline kernel runs fine but the SD card reader behaviour (ie. everything described in the bug report) is the same.

I guess I'll try again when the 12.10 distribution is released.

Please let me know other actions to try.

Revision history for this message
martin (braaart) wrote :

I can try an apport-collect on the Ubuntu kernel 3.2 from release 12.04 if that helps.

Revision history for this message
penalvch (penalvch) wrote :

martin, regarding your comments https://bugs.launchpad.net/ubuntu/+source/linux/+bug/875927/comments/45 :
>"I can try an apport-collect on the Ubuntu kernel 3.2 from release 12.04 if that helps."

Please boot into Precise with the latest Ubuntu repository kernel, and execute at a terminal:
apport-collect 875927

tags: added: maverick oneiric
tags: added: needs-kernel-logs
penalvch (penalvch)
tags: added: kernel-bug-exists-upstream-v3.7-rc1-quantal
removed: lucid needs-upstream-testing
Revision history for this message
martin (braaart) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected raring
description: updated
Revision history for this message
martin (braaart) wrote : BootDmesg.txt

apport information

Revision history for this message
martin (braaart) wrote : CurrentDmesg.txt

apport information

Revision history for this message
martin (braaart) wrote : IwConfig.txt

apport information

Revision history for this message
martin (braaart) wrote : Lspci.txt

apport information

Revision history for this message
martin (braaart) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
martin (braaart) wrote : ProcInterrupts.txt

apport information

Revision history for this message
martin (braaart) wrote : ProcModules.txt

apport information

Revision history for this message
martin (braaart) wrote : PulseList.txt

apport information

Revision history for this message
martin (braaart) wrote : RfKill.txt

apport information

Revision history for this message
martin (braaart) wrote : UdevDb.txt

apport information

Revision history for this message
martin (braaart) wrote : UdevLog.txt

apport information

Revision history for this message
martin (braaart) wrote : WifiSyslog.txt

apport information

Revision history for this message
martin (braaart) wrote : Re: SD Card Reader Incomplete / Corrupt Files

The above is the apport-collect for 13.04 Beta 2.

Exactly the same bug behaviour.

It is clear the bug started with the release of version 10.10 and has remained unchanged ever since. What ever was changed then persists into the 13.04 release.

HEY, is there anybody out there with a bit of intuition and creativity? It can't be that hard to solve.

If it were a Windows problem you would simply install a new driver. How do 'drivers' work in Linux? Are they embedded bits of code in the distribution?

Ideas?

Revision history for this message
martin (braaart) wrote :

BTW, there's no point assigning the bug to linux-kernel-bugs. Here's the response from Kernel Bug Tracker:

''Comment #3 From Alan 2012-09-05 16:35:54

kernel bugzilla is just used to track bug existence for the most part not for
getting stuff fixed necessarily. If you want stuff fixed that's something to
talk to your distribution about..''

Revision history for this message
martin (braaart) wrote :

Some potential patches/fixes (from old/related bug reports) for those who can implement..

https://bugzilla.kernel.org/show_bug.cgi?id=28462 (said to have been merged in v3.0-rc1: - maybe it has fixed the problem for JMicron Technology Corp. SD/MMC Host Controllers, but certainly not for SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22))

http://www.spinics.net/lists/linux-mmc/msg06130.html

https://launchpadlibrarian.net/73060689/mmc%3A%20sdhci%3A%20work%20around%20broken%20dma%20boundary%20behavior

description: updated
penalvch (penalvch)
summary: - SD Card Reader Incomplete / Corrupt Files
+ 1180:0822 SD Card Reader Incomplete / Corrupt Files
tags: added: bios-outdated needs-upstream-testing
Revision history for this message
penalvch (penalvch) wrote :

martin, thank you for performing the requested apport-collect. Could you please provide the specific laptop model from the sticker on the computer itself?

As well, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the kernel in the mainline kernels archive directory daily folder. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.9-rc6

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Helpful bug reporting tips:
https://help.ubuntu.com/community/ReportingBugs

martin (braaart)
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-v3.9-rc7 needs-kernel-logs.
removed: needs-kernel-logs needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
martin (braaart) wrote :

Hi Chris, the laptop model is (HP Pavillion) dv6720ez

The bug seems to affect, but is not limited to, HP laptops (presumably with JMicron Technology Corp. SD/MMC Host Controllers).

I tested the mainline kernel (v3.9-rc7-raring - http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-rc7-raring/) and the bug persists.

Let me know if you need more info.

penalvch (penalvch)
tags: removed: kernel-bug-exists-upstream-v3.7-rc1-quantal needs-kernel-logs.
description: updated
Revision history for this message
martin (braaart) wrote : AlsaInfo.txt

apport information

description: updated
Revision history for this message
martin (braaart) wrote : BootDmesg.txt

apport information

Revision history for this message
martin (braaart) wrote : CurrentDmesg.txt

apport information

Revision history for this message
martin (braaart) wrote : HookError_cloud_archive.txt

apport information

Revision history for this message
martin (braaart) wrote : IwConfig.txt

apport information

Revision history for this message
martin (braaart) wrote : Lspci.txt

apport information

Revision history for this message
martin (braaart) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
martin (braaart) wrote : ProcInterrupts.txt

apport information

Revision history for this message
martin (braaart) wrote : ProcModules.txt

apport information

Revision history for this message
martin (braaart) wrote : PulseList.txt

apport information

Revision history for this message
martin (braaart) wrote : RfKill.txt

apport information

Revision history for this message
martin (braaart) wrote : UdevDb.txt

apport information

Revision history for this message
martin (braaart) wrote : UdevLog.txt

apport information

Revision history for this message
martin (braaart) wrote : WifiSyslog.txt

apport information

Revision history for this message
martin (braaart) wrote :

The above is the apport-collect for 13.04 (Official Release).

Exactly the same bug behaviour.

Revision history for this message
penalvch (penalvch) wrote :

martin, as per http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=2100&lc=en&cc=us&dlc=en&sw_lang=&product=3658235#N978 an update is available for your BIOS (F.34). If you update to this, does it change anything?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
martin (braaart) wrote :

Hi Chris, thanks for the link.

Unfortunately I have a pure Ubuntu install, so I can't boot into Vista/run updates anymore.

Unless there's another way to work with the exe file - emulator etc - don't think so in this case.

I am not prepared to re-install windows for this test as that's something I vowed never do again unless my life depended on it.

Let me know if there are any work arounds I should try.

Revision history for this message
Halkola (halkola) wrote : Re: [Bug 875927] Re: 1180:0822 SD Card Reader Incomplete / Corrupt Files
Download full text (9.4 KiB)

Hi Chris and Martin,

I just installed the new BIOS F.34. I had F.30 before. The update didn't
help although F.31 and F.32 fix some issues related to the card reader. On
an uptodate Ubuntu 13.04 the card cannot be read at all, my dmesg is filled
with messages like:

[ 986.234775] mmcblk0: retrying using single block read
[ 986.235089] mmcblk0: error -110 transferring data, sector 0, nr 8, cmd
response 0x900, card status 0x0
[ 986.235403] mmcblk0: error -110 transferring data, sector 1, nr 7, cmd
response 0x900, card status 0x0
[ 986.235719] mmcblk0: error -110 transferring data, sector 2, nr 6, cmd
response 0x900, card status 0x0
[ 986.236419] mmcblk0: error -110 transferring data, sector 3, nr 5, cmd
response 0x900, card status 0x0
[ 986.236734] mmcblk0: error -110 transferring data, sector 4, nr 4, cmd
response 0x900, card status 0x0
[ 986.237048] mmcblk0: error -110 transferring data, sector 5, nr 3, cmd
response 0x900, card status 0x0
[ 986.237362] mmcblk0: error -110 transferring data, sector 6, nr 2, cmd
response 0x900, card status 0x0
[ 986.237677] mmcblk0: error -110 transferring data, sector 7, nr 1, cmd
response 0x900, card status 0x0
[ 986.238022] mmcblk0: error -110 transferring data, sector 0, nr 8, cmd
response 0x900, card status 0xb00
[ 986.238026] mmcblk0: retrying using single block read

The dmesg buffer is filled with this error so I don't know what other
errors there might be.

Unfortunately I do not know if things would have been different with the
old BIOS.

I have several peripherals that do not work in Linux
(printer,scanner,ipod,card reader) and after a long break with Linux I have
again installed Ubuntu 13.04. If I can help somehow I would be happy to do
so.

Cheers,

Aleksi

On 9 May 2013 09:02, martin <email address hidden> wrote:

> Hi Chris, thanks for the link.
>
> Unfortunately I have a pure Ubuntu install, so I can't boot into
> Vista/run updates anymore.
>
> Unless there's another way to work with the exe file - emulator etc -
> don't think so in this case.
>
> I am not prepared to re-install windows for this test as that's
> something I vowed never do again unless my life depended on it.
>
> Let me know if there are any work arounds I should try.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/875927
>
> Title:
> 1180:0822 SD Card Reader Incomplete / Corrupt Files
>
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Incomplete
>
> Bug description:
> HP Pavillion dv6720ez Laptop with built-in SD (and multi-) card
> reader.
>
> SD card reader displays incomplete or corrupted files. Eg, jpgs shown
> as random coloured thumbnail or random characters. Some files are not
> displayed at all. Some files are correctly displayed. Also 'Error
> interpreting JPEG file (Bogus DQT index 15)' and 'Error interpreting
> JPEG file (JPEG datastream contains no image)'
>
> Opening an affected file (if you can see it) does not work. Different
> error messages occur - 'could not open file' or 'type not supported'
> 'could not display' etc. Some correctly displayed files also yield
> ...

Read more...

Revision history for this message
penalvch (penalvch) wrote :

Halkola, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Revision history for this message
Halkola (halkola) wrote :

Hi Chris,

I have already commented on this bug (comment #3). From Ubuntu version 10.04 on I have had corrupted files on my HP dv6000 series laptop. Since Martin couldn't update his BIOS I thought I would do that. Now either because of the BIOS update or Ubuntu update I no longer see the corrupted files / filenames I used to have but the errors in me previous post. In any case I still think it is the same bug. Do you still want me to open a new bug for the new BIOS version?

Cheers,
Aleksi

Revision history for this message
Halkola (halkola) wrote :

I have made a new bug report #1180500 to address the issue after BIOS upgrade.

Revision history for this message
Halkola (halkola) wrote :

The error messages I reported in comment #82 come only with one SD card. Two other SD cards work normally on several tested Ubuntu releases (10.04, 10.10, 11.10 and 13.04). The fix therefore is to upgrade the BIOS to version F.34.

Revision history for this message
Halkola (halkola) wrote :

Update BIOS to version F.34.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
martin (braaart) wrote :

That's a great development after all this time!

Can anyone tell me how to update the BIOS without a dual Windows boot (pure Ubuntu system)?

Revision history for this message
martin (braaart) wrote :

Hi Aleksi

Can you (or anyone else) tell me how to do the BIOS flash?

I've tried using FreeDOS on a live USB stick install and that in itself works fine. You can navigate around in a DOS environment but when I try to run the HP BIOS file SP52477.exe it says the file cannot be run in a DOS environment.

Does this mean I have to re-install WIndows on my machine first? I don't think I want to go down that road..

Thanks, Martin

BTW, for anyone interested: I've tested heaps (10 plus) different (recent) distros from all the main Linux flavours and the bug always persists.

Revision history for this message
penalvch (penalvch) wrote :
Revision history for this message
Halkola (halkola) wrote :

Hi Martin,

Unfortunately I cannot help with freeDOS. I kept a Vista installation which I could use for the update. After the upgrade I haven't had any problems though. I hope you find a solution for the upgrade.

Cheers,
Aleksi

To post a comment you must log in.