mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus-mmc@drzeus.cx>
To: "yi li" <liyi.dev@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG] MMC/SD: SDHC card capacity not correct
Date: Mon, 12 Jan 2009 16:20:44 +0100	[thread overview]
Message-ID: <20090112162044.2bc12cef@mjolnir.drzeus.cx> (raw)
In-Reply-To: <a0e7fce50901081953h7ae152a7y557794c07fbb843b@mail.gmail.com>

On Fri, 9 Jan 2009 11:53:52 +0800
"yi li" <liyi.dev@gmail.com> wrote:

> 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

Odd. Is the entire device accessible? (I.e. is it just a printk
problem?)

Could you give me a dmesg dump with MMC_DEBUG turned on in Kconfig?

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  rdesktop, core developer          http://www.rdesktop.org

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

  parent reply	other threads:[~2009-01-12 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09  3:53 yi li
     [not found] ` <20090111204852.GA3869@compegg.wr.niftyegg.com>
2009-01-12  4:59   ` yi li
2009-01-12 15:20 ` Pierre Ossman [this message]
2009-01-13  8:00   ` yi li
2009-01-24 17:46     ` Pierre Ossman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090112162044.2bc12cef@mjolnir.drzeus.cx \
    --to=drzeus-mmc@drzeus.cx \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liyi.dev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®