mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUG] MMC/SD: SDHC card capacity not correct
@ 2009-01-09  3:53 yi li
       [not found] ` <20090111204852.GA3869@compegg.wr.niftyegg.com>
  2009-01-12 15:20 ` Pierre Ossman
  0 siblings, 2 replies; 5+ messages in thread
From: yi li @ 2009-01-09  3:53 UTC (permalink / raw)
  To: drzeus-mmc; +Cc: linux-kernel

Hi Pierre,

I am using a Transcend SDHC 8GB SD card, with mmc-spi driver in
Linux-2.6.28. When inserting the card, the messages shows the card
capacity is "3.51 GiB":
"mmc0: new SDHC card on SPI
mmcblk0: mmc0:0000 SDC   3.51 GiB
 mmcblk0: p1  "

While fdisk shows correct capacity:
" fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 8068 MB, 8068268032 bytes
249 heads, 62 sectors/track, 1020 cylinders
Units = cylinders of 15438 * 512 = 7904256 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1               1        1020     7873349  83 Linux
"
So I think there are something wrong with mmc-block code.

Could you please have a look? (I am not on the LKML btw).

Best Regards,
- Li Yi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-24 17:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-09  3:53 [BUG] MMC/SD: SDHC card capacity not correct yi li
     [not found] ` <20090111204852.GA3869@compegg.wr.niftyegg.com>
2009-01-12  4:59   ` yi li
2009-01-12 15:20 ` Pierre Ossman
2009-01-13  8:00   ` yi li
2009-01-24 17:46     ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®