mmc_block module write failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: linux-image-
I consistently get write errors reported by mmc_block when writing to an SD card with the Ubuntu 8.04 amd64 kernel 2.6.24-19 amd64 kernel (it also was happening in earlier Hardy kernels).
The card is a 2GB card in the internal Ricoh card reader:
lspci |grep Ricoh
03:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/
03:09.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:09.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
Steps to reproduce:
1. Format the card using gparted (to fat16 or fat32).
2. Copy almost 2GB of files to the card (no errors reported anywhere).
3. Delete the 2GB of files (ie completely).
4. Repeat step 2. This time errors are reported (see attached kernel.log).
5. Unmount the card, remount, check with diff. Diff reports differences in one or more of the files that was copied.
This is the same process as for bug #239647 but I filed that separately because that bug is to do with gnome-vfs not reporting the errors.
I also repeated steps 3-5 to generate a second kernel2.log, which shows an error from sdhci that might be related.
Note that reformatting with gparted seems to stop the errors from occurring until the card is 'filled' again.
This might be a duplicate of 247819.
I have noticed that I frequently get these I/O errors if I have a VM running under vmware-server (1.0.6), but they are rather more rare when no VM is running.