Re: Problem: non-SDHC 2GB SD cards are unreadable

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alexia Death <alexiadeath@...>
Cc: <linux-kernel@...>
Date: Monday, April 14, 2008 - 2:48 am

On Monday 14 April 2008, Alexia Death wrote:

Did you find any code in there that made you think so? Generally, the mmc
layer doesn't do much about the layout of the cards but merely represents
what is there.

On the contrary, the USB card readers go through a lot of effort to
make the card look like a SCSI device, and many of these implementations
are buggy in some way. SD cards are defined to have 512 byte sectors, while
USB mass storage can theoretically have a different sector size. Of course
any other size than 512 bytes is likely to break some code, which you have
experienced.

Note that Linux has another driver for USB mass storage, the "ub" block
driver which does not go through the SCSI software layer. It would be good
if you could check whether that has the same problem. Also, it might be
interesting to see if another operating system has the same problem
with the combination of your card and reader.

If it works on another OS, it's probably fixable on Linux, but the
effort may be significant.


The camera is just another implementation of a USB mass storage device on
top of an SD card. My guess remains that this one works correctly, while
your standalone reader has a quirk that prevents it from being used on Linux.

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Problem: non-SDHC 2GB SD cards are unreadable, Alexia Death, (Sun Apr 13, 4:26 pm)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Arnd Bergmann, (Sun Apr 13, 8:45 pm)
RE: Problem: non-SDHC 2GB SD cards are unreadable, Alexia Death, (Mon Apr 14, 2:08 am)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Wander Winkelhorst, (Mon Apr 14, 5:03 am)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Alexia Death, (Mon Apr 14, 12:49 am)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Lennart Sorensen, (Mon Apr 14, 12:11 pm)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Arnd Bergmann, (Mon Apr 14, 2:48 am)
Re: Problem: non-SDHC 2GB SD cards are unreadable, H. Peter Anvin, (Mon Apr 14, 7:45 am)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Daniel Barkalow, (Tue Apr 15, 7:23 pm)
Re: Problem: non-SDHC 2GB SD cards are unreadable, H. Peter Anvin, (Tue Apr 15, 10:09 pm)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Roger Heflin, (Tue Apr 15, 10:49 pm)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Arnd Bergmann, (Mon Apr 14, 8:40 am)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Alan Cox, (Sun Apr 13, 4:42 pm)
Re: Problem: non-SDHC 2GB SD cards are unreadable, Alexia Death, (Sun Apr 13, 5:32 pm)