High Capacity SD Card not mounted on feisty (edgy regression)

Bug #123549 reported by Aspic
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: linux-source-2.6.20

Hi,

After upgrading to feisty, I saw that my card reader is now unable to automount my 2Gb SD card (high capacity).

03:01.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)

Trying with a 128 Mb and a 1Gb SD Card, the card reader works perfectly.

Looking at the DMESG, there's nothing telling me why this SD card couldn't be mounted.

128 Mb SD card :
[ 373.936000] mmcblk0: mmc0:7dc6 SD128 125440KiB
[ 373.936000] mmcblk0: p1

1 Gb SD card :
[ 2073.216000] mmcblk0: mmc0:b368 TWTTI 999936KiB
[ 2073.216000] mmcblk0: p1

2 Gb SD card (high capacity):
[ 399.828000] mmcblk0: mmc0:b368 SDC 2009600KiB
[ 399.828000] mmcblk0: p1

Under edgy, this card was automounted, but the writing data rate was very low and shifting.
Under feisty, this card could not be mounted.

Revision history for this message
Isak Savo (isak-savo) wrote :

I can confirm that there are problems with (certain?) SD cards on feisty. This is using the computers built-in card reader (7-in-one, attached on internal usb 1.x interface)

I have a 2gb sd card which *is* automounted and size shows up as 2gb in nautilus, but if I try to format it using mkfs.vfat, or use fdisk to look at it - it is only 1 gb according to the kernel. I also get lots of errors from dmesg about accessing past the device's boundaries.

Wikipedia (http://en.wikipedia.org/wiki/Sd_memory_card#Compatibility_issues_with_2GB_and_larger_cards) indicates that there are known problems with large (>2gb) sd cards and windows xp also has problems with it (driver update fixes it for xp though).

As a workaround, I currently put the card in my camera or mp3-player and mount it through the device's usb-storage interface.

I can provide further information upon request - just let me know what kind of information you need.

Revision history for this message
Aspic (s-vanderplaetsen) wrote : No problem yet

After a lot of work, I finally found where is the problem.

Ubuntu (Feisty and Gutsy) can recognize my SD card 2 Go... only if it is in FAT32.
In FAT16, the automount is not possible.

It is the easiest way to solve the problem.

But it remains a problem, as many SD cards were formatted by APN or PocketPC. And lot of them don't support the new standard : SD 2.0, and then format the card in FAT (FAT16).
Though you can't format your card to be read on Ubuntu without losing the data stored in it.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Aspic (s-vanderplaetsen) wrote :

I can't test the new kernel on Feisty.
I'm on Hardy Heron now.
As on Feisty, the automount of the SD card High Capacity in FAT32 is enabled on Hardy (I don't remember if FAT16 card can be mounted).
But it takes a very very long time to copy files : after each large file transferred (170 Mo), it takes about 15 up to 20 seconds to determine the file access properties.

Though, the actual kernel enables the use of SDHC card... I hope it will still be the case with the new kernel ! Unless that, it would be a regression.

The new bug to solve is the long time to save file access properties...
I hop it will be solved with the new kernel.

In fact, my card reader never ran as good as on Edgy... :o)

Though, the tests I should do are :
* test the automount of FAT16 SDHC Card
* test the automount of FAT32 SDHC Card
* transferring large files on SDHC Card
on my actual and on the new kernel.

Revision history for this message
Michele Mangili (mangilimic) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Revision history for this message
Aspic (s-vanderplaetsen) wrote :

No problem now.
With Intrepid Ibex, cards are automounted (FAT 16 and FAT32).
No bug anymore.

Revision history for this message
Michele Mangili (mangilimic) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

Changed in linux:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.