Hello. Ive come across a very annoying problem with these cards and the fat filesystem driver. I recently bought 2 2GB Silicon Power SD cards for my camera(they were the smallest available in the store and had reasonable price). Camera was quite happy with them but I ran unexpectedly into trouble when trying to put the images to my Linux PC. It failed to read the cards and seemed to assume that my 2GB cards are actually 4GB O_o. I put one card back in to the camera and it was fine. I put the card in my photobank and it had no problem coping the images to its internal disk. Well, that was lame. Simple dumb devices can read the cards but not Linux. So I looked into dmesg to see whats up. Heres what I saw: [1193601.137141] sd 2:0:0:0: [sdb] Attached SCSI disk [1193601.137256] sd 2:0:0:0: Attached scsi generic sg2 type 0 [1193601.156992] sd 2:0:0:1: [sdc] Attached SCSI removable disk [1193601.157115] sd 2:0:0:1: Attached scsi generic sg3 type 0 [1193601.198450] sd 2:0:0:2: [sdd] 1992704 1024-byte hardware sectors (2041 MB) [1193601.206767] sd 2:0:0:2: [sdd] Write Protect is off [1193601.206785] sd 2:0:0:2: [sdd] Mode Sense: 03 00 00 00 [1193601.206793] sd 2:0:0:2: [sdd] Assuming drive cache: write through [1193601.227218] sd 2:0:0:2: [sdd] 1992704 1024-byte hardware sectors (2041 MB) [1193601.236730] sd 2:0:0:2: [sdd] Write Protect is off [1193601.236745] sd 2:0:0:2: [sdd] Mode Sense: 03 00 00 00 [1193601.236752] sd 2:0:0:2: [sdd] Assuming drive cache: write through [1193601.236768] sdd: sdd1 [1193601.248543] sdd: p1 exceeds device capacity [1193601.248740] sd 2:0:0:2: [sdd] Attached SCSI removable disk [1193601.248853] sd 2:0:0:2: Attached scsi generic sg4 type 0 [1193601.258517] sd 2:0:0:3: [sde] Attached SCSI removable disk [1193601.258639] sd 2:0:0:3: Attached scsi generic sg5 type 0 [1193602.633223] attempt to access beyond end of device [1193602.633239] sdd: rw=0, want=7970672, limit=3985408 [1193602.633248] Buffer I/O error on device sdd1, logical block 3985088 [1193602.633260] attempt to access beyond end of device [1193602.633266] sdd: rw=0, want=7970674, limit=3985408 [1193602.633272] Buffer I/O error on device sdd1, logical block 3985089 ,,, and so on. Trying to mount it results in: [1194411.241063] FAT: logical sector size too small for device (logical sector size = 512) As I understand the above, my cards report hardware sector size 1024-bytes and FAT logical block size of 512 but the FAT driver insists on using the hardware block size over the logical one... witch obviously results in failure. http://en.wikipedia.org/wiki/Secure_Digital_card#Compatibility_issues_with_2_GB_and_la... tells me that this is the result of a hack due to the nature of 2GB cards. Are there any plans to make 2GB SD cards work? I doubt I'm the only one with such 2GB SD cards(and a camera) and Id be royally screwed right about now if I did not have my photobank and an option to use it as a copy over point... -- Best, Alexia PS. Please CC me, I am not subscribed... --
| Tomasz Kłoczko | Is it time for remove (crap) ALSA from kernel tree ? |
| Greg Kroah-Hartman | [PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt |
| David Miller | Slow DOWN, please!!! |
| Aubrey | O_DIRECT question |
git: | |
| Martin Langhoff | Re: pack operation is thrashing my server |
| Francis Moreau | emacs and git... |
| Mirko Stocker | Working with Git and CVS in a team. |
| Keith Packard | Re: parsecvs tool now creates git repositories |
| Chris Peterson | [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Karen Xie | [RFC][PATCH 1/1] cxgb3i: cxgb3 iSCSI initiator |
| Jeff Garzik | [git patches] net driver updates for .27 |
| Jonathan Thornburg | svnd questions (encrypting all of a partition or disk) |
| Richard Stallman | Real men don't attack straw men |
| Daniel Ouellet | identifying sparse files and get ride of them trick available? |
| Brandon Lee | DELL PERC 5iR slow performance |
| high memory | 4 hours ago | Linux kernel |
| semaphore access speed | 7 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 8 hours ago | Linux kernel |
| Easter Eggs in windows XP | 10 hours ago | Windows |
| Shared swap partition | 11 hours ago | Linux general |
| Root password | 11 hours ago | Linux general |
| Where/when DNOTIFY is used? | 13 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 16 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 16 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 22 hours ago | Linux general |
